Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge stable upstream #7

Closed
wants to merge 687 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
687 commits
Select commit Hold shift + click to select a range
11277d1
s390: use the correct count for __iowrite64_copy()
jgunthorpe Feb 17, 2024
4588b13
bpf, sockmap: Fix NULL pointer dereference in sk_psock_verdict_data_r…
Feb 18, 2024
ca89b4f
tls: break out of main loop when PEEK gets a non-data record
qsn Feb 15, 2024
6756168
tls: stop recv() if initial process_rx_list gave us non-DATA
qsn Feb 15, 2024
bdaf6bb
tls: don't skip over different type records from the rx_list
qsn Feb 15, 2024
0c9302a
netfilter: nf_tables: set dormant flag on hook register failure
Feb 19, 2024
9c5662e
netfilter: flowtable: simplify route logic
ummakynes May 11, 2023
012df10
netfilter: nft_flow_offload: reset dst in route object after setting …
ummakynes Feb 21, 2024
a6cafdb
netfilter: nft_flow_offload: release dst in case direct xmit path is …
ummakynes Feb 20, 2024
26994a0
netfilter: nf_tables: rename function to destroy hook list
ummakynes Apr 20, 2023
f305359
netfilter: nf_tables: register hooks last when adding new chain/flowt…
ummakynes Feb 19, 2024
ea33b81
netfilter: nf_tables: use kzalloc for hook allocation
Feb 21, 2024
c22ad76
net: mctp: put sock on tag allocation failure
jk-ozlabs Feb 15, 2024
1623161
net: sparx5: Add spinlock for frame transmission from CPU
HoratiuVultur Feb 19, 2024
f556a35
phonet: take correct lock to peek at the RX queue
Feb 18, 2024
9d5523e
phonet/pep: fix racy skb_queue_empty() use
Feb 18, 2024
37919ef
Fix write to cloned skb in ipv6_hop_ioam()
IurmanJ Feb 19, 2024
b919628
net: phy: realtek: Fix rtl8211f_config_init() for RTL8211F(D)(I)-VD-C…
Siddharth-Vadapalli-at-TI Feb 20, 2024
fd7b4f4
drm/syncobj: call drm_syncobj_fence_add_wait when WAIT_AVAILABLE flag…
Jan 19, 2024
5816800
drm/amd/display: Fix memory leak in dm_sw_fini()
Wer-Wolf Feb 13, 2024
b1301f1
i2c: imx: when being a target, mark the last read as processed
cminyard Feb 21, 2024
54407d9
erofs: simplify compression configuration parser
hsiangkao Oct 22, 2023
47467e0
erofs: fix inconsistent per-file compression format
hsiangkao Jan 13, 2024
7ebeee5
mm/damon/reclaim: fix quota stauts loss due to online tunings
sjp38 Feb 16, 2024
18f6143
fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
bvanassche Feb 15, 2024
14f1992
mm: zswap: fix missing folio cleanup in writeback race path
yosrym93 Jan 25, 2024
b03bca8
mptcp: userspace pm send RM_ADDR for ID 0
geliangtang Oct 25, 2023
70a4a26
mptcp: add needs_id for netlink appending addr
Feb 15, 2024
4a37c6c
ata: ahci: add identifiers for ASM2116 series adapters
Sep 21, 2023
f8fc1f1
ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x parts
Jan 30, 2024
f119f23
arp: Prevent overflow in arp_req_get().
q2ven Feb 15, 2024
277439e
fs/ntfs3: Enhance the attribute size check
Elden-Ring Oct 27, 2022
a3eb3a7
Linux 6.1.80
gregkh Mar 1, 2024
b7be6c7
netfilter: nf_tables: disallow timeout for anonymous sets
ummakynes Jun 16, 2023
ae5f10e
drm/meson: fix unbind path if HDMI fails to bind
superna9999 May 30, 2023
7d34b10
drm/meson: Don't remove bridges which are created by other drivers
xdarklight Feb 15, 2024
cf33e6c
scsi: core: Add struct for args to execution functions
mikechristie Dec 29, 2022
b73dd5f
scsi: sd: usb_storage: uas: Access media prior to querying device pro…
martinkpetersen Feb 13, 2024
2a3d40b
af_unix: Fix task hung while purging oob_skb in GC.
q2ven Feb 9, 2024
a76072b
of: overlay: Reorder struct fragment fields kerneldoc
geertu Sep 28, 2023
00459ae
net: restore alpha order to Ethernet devices in config
bjorn-helgaas Mar 7, 2023
174ac6b
mlxsw: spectrum_acl_tcam: Make fini symmetric to init
idosch Feb 6, 2023
5dbedec
mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
idosch Feb 6, 2023
e30f825
PCI: layerscape: Add the endpoint linkup notifier support
nxpfrankli May 15, 2023
507eeaa
PCI: layerscape: Add workaround for lost link capabilities during reset
Jul 20, 2023
0cea0c3
ARM: dts: imx: Adjust dma-apbh node name
lategoodbye Apr 14, 2023
49e7349
ARM: dts: imx7s: Drop dma-apb interrupt-names
Dec 17, 2022
ed9fdc8
usb: gadget: Properly configure the device for remote wakeup
Mar 24, 2023
f8faa53
Input: xpad - add constants for GIP interface numbers
endrift Apr 14, 2023
8745f35
iommu/sprd: Release dma buffer to avoid memory leak
Mar 31, 2023
e89c844
iommu/arm-smmu-v3: Acknowledge pri/event queue overflow if any
Mar 29, 2023
39c6312
fs/ntfs3: Fix a possible null-pointer dereference in ni_clear()
XidianGeneral Jan 11, 2023
976126f
clk: tegra20: fix gcc-7 constant overflow warning
arndb Feb 27, 2023
0d04e45
fs/ntfs3: Add length check in indx_get_root
Elden-Ring Oct 4, 2022
b3152af
fs/ntfs3: Fix NULL dereference in ni_write_inode
nifey Oct 30, 2022
329fc4d
fs/ntfs3: Fix NULL pointer dereference in 'ni_write_inode'
Nov 17, 2022
e5f4889
iommu/arm-smmu-qcom: Limit the SMR groups to 128
Mani-Sadhasivam Mar 27, 2023
afbf1a5
RDMA/core: Fix multiple -Warray-bounds warnings
GustavoARSilva Mar 21, 2023
87632bc
mm: huge_memory: don't force huge page alignment on 32 bit
Jan 18, 2024
65a389e
mtd: spinand: gigadevice: Fix the get ecc status issue
hanxu-nxp Nov 8, 2023
0b27bf4
netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter
YsuOS Feb 21, 2024
0ac219c
netlink: add nla be16/32 types to minlen array
Feb 21, 2024
ab63de2
net: ip_tunnel: prevent perpetual headroom growth
Feb 20, 2024
a3c8fa5
net: mctp: take ownership of skb in mctp_local_output
jk-ozlabs Feb 20, 2024
29360fd
tun: Fix xdp_rxq_info's queue_index when detaching
wyjwang Feb 20, 2024
e85b3c1
cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf …
DougSmythies Feb 17, 2024
7985d73
net: veth: clear GRO when clearing XDP even when down
kuba-moo Feb 21, 2024
1b0998f
ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
Feb 22, 2024
c41548f
lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is …
olerem Feb 22, 2024
548ab66
veth: try harder when allocating queue memory
kuba-moo Feb 23, 2024
d77ab05
net: usb: dm9601: fix wrong return value in dm9601_mdio_read
javiercarrascocruz Feb 24, 2024
1b4223e
net: lan78xx: fix "softirq work is pending" error
olerem Feb 26, 2024
aa58972
uapi: in6: replace temporary label with rfc9486
IurmanJ Feb 26, 2024
17ccd97
stmmac: Clear variable when destroying workqueue
Feb 26, 2024
cad0789
Bluetooth: hci_sync: Check the correct flag before starting a scan
jonas2515 Jan 2, 2024
4508568
Bluetooth: Avoid potential use-after-free in hci_error_reset
Jan 4, 2024
9264057
Bluetooth: hci_sync: Fix accept_list when attempting to suspend
Vudentz Jan 5, 2024
0b056a5
Bluetooth: hci_event: Fix wrongly recorded wakeup BD_ADDR
zijun-hu Jan 9, 2024
30a5e81
Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST
Vudentz Jan 22, 2024
2dc94c1
Bluetooth: Enforce validation on max value of connection interval
khfeng Jan 25, 2024
7b41022
Bluetooth: qca: Fix wrong event type for patch config command
zijun-hu Jan 19, 2024
eb7b577
Bluetooth: hci_qca: mark OF related data as maybe unused
krzk Mar 11, 2023
e538366
Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6855
0x011011110 Mar 26, 2023
29059d0
Bluetooth: btqca: use le32_to_cpu for ver.soc_id
Min-Hua May 19, 2023
9409636
Bluetooth: btqca: Add WCN3988 support
lweiss-fairphone Aug 2, 2023
fc47ed3
Bluetooth: qca: use switch case for soc type behavior
superna9999 Aug 16, 2023
67ffc33
Bluetooth: qca: add support for WCN7850
superna9999 Aug 16, 2023
92b8a32
Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT
Jan 24, 2024
ddf6ee3
netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_valida…
ignatk Feb 22, 2024
b8afc22
netfilter: let reset rules clean out conntrack entries
Feb 1, 2023
2b1414d
netfilter: bridge: confirm multicast packets before passing them up t…
Feb 27, 2024
f2261eb
rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back
f0rm2l1n Feb 27, 2024
a0222b4
igb: extend PTP timestamp adjustments to i211
olerem Feb 27, 2024
7d4121b
net: hsr: Use correct offset for HSR TLV values in supervisory HSR fr…
Feb 28, 2024
40f0f32
tls: decrement decrypt_pending if no async completion will be called
qsn Feb 28, 2024
08562ca
tls: fix peeking with sync+async decryption
qsn Feb 28, 2024
ddc547d
efi/capsule-loader: fix incorrect allocation size
arndb Feb 12, 2024
cefe18e
power: supply: bq27xxx-i2c: Do not free non existing IRQ
jwrdegoede Feb 15, 2024
7f8644b
ALSA: Drop leftover snd-rtctimer stuff from Makefile
tiwai Feb 21, 2024
d36b9a1
drm/tegra: Remove existing framebuffer only if we support display
thierryreding Feb 23, 2024
2f91a96
fbcon: always restore the old font data in fbcon_do_set_font()
Feb 8, 2024
058ed71
afs: Fix endless loop in directory parsing
dhowells Feb 23, 2024
8310080
riscv: Sparse-Memory/vmemmap out-of-bounds fix
Jvlachos Feb 29, 2024
8f62622
of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing
Feb 24, 2024
3bfe04c
tomoyo: fix UAF write bug in tomoyo_write_control()
Mar 1, 2024
8cec41a
ALSA: firewire-lib: fix to check cycle continuity
takaswie Feb 18, 2024
4cbbc2f
ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8)
Feb 19, 2024
fd3289a
ALSA: hda/realtek: fix mute/micmute LED For HP mt440
eniachp Feb 20, 2024
59ed284
landlock: Fix asymmetric private inodes referring
l0kod Feb 19, 2024
abd32d7
gtp: fix use-after-free and null-ptr-deref in gtp_newlink()
Feb 28, 2024
930e826
wifi: nl80211: reject iftype change with mesh ID change
jmberg-intel Feb 14, 2024
c34adc2
btrfs: fix double free of anonymous device after snapshot creation fa…
fdmanana Feb 23, 2024
f590040
btrfs: dev-replace: properly validate device names
kdave Feb 14, 2024
444d708
btrfs: send: don't issue unnecessary zero writes for trailing hole
fdmanana Feb 16, 2024
2e443ed
Revert "drm/amd/pm: resolve reboot exception for si oland"
alexdeucher Aug 9, 2023
8dafc06
drm/buddy: fix range bias
matt-auld Feb 19, 2024
237ecf1
dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
Feb 1, 2024
034e2d7
crypto: arm64/neonbs - fix out-of-bounds access on short input
ardbiesheuvel Feb 23, 2024
300111c
dmaengine: ptdma: use consistent DMA masks
tstruk Feb 22, 2024
474d521
dmaengine: fsl-qdma: init irq after reg initialization
curtistklein Feb 1, 2024
70af82b
mmc: mmci: stm32: fix DMA API overlapping mappings warning
Feb 7, 2024
bc9f87a
mmc: core: Fix eMMC initialization with 1-bit bus connection
Feb 6, 2024
c65c475
mmc: sdhci-xenon: add timeout for PHY init complete
eladnachman Feb 22, 2024
4974d92
mmc: sdhci-xenon: fix PHY init clock stability
eladnachman Feb 22, 2024
76109a2
riscv: add CALLER_ADDRx support
zongbox Feb 2, 2024
249d6ca
efivarfs: Request at most 512 bytes for variable names
timschumi Jan 26, 2024
396a412
pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation
quic-bjorande Feb 27, 2024
c9fa51d
x86/e820: Don't reserve SETUP_RNG_SEED in e820
jiribohac Jan 31, 2024
65742f4
x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
bonzini Jan 31, 2024
e6e0484
mptcp: fix data races on local_id
Feb 15, 2024
e641486
mptcp: fix data races on remote_id
Feb 15, 2024
fbccc5e
mptcp: fix duplicate subflow creation
Feb 15, 2024
53e3f2e
mptcp: continue marking the first subflow as UNCONNECTED
matttbe Feb 28, 2024
fb7be5e
mptcp: map v4 address to v6 when destroying subflow
Feb 23, 2024
84a3c10
mptcp: push at DSS boundaries
Feb 23, 2024
03ad085
selftests: mptcp: join: add ss mptcp support check
Feb 23, 2024
a8722ce
mptcp: fix snd_wnd initialization for passive socket
Feb 23, 2024
d93fd40
mptcp: fix double-free on socket dismantle
dcaratti Feb 23, 2024
f27d319
mptcp: fix possible deadlock in subflow diag
Feb 23, 2024
8806719
RDMA/core: Refactor rdma_bind_addr
PatrisiousHaddad Jan 4, 2023
2d9b3e1
RDMA/core: Update CMA destination address on rdma_resolve_addr
shirazsaleem Jul 12, 2023
e7945d9
efi: libstub: use EFI_LOADER_CODE region when moving the kernel in me…
ardbiesheuvel Aug 2, 2022
bad6e66
x86/boot/compressed: Rename efi_thunk_64.S to efi-mixed.S
ardbiesheuvel Nov 22, 2022
3bad8dc
x86/boot/compressed: Move 32-bit entrypoint code into .text section
ardbiesheuvel Nov 22, 2022
d8950e8
x86/boot/compressed: Move bootargs parsing out of 32-bit startup code
ardbiesheuvel Nov 22, 2022
c577208
x86/boot/compressed: Move efi32_pe_entry into .text section
ardbiesheuvel Nov 22, 2022
469b845
x86/boot/compressed: Move efi32_entry out of head_64.S
ardbiesheuvel Nov 22, 2022
beeeb46
x86/boot/compressed: Move efi32_pe_entry() out of head_64.S
ardbiesheuvel Nov 22, 2022
ef12d04
x86/boot/compressed, efi: Merge multiple definitions of image_offset …
ardbiesheuvel Nov 22, 2022
8803574
x86/boot/compressed: Simplify IDT/GDT preserve/restore in the EFI thunk
ardbiesheuvel Nov 22, 2022
530a427
x86/boot/compressed: Avoid touching ECX in startup32_set_idt_entry()
ardbiesheuvel Nov 22, 2022
2913496
x86/boot/compressed: Pull global variable reference into startup32_lo…
ardbiesheuvel Nov 22, 2022
2e47116
x86/boot/compressed: Move startup32_load_idt() into .text section
ardbiesheuvel Nov 22, 2022
801873f
x86/boot/compressed: Move startup32_load_idt() out of head_64.S
ardbiesheuvel Nov 22, 2022
e840ae3
x86/boot/compressed: Move startup32_check_sev_cbit() into .text
ardbiesheuvel Nov 22, 2022
0912dce
x86/boot/compressed: Move startup32_check_sev_cbit() out of head_64.S
ardbiesheuvel Nov 22, 2022
cac22c9
x86/boot/compressed: Adhere to calling convention in get_sev_encrypti…
ardbiesheuvel Nov 22, 2022
71c43b7
x86/boot/compressed: Only build mem_encrypt.S if AMD_MEM_ENCRYPT=y
ardbiesheuvel Nov 22, 2022
a8901f3
efi: verify that variable services are supported
jhovold Jan 19, 2023
7bc9533
x86/efi: Make the deprecated EFI handover protocol optional
ardbiesheuvel Nov 22, 2022
4f3077c
x86/boot: Robustify calling startup_{32,64}() from the decompressor code
alobakin Jan 9, 2023
51a0710
x86/efistub: Branch straight to kernel entry point from C code
ardbiesheuvel Aug 7, 2023
2cca5f5
x86/decompressor: Store boot_params pointer in callee save register
ardbiesheuvel Aug 7, 2023
99a20f5
x86/decompressor: Assign paging related global variables earlier
ardbiesheuvel Aug 7, 2023
640f27f
x86/decompressor: Call trampoline as a normal function
ardbiesheuvel Aug 7, 2023
6083b4c
x86/decompressor: Use standard calling convention for trampoline
ardbiesheuvel Aug 7, 2023
1523291
x86/decompressor: Avoid the need for a stack in the 32-bit trampoline
ardbiesheuvel Aug 7, 2023
364d774
x86/decompressor: Call trampoline directly from C code
ardbiesheuvel Aug 7, 2023
e2fa53a
x86/decompressor: Only call the trampoline when changing paging levels
ardbiesheuvel Aug 7, 2023
df3dec3
x86/decompressor: Pass pgtable address to trampoline directly
ardbiesheuvel Aug 7, 2023
463b51e
x86/decompressor: Merge trampoline cleanup with switching code
ardbiesheuvel Aug 7, 2023
5c4fead
x86/decompressor: Move global symbol references to C code
ardbiesheuvel Aug 7, 2023
bf0ca98
decompress: Use 8 byte alignment
ardbiesheuvel Aug 7, 2023
04dd440
drm/amd/display: Increase frame warning limit with KASAN or KCSAN in dml
alexdeucher Nov 30, 2023
831e9e6
NFS: Fix data corruption caused by congestion.
neilbrown Feb 27, 2024
d03a985
NFSD: Simplify READ_PLUS
amschuma-ntap Sep 13, 2022
0a49efb
NFSD: Remove redundant assignment to variable host_err
ColinIanKing Oct 10, 2022
bfef0cf
nfsd: ignore requests to disable unsupported versions
jtlayton Oct 18, 2022
850333a
nfsd: move nfserrno() to vfs.c
jtlayton Oct 18, 2022
f82865e
nfsd: allow disabling NFSv2 at compile time
jtlayton Oct 18, 2022
137d20d
exportfs: use pr_debug for unreachable debug statements
ddiss Oct 21, 2022
e62d8c1
NFSD: Flesh out a documenting comment for filecache.c
chucklever Nov 1, 2022
519a80e
NFSD: Clean up nfs4_preprocess_stateid_op() call sites
chucklever Oct 28, 2022
9fbef7d
NFSD: Trace stateids returned via DELEGRETURN
chucklever Oct 28, 2022
fae3f8b
NFSD: Trace delegation revocations
chucklever Oct 28, 2022
255ac53
NFSD: Use const pointers as parameters to fh_ helpers
chucklever Oct 28, 2022
6ee5c4e
NFSD: Update file_hashtbl() helpers
chucklever Oct 28, 2022
c8d8876
NFSD: Clean up nfsd4_init_file()
chucklever Oct 28, 2022
5aa0c56
NFSD: Add a nfsd4_file_hash_remove() helper
chucklever Oct 28, 2022
0d4150f
NFSD: Clean up find_or_add_file()
chucklever Oct 28, 2022
49e8d9f
NFSD: Refactor find_file()
chucklever Oct 28, 2022
5a1f615
NFSD: Use rhashtable for managing nfs4_file objects
chucklever Oct 28, 2022
6b12589
NFSD: Fix licensing header in filecache.c
chucklever Oct 31, 2022
1f76cb6
filelock: add a new locks_inode_context accessor function
jtlayton Nov 16, 2022
c66f9f2
lockd: use locks_inode_context helper
jtlayton Nov 16, 2022
e017486
nfsd: use locks_inode_context helper
jtlayton Nov 16, 2022
8b7be6e
nfsd: fix up the filecache laundrette scheduling
jtlayton Nov 2, 2022
12e6368
NFSD: Use struct_size() helper in alloc_session()
Nov 11, 2022
8973a8f
lockd: set missing fl_flags field when retrieving args
jtlayton Nov 11, 2022
ccbf6ef
lockd: ensure we use the correct file descriptor when unlocking
jtlayton Nov 11, 2022
0920dee
lockd: fix file selection in nlmsvc_cancel_blocked
jtlayton Nov 11, 2022
371e1c1
trace: Relocate event helper files
chucklever Nov 14, 2022
4481d72
NFSD: refactoring courtesy_client_reaper to a generic low memory shri…
daimngo Nov 17, 2022
f30f07b
NFSD: add support for sending CB_RECALL_ANY
daimngo Nov 17, 2022
f28dae5
NFSD: add delegation reaper to react to low memory condition
daimngo Nov 17, 2022
7b2b8a6
NFSD: add CB_RECALL_ANY tracepoints
daimngo Nov 17, 2022
eb73733
NFSD: Use only RQ_DROPME to signal the need to drop a reply
chucklever Nov 26, 2022
5c6c2fb
NFSD: Avoid clashing function prototypes
kees Dec 2, 2022
ce606d5
NFSD: Use set_bit(RQ_DROPME)
chucklever Jan 7, 2023
c479755
NFSD: register/unregister of nfsd-client shrinker at nfsd startup/shu…
daimngo Jan 11, 2023
f3ea5ec
NFSD: replace delayed_work with work_struct for nfsd_client_shrinker
daimngo Jan 12, 2023
56587af
nfsd: don't destroy global nfs4_file table in per-net shutdown
jtlayton Feb 11, 2023
e58f286
arm64: efi: Limit allocations to 48-bit addressable physical region
Mar 4, 2024
33d064a
efi: efivars: prevent double registration
Mar 4, 2024
f0acafd
x86/efistub: Simplify and clean up handover entry code
Mar 4, 2024
1f3fd81
x86/decompressor: Avoid magic offsets for EFI handover entrypoint
Mar 4, 2024
34378d7
x86/efistub: Clear BSS in EFI handover protocol entrypoint
Mar 4, 2024
8ff6d88
efi/libstub: Add memory attribute protocol definitions
Mar 4, 2024
476a48c
efi/libstub: Add limit argument to efi_random_alloc()
Mar 4, 2024
350265a
x86/efistub: Perform 4/5 level paging switch from the stub
Mar 4, 2024
5a66458
x86/decompressor: Factor out kernel decompression and relocation
Mar 4, 2024
77330c1
x86/efistub: Prefer EFI memory attributes protocol over DXE services
Mar 4, 2024
fff7614
x86/efistub: Perform SNP feature test while running in the firmware
Mar 4, 2024
2dfaeac
x86/efistub: Avoid legacy decompressor when doing EFI boot
Mar 4, 2024
1b54062
efi/x86: Avoid physical KASLR on older Dell systems
Mar 4, 2024
86c909d
x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR
Mar 4, 2024
8f05493
x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr'
Mar 4, 2024
3a396c4
x86/boot: efistub: Assign global boot_params variable
Mar 4, 2024
2402392
efi/x86: Fix the missing KASLR_FLAG bit in boot_params->hdr.loadflags
Mar 4, 2024
c4c795b
af_unix: Drop oob_skb ref before purging queue in GC.
q2ven Feb 19, 2024
2c96f66
phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
tq-steina Jan 10, 2024
7eb95e0
powerpc/pseries/iommu: IOMMU table is not initialized for kdump over …
Jan 25, 2024
a3d369a
gpio: 74x164: Enable output pins after registers are reset
artms Mar 1, 2024
17acece
gpiolib: Fix the error path order in gpiochip_add_data_with_key()
andy-shev Feb 21, 2024
c6ff5fb
gpio: fix resource unwinding order in error path
Feb 29, 2024
0e351d1
block: define bvec_iter as __packed __aligned(4)
Feb 25, 2024
19ec82b
Revert "interconnect: Fix locking for runpm vs reclaim"
gregkh Mar 4, 2024
559035e
Revert "interconnect: Teach lockdep about icc_bw_lock order"
gregkh Mar 4, 2024
29d3e02
x86/bugs: Add asm helpers for executing VERW
pa1gupta Mar 4, 2024
22444d0
x86/entry_64: Add VERW just before userspace transition
pa1gupta Mar 4, 2024
2e30875
x86/entry_32: Add VERW just before userspace transition
pa1gupta Mar 4, 2024
07946d9
x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key
pa1gupta Mar 4, 2024
edfaad3
KVM/VMX: Use BT+JNC, i.e. EFLAGS.CF to select VMRESUME vs. VMLAUNCH
pa1gupta Mar 4, 2024
da67116
KVM/VMX: Move VERW closer to VMentry for MDS mitigation
pa1gupta Mar 4, 2024
5fafd82
bpf: Add table ID to bpf_fib_lookup BPF helper
May 31, 2023
2d7ebcb
bpf: Derive source IP addr via bpf_*_fib_lookup()
brb Oct 7, 2023
8866334
x86/efistub: Give up if memory attribute protocol returns an error
ardbiesheuvel Jan 26, 2024
585a344
xen/events: close evtchn after mapping cleanup
heynemax Jan 24, 2024
61adba8
Linux 6.1.81
gregkh Mar 6, 2024
f874d09
Merge remote-tracking branch 'stable/linux-6.1.y' into rpi-6.1-upstream
spockfish Mar 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 24 additions & 24 deletions Documentation/ABI/testing/sysfs-class-net-statistics
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
What: /sys/class/<iface>/statistics/collisions
What: /sys/class/net/<iface>/statistics/collisions
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Description:
Indicates the number of collisions seen by this network device.
This value might not be relevant with all MAC layers.

What: /sys/class/<iface>/statistics/multicast
What: /sys/class/net/<iface>/statistics/multicast
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Description:
Indicates the number of multicast packets received by this
network device.

What: /sys/class/<iface>/statistics/rx_bytes
What: /sys/class/net/<iface>/statistics/rx_bytes
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -23,7 +23,7 @@ Description:
See the network driver for the exact meaning of when this
value is incremented.

What: /sys/class/<iface>/statistics/rx_compressed
What: /sys/class/net/<iface>/statistics/rx_compressed
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -32,7 +32,7 @@ Description:
network device. This value might only be relevant for interfaces
that support packet compression (e.g: PPP).

What: /sys/class/<iface>/statistics/rx_crc_errors
What: /sys/class/net/<iface>/statistics/rx_crc_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -41,7 +41,7 @@ Description:
by this network device. Note that the specific meaning might
depend on the MAC layer used by the interface.

What: /sys/class/<iface>/statistics/rx_dropped
What: /sys/class/net/<iface>/statistics/rx_dropped
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -51,15 +51,15 @@ Description:
packet processing. See the network driver for the exact
meaning of this value.

What: /sys/class/<iface>/statistics/rx_errors
What: /sys/class/net/<iface>/statistics/rx_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Description:
Indicates the number of receive errors on this network device.
See the network driver for the exact meaning of this value.

What: /sys/class/<iface>/statistics/rx_fifo_errors
What: /sys/class/net/<iface>/statistics/rx_fifo_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -68,7 +68,7 @@ Description:
network device. See the network driver for the exact
meaning of this value.

What: /sys/class/<iface>/statistics/rx_frame_errors
What: /sys/class/net/<iface>/statistics/rx_frame_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -78,7 +78,7 @@ Description:
on the MAC layer protocol used. See the network driver for
the exact meaning of this value.

What: /sys/class/<iface>/statistics/rx_length_errors
What: /sys/class/net/<iface>/statistics/rx_length_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -87,7 +87,7 @@ Description:
error, oversized or undersized. See the network driver for the
exact meaning of this value.

What: /sys/class/<iface>/statistics/rx_missed_errors
What: /sys/class/net/<iface>/statistics/rx_missed_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -96,15 +96,15 @@ Description:
due to lack of capacity in the receive side. See the network
driver for the exact meaning of this value.

What: /sys/class/<iface>/statistics/rx_nohandler
What: /sys/class/net/<iface>/statistics/rx_nohandler
Date: February 2016
KernelVersion: 4.6
Contact: netdev@vger.kernel.org
Description:
Indicates the number of received packets that were dropped on
an inactive device by the network core.

What: /sys/class/<iface>/statistics/rx_over_errors
What: /sys/class/net/<iface>/statistics/rx_over_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -114,15 +114,15 @@ Description:
(e.g: larger than MTU). See the network driver for the exact
meaning of this value.

What: /sys/class/<iface>/statistics/rx_packets
What: /sys/class/net/<iface>/statistics/rx_packets
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Description:
Indicates the total number of good packets received by this
network device.

What: /sys/class/<iface>/statistics/tx_aborted_errors
What: /sys/class/net/<iface>/statistics/tx_aborted_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -132,7 +132,7 @@ Description:
a medium collision). See the network driver for the exact
meaning of this value.

What: /sys/class/<iface>/statistics/tx_bytes
What: /sys/class/net/<iface>/statistics/tx_bytes
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -143,7 +143,7 @@ Description:
transmitted packets or all packets that have been queued for
transmission.

What: /sys/class/<iface>/statistics/tx_carrier_errors
What: /sys/class/net/<iface>/statistics/tx_carrier_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -152,7 +152,7 @@ Description:
because of carrier errors (e.g: physical link down). See the
network driver for the exact meaning of this value.

What: /sys/class/<iface>/statistics/tx_compressed
What: /sys/class/net/<iface>/statistics/tx_compressed
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -161,7 +161,7 @@ Description:
this might only be relevant for devices that support
compression (e.g: PPP).

What: /sys/class/<iface>/statistics/tx_dropped
What: /sys/class/net/<iface>/statistics/tx_dropped
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -170,7 +170,7 @@ Description:
See the driver for the exact reasons as to why the packets were
dropped.

What: /sys/class/<iface>/statistics/tx_errors
What: /sys/class/net/<iface>/statistics/tx_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -179,7 +179,7 @@ Description:
a network device. See the driver for the exact reasons as to
why the packets were dropped.

What: /sys/class/<iface>/statistics/tx_fifo_errors
What: /sys/class/net/<iface>/statistics/tx_fifo_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -188,7 +188,7 @@ Description:
FIFO error. See the driver for the exact reasons as to why the
packets were dropped.

What: /sys/class/<iface>/statistics/tx_heartbeat_errors
What: /sys/class/net/<iface>/statistics/tx_heartbeat_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -197,7 +197,7 @@ Description:
reported as heartbeat errors. See the driver for the exact
reasons as to why the packets were dropped.

What: /sys/class/<iface>/statistics/tx_packets
What: /sys/class/net/<iface>/statistics/tx_packets
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand All @@ -206,7 +206,7 @@ Description:
device. See the driver for whether this reports the number of all
attempted or successful transmissions.

What: /sys/class/<iface>/statistics/tx_window_errors
What: /sys/class/net/<iface>/statistics/tx_window_errors
Date: April 2005
KernelVersion: 2.6.12
Contact: netdev@vger.kernel.org
Expand Down
7 changes: 7 additions & 0 deletions Documentation/arm64/silicon-errata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,10 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| Fujitsu | A64FX | E#010001 | FUJITSU_ERRATUM_010001 |
+----------------+-----------------+-----------------+-----------------------------+
+----------------+-----------------+-----------------+-----------------------------+
| Microsoft | Azure Cobalt 100| #2139208 | ARM64_ERRATUM_2139208 |
+----------------+-----------------+-----------------+-----------------------------+
| Microsoft | Azure Cobalt 100| #2067961 | ARM64_ERRATUM_2067961 |
+----------------+-----------------+-----------------+-----------------------------+
| Microsoft | Azure Cobalt 100| #2253138 | ARM64_ERRATUM_2253138 |
+----------------+-----------------+-----------------+-----------------------------+
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Marvell 8787/8897/8997 (sd8787/sd8897/sd8997/pcie8997) SDIO/PCIE devices
Marvell 8787/8897/8978/8997 (sd8787/sd8897/sd8978/sd8997/pcie8997) SDIO/PCIE devices
------

This node provides properties for controlling the Marvell SDIO/PCIE wireless device.
Expand All @@ -10,7 +10,9 @@ Required properties:
- compatible : should be one of the following:
* "marvell,sd8787"
* "marvell,sd8897"
* "marvell,sd8978"
* "marvell,sd8997"
* "nxp,iw416"
* "pci11ab,2b42"
* "pci1b4b,2b42"

Expand Down
2 changes: 1 addition & 1 deletion Documentation/x86/boot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ execution context provided by the EFI firmware.

The function prototype for the handover entry point looks like this::

efi_main(void *handle, efi_system_table_t *table, struct boot_params *bp)
efi_stub_entry(void *handle, efi_system_table_t *table, struct boot_params *bp)

'handle' is the EFI image handle passed to the boot loader by the EFI
firmware, 'table' is the EFI system table - these are the first two
Expand Down
38 changes: 27 additions & 11 deletions Documentation/x86/mds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ The kernel provides a function to invoke the buffer clearing:

mds_clear_cpu_buffers()

Also macro CLEAR_CPU_BUFFERS can be used in ASM late in exit-to-user path.
Other than CFLAGS.ZF, this macro doesn't clobber any registers.

The mitigation is invoked on kernel/userspace, hypervisor/guest and C-state
(idle) transitions.

Expand Down Expand Up @@ -138,17 +141,30 @@ Mitigation points

When transitioning from kernel to user space the CPU buffers are flushed
on affected CPUs when the mitigation is not disabled on the kernel
command line. The migitation is enabled through the static key
mds_user_clear.

The mitigation is invoked in prepare_exit_to_usermode() which covers
all but one of the kernel to user space transitions. The exception
is when we return from a Non Maskable Interrupt (NMI), which is
handled directly in do_nmi().

(The reason that NMI is special is that prepare_exit_to_usermode() can
enable IRQs. In NMI context, NMIs are blocked, and we don't want to
enable IRQs with NMIs blocked.)
command line. The mitigation is enabled through the feature flag
X86_FEATURE_CLEAR_CPU_BUF.

The mitigation is invoked just before transitioning to userspace after
user registers are restored. This is done to minimize the window in
which kernel data could be accessed after VERW e.g. via an NMI after
VERW.

**Corner case not handled**
Interrupts returning to kernel don't clear CPUs buffers since the
exit-to-user path is expected to do that anyways. But, there could be
a case when an NMI is generated in kernel after the exit-to-user path
has cleared the buffers. This case is not handled and NMI returning to
kernel don't clear CPU buffers because:

1. It is rare to get an NMI after VERW, but before returning to userspace.
2. For an unprivileged user, there is no known way to make that NMI
less rare or target it.
3. It would take a large number of these precisely-timed NMIs to mount
an actual attack. There's presumably not enough bandwidth.
4. The NMI in question occurs after a VERW, i.e. when user state is
restored and most interesting data is already scrubbed. Whats left
is only the data that NMI touches, and that may or may not be of
any interest.


2. C-State transition
Expand Down
7 changes: 7 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -10090,6 +10090,7 @@ F: drivers/infiniband/
F: include/rdma/
F: include/trace/events/ib_mad.h
F: include/trace/events/ib_umad.h
F: include/trace/misc/rdma.h
F: include/uapi/linux/if_infiniband.h
F: include/uapi/rdma/
F: samples/bpf/ibumad_kern.c
Expand Down Expand Up @@ -11178,6 +11179,12 @@ F: fs/nfs_common/
F: fs/nfsd/
F: include/linux/lockd/
F: include/linux/sunrpc/
F: include/trace/events/rpcgss.h
F: include/trace/events/rpcrdma.h
F: include/trace/events/sunrpc.h
F: include/trace/misc/fs.h
F: include/trace/misc/nfs.h
F: include/trace/misc/sunrpc.h
F: include/uapi/linux/nfsd/
F: include/uapi/linux/sunrpc/
F: net/sunrpc/
Expand Down
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 1
SUBLEVEL = 77
SUBLEVEL = 81
EXTRAVERSION =
NAME = Curry Ramen

Expand Down Expand Up @@ -459,8 +459,7 @@ HOSTRUSTC = rustc
HOSTPKG_CONFIG = pkg-config

KBUILD_USERHOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes \
-O2 -fomit-frame-pointer -std=gnu11 \
-Wdeclaration-after-statement
-O2 -fomit-frame-pointer -std=gnu11
KBUILD_USERCFLAGS := $(KBUILD_USERHOSTCFLAGS) $(USERCFLAGS)
KBUILD_USERLDFLAGS := $(USERLDFLAGS)

Expand Down Expand Up @@ -1018,9 +1017,6 @@ endif
# arch Makefile may override CC so keep this after arch Makefile is included
NOSTDINC_FLAGS += -nostdinc

# warn about C99 declaration after statement
KBUILD_CFLAGS += -Wdeclaration-after-statement

# Variable Length Arrays (VLAs) should not be used anywhere in the kernel
KBUILD_CFLAGS += -Wvla

Expand Down
1 change: 1 addition & 0 deletions arch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ config SHADOW_CALL_STACK
bool "Shadow Call Stack"
depends on ARCH_SUPPORTS_SHADOW_CALL_STACK
depends on DYNAMIC_FTRACE_WITH_ARGS || DYNAMIC_FTRACE_WITH_REGS || !FUNCTION_GRAPH_TRACER
depends on MMU
help
This option enables the compiler's Shadow Call Stack, which
uses a shadow stack to protect function return addresses from
Expand Down
4 changes: 2 additions & 2 deletions arch/arc/include/asm/jump_label.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
static __always_inline bool arch_static_branch(struct static_key *key,
bool branch)
{
asm_volatile_goto(".balign "__stringify(JUMP_LABEL_NOP_SIZE)" \n"
asm goto(".balign "__stringify(JUMP_LABEL_NOP_SIZE)" \n"
"1: \n"
"nop \n"
".pushsection __jump_table, \"aw\" \n"
Expand All @@ -47,7 +47,7 @@ static __always_inline bool arch_static_branch(struct static_key *key,
static __always_inline bool arch_static_branch_jump(struct static_key *key,
bool branch)
{
asm_volatile_goto(".balign "__stringify(JUMP_LABEL_NOP_SIZE)" \n"
asm goto(".balign "__stringify(JUMP_LABEL_NOP_SIZE)" \n"
"1: \n"
"b %l[l_yes] \n"
".pushsection __jump_table, \"aw\" \n"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx23.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
reg = <0x80000000 0x2000>;
};

dma_apbh: dma-apbh@80004000 {
dma_apbh: dma-controller@80004000 {
compatible = "fsl,imx23-dma-apbh";
reg = <0x80004000 0x2000>;
interrupts = <0 14 20 0
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx28.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
status = "disabled";
};

dma_apbh: dma-apbh@80004000 {
dma_apbh: dma-controller@80004000 {
compatible = "fsl,imx28-dma-apbh";
reg = <0x80004000 0x2000>;
interrupts = <82 83 84 85
Expand Down
Loading
Loading