Skip to content

Commit 816cd16

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
include/net/sock.h 310731e ("net: Fix data-races around sysctl_mem.") e70f3c7 ("Revert "net: set SK_MEM_QUANTUM to 4096"") https://lore.kernel.org/all/[email protected]/ net/ipv4/fib_semantics.c 747c143 ("ip: fix dflt addr selection for connected nexthop") d62607c ("net: rename reference+tracking helpers") net/tls/tls.h include/net/tls.h 3d8c51b ("net/tls: Check for errors in tls_device_init") 5879031 ("tls: create an internal header") Signed-off-by: Jakub Kicinski <[email protected]>
2 parents b126047 + db88697 commit 816cd16

File tree

353 files changed

+3652
-1455
lines changed

Some content is hidden

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

353 files changed

+3652
-1455
lines changed

.mailmap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ Bart Van Assche <[email protected]> <[email protected]>
6464
6565
Ben Gardner <[email protected]>
6666
Ben M Cahill <[email protected]>
67+
68+
69+
6770
Björn Steinbrink <[email protected]>
6871
6972

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5197,6 +5197,30 @@
51975197

51985198
retain_initrd [RAM] Keep initrd memory after extraction
51995199

5200+
retbleed= [X86] Control mitigation of RETBleed (Arbitrary
5201+
Speculative Code Execution with Return Instructions)
5202+
vulnerability.
5203+
5204+
off - no mitigation
5205+
auto - automatically select a migitation
5206+
auto,nosmt - automatically select a mitigation,
5207+
disabling SMT if necessary for
5208+
the full mitigation (only on Zen1
5209+
and older without STIBP).
5210+
ibpb - mitigate short speculation windows on
5211+
basic block boundaries too. Safe, highest
5212+
perf impact.
5213+
unret - force enable untrained return thunks,
5214+
only effective on AMD f15h-f17h
5215+
based systems.
5216+
unret,nosmt - like unret, will disable SMT when STIBP
5217+
is not available.
5218+
5219+
Selecting 'auto' will choose a mitigation method at run
5220+
time according to the CPU.
5221+
5222+
Not specifying this option is equivalent to retbleed=auto.
5223+
52005224
rfkill.default_state=
52015225
0 "airplane mode". All wifi, bluetooth, wimax, gps, fm,
52025226
etc. communication is blocked by default.
@@ -5568,6 +5592,7 @@
55685592
eibrs - enhanced IBRS
55695593
eibrs,retpoline - enhanced IBRS + Retpolines
55705594
eibrs,lfence - enhanced IBRS + LFENCE
5595+
ibrs - use IBRS to protect kernel
55715596

55725597
Not specifying this option is equivalent to
55735598
spectre_v2=auto.

Documentation/core-api/kernel-api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Module Loading
223223
Inter Module support
224224
--------------------
225225

226-
Refer to the file kernel/module.c for more information.
226+
Refer to the files in kernel/module/ for more information.
227227

228228
Hardware Interfaces
229229
===================

Documentation/core-api/symbol-namespaces.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ namespace ``USB_STORAGE``, use::
5151
The corresponding ksymtab entry struct ``kernel_symbol`` will have the member
5252
``namespace`` set accordingly. A symbol that is exported without a namespace will
5353
refer to ``NULL``. There is no default namespace if none is defined. ``modpost``
54-
and kernel/module.c make use the namespace at build time or module load time,
55-
respectively.
54+
and kernel/module/main.c make use the namespace at build time or module load
55+
time, respectively.
5656

5757
2.2 Using the DEFAULT_SYMBOL_NAMESPACE define
5858
=============================================

Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if:
6767
then:
6868
properties:
6969
clocks:
70-
maxItems: 2
70+
minItems: 2
7171

7272
required:
7373
- clock-names

Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
77
title: Qualcomm Atheros ath9k wireless devices Generic Binding
88

99
maintainers:
10-
- Kalle Valo <[email protected]>
10+
- Toke Høiland-Jørgensen <[email protected]>
1111

1212
description: |
1313
This node provides properties for configuring the ath9k wireless device.

Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
99
title: Qualcomm Technologies ath11k wireless devices Generic Binding
1010

1111
maintainers:
12-
- Kalle Valo <kvalo@codeaurora.org>
12+
- Kalle Valo <kvalo@kernel.org>
1313

1414
description: |
1515
These are dt entries for Qualcomm Technologies, Inc. IEEE 802.11ax

Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ properties:
2525
- qcom,sc7280-lpass-cpu
2626

2727
reg:
28-
minItems: 2
28+
minItems: 1
2929
maxItems: 6
3030
description: LPAIF core registers
3131

3232
reg-names:
33-
minItems: 2
33+
minItems: 1
3434
maxItems: 6
3535

3636
clocks:
@@ -42,12 +42,12 @@ properties:
4242
maxItems: 10
4343

4444
interrupts:
45-
minItems: 2
45+
minItems: 1
4646
maxItems: 4
4747
description: LPAIF DMA buffer interrupt
4848

4949
interrupt-names:
50-
minItems: 2
50+
minItems: 1
5151
maxItems: 4
5252

5353
qcom,adsp:

Documentation/filesystems/overlayfs.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,10 @@ overlay filesystem and the value of st_ino for filesystem objects may not be
466466
persistent and could change even while the overlay filesystem is mounted, as
467467
summarized in the `Inode properties`_ table above.
468468

469+
4) "idmapped mounts"
470+
When the upper or lower layers are idmapped mounts overlayfs will be mounted
471+
without support for POSIX Access Control Lists (ACLs). This limitation will
472+
eventually be lifted.
469473

470474
Changes to underlying filesystems
471475
---------------------------------

Documentation/livepatch/module-elf-format.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ module->symtab.
210210
=====================================
211211
Normally, a stripped down copy of a module's symbol table (containing only
212212
"core" symbols) is made available through module->symtab (See layout_symtab()
213-
in kernel/module.c). For livepatch modules, the symbol table copied into memory
214-
on module load must be exactly the same as the symbol table produced when the
215-
patch module was compiled. This is because the relocations in each livepatch
216-
relocation section refer to their respective symbols with their symbol indices,
217-
and the original symbol indices (and thus the symtab ordering) must be
213+
in kernel/module/kallsyms.c). For livepatch modules, the symbol table copied
214+
into memory on module load must be exactly the same as the symbol table produced
215+
when the patch module was compiled. This is because the relocations in each
216+
livepatch relocation section refer to their respective symbols with their symbol
217+
indices, and the original symbol indices (and thus the symtab ordering) must be
218218
preserved in order for apply_relocate_add() to find the right symbol.
219219

220220
For example, take this particular rela from a livepatch module:::

Documentation/networking/ip-sysctl.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ cipso_cache_enable - BOOLEAN
10911091
cipso_cache_bucket_size - INTEGER
10921092
The CIPSO label cache consists of a fixed size hash table with each
10931093
hash bucket containing a number of cache entries. This variable limits
1094-
the number of entries in each hash bucket; the larger the value the
1094+
the number of entries in each hash bucket; the larger the value is, the
10951095
more CIPSO label mappings that can be cached. When the number of
10961096
entries in a given hash bucket reaches this limit adding new entries
10971097
causes the oldest entry in the bucket to be removed to make room.
@@ -1185,7 +1185,7 @@ ip_autobind_reuse - BOOLEAN
11851185
option should only be set by experts.
11861186
Default: 0
11871187

1188-
ip_dynaddr - BOOLEAN
1188+
ip_dynaddr - INTEGER
11891189
If set non-zero, enables support for dynamic addresses.
11901190
If set to a non-zero value larger than 1, a kernel log
11911191
message will be printed when dynamic address rewriting

Documentation/sound/soc/dai.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ AC97
1010
====
1111

1212
AC97 is a five wire interface commonly found on many PC sound cards. It is
13-
now also popular in many portable devices. This DAI has a reset line and time
13+
now also popular in many portable devices. This DAI has a RESET line and time
1414
multiplexes its data on its SDATA_OUT (playback) and SDATA_IN (capture) lines.
1515
The bit clock (BCLK) is always driven by the CODEC (usually 12.288MHz) and the
1616
frame (FRAME) (usually 48kHz) is always driven by the controller. Each AC97

Documentation/translations/it_IT/core-api/symbol-namespaces.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ Di conseguenza, nella tabella dei simboli del kernel ci sarà una voce
5050
rappresentata dalla struttura ``kernel_symbol`` che avrà il campo
5151
``namespace`` (spazio dei nomi) impostato. Un simbolo esportato senza uno spazio
5252
dei nomi avrà questo campo impostato a ``NULL``. Non esiste uno spazio dei nomi
53-
di base. Il programma ``modpost`` e il codice in kernel/module.c usano lo spazio
54-
dei nomi, rispettivamente, durante la compilazione e durante il caricamento
55-
di un modulo.
53+
di base. Il programma ``modpost`` e il codice in kernel/module/main.c usano lo
54+
spazio dei nomi, rispettivamente, durante la compilazione e durante il
55+
caricamento di un modulo.
5656

5757
2.2 Usare il simbolo di preprocessore DEFAULT_SYMBOL_NAMESPACE
5858
==============================================================

Documentation/translations/zh_CN/core-api/kernel-api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ kernel/kmod.c
224224
模块接口支持
225225
------------
226226

227-
更多信息请参考文件kernel/module.c
227+
更多信息请参阅kernel/module/目录下的文件
228228

229229
硬件接口
230230
========

Documentation/translations/zh_CN/core-api/symbol-namespaces.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
相应的 ksymtab 条目结构体 ``kernel_symbol`` 将有相应的成员 ``命名空间`` 集。
5454
导出时未指明命名空间的符号将指向 ``NULL`` 。如果没有定义命名空间,则默认没有。
55-
``modpost`` 和kernel/module.c分别在构建时或模块加载时使用名称空间。
55+
``modpost`` 和kernel/module/main.c分别在构建时或模块加载时使用名称空间。
5656

5757
2.2 使用DEFAULT_SYMBOL_NAMESPACE定义
5858
====================================

MAINTAINERS

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ F: drivers/acpi/*thermal*
425425
ACPI VIOT DRIVER
426426
M: Jean-Philippe Brucker <[email protected]>
427427
428-
429428
430429
S: Maintained
431430
F: drivers/acpi/viot.c
@@ -959,7 +958,6 @@ F: drivers/video/fbdev/geode/
959958
AMD IOMMU (AMD-VI)
960959
M: Joerg Roedel <[email protected]>
961960
R: Suravee Suthikulpanit <[email protected]>
962-
963961
964962
S: Maintained
965963
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
@@ -1039,6 +1037,7 @@ F: arch/arm64/boot/dts/amd/
10391037

10401038
AMD XGBE DRIVER
10411039
M: Tom Lendacky <[email protected]>
1040+
M: "Shyam Sundar S K" <[email protected]>
10421041
10431042
S: Supported
10441043
F: arch/arm64/boot/dts/amd/amd-seattle-xgbe*.dtsi
@@ -5102,7 +5101,7 @@ COMPUTE EXPRESS LINK (CXL)
51025101
M: Alison Schofield <[email protected]>
51035102
M: Vishal Verma <[email protected]>
51045103
M: Ira Weiny <[email protected]>
5105-
M: Ben Widawsky <[email protected]>
5104+
M: Ben Widawsky <[email protected]>
51065105
M: Dan Williams <[email protected]>
51075106
51085107
S: Maintained
@@ -6054,7 +6053,6 @@ DMA MAPPING HELPERS
60546053
M: Christoph Hellwig <[email protected]>
60556054
M: Marek Szyprowski <[email protected]>
60566055
R: Robin Murphy <[email protected]>
6057-
60586056
60596057
S: Supported
60606058
W: http://git.infradead.org/users/hch/dma-mapping.git
@@ -6067,7 +6065,6 @@ F: kernel/dma/
60676065

60686066
DMA MAPPING BENCHMARK
60696067
M: Xiang Chen <[email protected]>
6070-
60716068
60726069
F: kernel/dma/map_benchmark.c
60736070
F: tools/testing/selftests/dma/
@@ -7666,7 +7663,6 @@ F: drivers/gpu/drm/exynos/exynos_dp*
76667663

76677664
EXYNOS SYSMMU (IOMMU) driver
76687665
M: Marek Szyprowski <[email protected]>
7669-
76707666
76717667
S: Maintained
76727668
F: drivers/iommu/exynos-iommu.c
@@ -10091,7 +10087,6 @@ F: drivers/hid/intel-ish-hid/
1009110087
INTEL IOMMU (VT-d)
1009210088
M: David Woodhouse <[email protected]>
1009310089
M: Lu Baolu <[email protected]>
10094-
1009510090
1009610091
S: Supported
1009710092
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
@@ -10471,7 +10466,6 @@ F: include/linux/iomap.h
1047110466
IOMMU DRIVERS
1047210467
M: Joerg Roedel <[email protected]>
1047310468
M: Will Deacon <[email protected]>
10474-
1047510469
1047610470
S: Maintained
1047710471
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
@@ -12631,7 +12625,6 @@ F: drivers/i2c/busses/i2c-mt65xx.c
1263112625

1263212626
MEDIATEK IOMMU DRIVER
1263312627
M: Yong Wu <[email protected]>
12634-
1263512628
1263612629
L: [email protected] (moderated for non-subscribers)
1263712630
S: Supported
@@ -16683,7 +16676,6 @@ F: drivers/i2c/busses/i2c-qcom-cci.c
1668316676

1668416677
QUALCOMM IOMMU
1668516678
M: Rob Clark <[email protected]>
16686-
1668716679
1668816680
1668916681
S: Maintained
@@ -19326,7 +19318,6 @@ F: arch/x86/boot/video*
1932619318

1932719319
SWIOTLB SUBSYSTEM
1932819320
M: Christoph Hellwig <[email protected]>
19329-
1933019321
1933119322
S: Supported
1933219323
W: http://git.infradead.org/users/hch/dma-mapping.git
@@ -22008,7 +21999,6 @@ XEN SWIOTLB SUBSYSTEM
2200821999
M: Juergen Gross <[email protected]>
2200922000
M: Stefano Stabellini <[email protected]>
2201022001
L: [email protected] (moderated for non-subscribers)
22011-
2201222002
2201322003
S: Supported
2201422004
F: arch/x86/xen/*swiotlb*

Makefile

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

88
# *DOCUMENTATION*

arch/arm/include/asm/domain.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,6 @@ static __always_inline void set_domain(unsigned int val)
112112
}
113113
#endif
114114

115-
#ifdef CONFIG_CPU_USE_DOMAINS
116-
#define modify_domain(dom,type) \
117-
do { \
118-
unsigned int domain = get_domain(); \
119-
domain &= ~domain_mask(dom); \
120-
domain = domain | domain_val(dom, type); \
121-
set_domain(domain); \
122-
} while (0)
123-
124-
#else
125-
static inline void modify_domain(unsigned dom, unsigned type) { }
126-
#endif
127-
128115
/*
129116
* Generate the T (user) versions of the LDR/STR and related
130117
* instructions (inline assembly)

arch/arm/include/asm/mach/map.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ enum {
2727
MT_HIGH_VECTORS,
2828
MT_MEMORY_RWX,
2929
MT_MEMORY_RW,
30+
MT_MEMORY_RO,
3031
MT_ROM,
3132
MT_MEMORY_RWX_NONCACHED,
3233
MT_MEMORY_RW_DTCM,

arch/arm/include/asm/ptrace.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,31 @@ static inline unsigned long user_stack_pointer(struct pt_regs *regs)
163163
((current_stack_pointer | (THREAD_SIZE - 1)) - 7) - 1; \
164164
})
165165

166+
167+
/*
168+
* Update ITSTATE after normal execution of an IT block instruction.
169+
*
170+
* The 8 IT state bits are split into two parts in CPSR:
171+
* ITSTATE<1:0> are in CPSR<26:25>
172+
* ITSTATE<7:2> are in CPSR<15:10>
173+
*/
174+
static inline unsigned long it_advance(unsigned long cpsr)
175+
{
176+
if ((cpsr & 0x06000400) == 0) {
177+
/* ITSTATE<2:0> == 0 means end of IT block, so clear IT state */
178+
cpsr &= ~PSR_IT_MASK;
179+
} else {
180+
/* We need to shift left ITSTATE<4:0> */
181+
const unsigned long mask = 0x06001c00; /* Mask ITSTATE<4:0> */
182+
unsigned long it = cpsr & mask;
183+
it <<= 1;
184+
it |= it >> (27 - 10); /* Carry ITSTATE<2> to correct place */
185+
it &= mask;
186+
cpsr &= ~mask;
187+
cpsr |= it;
188+
}
189+
return cpsr;
190+
}
191+
166192
#endif /* __ASSEMBLY__ */
167193
#endif

arch/arm/kernel/entry-common.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ local_restart:
302302
b ret_fast_syscall
303303
#endif
304304
ENDPROC(vector_swi)
305+
.ltorg
305306

306307
/*
307308
* This is the really slow path. We're going to be doing

0 commit comments

Comments
 (0)