Skip to content

Commit 59be3ba

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. No conflicts or adjacent changes. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 parents b446934 + 57f1f9d commit 59be3ba

304 files changed

Lines changed: 3067 additions & 1714 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.

.mailmap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,13 @@ Jisheng Zhang <jszhang@kernel.org> <Jisheng.Zhang@synaptics.com>
241241
Johan Hovold <johan@kernel.org> <jhovold@gmail.com>
242242
Johan Hovold <johan@kernel.org> <johan@hovoldconsulting.com>
243243
John Crispin <john@phrozen.org> <blogic@openwrt.org>
244+
John Fastabend <john.fastabend@gmail.com> <john.r.fastabend@intel.com>
244245
John Keeping <john@keeping.me.uk> <john@metanate.com>
245246
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
246247
John Stultz <johnstul@us.ibm.com>
247248
<jon.toppins+linux@gmail.com> <jtoppins@cumulusnetworks.com>
248249
<jon.toppins+linux@gmail.com> <jtoppins@redhat.com>
250+
Jonas Gorski <jonas.gorski@gmail.com> <jogo@openwrt.org>
249251
Jordan Crouse <jordan@cosmicpenguin.net> <jcrouse@codeaurora.org>
250252
<josh@joshtriplett.org> <josh@freedesktop.org>
251253
<josh@joshtriplett.org> <josh@kernel.org>
@@ -453,6 +455,8 @@ Sebastian Reichel <sre@kernel.org> <sre@debian.org>
453455
Sedat Dilek <sedat.dilek@gmail.com> <sedat.dilek@credativ.de>
454456
Seth Forshee <sforshee@kernel.org> <seth.forshee@canonical.com>
455457
Shannon Nelson <shannon.nelson@amd.com> <snelson@pensando.io>
458+
Shannon Nelson <shannon.nelson@amd.com> <shannon.nelson@intel.com>
459+
Shannon Nelson <shannon.nelson@amd.com> <shannon.nelson@oracle.com>
456460
Shiraz Hashim <shiraz.linux.kernel@gmail.com> <shiraz.hashim@st.com>
457461
Shuah Khan <shuah@kernel.org> <shuahkhan@gmail.com>
458462
Shuah Khan <shuah@kernel.org> <shuah.khan@hp.com>

Documentation/ABI/testing/sysfs-driver-ufs

Lines changed: 38 additions & 38 deletions
Large diffs are not rendered by default.

Documentation/riscv/hwprobe.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following keys are defined:
4949
privileged ISA, with the following known exceptions (more exceptions may be
5050
added, but only if it can be demonstrated that the user ABI is not broken):
5151

52-
* The :fence.i: instruction cannot be directly executed by userspace
52+
* The ``fence.i`` instruction cannot be directly executed by userspace
5353
programs (it may still be executed in userspace via a
5454
kernel-controlled mechanism such as the vDSO).
5555

MAINTAINERS

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4124,6 +4124,13 @@ F: Documentation/devicetree/bindings/spi/brcm,bcm63xx-hsspi.yaml
41244124
F: drivers/spi/spi-bcm63xx-hsspi.c
41254125
F: drivers/spi/spi-bcmbca-hsspi.c
41264126

4127+
BROADCOM BCM6348/BCM6358 SPI controller DRIVER
4128+
M: Jonas Gorski <jonas.gorski@gmail.com>
4129+
L: linux-spi@vger.kernel.org
4130+
S: Odd Fixes
4131+
F: Documentation/devicetree/bindings/spi/spi-bcm63xx.txt
4132+
F: drivers/spi/spi-bcm63xx.c
4133+
41274134
BROADCOM ETHERNET PHY DRIVERS
41284135
M: Florian Fainelli <florian.fainelli@broadcom.com>
41294136
R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
@@ -8684,8 +8691,11 @@ S: Maintained
86848691
F: drivers/input/touchscreen/resistive-adc-touch.c
86858692

86868693
GENERIC STRING LIBRARY
8694+
M: Kees Cook <keescook@chromium.org>
86878695
R: Andy Shevchenko <andy@kernel.org>
8688-
S: Maintained
8696+
L: linux-hardening@vger.kernel.org
8697+
S: Supported
8698+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/hardening
86898699
F: include/linux/string.h
86908700
F: include/linux/string_choices.h
86918701
F: include/linux/string_helpers.h
@@ -13980,7 +13990,7 @@ T: git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
1398013990
F: drivers/soc/microchip/
1398113991

1398213992
MICROCHIP SPI DRIVER
13983-
M: Tudor Ambarus <tudor.ambarus@linaro.org>
13993+
M: Ryan Wanner <ryan.wanner@microchip.com>
1398413994
S: Supported
1398513995
F: drivers/spi/spi-atmel.*
1398613996

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 6
33
PATCHLEVEL = 5
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc1
5+
EXTRAVERSION = -rc2
66
NAME = Hurr durr I'ma ninja sloth
77

88
# *DOCUMENTATION*

arch/arm64/net/bpf_jit_comp.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,13 @@ static int build_prologue(struct jit_ctx *ctx, bool ebpf_from_cbpf)
322322
*
323323
*/
324324

325-
emit_bti(A64_BTI_C, ctx);
325+
/* bpf function may be invoked by 3 instruction types:
326+
* 1. bl, attached via freplace to bpf prog via short jump
327+
* 2. br, attached via freplace to bpf prog via long jump
328+
* 3. blr, working as a function pointer, used by emit_call.
329+
* So BTI_JC should used here to support both br and blr.
330+
*/
331+
emit_bti(A64_BTI_JC, ctx);
326332

327333
emit(A64_MOV(1, A64_R(9), A64_LR), ctx);
328334
emit(A64_NOP, ctx);

arch/powerpc/include/asm/book3s/64/hash-4k.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,6 @@ static inline int hash__pmd_trans_huge(pmd_t pmd)
136136
return 0;
137137
}
138138

139-
static inline int hash__pmd_same(pmd_t pmd_a, pmd_t pmd_b)
140-
{
141-
BUG();
142-
return 0;
143-
}
144-
145139
static inline pmd_t hash__pmd_mkhuge(pmd_t pmd)
146140
{
147141
BUG();

arch/powerpc/include/asm/book3s/64/hash-64k.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,6 @@ static inline int hash__pmd_trans_huge(pmd_t pmd)
263263
(_PAGE_PTE | H_PAGE_THP_HUGE));
264264
}
265265

266-
static inline int hash__pmd_same(pmd_t pmd_a, pmd_t pmd_b)
267-
{
268-
return (((pmd_raw(pmd_a) ^ pmd_raw(pmd_b)) & ~cpu_to_be64(_PAGE_HPTEFLAGS)) == 0);
269-
}
270-
271266
static inline pmd_t hash__pmd_mkhuge(pmd_t pmd)
272267
{
273268
return __pmd(pmd_val(pmd) | (_PAGE_PTE | H_PAGE_THP_HUGE));

arch/powerpc/include/asm/book3s/64/hash.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ static inline int get_region_id(unsigned long ea)
132132
return region_id;
133133
}
134134

135+
static inline int hash__pmd_same(pmd_t pmd_a, pmd_t pmd_b)
136+
{
137+
return (((pmd_raw(pmd_a) ^ pmd_raw(pmd_b)) & ~cpu_to_be64(_PAGE_HPTEFLAGS)) == 0);
138+
}
139+
135140
#define hash__pmd_bad(pmd) (pmd_val(pmd) & H_PMD_BAD_BITS)
136141
#define hash__pud_bad(pud) (pud_val(pud) & H_PUD_BAD_BITS)
137142
static inline int hash__p4d_bad(p4d_t p4d)

arch/powerpc/kernel/exceptions-64e.S

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Copyright (C) 2007 Ben. Herrenschmidt (benh@kernel.crashing.org), IBM Corp.
66
*/
77

8+
#include <linux/linkage.h>
89
#include <linux/threads.h>
910
#include <asm/reg.h>
1011
#include <asm/page.h>
@@ -66,7 +67,7 @@
6667
#define SPECIAL_EXC_LOAD(reg, name) \
6768
ld reg, (SPECIAL_EXC_##name * 8 + SPECIAL_EXC_FRAME_OFFS)(r1)
6869

69-
special_reg_save:
70+
SYM_CODE_START_LOCAL(special_reg_save)
7071
/*
7172
* We only need (or have stack space) to save this stuff if
7273
* we interrupted the kernel.
@@ -131,8 +132,9 @@ END_FTR_SECTION_IFSET(CPU_FTR_EMB_HV)
131132
SPECIAL_EXC_STORE(r10,CSRR1)
132133

133134
blr
135+
SYM_CODE_END(special_reg_save)
134136

135-
ret_from_level_except:
137+
SYM_CODE_START_LOCAL(ret_from_level_except)
136138
ld r3,_MSR(r1)
137139
andi. r3,r3,MSR_PR
138140
beq 1f
@@ -206,6 +208,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_EMB_HV)
206208
mtxer r11
207209

208210
blr
211+
SYM_CODE_END(ret_from_level_except)
209212

210213
.macro ret_from_level srr0 srr1 paca_ex scratch
211214
bl ret_from_level_except
@@ -232,13 +235,15 @@ END_FTR_SECTION_IFSET(CPU_FTR_EMB_HV)
232235
mfspr r13,\scratch
233236
.endm
234237

235-
ret_from_crit_except:
238+
SYM_CODE_START_LOCAL(ret_from_crit_except)
236239
ret_from_level SPRN_CSRR0 SPRN_CSRR1 PACA_EXCRIT SPRN_SPRG_CRIT_SCRATCH
237240
rfci
241+
SYM_CODE_END(ret_from_crit_except)
238242

239-
ret_from_mc_except:
243+
SYM_CODE_START_LOCAL(ret_from_mc_except)
240244
ret_from_level SPRN_MCSRR0 SPRN_MCSRR1 PACA_EXMC SPRN_SPRG_MC_SCRATCH
241245
rfmci
246+
SYM_CODE_END(ret_from_mc_except)
242247

243248
/* Exception prolog code for all exceptions */
244249
#define EXCEPTION_PROLOG(n, intnum, type, addition) \
@@ -978,20 +983,22 @@ masked_interrupt_book3e_0x2c0:
978983
* r14 and r15 containing the fault address and error code, with the
979984
* original values stashed away in the PACA
980985
*/
981-
storage_fault_common:
986+
SYM_CODE_START_LOCAL(storage_fault_common)
982987
addi r3,r1,STACK_INT_FRAME_REGS
983988
bl do_page_fault
984989
b interrupt_return
990+
SYM_CODE_END(storage_fault_common)
985991

986992
/*
987993
* Alignment exception doesn't fit entirely in the 0x100 bytes so it
988994
* continues here.
989995
*/
990-
alignment_more:
996+
SYM_CODE_START_LOCAL(alignment_more)
991997
addi r3,r1,STACK_INT_FRAME_REGS
992998
bl alignment_exception
993999
REST_NVGPRS(r1)
9941000
b interrupt_return
1001+
SYM_CODE_END(alignment_more)
9951002

9961003
/*
9971004
* Trampolines used when spotting a bad kernel stack pointer in
@@ -1030,8 +1037,7 @@ BAD_STACK_TRAMPOLINE(0xe00)
10301037
BAD_STACK_TRAMPOLINE(0xf00)
10311038
BAD_STACK_TRAMPOLINE(0xf20)
10321039

1033-
.globl bad_stack_book3e
1034-
bad_stack_book3e:
1040+
_GLOBAL(bad_stack_book3e)
10351041
/* XXX: Needs to make SPRN_SPRG_GEN depend on exception type */
10361042
mfspr r10,SPRN_SRR0; /* read SRR0 before touching stack */
10371043
ld r1,PACAEMERGSP(r13)
@@ -1285,8 +1291,7 @@ have_hes:
12851291
* ever takes any parameters, the SCOM code must also be updated to
12861292
* provide them.
12871293
*/
1288-
.globl a2_tlbinit_code_start
1289-
a2_tlbinit_code_start:
1294+
_GLOBAL(a2_tlbinit_code_start)
12901295

12911296
ori r11,r3,MAS0_WQ_ALLWAYS
12921297
oris r11,r11,MAS0_ESEL(3)@h /* Use way 3: workaround A2 erratum 376 */
@@ -1479,16 +1484,15 @@ _GLOBAL(book3e_secondary_thread_init)
14791484
mflr r28
14801485
b 3b
14811486

1482-
.globl init_core_book3e
1483-
init_core_book3e:
1487+
_GLOBAL(init_core_book3e)
14841488
/* Establish the interrupt vector base */
14851489
tovirt(r2,r2)
14861490
LOAD_REG_ADDR(r3, interrupt_base_book3e)
14871491
mtspr SPRN_IVPR,r3
14881492
sync
14891493
blr
14901494

1491-
init_thread_book3e:
1495+
SYM_CODE_START_LOCAL(init_thread_book3e)
14921496
lis r3,(SPRN_EPCR_ICM | SPRN_EPCR_GICM)@h
14931497
mtspr SPRN_EPCR,r3
14941498

@@ -1502,6 +1506,7 @@ init_thread_book3e:
15021506
mtspr SPRN_TSR,r3
15031507

15041508
blr
1509+
SYM_CODE_END(init_thread_book3e)
15051510

15061511
_GLOBAL(__setup_base_ivors)
15071512
SET_IVOR(0, 0x020) /* Critical Input */

0 commit comments

Comments
 (0)