Skip to content

Commit 14684b9

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
One conflict in the BPF samples Makefile, some fixes in 'net' whilst we were converting over to Makefile.target rules in 'net-next'. Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents 92da362 + 0058b0a commit 14684b9

260 files changed

Lines changed: 2201 additions & 938 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/networking/tls-offload.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,10 @@ by the driver:
436436
encryption.
437437
* ``tx_tls_ooo`` - number of TX packets which were part of a TLS stream
438438
but did not arrive in the expected order.
439+
* ``tx_tls_skip_no_sync_data`` - number of TX packets which were part of
440+
a TLS stream and arrived out-of-order, but skipped the HW offload routine
441+
and went to the regular transmit flow as they were retransmissions of the
442+
connection handshake.
439443
* ``tx_tls_drop_no_sync_data`` - number of TX packets which were part of
440444
a TLS stream dropped, because they arrived out of order and associated
441445
record could not be found.

‎MAINTAINERS‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3060,6 +3060,7 @@ M: Daniel Borkmann <daniel@iogearbox.net>
30603060
R: Martin KaFai Lau <kafai@fb.com>
30613061
R: Song Liu <songliubraving@fb.com>
30623062
R: Yonghong Song <yhs@fb.com>
3063+
R: Andrii Nakryiko <andriin@fb.com>
30633064
L: netdev@vger.kernel.org
30643065
L: bpf@vger.kernel.org
30653066
T: git git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
@@ -10533,8 +10534,12 @@ F: mm/memblock.c
1053310534
F: Documentation/core-api/boot-time-mm.rst
1053410535

1053510536
MEMORY MANAGEMENT
10537+
M: Andrew Morton <akpm@linux-foundation.org>
1053610538
L: linux-mm@kvack.org
1053710539
W: http://www.linux-mm.org
10540+
T: quilt https://ozlabs.org/~akpm/mmotm/
10541+
T: quilt https://ozlabs.org/~akpm/mmots/
10542+
T: git git://github.com/hnaz/linux-mm.git
1053810543
S: Maintained
1053910544
F: include/linux/mm.h
1054010545
F: include/linux/gfp.h
@@ -18048,6 +18053,7 @@ F: Documentation/vm/zsmalloc.rst
1804818053
ZSWAP COMPRESSED SWAP CACHING
1804918054
M: Seth Jennings <sjenning@redhat.com>
1805018055
M: Dan Streetman <ddstreet@ieee.org>
18056+
M: Vitaly Wool <vitaly.wool@konsulko.com>
1805118057
L: linux-mm@kvack.org
1805218058
S: Maintained
1805318059
F: mm/zswap.c

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 5
33
PATCHLEVEL = 4
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc5
5+
EXTRAVERSION = -rc6
66
NAME = Kleptomaniac Octopus
77

88
# *DOCUMENTATION*

‎arch/arm64/include/asm/pgtable.h‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -283,23 +283,6 @@ static inline void set_pte_at(struct mm_struct *mm, unsigned long addr,
283283
set_pte(ptep, pte);
284284
}
285285

286-
#define __HAVE_ARCH_PTE_SAME
287-
static inline int pte_same(pte_t pte_a, pte_t pte_b)
288-
{
289-
pteval_t lhs, rhs;
290-
291-
lhs = pte_val(pte_a);
292-
rhs = pte_val(pte_b);
293-
294-
if (pte_present(pte_a))
295-
lhs &= ~PTE_RDONLY;
296-
297-
if (pte_present(pte_b))
298-
rhs &= ~PTE_RDONLY;
299-
300-
return (lhs == rhs);
301-
}
302-
303286
/*
304287
* Huge pte definitions.
305288
*/

‎arch/powerpc/include/asm/book3s/32/kup.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191

9292
static inline void kuap_update_sr(u32 sr, u32 addr, u32 end)
9393
{
94+
addr &= 0xf0000000; /* align addr to start of segment */
9495
barrier(); /* make sure thread.kuap is updated before playing with SRs */
9596
while (addr < end) {
9697
mtsrin(sr, addr);

‎arch/powerpc/include/asm/elf.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,7 @@ do { \
175175
ARCH_DLINFO_CACHE_GEOMETRY; \
176176
} while (0)
177177

178+
/* Relocate the kernel image to @final_address */
179+
void relocate(unsigned long final_address);
180+
178181
#endif /* _ASM_POWERPC_ELF_H */

‎arch/powerpc/kernel/prom_init.c‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3249,7 +3249,20 @@ static void setup_secure_guest(unsigned long kbase, unsigned long fdt)
32493249
/* Switch to secure mode. */
32503250
prom_printf("Switching to secure mode.\n");
32513251

3252+
/*
3253+
* The ultravisor will do an integrity check of the kernel image but we
3254+
* relocated it so the check will fail. Restore the original image by
3255+
* relocating it back to the kernel virtual base address.
3256+
*/
3257+
if (IS_ENABLED(CONFIG_RELOCATABLE))
3258+
relocate(KERNELBASE);
3259+
32523260
ret = enter_secure_mode(kbase, fdt);
3261+
3262+
/* Relocate the kernel again. */
3263+
if (IS_ENABLED(CONFIG_RELOCATABLE))
3264+
relocate(kbase);
3265+
32533266
if (ret != U_SUCCESS) {
32543267
prom_printf("Returned %d from switching to secure mode.\n", ret);
32553268
prom_rtas_os_term("Switch to secure mode failed.\n");

‎arch/powerpc/kernel/prom_init_check.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ _end enter_prom $MEM_FUNCS reloc_offset __secondary_hold
2626
__secondary_hold_acknowledge __secondary_hold_spinloop __start
2727
logo_linux_clut224 btext_prepare_BAT
2828
reloc_got2 kernstart_addr memstart_addr linux_banner _stext
29-
__prom_init_toc_start __prom_init_toc_end btext_setup_display TOC."
29+
__prom_init_toc_start __prom_init_toc_end btext_setup_display TOC.
30+
relocate"
3031

3132
NM="$1"
3233
OBJ="$2"

‎arch/powerpc/net/bpf_jit_comp64.c‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,19 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
11411141
goto out_addrs;
11421142
}
11431143

1144+
/*
1145+
* If we have seen a tail call, we need a second pass.
1146+
* This is because bpf_jit_emit_common_epilogue() is called
1147+
* from bpf_jit_emit_tail_call() with a not yet stable ctx->seen.
1148+
*/
1149+
if (cgctx.seen & SEEN_TAILCALL) {
1150+
cgctx.idx = 0;
1151+
if (bpf_jit_build_body(fp, 0, &cgctx, addrs, false)) {
1152+
fp = org_fp;
1153+
goto out_addrs;
1154+
}
1155+
}
1156+
11441157
/*
11451158
* Pretend to build prologue, given the features we've seen. This will
11461159
* update ctgtx.idx as it pretends to output instructions, then we can

‎arch/powerpc/platforms/powernv/eeh-powernv.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void pnv_pcibios_bus_add_device(struct pci_dev *pdev)
4242
{
4343
struct pci_dn *pdn = pci_get_pdn(pdev);
4444

45-
if (eeh_has_flag(EEH_FORCE_DISABLED))
45+
if (!pdn || eeh_has_flag(EEH_FORCE_DISABLED))
4646
return;
4747

4848
dev_dbg(&pdev->dev, "EEH: Setting up device\n");

0 commit comments

Comments
 (0)