Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
kuba-moo committed Jul 14, 2022
2 parents b126047 + db88697 commit 816cd16
Show file tree
Hide file tree
Showing 353 changed files with 3,652 additions and 1,455 deletions.
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ Bart Van Assche <[email protected]> <[email protected]>
Bart Van Assche <[email protected]> <[email protected]>
Ben Gardner <[email protected]>
Ben M Cahill <[email protected]>
Ben Widawsky <[email protected]> <[email protected]>
Ben Widawsky <[email protected]> <[email protected]>
Ben Widawsky <[email protected]> <[email protected]>
Björn Steinbrink <[email protected]>
Björn Töpel <[email protected]> <[email protected]>
Björn Töpel <[email protected]> <[email protected]>
Expand Down
25 changes: 25 additions & 0 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5197,6 +5197,30 @@

retain_initrd [RAM] Keep initrd memory after extraction

retbleed= [X86] Control mitigation of RETBleed (Arbitrary
Speculative Code Execution with Return Instructions)
vulnerability.

off - no mitigation
auto - automatically select a migitation
auto,nosmt - automatically select a mitigation,
disabling SMT if necessary for
the full mitigation (only on Zen1
and older without STIBP).
ibpb - mitigate short speculation windows on
basic block boundaries too. Safe, highest
perf impact.
unret - force enable untrained return thunks,
only effective on AMD f15h-f17h
based systems.
unret,nosmt - like unret, will disable SMT when STIBP
is not available.

Selecting 'auto' will choose a mitigation method at run
time according to the CPU.

Not specifying this option is equivalent to retbleed=auto.

rfkill.default_state=
0 "airplane mode". All wifi, bluetooth, wimax, gps, fm,
etc. communication is blocked by default.
Expand Down Expand Up @@ -5568,6 +5592,7 @@
eibrs - enhanced IBRS
eibrs,retpoline - enhanced IBRS + Retpolines
eibrs,lfence - enhanced IBRS + LFENCE
ibrs - use IBRS to protect kernel

Not specifying this option is equivalent to
spectre_v2=auto.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/core-api/kernel-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Module Loading
Inter Module support
--------------------

Refer to the file kernel/module.c for more information.
Refer to the files in kernel/module/ for more information.

Hardware Interfaces
===================
Expand Down
4 changes: 2 additions & 2 deletions Documentation/core-api/symbol-namespaces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ namespace ``USB_STORAGE``, use::
The corresponding ksymtab entry struct ``kernel_symbol`` will have the member
``namespace`` set accordingly. A symbol that is exported without a namespace will
refer to ``NULL``. There is no default namespace if none is defined. ``modpost``
and kernel/module.c make use the namespace at build time or module load time,
respectively.
and kernel/module/main.c make use the namespace at build time or module load
time, respectively.

2.2 Using the DEFAULT_SYMBOL_NAMESPACE define
=============================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if:
then:
properties:
clocks:
maxItems: 2
minItems: 2

required:
- clock-names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Atheros ath9k wireless devices Generic Binding

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

description: |
This node provides properties for configuring the ath9k wireless device.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies ath11k wireless devices Generic Binding

maintainers:
- Kalle Valo <kvalo@codeaurora.org>
- Kalle Valo <kvalo@kernel.org>

description: |
These are dt entries for Qualcomm Technologies, Inc. IEEE 802.11ax
Expand Down
8 changes: 4 additions & 4 deletions Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ properties:
- qcom,sc7280-lpass-cpu

reg:
minItems: 2
minItems: 1
maxItems: 6
description: LPAIF core registers

reg-names:
minItems: 2
minItems: 1
maxItems: 6

clocks:
Expand All @@ -42,12 +42,12 @@ properties:
maxItems: 10

interrupts:
minItems: 2
minItems: 1
maxItems: 4
description: LPAIF DMA buffer interrupt

interrupt-names:
minItems: 2
minItems: 1
maxItems: 4

qcom,adsp:
Expand Down
4 changes: 4 additions & 0 deletions Documentation/filesystems/overlayfs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,10 @@ overlay filesystem and the value of st_ino for filesystem objects may not be
persistent and could change even while the overlay filesystem is mounted, as
summarized in the `Inode properties`_ table above.

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

Changes to underlying filesystems
---------------------------------
Expand Down
10 changes: 5 additions & 5 deletions Documentation/livepatch/module-elf-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ module->symtab.
=====================================
Normally, a stripped down copy of a module's symbol table (containing only
"core" symbols) is made available through module->symtab (See layout_symtab()
in kernel/module.c). For livepatch modules, the symbol table copied into memory
on module load must be exactly the same as the symbol table produced when the
patch module was compiled. This is because the relocations in each livepatch
relocation section refer to their respective symbols with their symbol indices,
and the original symbol indices (and thus the symtab ordering) must be
in kernel/module/kallsyms.c). For livepatch modules, the symbol table copied
into memory on module load must be exactly the same as the symbol table produced
when the patch module was compiled. This is because the relocations in each
livepatch relocation section refer to their respective symbols with their symbol
indices, and the original symbol indices (and thus the symtab ordering) must be
preserved in order for apply_relocate_add() to find the right symbol.

For example, take this particular rela from a livepatch module:::
Expand Down
4 changes: 2 additions & 2 deletions Documentation/networking/ip-sysctl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ cipso_cache_enable - BOOLEAN
cipso_cache_bucket_size - INTEGER
The CIPSO label cache consists of a fixed size hash table with each
hash bucket containing a number of cache entries. This variable limits
the number of entries in each hash bucket; the larger the value the
the number of entries in each hash bucket; the larger the value is, the
more CIPSO label mappings that can be cached. When the number of
entries in a given hash bucket reaches this limit adding new entries
causes the oldest entry in the bucket to be removed to make room.
Expand Down Expand Up @@ -1185,7 +1185,7 @@ ip_autobind_reuse - BOOLEAN
option should only be set by experts.
Default: 0

ip_dynaddr - BOOLEAN
ip_dynaddr - INTEGER
If set non-zero, enables support for dynamic addresses.
If set to a non-zero value larger than 1, a kernel log
message will be printed when dynamic address rewriting
Expand Down
2 changes: 1 addition & 1 deletion Documentation/sound/soc/dai.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ AC97
====

AC97 is a five wire interface commonly found on many PC sound cards. It is
now also popular in many portable devices. This DAI has a reset line and time
now also popular in many portable devices. This DAI has a RESET line and time
multiplexes its data on its SDATA_OUT (playback) and SDATA_IN (capture) lines.
The bit clock (BCLK) is always driven by the CODEC (usually 12.288MHz) and the
frame (FRAME) (usually 48kHz) is always driven by the controller. Each AC97
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ Di conseguenza, nella tabella dei simboli del kernel ci sarà una voce
rappresentata dalla struttura ``kernel_symbol`` che avrà il campo
``namespace`` (spazio dei nomi) impostato. Un simbolo esportato senza uno spazio
dei nomi avrà questo campo impostato a ``NULL``. Non esiste uno spazio dei nomi
di base. Il programma ``modpost`` e il codice in kernel/module.c usano lo spazio
dei nomi, rispettivamente, durante la compilazione e durante il caricamento
di un modulo.
di base. Il programma ``modpost`` e il codice in kernel/module/main.c usano lo
spazio dei nomi, rispettivamente, durante la compilazione e durante il
caricamento di un modulo.

2.2 Usare il simbolo di preprocessore DEFAULT_SYMBOL_NAMESPACE
==============================================================
Expand Down
2 changes: 1 addition & 1 deletion Documentation/translations/zh_CN/core-api/kernel-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ kernel/kmod.c
模块接口支持
------------

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

硬件接口
========
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

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

2.2 使用DEFAULT_SYMBOL_NAMESPACE定义
====================================
Expand Down
14 changes: 2 additions & 12 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,6 @@ F: drivers/acpi/*thermal*
ACPI VIOT DRIVER
M: Jean-Philippe Brucker <[email protected]>
L: [email protected]
L: [email protected]
L: [email protected]
S: Maintained
F: drivers/acpi/viot.c
Expand Down Expand Up @@ -959,7 +958,6 @@ F: drivers/video/fbdev/geode/
AMD IOMMU (AMD-VI)
M: Joerg Roedel <[email protected]>
R: Suravee Suthikulpanit <[email protected]>
L: [email protected]
L: [email protected]
S: Maintained
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
Expand Down Expand Up @@ -1039,6 +1037,7 @@ F: arch/arm64/boot/dts/amd/

AMD XGBE DRIVER
M: Tom Lendacky <[email protected]>
M: "Shyam Sundar S K" <[email protected]>
L: [email protected]
S: Supported
F: arch/arm64/boot/dts/amd/amd-seattle-xgbe*.dtsi
Expand Down Expand Up @@ -5102,7 +5101,7 @@ COMPUTE EXPRESS LINK (CXL)
M: Alison Schofield <[email protected]>
M: Vishal Verma <[email protected]>
M: Ira Weiny <[email protected]>
M: Ben Widawsky <[email protected]>
M: Ben Widawsky <[email protected]>
M: Dan Williams <[email protected]>
L: [email protected]
S: Maintained
Expand Down Expand Up @@ -6054,7 +6053,6 @@ DMA MAPPING HELPERS
M: Christoph Hellwig <[email protected]>
M: Marek Szyprowski <[email protected]>
R: Robin Murphy <[email protected]>
L: [email protected]
L: [email protected]
S: Supported
W: http://git.infradead.org/users/hch/dma-mapping.git
Expand All @@ -6067,7 +6065,6 @@ F: kernel/dma/

DMA MAPPING BENCHMARK
M: Xiang Chen <[email protected]>
L: [email protected]
L: [email protected]
F: kernel/dma/map_benchmark.c
F: tools/testing/selftests/dma/
Expand Down Expand Up @@ -7666,7 +7663,6 @@ F: drivers/gpu/drm/exynos/exynos_dp*

EXYNOS SYSMMU (IOMMU) driver
M: Marek Szyprowski <[email protected]>
L: [email protected]
L: [email protected]
S: Maintained
F: drivers/iommu/exynos-iommu.c
Expand Down Expand Up @@ -10091,7 +10087,6 @@ F: drivers/hid/intel-ish-hid/
INTEL IOMMU (VT-d)
M: David Woodhouse <[email protected]>
M: Lu Baolu <[email protected]>
L: [email protected]
L: [email protected]
S: Supported
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
Expand Down Expand Up @@ -10471,7 +10466,6 @@ F: include/linux/iomap.h
IOMMU DRIVERS
M: Joerg Roedel <[email protected]>
M: Will Deacon <[email protected]>
L: [email protected]
L: [email protected]
S: Maintained
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
Expand Down Expand Up @@ -12631,7 +12625,6 @@ F: drivers/i2c/busses/i2c-mt65xx.c

MEDIATEK IOMMU DRIVER
M: Yong Wu <[email protected]>
L: [email protected]
L: [email protected]
L: [email protected] (moderated for non-subscribers)
S: Supported
Expand Down Expand Up @@ -16683,7 +16676,6 @@ F: drivers/i2c/busses/i2c-qcom-cci.c

QUALCOMM IOMMU
M: Rob Clark <[email protected]>
L: [email protected]
L: [email protected]
L: [email protected]
S: Maintained
Expand Down Expand Up @@ -19326,7 +19318,6 @@ F: arch/x86/boot/video*

SWIOTLB SUBSYSTEM
M: Christoph Hellwig <[email protected]>
L: [email protected]
L: [email protected]
S: Supported
W: http://git.infradead.org/users/hch/dma-mapping.git
Expand Down Expand Up @@ -22008,7 +21999,6 @@ XEN SWIOTLB SUBSYSTEM
M: Juergen Gross <[email protected]>
M: Stefano Stabellini <[email protected]>
L: [email protected] (moderated for non-subscribers)
L: [email protected]
L: [email protected]
S: Supported
F: arch/x86/xen/*swiotlb*
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
VERSION = 5
PATCHLEVEL = 19
SUBLEVEL = 0
EXTRAVERSION = -rc5
EXTRAVERSION = -rc6
NAME = Superb Owl

# *DOCUMENTATION*
Expand Down
13 changes: 0 additions & 13 deletions arch/arm/include/asm/domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,19 +112,6 @@ static __always_inline void set_domain(unsigned int val)
}
#endif

#ifdef CONFIG_CPU_USE_DOMAINS
#define modify_domain(dom,type) \
do { \
unsigned int domain = get_domain(); \
domain &= ~domain_mask(dom); \
domain = domain | domain_val(dom, type); \
set_domain(domain); \
} while (0)

#else
static inline void modify_domain(unsigned dom, unsigned type) { }
#endif

/*
* Generate the T (user) versions of the LDR/STR and related
* instructions (inline assembly)
Expand Down
1 change: 1 addition & 0 deletions arch/arm/include/asm/mach/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ enum {
MT_HIGH_VECTORS,
MT_MEMORY_RWX,
MT_MEMORY_RW,
MT_MEMORY_RO,
MT_ROM,
MT_MEMORY_RWX_NONCACHED,
MT_MEMORY_RW_DTCM,
Expand Down
26 changes: 26 additions & 0 deletions arch/arm/include/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,31 @@ static inline unsigned long user_stack_pointer(struct pt_regs *regs)
((current_stack_pointer | (THREAD_SIZE - 1)) - 7) - 1; \
})


/*
* Update ITSTATE after normal execution of an IT block instruction.
*
* The 8 IT state bits are split into two parts in CPSR:
* ITSTATE<1:0> are in CPSR<26:25>
* ITSTATE<7:2> are in CPSR<15:10>
*/
static inline unsigned long it_advance(unsigned long cpsr)
{
if ((cpsr & 0x06000400) == 0) {
/* ITSTATE<2:0> == 0 means end of IT block, so clear IT state */
cpsr &= ~PSR_IT_MASK;
} else {
/* We need to shift left ITSTATE<4:0> */
const unsigned long mask = 0x06001c00; /* Mask ITSTATE<4:0> */
unsigned long it = cpsr & mask;
it <<= 1;
it |= it >> (27 - 10); /* Carry ITSTATE<2> to correct place */
it &= mask;
cpsr &= ~mask;
cpsr |= it;
}
return cpsr;
}

#endif /* __ASSEMBLY__ */
#endif
1 change: 1 addition & 0 deletions arch/arm/kernel/entry-common.S
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ local_restart:
b ret_fast_syscall
#endif
ENDPROC(vector_swi)
.ltorg

/*
* This is the really slow path. We're going to be doing
Expand Down
Loading

0 comments on commit 816cd16

Please sign in to comment.