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

Kernel: Merge Linux 6.6.58 Update #2

Closed
wants to merge 337 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
337 commits
Select commit Hold shift + click to select a range
01ac64e
usb: chipidea: udc: enable suspend interrupt after usb reset
Aug 23, 2024
0be5282
usb: dwc2: Adjust the timing of USB Driver Interrupt Registration in …
Aug 30, 2024
0b700d2
comedi: ni_routing: tools: Check when the file could not be opened
RuffaloLavoisier Sep 6, 2024
1215e29
LoongArch: Fix memleak in pci_acpi_scan_root()
opsiff Sep 24, 2024
5b04f41
netfilter: nf_nat: don't try nat source port reallocation for reverse…
Sep 10, 2024
784744b
netfilter: nf_reject: Fix build warning when CONFIG_BRIDGE_NETFILTER=n
horms Sep 16, 2024
b01793c
virtio_pmem: Check device status before requesting flush
Aug 26, 2024
5b53a7a
tools/iio: Add memory allocation failure check for trigger_name
Aug 28, 2024
a84ae28
staging: vme_user: added bound check to geoid
Ryand1234 Aug 27, 2024
d885c46
driver core: bus: Fix double free in driver API bus_register()
zijun-hu Jul 27, 2024
5da9855
driver core: bus: Return -EIO instead of 0 when show/store invalid bu…
zijun-hu Jul 24, 2024
ab88c77
scsi: lpfc: Add ELS_RSP cmd to the list of WQEs to flush in lpfc_els_…
Sep 12, 2024
0ef6e01
scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV …
Sep 12, 2024
65b2d49
drm/amd/display: Check null pointer before dereferencing se
Aug 29, 2024
f7fb5dd
fbcon: Fix a NULL pointer dereference issue in fbcon_putcs
Sep 25, 2024
0809fb8
smb: client: fix UAF in async decryption
ematsumiya Sep 26, 2024
688872c
fbdev: sisfb: Fix strbuf array overflow
Sep 27, 2024
9736678
x86/amd_nb: Add new PCI IDs for AMD family 0x1a
May 10, 2024
1fab023
x86/amd_nb: Add new PCI IDs for AMD family 1Ah model 60h
Jul 22, 2024
4ab0723
NFSD: Mark filecache "down" if init fails
chucklever Sep 21, 2024
803f310
ice: set correct dst VSI in only LAN filters
Aug 19, 2024
fde7db1
ice: fix VLAN replay after reset
dmertman Sep 18, 2024
dedc14e
SUNRPC: Fix integer overflow in decode_rc_list()
Sep 19, 2024
fca41e5
NFSv4: Prevent NULL-pointer dereference in nfs42_complete_copies()
Oct 1, 2024
9ca6346
net: phy: dp83869: fix memory corruption when enabling fiber
inguin Oct 2, 2024
e676ca6
tcp: fix to allow timestamp undo if no retransmits were sent
nealcardwell Oct 1, 2024
04dce9a
tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safe
nealcardwell Oct 1, 2024
718c49f
tcp: new TCP_INFO stats for RTO events
Sep 14, 2023
2daffbd
tcp: fix TFO SYN_RECV to not zero retrans_stamp with retransmits out
nealcardwell Oct 1, 2024
446be55
rxrpc: Fix uninitialised variable in rxrpc_send_data()
dhowells Oct 1, 2024
3453f58
netfilter: br_netfilter: fix panic with metadata_dst skb
aroulin Oct 1, 2024
597ea17
selftests: net: no_forwarding: fix VID for $swp2 in one_bridge_two_pv…
kacperlud Oct 2, 2024
38b2d5a
Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change
Vudentz Sep 30, 2024
80a146b
net: phy: bcm84881: Fix some error handling paths
tititiou36 Oct 3, 2024
335a4cb
thermal: int340x: processor_thermal: Set feature mask before proc_the…
spandruvada Oct 9, 2023
dd64ea0
thermal: intel: int340x: processor: Fix warning during module unload
zhang-rui Sep 30, 2024
826e9b7
Revert "net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled"
kuba-moo Oct 4, 2024
1d068c9
net: ethernet: adi: adin1110: Fix some error handling path in adin111…
tititiou36 Oct 3, 2024
f9a966a
net: dsa: b53: fix jumbo frame mtu check
KanjiMonster Oct 4, 2024
bd1f41c
net: dsa: b53: fix max MTU for 1g switches
KanjiMonster Oct 4, 2024
94c4cb9
net: dsa: b53: fix max MTU for BCM5325/BCM5365
KanjiMonster Oct 4, 2024
dd5b3a8
net: dsa: b53: allow lower MTUs on BCM5325/5365
KanjiMonster Oct 4, 2024
ca57186
net: dsa: b53: fix jumbo frames on 10/100 ports
KanjiMonster Oct 4, 2024
0aac3fb
drm/nouveau: pass cli to nouveau_channel_new() instead of drm+device
Jul 26, 2024
cfa836d
nouveau/dmem: Fix privileged error in copy engine channel
Oct 8, 2024
2a165df
gpio: aspeed: Add the flush write to ensure the write complete.
billy-tsai Oct 8, 2024
1e4a5ee
gpio: aspeed: Use devm_clk api to manage clock source
billy-tsai Oct 8, 2024
f0a6c43
platform/x86/intel/tpmi: Add defines to get version information
spandruvada Oct 3, 2023
a91c6e1
powercap: intel_rapl_tpmi: Ignore minor version change
zhang-rui Sep 30, 2024
fa6ab2d
ice: Fix netif_is_ice() in Safe Mode
Sep 24, 2024
3b66266
ice: rename switchdev to eswitch
Oct 24, 2023
29d7aa1
ice: Flush FDB entries before reset
WojDrew Sep 27, 2024
703c4d8
i40e: Fix macvlan leak by synchronizing access to mac_filter_hash
aloktion Sep 23, 2024
57c5053
igb: Do not bring the device up after non-fatal error
Sep 24, 2024
ba578ec
e1000e: change I219 (19) devices to ADP
vlifshts Sep 8, 2024
1edf039
net/sched: accept TCA_STAB only for root qdisc
Oct 7, 2024
25c5ef2
net: ibm: emac: mal: fix wrong goto
neheb Oct 7, 2024
a63850d
btrfs: zoned: fix missing RCU locking in error message when loading z…
fdmanana Oct 2, 2024
b4ff011
sctp: ensure sk_state is set to CLOSED if hashing fails in sctp_liste…
lxin Oct 7, 2024
997f67d
netfilter: xtables: avoid NFPROTO_UNSPEC where needed
Oct 7, 2024
64121e3
netfilter: fib: check correct rtable in vrf setups
Oct 9, 2024
eae7435
net: do not delay dst_entries_add() in dst_release()
Oct 8, 2024
35b72be
rtnetlink: Add bulk registration helpers for rtnetlink message handlers.
q2ven Oct 8, 2024
ca15d28
vxlan: Handle error of rtnl_register_module().
q2ven Oct 8, 2024
60bfd34
bridge: Handle error of rtnl_register_module().
q2ven Oct 8, 2024
f4df31a
mctp: Handle error of rtnl_register_module().
q2ven Oct 8, 2024
c8c76f1
rtnetlink: change nlk->cb_mutex role
Feb 22, 2024
ba5366b
rtnetlink: add RTNL_FLAG_DUMP_UNLOCKED flag
Feb 22, 2024
ff7abcc
mpls: no longer hold RTNL in mpls_netconf_dump_devconf()
Apr 10, 2024
4597c38
mpls: Handle error of rtnl_register_module().
q2ven Oct 8, 2024
a8e473f
phonet: no longer hold RTNL in route_dumpit()
May 7, 2024
c246bfb
phonet: Handle error of rtnl_register_module().
q2ven Oct 8, 2024
8fe992f
ppp: fix ppp_async_encode() illegal access
Oct 9, 2024
8bb79eb
slip: make slhc_remember() more robust against malicious packets
Oct 9, 2024
174caf7
rcu/nocb: Make IRQs disablement symmetric
Jan 9, 2024
84a5fee
rcu/nocb: Fix rcuog wake-up from offline softirq
Oct 10, 2024
b289b83
HID: mcp2200: added driver for GPIOs of MCP2200
Sep 21, 2023
e600ee9
HID: i2c-hid: Remove I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV quirk
jwrdegoede Dec 2, 2023
64575ec
HID: i2c-hid: Renumber I2C_HID_QUIRK_ defines
jwrdegoede Dec 2, 2023
f742108
HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system suspend
khfeng Jan 15, 2024
5ec4596
HID: asus: add ROG Ally N-Key ID and keycodes
flukejones Apr 16, 2024
1815b32
HID: asus: add ROG Z13 lightbar
flukejones Apr 16, 2024
ea912d3
hid-asus: add ROG Ally X prod ID to quirk list
flukejones Jul 24, 2024
26b177e
wifi: mac80211: Avoid address calculations via out of bounds array in…
0xC0ncord Oct 10, 2024
2caf6c4
hwmon: intel-m10-bmc-hwmon: relabel Columbiaville to CVL Die Temperature
pcolberg Sep 19, 2024
de90999
hwmon: (tmp513) Add missing dependency on REGMAP_I2C
groeck Oct 1, 2024
fe5866f
hwmon: (mc34vr500) Add missing dependency on REGMAP_I2C
javiercarrascocruz Oct 2, 2024
f503329
hwmon: (adm9240) Add missing dependency on REGMAP_I2C
javiercarrascocruz Oct 2, 2024
11381ee
hwmon: (adt7470) Add missing dependency on REGMAP_I2C
javiercarrascocruz Oct 2, 2024
1c3b4c9
HID: amd_sfh: Switch to device-managed dmam_alloc_coherent()
basuamd Oct 9, 2024
c1846e0
HID: multitouch: Add support for lenovo Y9000P Touchpad
matrix-wsk Aug 27, 2024
1fa959e
HID: plantronics: Workaround for an unexcepted opposite volume key
Sep 16, 2024
936564b
Revert "usb: yurex: Replace snprintf() with the safer scnprintf() var…
oneukum Oct 7, 2024
38aef06
usb: dwc3: core: Stop processing of pending events if controller is h…
Sep 16, 2024
cb8b441
usb: xhci: Fix problem with xhci resume from suspend
jareguero Sep 19, 2024
0770cda
usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip
Icenowy Oct 1, 2024
0b97fe0
usb: gadget: core: force synchronous registration
johnkeeping Sep 13, 2024
fb1643d
hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_di…
SurajSonawane2415 Oct 4, 2024
07c5110
drm/v3d: Stop the active perfmon before being destroyed
mairacanal Oct 4, 2024
937943c
drm/vc4: Stop the active perfmon before being destroyed
mairacanal Oct 4, 2024
55f2bd9
drm/i915/hdcp: fix connector refcounting
jnikula Sep 24, 2024
8676393
Bluetooth: hci_conn: Fix UAF in hci_enhanced_setup_sync
Vudentz Oct 2, 2024
e04642a
scsi: wd33c93: Don't use stale scsi_pointer value
fifteenhex Oct 3, 2024
7994a48
scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb()
avri-altman-sndk Sep 10, 2024
a448ced
mptcp: fallback when MPTCP opts are dropped after 1st data
matttbe Oct 8, 2024
31c6222
ata: libata: avoid superfluous disk spin down + spin up during hibern…
floatious Oct 8, 2024
563e689
net: explicitly clear the sk pointer, when pf->create fails
ignatk Oct 3, 2024
3be342e
net: Fix an unsafe loop on the list
nastya-nizharadze Oct 3, 2024
28a2c3e
net: dsa: lan9303: ensure chip reset and wait for READY status
vdsao Oct 4, 2024
143ffa7
net: phy: Remove LED entry from LEDs list on unregister
Ansuel Oct 4, 2024
b8be15d
mptcp: handle consistently DSS corruption
Oct 8, 2024
8b36f4d
mptcp: pm: do not remove closing subflows
matttbe Oct 8, 2024
b822007
device-dax: correct pgoff align in dax_set_mapping()
Sep 27, 2024
697e3dd
nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error
Oct 8, 2024
bd3222d
powercap: intel_rapl_tpmi: Fix bogus register reading
zhang-rui Sep 30, 2024
87070a9
selftests/mm: fix incorrect buffer->mirror size in hmm2 double_map test
Sep 27, 2024
73a4f5a
selftests/rseq: Fix mm_cid test failure
compudj Oct 9, 2024
f00545e
btrfs: split remaining space to discard in chunks
luca020400 Sep 17, 2024
19a5029
kthread: unpark only parked kthread
Sep 13, 2024
e5a0031
fs/proc/kcore.c: allow translation of physical memory addresses
Sep 30, 2024
7caf966
secretmem: disable memfd_secret() if arch cannot set direct map
roypat Oct 1, 2024
611f74b
net: ethernet: cortina: Restore TSO support
linusw May 27, 2024
e6fc67c
e1000e: fix force smbus during suspend flow
vlifshts Jul 9, 2024
8d5aebf
scsi: Revert "scsi: sd: Do not repeat the starting disk message"
jhovold Jul 16, 2024
e9448e3
Linux 6.6.57
gregkh Oct 17, 2024
e11ce03
btrfs: fix uninitialized pointer free in add_inode_ref()
jroimartin Oct 9, 2024
7fc7c47
btrfs: fix uninitialized pointer free on read_alloc_one_name() error
jroimartin Oct 10, 2024
5511999
ksmbd: fix user-after-free from session log off
namjaejeon Oct 8, 2024
3c088db
ALSA: hda/conexant - Fix audio routing for HP EliteOne 1000 G2
Oct 9, 2024
7b2e478
mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflow
matttbe Oct 15, 2024
1c95443
net: enetc: remove xdp_drops statistic from enetc_xdp_drop()
Oct 10, 2024
3718434
net: enetc: block concurrent XDP transmissions during ring reconfigur…
Oct 10, 2024
a419f47
net: enetc: disable Tx BD rings after they are empty
Oct 10, 2024
760a7c9
net: enetc: disable NAPI after all rings are disabled
Oct 10, 2024
75150ba
net: enetc: add missing static descriptor and inline keyword
Oct 11, 2024
a3f169e
posix-clock: Fix missing timespec64 check in pc_clock_settime()
Oct 9, 2024
9f1e773
arm64: probes: Remove broken LDR (literal) uprobe support
Oct 8, 2024
173c13e
arm64: probes: Fix simulate_ldr*_literal()
Oct 8, 2024
8165bf8
arm64: probes: Fix uprobes for big-endian kernels
Oct 8, 2024
81db1e5
net: macb: Avoid 20s boot delay by skipping MDIO bus registration for…
olerem Oct 13, 2024
20b5342
net: microchip: vcap api: Fix memory leaks in vcap_api_encode_rule_te…
Oct 14, 2024
8e29f32
irqchip/gic-v3-its: Fix VSYNC referencing an unmapped VPE on GIC v4.1
tangnianyao Apr 6, 2024
a9af9d5
fat: fix uninitialized variable
OGAWAHirofumi Oct 4, 2024
8f5fa1c
selftests/mm: replace atomic_bool with pthread_barrier_t
edliaw Oct 3, 2024
6b91fd6
selftests/mm: fix deadlock for fork after pthread_create on ARM
edliaw Oct 3, 2024
17396e3
mm/mremap: fix move_normal_pmd/retract_page_tables race
thejh Oct 7, 2024
a0035fc
mm/mglru: only clear kswapd_failures if reclaimable
weixugc Oct 14, 2024
bed2b90
mm/swapfile: skip HugeTLB pages for unuse_vma
Oct 15, 2024
f43bd35
xfs: fix error returns from xfs_bmapi_write
Oct 16, 2024
4bcef72
xfs: fix xfs_bmap_add_extent_delay_real for partial conversions
Oct 16, 2024
c299188
xfs: remove a racy if_bytes check in xfs_reflink_end_cow_extent
Oct 16, 2024
c13c21f
xfs: require XFS_SB_FEAT_INCOMPAT_LOG_XATTRS for attr log intent item…
Oct 16, 2024
0934046
xfs: check opcode and iovec count match in xlog_recover_attri_commit_…
Oct 16, 2024
cad0518
xfs: fix missing check for invalid attr flags
Oct 16, 2024
db460c2
xfs: check shortform attr entry flags specifically
Oct 16, 2024
9716cdc
xfs: validate recovered name buffers when recovering xattr items
Oct 16, 2024
5689d23
xfs: enforce one namespace per attribute
Oct 16, 2024
20adb1e
xfs: revert commit 44af6c7e59b12
Oct 16, 2024
7c03b12
xfs: use dontcache for grabbing inodes during scrub
Oct 16, 2024
f24ba21
xfs: match lock mode in xfs_buffered_write_iomap_begin()
zhangyi089 Oct 16, 2024
0f726c1
xfs: make the seq argument to xfs_bmapi_convert_delalloc() optional
zhangyi089 Oct 16, 2024
36081fd
xfs: make xfs_bmapi_convert_delalloc() to allocate the target offset
zhangyi089 Oct 16, 2024
4c99f30
xfs: convert delayed extents to unwritten when zeroing post eof blocks
zhangyi089 Oct 16, 2024
0aca739
xfs: allow symlinks with short remote targets
Oct 16, 2024
0e52b98
xfs: make sure sb_fdblocks is non-negative
Wengang-oracle Oct 16, 2024
740a427
xfs: fix unlink vs cluster buffer instantiation race
Oct 16, 2024
2bc2d49
xfs: fix freeing speculative preallocations for preallocated files
Oct 16, 2024
3eeac33
xfs: allow unlinked symlinks and dirs with zero size
Oct 16, 2024
9a0ab4f
xfs: restrict when we try to align cow fork delalloc to cowextsz hints
Oct 16, 2024
677f1df
maple_tree: correct tree corruption on spanning store
lorenzo-stoakes Oct 7, 2024
1e1eb62
net: fec: Move `fec_ptp_read()` to the top of the file
Aug 12, 2024
6365900
net: fec: Remove duplicated code
Aug 12, 2024
37d9305
mptcp: prevent MPC handshake on port-based signal endpoints
Oct 14, 2024
fe2e0b6
iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices
LuBaolu Oct 14, 2024
ccea29b
s390/sclp: Deactivate sclp after all its users
t-8ch Oct 14, 2024
82b433f
s390/sclp_vt220: Convert newlines to CRLF instead of LFCR
t-8ch Oct 14, 2024
88607ed
KVM: s390: gaccess: Check if guest address is in memslot
Sep 17, 2024
3695352
KVM: s390: Change virtual to physical address access in diag 0x258 ha…
Sep 17, 2024
6ccc10e
x86/cpufeatures: Define X86_FEATURE_AMD_IBPB_RET
jsmattsonjr Sep 13, 2024
b28d3f4
x86/cpufeatures: Add a IBPB_NO_RET BUG flag
sktt Sep 23, 2024
61211f2
x86/entry: Have entry_ibpb() invalidate return predictions
sktt Sep 23, 2024
c42a343
x86/bugs: Skip RSB fill at VMEXIT
sktt Oct 8, 2024
c04670d
x86/bugs: Do not use UNTRAIN_RET with IBPB on entry
sktt Oct 8, 2024
4c5b123
blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race
osandov Oct 15, 2024
2762b3c
io_uring/sqpoll: close race on waiting for sqring entries
axboe Oct 15, 2024
6414ab5
ublk: don't allow user copy for unprivileged device
Oct 16, 2024
a16af52
selftest: hid: add the missing tests directory
Oct 15, 2024
d3c4f41
Input: xpad - add support for MSI Claw A1M
uejji Oct 10, 2024
7bd9af2
scsi: ufs: core: Set SDEV_OFFLINE when UFS is shut down
baekseunghwan8267 Aug 29, 2024
8e6ca01
scsi: ufs: core: Fix the issue of ICU failure
ptr324 Oct 1, 2024
1a235af
drm/radeon: Fix encoder->possible_clones
vsyrjala Oct 14, 2024
7c0763f
drm/vmwgfx: Handle surface check failure correctly
Oct 2, 2024
db0978d
drm/amdgpu/swsmu: Only force workload setup on init
alexdeucher Oct 2, 2024
64cf93b
drm/amdgpu: prevent BO_HANDLES error from being overwritten
donutAnees Oct 9, 2024
c3a230c
iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig
javiercarrascocruz Oct 3, 2024
ea81805
iio: dac: ltc1660: add missing select REGMAP_SPI in Kconfig
javiercarrascocruz Oct 3, 2024
e0eb585
iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig
javiercarrascocruz Oct 3, 2024
082a755
iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kc…
javiercarrascocruz Oct 3, 2024
6acb0a4
iio: hid-sensors: Fix an error handling path in _hid_sensor_set_repor…
tititiou36 Oct 3, 2024
6bd2b16
iio: light: veml6030: fix ALS sensor resolution
javiercarrascocruz Sep 22, 2024
2cbb41a
iio: light: veml6030: fix IIO device retrieval from embedded device
javiercarrascocruz Sep 13, 2024
7f06b15
iio: light: opt3001: add missing full-scale range value
Sep 13, 2024
dc7a11e
iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig
javiercarrascocruz Oct 3, 2024
5d41abc
iio: frequency: adf4377: add missing select REMAP_SPI in Kconfig
javiercarrascocruz Oct 3, 2024
66bfe12
iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kco…
javiercarrascocruz Oct 3, 2024
1fcc9d6
iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
javiercarrascocruz Oct 3, 2024
ad60bbd
iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in …
javiercarrascocruz Oct 3, 2024
2f76deb
iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
javiercarrascocruz Oct 3, 2024
48e594b
iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
javiercarrascocruz Oct 3, 2024
d8ef39d
iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in …
javiercarrascocruz Oct 3, 2024
232c2eb
iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
javiercarrascocruz Oct 3, 2024
05f84d8
Bluetooth: Call iso_exit() on module unload
dev-aaront-org Oct 4, 2024
59bd80d
Bluetooth: Remove debugfs directory on module init failure
dev-aaront-org Oct 4, 2024
8fb8e91
Bluetooth: ISO: Fix multiple init when debugfs is disabled
dev-aaront-org Oct 4, 2024
885f8c8
Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001
Vudentz Oct 16, 2024
dc2d5f0
vt: prevent kernel-infoleak in con_font_get()
name2965 Oct 10, 2024
9c696bf
xhci: tegra: fix checked USB2 port number
Oct 14, 2024
cc7b705
xhci: Fix incorrect stream context type macro
matnyman Oct 16, 2024
53cd1bb
xhci: Mitigate failed set dequeue pointer commands
matnyman Oct 16, 2024
90a5c64
USB: serial: option: add support for Quectel EG916Q-GL
benjamin1313 Sep 11, 2024
86c68aa
USB: serial: option: add Telit FN920C04 MBIM compositions
dnlplm Oct 3, 2024
479830f
usb: typec: qcom-pmic-typec: fix sink status being overwritten with R…
flto Oct 5, 2024
c3d3501
usb: dwc3: Wait for EndXfer completion before restoring GUSB2PHYCFG
Sep 24, 2024
78df421
misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for EEPRO…
hthiery Oct 7, 2024
245bee1
misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for OTP d…
hthiery Oct 7, 2024
c895d48
serial: imx: Update mctrl old_status on RTSD interrupt
Oct 2, 2024
6602907
parport: Proper fix for array out-of-bounds access
tiwai Sep 20, 2024
16d7d35
x86/resctrl: Annotate get_mem_config() functions as __init
nathanchance Sep 17, 2024
6663f0c
x86/apic: Always explicitly disarm TSC-deadline timer
zhang-rui Oct 15, 2024
c8170b5
x86/CPU/AMD: Only apply Zenbleed fix for Zen2 during late microcode load
jallen-amd Sep 23, 2024
0c6a7e2
x86/entry_32: Do not clobber user EFLAGS.ZF
pa1gupta Sep 25, 2024
227358e
x86/entry_32: Clear CPU buffers after register restore in NMI return
pa1gupta Sep 25, 2024
c29f192
tty: n_gsm: Fix use-after-free in gsm_cleanup_mux
Sep 26, 2024
481b477
x86/bugs: Use code segment selector for VERW operand
pa1gupta Sep 26, 2024
20728e8
pinctrl: ocelot: fix system hang on level based interrupts
Oct 12, 2024
3b36bb1
pinctrl: stm32: check devm_kasprintf() returned value
Sep 6, 2024
fad940e
pinctrl: apple: check devm_kasprintf() returned value
Sep 5, 2024
01282ab
irqchip/gic-v4: Don't allow a VMOVP on a dying VPE
Oct 2, 2024
6acd19a
irqchip/sifive-plic: Unmask interrupt in plic_irq_enable()
covanam Oct 3, 2024
90e3f81
serial: qcom-geni: fix polled console initialisation
jhovold Oct 9, 2024
7176aee
serial: qcom-geni: revert broken hibernation support
jhovold Oct 9, 2024
61c8f74
serial: qcom-geni: fix dma rx cancellation
jhovold Oct 9, 2024
647cd44
serial: qcom-geni: fix receiver enable
jhovold Oct 9, 2024
229dfdc
tcp: fix mptcp DSS corruption due to large pmtu xmit
Oct 18, 2024
d46b96f
selftests: mptcp: join: change capture/checksum as bool
Oct 18, 2024
ec0d0fc
selftests: mptcp: join: test for prohibited MPC to port-based endp
Oct 18, 2024
87cb3f6
selftests: mptcp: remove duplicated variables
matttbe Oct 18, 2024
9698088
nilfs2: propagate directory read errors from nilfs_find_entry()
konis Oct 4, 2024
fd6e2af
ALSA: hda/conexant - Use cached pin control for Node 0x1d on HP Elite…
Oct 16, 2024
18916a6
Linux 6.6.58
gregkh Oct 22, 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
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions Documentation/dev-tools/kselftest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,21 @@ Contributing new tests (details)

TEST_PROGS_EXTENDED, TEST_GEN_PROGS_EXTENDED mean it is the
executable which is not tested by default.

TEST_FILES, TEST_GEN_FILES mean it is the file which is used by
test.

TEST_INCLUDES is similar to TEST_FILES, it lists files which should be
included when exporting or installing the tests, with the following
differences:

* symlinks to files in other directories are preserved
* the part of paths below tools/testing/selftests/ is preserved when
copying the files to the output directory

TEST_INCLUDES is meant to list dependencies located in other directories of
the selftests hierarchy.

* First use the headers inside the kernel source and/or git repo, and then the
system headers. Headers for the kernel release as opposed to headers
installed by the distro on the system should be the primary focus to be able
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 6
SUBLEVEL = 56
SUBLEVEL = 58
EXTRAVERSION =
NAME = Pinguïn Aangedreven

Expand Down
8 changes: 3 additions & 5 deletions arch/arm64/include/asm/uprobes.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
#include <asm/insn.h>
#include <asm/probes.h>

#define MAX_UINSN_BYTES AARCH64_INSN_SIZE

#define UPROBE_SWBP_INSN cpu_to_le32(BRK64_OPCODE_UPROBES)
#define UPROBE_SWBP_INSN_SIZE AARCH64_INSN_SIZE
#define UPROBE_XOL_SLOT_BYTES MAX_UINSN_BYTES
#define UPROBE_XOL_SLOT_BYTES AARCH64_INSN_SIZE

typedef __le32 uprobe_opcode_t;

Expand All @@ -23,8 +21,8 @@ struct arch_uprobe_task {

struct arch_uprobe {
union {
u8 insn[MAX_UINSN_BYTES];
u8 ixol[MAX_UINSN_BYTES];
__le32 insn;
__le32 ixol;
};
struct arch_probe_insn api;
bool simulate;
Expand Down
16 changes: 11 additions & 5 deletions arch/arm64/kernel/probes/decode-insn.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ arm_probe_decode_insn(probe_opcode_t insn, struct arch_probe_insn *api)
aarch64_insn_is_blr(insn) ||
aarch64_insn_is_ret(insn)) {
api->handler = simulate_br_blr_ret;
} else if (aarch64_insn_is_ldr_lit(insn)) {
api->handler = simulate_ldr_literal;
} else if (aarch64_insn_is_ldrsw_lit(insn)) {
api->handler = simulate_ldrsw_literal;
} else {
/*
* Instruction cannot be stepped out-of-line and we don't
Expand Down Expand Up @@ -140,6 +136,17 @@ arm_kprobe_decode_insn(kprobe_opcode_t *addr, struct arch_specific_insn *asi)
probe_opcode_t insn = le32_to_cpu(*addr);
probe_opcode_t *scan_end = NULL;
unsigned long size = 0, offset = 0;
struct arch_probe_insn *api = &asi->api;

if (aarch64_insn_is_ldr_lit(insn)) {
api->handler = simulate_ldr_literal;
decoded = INSN_GOOD_NO_SLOT;
} else if (aarch64_insn_is_ldrsw_lit(insn)) {
api->handler = simulate_ldrsw_literal;
decoded = INSN_GOOD_NO_SLOT;
} else {
decoded = arm_probe_decode_insn(insn, &asi->api);
}

/*
* If there's a symbol defined in front of and near enough to
Expand All @@ -157,7 +164,6 @@ arm_kprobe_decode_insn(kprobe_opcode_t *addr, struct arch_specific_insn *asi)
else
scan_end = addr - MAX_ATOMIC_CONTEXT_SIZE;
}
decoded = arm_probe_decode_insn(insn, &asi->api);

if (decoded != INSN_REJECTED && scan_end)
if (is_probed_address_atomic(addr - 1, scan_end))
Expand Down
18 changes: 7 additions & 11 deletions arch/arm64/kernel/probes/simulate-insn.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,32 +171,28 @@ simulate_tbz_tbnz(u32 opcode, long addr, struct pt_regs *regs)
void __kprobes
simulate_ldr_literal(u32 opcode, long addr, struct pt_regs *regs)
{
u64 *load_addr;
unsigned long load_addr;
int xn = opcode & 0x1f;
int disp;

disp = ldr_displacement(opcode);
load_addr = (u64 *) (addr + disp);
load_addr = addr + ldr_displacement(opcode);

if (opcode & (1 << 30)) /* x0-x30 */
set_x_reg(regs, xn, *load_addr);
set_x_reg(regs, xn, READ_ONCE(*(u64 *)load_addr));
else /* w0-w30 */
set_w_reg(regs, xn, *load_addr);
set_w_reg(regs, xn, READ_ONCE(*(u32 *)load_addr));

instruction_pointer_set(regs, instruction_pointer(regs) + 4);
}

void __kprobes
simulate_ldrsw_literal(u32 opcode, long addr, struct pt_regs *regs)
{
s32 *load_addr;
unsigned long load_addr;
int xn = opcode & 0x1f;
int disp;

disp = ldr_displacement(opcode);
load_addr = (s32 *) (addr + disp);
load_addr = addr + ldr_displacement(opcode);

set_x_reg(regs, xn, *load_addr);
set_x_reg(regs, xn, READ_ONCE(*(s32 *)load_addr));

instruction_pointer_set(regs, instruction_pointer(regs) + 4);
}
4 changes: 2 additions & 2 deletions arch/arm64/kernel/probes/uprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ int arch_uprobe_analyze_insn(struct arch_uprobe *auprobe, struct mm_struct *mm,
else if (!IS_ALIGNED(addr, AARCH64_INSN_SIZE))
return -EINVAL;

insn = *(probe_opcode_t *)(&auprobe->insn[0]);
insn = le32_to_cpu(auprobe->insn);

switch (arm_probe_decode_insn(insn, &auprobe->api)) {
case INSN_REJECTED:
Expand Down Expand Up @@ -108,7 +108,7 @@ bool arch_uprobe_skip_sstep(struct arch_uprobe *auprobe, struct pt_regs *regs)
if (!auprobe->simulate)
return false;

insn = *(probe_opcode_t *)(&auprobe->insn[0]);
insn = le32_to_cpu(auprobe->insn);
addr = instruction_pointer(regs);

if (auprobe->api.handler)
Expand Down
1 change: 1 addition & 0 deletions arch/loongarch/pci/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
if (bus) {
memcpy(bus->sysdata, info->cfg, sizeof(struct pci_config_window));
kfree(info);
kfree(root_ops);
} else {
struct pci_bus *child;

Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/configs/ps3_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ CONFIG_PS3_VRAM=m
CONFIG_PS3_LPM=m
# CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set
CONFIG_KEXEC=y
# CONFIG_PPC64_BIG_ENDIAN_ELF_ABI_V2 is not set
CONFIG_PPC_4K_PAGES=y
CONFIG_SCHED_SMT=y
CONFIG_PM=y
Expand Down
2 changes: 2 additions & 0 deletions arch/riscv/include/asm/sbi.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ static inline int sbi_remote_fence_i(const struct cpumask *cpu_mask) { return -1
static inline void sbi_init(void) {}
#endif /* CONFIG_RISCV_SBI */

unsigned long riscv_get_mvendorid(void);
unsigned long riscv_get_marchid(void);
unsigned long riscv_cached_mvendorid(unsigned int cpu_id);
unsigned long riscv_cached_marchid(unsigned int cpu_id);
unsigned long riscv_cached_mimpid(unsigned int cpu_id);
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv/include/asm/sparsemem.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifdef CONFIG_64BIT
#define MAX_PHYSMEM_BITS 56
#else
#define MAX_PHYSMEM_BITS 34
#define MAX_PHYSMEM_BITS 32
#endif /* CONFIG_64BIT */
#define SECTION_SIZE_BITS 27
#endif /* CONFIG_SPARSEMEM */
Expand Down
1 change: 0 additions & 1 deletion arch/riscv/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

#define THREAD_SHIFT (PAGE_SHIFT + THREAD_SIZE_ORDER)
#define OVERFLOW_STACK_SIZE SZ_4K
#define SHADOW_OVERFLOW_STACK_SIZE (1024)

#define IRQ_STACK_SIZE THREAD_SIZE

Expand Down
40 changes: 36 additions & 4 deletions arch/riscv/kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,34 @@ int riscv_of_parent_hartid(struct device_node *node, unsigned long *hartid)
return -1;
}

unsigned long __init riscv_get_marchid(void)
{
struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo);

#if IS_ENABLED(CONFIG_RISCV_SBI)
ci->marchid = sbi_spec_is_0_1() ? 0 : sbi_get_marchid();
#elif IS_ENABLED(CONFIG_RISCV_M_MODE)
ci->marchid = csr_read(CSR_MARCHID);
#else
ci->marchid = 0;
#endif
return ci->marchid;
}

unsigned long __init riscv_get_mvendorid(void)
{
struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo);

#if IS_ENABLED(CONFIG_RISCV_SBI)
ci->mvendorid = sbi_spec_is_0_1() ? 0 : sbi_get_mvendorid();
#elif IS_ENABLED(CONFIG_RISCV_M_MODE)
ci->mvendorid = csr_read(CSR_MVENDORID);
#else
ci->mvendorid = 0;
#endif
return ci->mvendorid;
}

DEFINE_PER_CPU(struct riscv_cpuinfo, riscv_cpuinfo);

unsigned long riscv_cached_mvendorid(unsigned int cpu_id)
Expand Down Expand Up @@ -170,12 +198,16 @@ static int riscv_cpuinfo_starting(unsigned int cpu)
struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo);

#if IS_ENABLED(CONFIG_RISCV_SBI)
ci->mvendorid = sbi_spec_is_0_1() ? 0 : sbi_get_mvendorid();
ci->marchid = sbi_spec_is_0_1() ? 0 : sbi_get_marchid();
if (!ci->mvendorid)
ci->mvendorid = sbi_spec_is_0_1() ? 0 : sbi_get_mvendorid();
if (!ci->marchid)
ci->marchid = sbi_spec_is_0_1() ? 0 : sbi_get_marchid();
ci->mimpid = sbi_spec_is_0_1() ? 0 : sbi_get_mimpid();
#elif IS_ENABLED(CONFIG_RISCV_M_MODE)
ci->mvendorid = csr_read(CSR_MVENDORID);
ci->marchid = csr_read(CSR_MARCHID);
if (!ci->mvendorid)
ci->mvendorid = csr_read(CSR_MVENDORID);
if (!ci->marchid)
ci->marchid = csr_read(CSR_MARCHID);
ci->mimpid = csr_read(CSR_MIMPID);
#else
ci->mvendorid = 0;
Expand Down
8 changes: 6 additions & 2 deletions arch/riscv/kernel/cpufeature.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,18 @@ static void __init riscv_fill_hwcap_from_isa_string(unsigned long *isa2hwcap)
struct acpi_table_header *rhct;
acpi_status status;
unsigned int cpu;
u64 boot_vendorid;
u64 boot_archid;

if (!acpi_disabled) {
status = acpi_get_table(ACPI_SIG_RHCT, 0, &rhct);
if (ACPI_FAILURE(status))
return;
}

boot_vendorid = riscv_get_mvendorid();
boot_archid = riscv_get_marchid();

for_each_possible_cpu(cpu) {
struct riscv_isainfo *isainfo = &hart_isa[cpu];
unsigned long this_hwcap = 0;
Expand Down Expand Up @@ -405,8 +410,7 @@ static void __init riscv_fill_hwcap_from_isa_string(unsigned long *isa2hwcap)
* CPU cores with the ratified spec will contain non-zero
* marchid.
*/
if (acpi_disabled && riscv_cached_mvendorid(cpu) == THEAD_VENDOR_ID &&
riscv_cached_marchid(cpu) == 0x0) {
if (acpi_disabled && boot_vendorid == THEAD_VENDOR_ID && boot_archid == 0x0) {
this_hwcap &= ~isa2hwcap[RISCV_ISA_EXT_v];
clear_bit(RISCV_ISA_EXT_v, isainfo->isa);
}
Expand Down
6 changes: 6 additions & 0 deletions arch/riscv/kernel/elf_kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,12 @@ int arch_kexec_apply_relocations_add(struct purgatory_info *pi,
*(u32 *)loc = CLEAN_IMM(CJTYPE, *(u32 *)loc) |
ENCODE_CJTYPE_IMM(val - addr);
break;
case R_RISCV_ADD16:
*(u16 *)loc += val;
break;
case R_RISCV_SUB16:
*(u16 *)loc -= val;
break;
case R_RISCV_ADD32:
*(u32 *)loc += val;
break;
Expand Down
4 changes: 2 additions & 2 deletions arch/riscv/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ SYM_CODE_START(ret_from_fork)
jalr s0
1:
move a0, sp /* pt_regs */
la ra, ret_from_exception
tail syscall_exit_to_user_mode
call syscall_exit_to_user_mode
j ret_from_exception
SYM_CODE_END(ret_from_fork)

/*
Expand Down
6 changes: 4 additions & 2 deletions arch/s390/include/asm/facility.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ static inline int test_facility(unsigned long nr)
unsigned long facilities_als[] = { FACILITIES_ALS };

if (__builtin_constant_p(nr) && nr < sizeof(facilities_als) * 8) {
if (__test_facility(nr, &facilities_als))
return 1;
if (__test_facility(nr, &facilities_als)) {
if (!__is_defined(__DECOMPRESSOR))
return 1;
}
}
return __test_facility(nr, &stfle_fac_list);
}
Expand Down
2 changes: 2 additions & 0 deletions arch/s390/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
#include <asm/pci_io.h>

#define xlate_dev_mem_ptr xlate_dev_mem_ptr
#define kc_xlate_dev_mem_ptr xlate_dev_mem_ptr
void *xlate_dev_mem_ptr(phys_addr_t phys);
#define unxlate_dev_mem_ptr unxlate_dev_mem_ptr
#define kc_unxlate_dev_mem_ptr unxlate_dev_mem_ptr
void unxlate_dev_mem_ptr(phys_addr_t phys, void *addr);

#define IO_SPACE_LIMIT 0
Expand Down
12 changes: 4 additions & 8 deletions arch/s390/kernel/perf_cpum_sf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,7 @@ static int aux_output_begin(struct perf_output_handle *handle,
unsigned long range, i, range_scan, idx, head, base, offset;
struct hws_trailer_entry *te;

if (WARN_ON_ONCE(handle->head & ~PAGE_MASK))
if (handle->head & ~PAGE_MASK)
return -EINVAL;

aux->head = handle->head >> PAGE_SHIFT;
Expand Down Expand Up @@ -1642,7 +1642,7 @@ static void hw_collect_aux(struct cpu_hw_sf *cpuhw)
unsigned long num_sdb;

aux = perf_get_aux(handle);
if (WARN_ON_ONCE(!aux))
if (!aux)
return;

/* Inform user space new data arrived */
Expand All @@ -1661,7 +1661,7 @@ static void hw_collect_aux(struct cpu_hw_sf *cpuhw)
num_sdb);
break;
}
if (WARN_ON_ONCE(!aux))
if (!aux)
return;

/* Update head and alert_mark to new position */
Expand Down Expand Up @@ -1896,12 +1896,8 @@ static void cpumsf_pmu_start(struct perf_event *event, int flags)
{
struct cpu_hw_sf *cpuhw = this_cpu_ptr(&cpu_hw_sf);

if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED)))
if (!(event->hw.state & PERF_HES_STOPPED))
return;

if (flags & PERF_EF_RELOAD)
WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE));

perf_pmu_disable(event->pmu);
event->hw.state = 0;
cpuhw->lsctl.cs = 1;
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/kvm/diag.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static int __diag_page_ref_service(struct kvm_vcpu *vcpu)
vcpu->stat.instruction_diagnose_258++;
if (vcpu->run->s.regs.gprs[rx] & 7)
return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);
rc = read_guest(vcpu, vcpu->run->s.regs.gprs[rx], rx, &parm, sizeof(parm));
rc = read_guest_real(vcpu, vcpu->run->s.regs.gprs[rx], &parm, sizeof(parm));
if (rc)
return kvm_s390_inject_prog_cond(vcpu, rc);
if (parm.parm_version != 2 || parm.parm_len < 5 || parm.code != 0x258)
Expand Down
4 changes: 4 additions & 0 deletions arch/s390/kvm/gaccess.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,8 @@ static int access_guest_page(struct kvm *kvm, enum gacc_mode mode, gpa_t gpa,
const gfn_t gfn = gpa_to_gfn(gpa);
int rc;

if (!gfn_to_memslot(kvm, gfn))
return PGM_ADDRESSING;
if (mode == GACC_STORE)
rc = kvm_write_guest_page(kvm, gfn, data, offset, len);
else
Expand Down Expand Up @@ -1158,6 +1160,8 @@ int access_guest_real(struct kvm_vcpu *vcpu, unsigned long gra,
gra += fragment_len;
data += fragment_len;
}
if (rc > 0)
vcpu->arch.pgm.code = rc;
return rc;
}

Expand Down
Loading