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

NAS-123179 / 23.10 / Update Linux kernel to v6.1.40 #98

Merged
merged 3,106 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3106 commits
Select commit Hold shift + click to select a range
6b7c52f
fs: no need to check source
jankara Jul 3, 2023
f6e37e2
xfs: explicitly specify cpu when forcing inodegc delayed work to run …
Jul 15, 2023
25c1991
xfs: check that per-cpu inodegc workers actually run on that cpu
Jul 15, 2023
1b20685
xfs: disable reaping in fscounters scrub
Jul 15, 2023
9222068
xfs: fix xfs_inodegc_stop racing with mod_delayed_work
Jul 15, 2023
a02c6dc
mm/mmap: Fix extra maple tree write
howlett Jul 6, 2023
eaa0043
drm/i915: Fix TypeC mode initialization during system resume
ideak Sep 22, 2022
9902511
drm/i915/tc: Fix TC port link ref init for DP MST during HW readout
ideak Mar 16, 2023
1bdcffa
drm/i915/tc: Fix system resume MST mode restore for DP-alt sinks
ideak Mar 16, 2023
ad2928e
mtd: parsers: refer to ARCH_BCMBCA instead of ARCH_BCM4908
bulwahn Nov 16, 2022
f145373
netfilter: nf_tables: unbind non-anonymous set if rule construction f…
ummakynes Jun 25, 2023
05561f8
netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
FlorentRevest Jul 3, 2023
fc95c8b
netfilter: nf_tables: do not ignore genmask when looking up chain by id
Jul 5, 2023
40f83dd
netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
Jul 5, 2023
561aaad
wireguard: queueing: use saner cpu selection wrapping
zx2c4 Jul 3, 2023
3173bfd
wireguard: netlink: send staged packets when setting initial private key
zx2c4 Jul 3, 2023
da012a0
tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
Jun 19, 2023
899cc8f
block/partition: fix signedness issue for Amiga partitions
Jul 4, 2023
fe7daa3
sh: mach-r2d: Handle virq offset in cascaded IRL demux
geertu Jul 9, 2023
5628b9a
sh: mach-highlander: Handle virq offset in cascaded IRL demux
geertu Jul 9, 2023
0ff5d21
sh: mach-dreamcast: Handle virq offset in cascaded IRQ demux
geertu Jul 9, 2023
c55b552
sh: hd64461: Handle virq offset for offchip IRQ base and HD64461 IRQ
zear Jul 10, 2023
f32dfc8
io_uring: Use io_schedule* in cqring wait
anarazel Jul 16, 2023
a456e17
Linux 6.1.39
gregkh Jul 19, 2023
d0b30d8
HID: amd_sfh: Rename the float32 variable
Jul 7, 2023
5a45ed1
HID: amd_sfh: Fix for shift-out-of-bounds
Jul 7, 2023
4b5ab64
net: lan743x: Don't sleep in atomic context
mfischer Jun 27, 2023
2d57a15
workqueue: clean up WORK_* constant types, clarify masking
torvalds Jun 23, 2023
869ef4f
ksmbd: add missing compound request handing in some commands
namjaejeon Jun 24, 2023
ef572ff
ksmbd: fix out of bounds read in smb2_sess_setup
namjaejeon Jun 24, 2023
d48029c
drm/panel: simple: Add connector_type for innolux_at043tn24
Jun 20, 2023
02d43b8
drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime
dianders Jun 13, 2023
24b2486
swiotlb: always set the number of areas before allocating the pool
Jun 26, 2023
fc3db7f
swiotlb: reduce the swiotlb buffer size on allocation failure
aik Oct 31, 2022
fd5b64c
swiotlb: reduce the number of areas to match actual memory pool size
Jun 26, 2023
1294311
drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags
Jun 15, 2023
dfaed76
ice: Fix max_rate check while configuring TX rate limits
ssamudrala Jun 10, 2023
68b654e
igc: Remove delay during TX ring configuration
zulkifl3 May 17, 2023
7ca1914
net/mlx5e: fix double free in mlx5e_destroy_flow_table
zhengchaoshao Jun 28, 2023
75df2fe
net/mlx5e: fix memory leak in mlx5e_fs_tt_redirect_any_create
zhengchaoshao Jun 30, 2023
83a8f73
net/mlx5e: fix memory leak in mlx5e_ptp_open
zhengchaoshao Jun 30, 2023
e962fd5
net/mlx5e: Check for NOT_READY flag state after locking
w1ldptr Jun 8, 2023
246fc96
igc: set TP bit in 'supported' and 'advertising' fields of ethtool_li…
Jun 5, 2023
d752be6
igc: Handle PPS start time programming for past time values
agunasek Jun 15, 2023
49f6ac6
blk-crypto: use dynamic lock class for blk_crypto_profile::lock
ebiggers Jun 10, 2023
574d523
scsi: qla2xxx: Fix error code in qla2x00_start_sp()
Jun 26, 2023
714d81a
scsi: ufs: ufs-mediatek: Add dependency for RESET_CONTROLLER
rddunlap Jul 1, 2023
b2e74de
bpf: Fix max stack depth check for async callbacks
kkdwivedi Jul 5, 2023
831fbc2
net: mvneta: fix txq_map in case of txq_number==1
kkudielka Jul 5, 2023
c91fb29
net/sched: cls_fw: Fix improper refcount update leads to use-after-free
Jul 5, 2023
2b4086a
gve: Set default duplex configuration to full
junfengg Jul 6, 2023
bb56b79
octeontx2-af: Promisc enable/disable through mbox
Jul 6, 2023
6cc293d
octeontx2-af: Move validation of ptp pointer before its usage
Jul 6, 2023
dc47046
ionic: remove WARN_ON to prevent panic_on_warn
nsunkad Jul 6, 2023
685b57a
net: bgmac: postpone turning IRQs off to avoid SoC hangs
Jul 7, 2023
1731234
net: prevent skb corruption on frag list segmentation
Jul 7, 2023
1462e9d
icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().
q2ven Jul 8, 2023
360db93
udp6: fix udp6_ehashfn() typo
Jul 8, 2023
4e5daad
ntb: idt: Fix error handling in idt_pci_driver_init()
Nov 5, 2022
d4317d4
NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
Nov 5, 2022
bece678
ntb: intel: Fix error handling in intel_ntb_pci_driver_init()
Nov 5, 2022
8d7b875
NTB: ntb_transport: fix possible memory leak while device_register() …
Nov 10, 2022
5554414
NTB: ntb_tool: Add check for devm_kcalloc
JiangJias Nov 22, 2022
436b7cc
ipv6/addrconf: fix a potential refcount underflow for idev
Jul 8, 2023
89726b0
net: dsa: qca8k: Add check for skb_copy
JiangJias Jul 10, 2023
7772d5c
platform/x86: wmi: Break possible infinite loop when parsing GUID
andy-shev Jun 21, 2023
f92a82d
kernel/trace: Fix cleanup logic of enable_trace_eprobe
tzstoyanov Jul 3, 2023
1b87509
igc: Fix launchtime before start of cycle
koalo Jun 14, 2023
66afb6a
igc: Fix inserting of empty frame for launchtime
koalo Jun 14, 2023
13a30e2
nvme: fix the NVME_ID_NS_NVM_STS_MASK definition
ankit-sam Jun 23, 2023
ba05762
riscv, bpf: Fix inconsistent JIT image generation
bjorn-rivos Jul 10, 2023
f1e746a
drm/i915: Don't preserve dpll_hw_state for slave crtc in Bigjoiner
StanFox1984 Jun 28, 2023
5a9aecb
drm/i915: Fix one wrong caching mode enum usage
tursulin Jul 7, 2023
2727279
octeontx2-pf: Add additional check for MCAM rules
Jul 10, 2023
83879f7
erofs: avoid useless loops in z_erofs_pcluster_readmore() when readin…
Jul 10, 2023
dc8158a
erofs: avoid infinite loop in z_erofs_do_read_page() when reading bey…
Jul 10, 2023
9e6474e
erofs: fix fsdax unavailability for chunk-based regular files
Jul 11, 2023
4719576
wifi: airo: avoid uninitialized warning in airo_get_rate()
rddunlap Jul 9, 2023
b11a9b4
bpf: cpumap: Fix memory leak in cpu_map_update_elem
Jul 11, 2023
174cfa0
net/sched: flower: Ensure both minimum and maximum ports are specified
idosch Jul 11, 2023
1b125be
riscv: mm: fix truncation warning on RV32
xhackerustc Jul 9, 2023
1c806e4
netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write()
Jul 11, 2023
3d1dc71
net/sched: make psched_mtu() RTNL-less safe
tammela Jul 11, 2023
0aec8da
wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set()
ZhangShurong Jul 6, 2023
4b33836
net/sched: sch_qfq: refactor parsing of netlink parameters
tammela Apr 22, 2023
70feebd
net/sched: sch_qfq: account for stab overhead in qfq_enqueue
tammela Jul 11, 2023
bf2f2c0
nvme-pci: fix DMA direction of unmapping integrity data
Jul 13, 2023
000a9a7
fs/ntfs3: Check fields while reading
aalexandrovich Oct 10, 2022
06b3f0b
ovl: let helper ovl_i_path_real() return the realinode
Jul 17, 2023
c4a5fb1
ovl: fix null pointer dereference in ovl_get_acl_rcu()
Jul 17, 2023
40e2ed0
cifs: fix session state check in smb2_find_smb_ses
winnscode Jun 26, 2023
7c88018
drm/client: Send hotplug event after registering a client
Jul 10, 2023
4596c81
drm/amdgpu/sdma4: set align mask to 255
alexdeucher Jun 7, 2023
c8c703b
drm/amd/pm: revise the ASPM settings for thunderbolt attached scenario
Jun 15, 2023
d7d53c6
drm/amdgpu: add the fan abnormal detection feature
Nov 21, 2022
e8b6b7b
drm/amdgpu: Fix minmax warning
Nov 21, 2022
13e8af9
drm/amd/pm: add abnormal fan detection for smu 13.0.0
Jun 20, 2023
2cb10f4
f2fs: fix the wrong condition to determine atomic context
May 5, 2023
a996fec
f2fs: fix deadlock in i_xattr_sem and inode page lock
Jun 28, 2023
03590f9
pinctrl: amd: Add Z-state wake control bits
Dec 8, 2022
a56afed
pinctrl: amd: Adjust debugfs output
superm1 Mar 28, 2023
4484ce0
pinctrl: amd: Add fields for interrupt status and wake status
superm1 Mar 28, 2023
8a2d8e1
pinctrl: amd: Detect internal GPIO0 debounce handling
superm1 Apr 21, 2023
1516518
pinctrl: amd: Fix mistake in handling clearing pins at startup
superm1 Apr 21, 2023
1cd1a01
pinctrl: amd: Detect and mask spurious interrupts
Apr 21, 2023
57f6d48
pinctrl: amd: Revert "pinctrl: amd: disable and mask interrupts on pr…
superm1 Apr 21, 2023
3cadcab
pinctrl: amd: Only use special debounce behavior for GPIO 0
superm1 Jul 5, 2023
326b3f1
pinctrl: amd: Use amd_pinconf_set() for all config options
superm1 Jul 5, 2023
dce19c9
pinctrl: amd: Drop pull up select configuration
superm1 Jul 5, 2023
6d84885
pinctrl: amd: Unify debounce handling into amd_pinconf_set()
superm1 Jul 5, 2023
0028313
tpm: Do not remap from ACPI resources again for Pluton TPM
valentindavid Jul 10, 2023
99b998f
tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation
May 15, 2023
f5a734a
tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
ccpalex May 24, 2023
ad24970
tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
ccpalex May 24, 2023
bb4e824
tpm: return false from tpm_amd_is_rng_defective on non-x86 platforms
snits Jun 29, 2023
de67dad
mtd: rawnand: meson: fix unaligned DMA buffers handling
Jun 15, 2023
eac0aac
net: bcmgenet: Ensure MDIO unregistration has clocks enabled
ffainelli Jun 22, 2023
6d80684
net: phy: dp83td510: fix kernel stall during netboot in DP83TD510E PH…
olerem Jun 21, 2023
a433634
kasan: add kasan_tag_mismatch prototype
arndb May 9, 2023
5aea2ac
tracing/user_events: Fix incorrect return value for writing operation…
Jun 26, 2023
16eceb3
powerpc: Fail build if using recordmcount with binutils v2.37
rnav May 30, 2023
23ab732
misc: fastrpc: Create fastrpc scalar with correct buffer count
quic-ekangupt Jun 14, 2023
484b8fb
powerpc/security: Fix Speculation_Store_Bypass reporting on Power10
mpe May 17, 2023
58d1c81
powerpc/64s: Fix native_hpte_remove() to be irq-safe
mpe May 17, 2023
d56b7a4
MIPS: Loongson: Fix cpu_probe_loongson() again
chenhuacai Jun 26, 2023
bd9cf2a
MIPS: KVM: Fix NULL pointer dereference
chenhuacai Jun 28, 2023
0a90e70
ext4: Fix reusing stale buffer heads from last failed mounting
Mar 15, 2023
782166a
ext4: fix wrong unit use in ext4_mb_clear_bb
Jun 3, 2023
2038d35
ext4: get block from bh in ext4_free_blocks for fast commit replay
Jun 3, 2023
e861961
ext4: fix wrong unit use in ext4_mb_new_blocks
Jun 3, 2023
029c6b1
ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
chaseyu Jun 6, 2023
deef86f
ext4: turn quotas off if mount failed after enabling quotas
LiBaokun96 Mar 27, 2023
95d49f7
ext4: only update i_reserved_data_blocks on successful block allocation
LiBaokun96 Apr 24, 2023
5dc507d
fs: dlm: revert check required context while close
May 29, 2023
33f8dff
soc: qcom: mdt_loader: Fix unconditional call to scm_pas_mem_setup
Ansuel May 26, 2023
9e54fd1
ext2/dax: Fix ext2_setsize when len is page aligned
riteshharjani Apr 21, 2023
c7feb54
jfs: jfs_dmap: Validate db_l2nbperpage while mounting
siddhpant Jun 20, 2023
ef70935
hwrng: imx-rngc - fix the timeout for init and self check
martin-kaiser Jun 15, 2023
b933df9
dm integrity: reduce vmalloc space footprint on 32-bit architectures
Jun 26, 2023
026e46d
scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
May 31, 2023
25cb64e
s390/zcrypt: do not retry administrative requests
hfreude Jun 12, 2023
3367d4b
PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold
Jun 14, 2023
465c195
PCI: Release resource invalidated by coalescing
rosslagerwall May 25, 2023
c459365
PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
rmurphy-arm Jun 7, 2023
cf0d7b7
PCI: qcom: Disable write access to read only registers for IP v2.3.3
Mani-Sadhasivam Jun 19, 2023
bcd276f
PCI: epf-test: Fix DMA transfer completion initialization
damien-lemoal Apr 15, 2023
07d997e
PCI: epf-test: Fix DMA transfer completion detection
damien-lemoal Apr 15, 2023
b2e2ffb
PCI: rockchip: Assert PCI Configuration Enable bit after probe
rwk-git Apr 18, 2023
05f55f7
PCI: rockchip: Write PCI Device ID to correct register
rwk-git Apr 18, 2023
dfd20eb
PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
rwk-git Apr 18, 2023
1a48294
PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
rwk-git Apr 18, 2023
5b15ebe
PCI: rockchip: Use u32 variable to access 32-bit registers
rwk-git Apr 18, 2023
0813bb2
PCI: rockchip: Set address alignment for endpoint mode
damien-lemoal Apr 18, 2023
c2dba13
misc: pci_endpoint_test: Free IRQs before removing the device
damien-lemoal Apr 15, 2023
7ef181f
misc: pci_endpoint_test: Re-init completion for every test
damien-lemoal Apr 15, 2023
31df8b9
mfd: pm8008: Fix module autoloading
jhovold May 26, 2023
e301289
md/raid0: add discard support for the 'original' layout
almostivan Jun 23, 2023
be19cb6
dm init: add dm-mod.waitfor to wait for asynchronously probed block d…
jacmet Nov 16, 2022
3346ffd
fs: dlm: return positive pid value for F_GETLK
May 19, 2023
a1b6adf
fs: dlm: fix cleanup pending ops when interrupted
May 19, 2023
2a37d73
fs: dlm: interrupt posix locks only when process is killed
May 19, 2023
adeaef5
fs: dlm: make F_SETLK use unkillable wait_event
May 19, 2023
7adcc32
fs: dlm: fix mismatch of plock results from userspace
May 24, 2023
6436ca0
scsi: lpfc: Fix double free in lpfc_cmpl_els_logo_acc() caused by lpf…
Apr 17, 2023
db0a9a2
drm/atomic: Allow vblank-enabled + self-refresh "disable"
computersforpeace Jan 10, 2023
c41963e
drm/rockchip: vop: Leave vblank enabled in self-refresh
computersforpeace Jan 10, 2023
31fb25e
drm/amd/display: fix seamless odm transitions
Apr 18, 2023
c4629c7
drm/amd/display: edp do not add non-edid timings
May 25, 2023
a2ef316
drm/amd/display: Remove Phantom Pipe Check When Calculating K1 and K2
Jun 15, 2023
3546f76
drm/amd/display: disable seamless boot if force_odm_combine is enabled
Jun 8, 2023
91e69e6
drm/amdgpu: fix clearing mappings for BOs that are always valid in VM
hakzsam Jun 16, 2023
3092bee
drm/amd: Disable PSR-SU on Parade 0803 TCON
superm1 Jun 19, 2023
ad85fc9
drm/amd/display: add a NULL pointer check
WangSungHuai Jun 6, 2023
7ad4046
drm/amd/display: Correct `DMUB_FW_VERSION` macro
superm1 Jun 23, 2023
8404d0e
drm/amd/display: Add monitor specific edid quirk
Jun 12, 2023
fe26d0f
drm/amdgpu: avoid restore process run into dead loop.
GaryAmd Mar 3, 2023
f037f60
drm/ttm: Don't leak a resource on swapout move error
Jun 26, 2023
9fd9e1d
serial: atmel: don't enable IRQs prematurely
Jun 19, 2023
34f5b82
tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk(…
tititiou36 Jun 10, 2023
f0bf102
tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk(…
tititiou36 Jun 10, 2023
5553d58
tty: serial: imx: fix rs485 rx after tx
Jun 16, 2023
cb8a31a
firmware: stratix10-svc: Fix a potential resource leak in svc_create_…
tititiou36 Jun 13, 2023
183c0ae
libceph: harden msgr2.1 frame segment length checks
idryomov Jul 10, 2023
d545ff9
ceph: add a dedicated private data for netfs rreq
lxbsz May 10, 2023
0471d90
ceph: fix blindly expanding the readahead windows
lxbsz May 4, 2023
8293614
ceph: don't let check_caps skip sending responses for revoke msgs
lxbsz Jun 27, 2023
8e273a2
xhci: Fix resume issue of some ZHAOXIN hosts
Jun 2, 2023
892ef75
xhci: Fix TRB prefetch issue of ZHAOXIN hosts
Jun 2, 2023
610ddd7
xhci: Show ZHAOXIN xHCI root hub speed correctly
Jun 2, 2023
be06ffa
meson saradc: fix clock divider mask length
geo-stark Jun 6, 2023
76ab057
opp: Fix use-after-free in lazy_opp_tables after probe deferral
stephan-gh May 30, 2023
801daff
soundwire: qcom: fix storing port config out-of-bounds
krzk Jun 1, 2023
599c0eb
Revert "8250: add support for ASIX devices with a FIFO bug"
jiaqingz-intel Jun 19, 2023
2ebf4dd
bus: ixp4xx: fix IXP4XX_EXP_T1_MASK
KanjiMonster Jun 24, 2023
08aaeda
s390/decompressor: fix misaligned symbol build error
hcahca Jun 22, 2023
0a1dc63
dm: verity-loadpin: Add NULL pointer check for 'bdev' parameter
Jun 27, 2023
5fd32eb
tracing/histograms: Add histograms to hist_vars if they have referenc…
Jul 12, 2023
be970e2
tracing: Fix memory leak of iter->temp when reading trace_pipe
Jul 13, 2023
9d6a260
nvme: don't reject probe due to duplicate IDs for single-ported PCIe …
Jul 13, 2023
e2c7a05
samples: ftrace: Save required argument registers in sample trampolines
FlorentRevest Apr 27, 2023
aeb62be
perf: RISC-V: Remove PERF_HES_STOPPED flag checking in riscv_pmu_start()
dslin1010 Jul 10, 2023
b1a726a
regmap-irq: Fix out-of-bounds access when allocating config buffers
Jul 11, 2023
90947eb
net: ena: fix shift-out-of-bounds in exponential backoff
kmjohansen Jul 11, 2023
8b0b63f
ring-buffer: Fix deadloop issue on reading trace_pipe
Jul 8, 2023
99fe81d
ftrace: Fix possible warning on checking all pages used in ftrace_pro…
Jul 12, 2023
11dc77a
drm/amd/pm: share the code around SMU13 pcie parameters update
Jul 7, 2023
bd8cd38
drm/amd/pm: conditionally disable pcie lane/speed switching for SMU13
superm1 Jul 7, 2023
6a05de6
cifs: if deferred close is disabled then close files immediately
bharathsm-ms Jul 7, 2023
22fc9fd
xtensa: ISS: fix call to split_if_spec
jcmvbkbc Jul 3, 2023
15ec83d
perf/x86: Fix lockdep warning in for_each_sibling_event() on SPR
namhyung Jul 4, 2023
9a2c57f
PM: QoS: Restore support for default value on frequency QoS
Jul 5, 2023
ba1ede1
pwm: meson: modify and simplify calculation in meson_pwm_get_state
hkallweit May 24, 2023
2e9a46e
pwm: meson: fix handling of period/duty if greater than UINT_MAX
hkallweit May 24, 2023
ce3ec57
fprobe: Release rethook after the ftrace_ops is unregistered
olsajiri Jun 15, 2023
fbcd0c2
fprobe: Ensure running fprobe_exit_handler() finished before calling …
mhiramat Jul 7, 2023
938d5b7
tracing: Fix null pointer dereference in tracing_err_log_open()
mstachyraa Jul 4, 2023
6714867
selftests: mptcp: connect: fail if nft supposed to work
matttbe Jul 4, 2023
c118baa
selftests: mptcp: sockopt: return error if wrong mark
matttbe Jul 4, 2023
4098a43
selftests: mptcp: userspace_pm: use correct server port
matttbe Jul 4, 2023
08daab1
selftests: mptcp: userspace_pm: report errors with 'remove' tests
matttbe Jul 4, 2023
ee35229
selftests: mptcp: depend on SYN_COOKIES
matttbe Jul 4, 2023
2f41d35
selftests: mptcp: pm_nl_ctl: fix 32-bit support
matttbe Jul 4, 2023
837f92d
tracing/probes: Fix not to count error code to total length
mhiramat Jul 11, 2023
a95c1fe
tracing/probes: Fix to update dynamic data counter if fetcharg uses it
mhiramat Jul 11, 2023
95e3412
tracing/user_events: Fix struct arg size match check
beaubelgrave Jun 29, 2023
ff92567
scsi: qla2xxx: Multi-que support for TMF
Apr 28, 2023
843665c
scsi: qla2xxx: Fix task management cmd failure
Apr 28, 2023
35985b0
scsi: qla2xxx: Fix task management cmd fail due to unavailable resource
Apr 28, 2023
1802e5d
scsi: qla2xxx: Fix hang in task management
Apr 28, 2023
90770da
scsi: qla2xxx: Wait for io return on terminate rport
Apr 28, 2023
d994ac7
scsi: qla2xxx: Fix mem access after free
Apr 28, 2023
2b3bdef
scsi: qla2xxx: Array index may go out of bound
njavali Jun 7, 2023
477bc74
scsi: qla2xxx: Avoid fcport pointer dereference
njavali Jun 7, 2023
2dddbf8
scsi: qla2xxx: Fix buffer overrun
Jun 7, 2023
ce2cdbe
scsi: qla2xxx: Fix potential NULL pointer dereference
Jun 7, 2023
e466930
scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
njavali Jun 7, 2023
b88b124
scsi: qla2xxx: Correct the index of array
Jun 7, 2023
b06d1b5
scsi: qla2xxx: Pointer may be dereferenced
Jun 7, 2023
f459d58
scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
Jun 15, 2023
fec55ec
scsi: qla2xxx: Fix end of loop test
May 22, 2023
fbfb6b7
MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled
tsbogend Jul 6, 2023
d64b70d
Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON"
superm1 Jun 23, 2023
ff06cd4
swiotlb: mark swiotlb_memblock_alloc() as __init
rddunlap Feb 22, 2023
d34a347
net/sched: sch_qfq: reintroduce lmax bound check for MTU
tammela Jul 11, 2023
e4a0e09
drm/atomic: Fix potential use-after-free in nonblocking commits
danvet Jul 21, 2023
e2c3356
net/ncsi: make one oem_gma function for all mfr id
fr0st61te Jun 7, 2023
9879d6e
net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
fr0st61te Jun 7, 2023
7538911
Linux 6.1.40
gregkh Jul 23, 2023
f26e7aa
Merge tag 'v6.1.40' into NAS-123179
usaleem-ix Jul 25, 2023
74b0fad
Bump changelog after merging v6.1.40
usaleem-ix Jul 25, 2023
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/sysfs-driver-eud
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
What: /sys/bus/platform/drivers/eud/.../enable
What: /sys/bus/platform/drivers/qcom_eud/.../enable
Date: February 2022
Contact: Souradeep Chowdhury <[email protected]>
Description:
Expand Down
8 changes: 8 additions & 0 deletions Documentation/admin-guide/device-mapper/dm-init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,11 @@ Other examples (per target):
0 1638400 verity 1 8:1 8:2 4096 4096 204800 1 sha256
fb1a5a0f00deb908d8b53cb270858975e76cf64105d412ce764225d53b8f3cfd
51934789604d1b92399c52e7cb149d1b3a1b74bbbcb103b2a0aaacbed5c08584

For setups using device-mapper on top of asynchronously probed block
devices (MMC, USB, ..), it may be necessary to tell dm-init to
explicitly wait for them to become available before setting up the
device-mapper tables. This can be done with the "dm-mod.waitfor="
module parameter, which takes a list of devices to wait for::

dm-mod.waitfor=<device1>[,..,<deviceN>]
2 changes: 2 additions & 0 deletions Documentation/arm64/silicon-errata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| NVIDIA | Carmel Core | N/A | NVIDIA_CARMEL_CNP_ERRATUM |
+----------------+-----------------+-----------------+-----------------------------+
| NVIDIA | T241 GICv3/4.x | T241-FABRIC-4 | N/A |
+----------------+-----------------+-----------------+-----------------------------+
+----------------+-----------------+-----------------+-----------------------------+
| Freescale/NXP | LS2080A/LS1043A | A-008585 | FSL_ERRATUM_A008585 |
+----------------+-----------------+-----------------+-----------------------------+
Expand Down
12 changes: 6 additions & 6 deletions Documentation/block/inline-encryption.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Therefore, we also introduce *blk-crypto-fallback*, which is an implementation
of inline encryption using the kernel crypto API. blk-crypto-fallback is built
into the block layer, so it works on any block device without any special setup.
Essentially, when a bio with an encryption context is submitted to a
request_queue that doesn't support that encryption context, the block layer will
block_device that doesn't support that encryption context, the block layer will
handle en/decryption of the bio using blk-crypto-fallback.

For encryption, the data cannot be encrypted in-place, as callers usually rely
Expand Down Expand Up @@ -187,15 +187,15 @@ API presented to users of the block layer

``blk_crypto_config_supported()`` allows users to check ahead of time whether
inline encryption with particular crypto settings will work on a particular
request_queue -- either via hardware or via blk-crypto-fallback. This function
block_device -- either via hardware or via blk-crypto-fallback. This function
takes in a ``struct blk_crypto_config`` which is like blk_crypto_key, but omits
the actual bytes of the key and instead just contains the algorithm, data unit
size, etc. This function can be useful if blk-crypto-fallback is disabled.

``blk_crypto_init_key()`` allows users to initialize a blk_crypto_key.

Users must call ``blk_crypto_start_using_key()`` before actually starting to use
a blk_crypto_key on a request_queue (even if ``blk_crypto_config_supported()``
a blk_crypto_key on a block_device (even if ``blk_crypto_config_supported()``
was called earlier). This is needed to initialize blk-crypto-fallback if it
will be needed. This must not be called from the data path, as this may have to
allocate resources, which may deadlock in that case.
Expand All @@ -207,7 +207,7 @@ for en/decryption. Users don't need to worry about freeing the bio_crypt_ctx
later, as that happens automatically when the bio is freed or reset.

Finally, when done using inline encryption with a blk_crypto_key on a
request_queue, users must call ``blk_crypto_evict_key()``. This ensures that
block_device, users must call ``blk_crypto_evict_key()``. This ensures that
the key is evicted from all keyslots it may be programmed into and unlinked from
any kernel data structures it may be linked into.

Expand All @@ -221,9 +221,9 @@ as follows:
5. ``blk_crypto_evict_key()`` (after all I/O has completed)
6. Zeroize the blk_crypto_key (this has no dedicated function)

If a blk_crypto_key is being used on multiple request_queues, then
If a blk_crypto_key is being used on multiple block_devices, then
``blk_crypto_config_supported()`` (if used), ``blk_crypto_start_using_key()``,
and ``blk_crypto_evict_key()`` must be called on each request_queue.
and ``blk_crypto_evict_key()`` must be called on each block_device.

API presented to device drivers
===============================
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/ata/ceva,ahci-1v84.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ properties:
maxItems: 1

iommus:
maxItems: 1
maxItems: 4

power-domains:
maxItems: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ properties:
Indicates if the DSI controller is driving a panel which needs
2 DSI links.

qcom,master-dsi:
type: boolean
description: |
Indicates if the DSI controller is the master DSI controller when
qcom,dual-dsi-mode enabled.

qcom,sync-dual-dsi:
type: boolean
description: |
Indicates if the DSI controller needs to sync the other DSI controller
with MIPI DCS commands when qcom,dual-dsi-mode enabled.

assigned-clocks:
maxItems: 2
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ patternProperties:
of the MAX chips to the GyroADC, while MISO line of each Maxim
ADC connects to a shared input pin of the GyroADC.
enum:
- adi,7476
- adi,ad7476
- fujitsu,mb88101a
- maxim,max1162
- maxim,max11100
Expand Down
4 changes: 3 additions & 1 deletion Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ required:
unevaluatedProperties: false

allOf:
- $ref: reboot-mode.yaml#
- if:
properties:
compatible:
Expand All @@ -66,6 +65,9 @@ allOf:
- qcom,pms405-pon
- qcom,pm8998-pon
then:
allOf:
- $ref: reboot-mode.yaml#

properties:
reg:
maxItems: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ properties:
const: 0

clocks:
minItems: 3
maxItems: 5

clock-names:
Expand Down
6 changes: 4 additions & 2 deletions Documentation/devicetree/bindings/sound/tas2562.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ properties:
description: TDM TX current sense time slot.

'#sound-dai-cells':
const: 1
# The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward
# compatibility but is deprecated.
enum: [0, 1]

required:
- compatible
Expand All @@ -69,7 +71,7 @@ examples:
codec: codec@4c {
compatible = "ti,tas2562";
reg = <0x4c>;
#sound-dai-cells = <1>;
#sound-dai-cells = <0>;
interrupt-parent = <&gpio1>;
interrupts = <14>;
shutdown-gpios = <&gpio1 15 0>;
Expand Down
6 changes: 4 additions & 2 deletions Documentation/devicetree/bindings/sound/tas2770.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ properties:
- 1 # Falling edge

'#sound-dai-cells':
const: 1
# The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward
# compatibility but is deprecated.
enum: [0, 1]

required:
- compatible
Expand All @@ -71,7 +73,7 @@ examples:
codec: codec@41 {
compatible = "ti,tas2770";
reg = <0x41>;
#sound-dai-cells = <1>;
#sound-dai-cells = <0>;
interrupt-parent = <&gpio1>;
interrupts = <14>;
reset-gpio = <&gpio1 15 0>;
Expand Down
6 changes: 4 additions & 2 deletions Documentation/devicetree/bindings/sound/tas27xx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ properties:
description: TDM TX voltage sense time slot.

'#sound-dai-cells':
const: 1
# The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward
# compatibility but is deprecated.
enum: [0, 1]

required:
- compatible
Expand All @@ -64,7 +66,7 @@ examples:
codec: codec@38 {
compatible = "ti,tas2764";
reg = <0x38>;
#sound-dai-cells = <1>;
#sound-dai-cells = <0>;
interrupt-parent = <&gpio1>;
interrupts = <14>;
reset-gpios = <&gpio1 15 0>;
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/usb/cdns,usb3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ properties:
description:
size of memory intended as internal memory for endpoints
buffers expressed in KB
$ref: /schemas/types.yaml#/definitions/uint32
$ref: /schemas/types.yaml#/definitions/uint16

cdns,phyrst-a-enable:
description: Enable resetting of PHY if Rx fail is detected
Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/usb/snps,dwc3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ properties:
description:
High-Speed PHY interface selection between UTMI+ and ULPI when the
DWC_USB3_HSPHY_INTERFACE has value 3.
$ref: /schemas/types.yaml#/definitions/uint8
$ref: /schemas/types.yaml#/definitions/string
enum: [utmi, ulpi]

snps,quirk-frame-length-adjustment:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/fault-injection/provoke-crashes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ recur_count
cpoint_name
Where in the kernel to trigger the action. It can be
one of INT_HARDWARE_ENTRY, INT_HW_IRQ_EN, INT_TASKLET_ENTRY,
FS_DEVRW, MEM_SWAPOUT, TIMERADD, SCSI_QUEUE_RQ, or DIRECT.
FS_SUBMIT_BH, MEM_SWAPOUT, TIMERADD, SCSI_QUEUE_RQ, or DIRECT.

cpoint_type
Indicates the action to be taken on hitting the crash point.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/autofs-mount-control.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ information and return operation results::
struct args_ismountpoint ismountpoint;
};

char path[0];
char path[];
};

The ioctlfd field is a mount point file descriptor of an autofs mount
Expand Down
2 changes: 1 addition & 1 deletion Documentation/filesystems/autofs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ Each ioctl is passed a pointer to an `autofs_dev_ioctl` structure::
struct args_ismountpoint ismountpoint;
};

char path[0];
char path[];
};

For the **OPEN_MOUNT** and **IS_MOUNTPOINT** commands, the target
Expand Down
26 changes: 14 additions & 12 deletions Documentation/filesystems/directory-locking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ exclusive.
3) object removal. Locking rules: caller locks parent, finds victim,
locks victim and calls the method. Locks are exclusive.

4) rename() that is _not_ cross-directory. Locking rules: caller locks
the parent and finds source and target. In case of exchange (with
RENAME_EXCHANGE in flags argument) lock both. In any case,
if the target already exists, lock it. If the source is a non-directory,
lock it. If we need to lock both, lock them in inode pointer order.
Then call the method. All locks are exclusive.
4) rename() that is _not_ cross-directory. Locking rules: caller locks the
parent and finds source and target. We lock both (provided they exist). If we
need to lock two inodes of different type (dir vs non-dir), we lock directory
first. If we need to lock two inodes of the same type, lock them in inode
pointer order. Then call the method. All locks are exclusive.
NB: we might get away with locking the source (and target in exchange
case) shared.

Expand All @@ -44,15 +43,17 @@ All locks are exclusive.
rules:

* lock the filesystem
* lock parents in "ancestors first" order.
* lock parents in "ancestors first" order. If one is not ancestor of
the other, lock them in inode pointer order.
* find source and target.
* if old parent is equal to or is a descendent of target
fail with -ENOTEMPTY
* if new parent is equal to or is a descendent of source
fail with -ELOOP
* If it's an exchange, lock both the source and the target.
* If the target exists, lock it. If the source is a non-directory,
lock it. If we need to lock both, do so in inode pointer order.
* Lock both the source and the target provided they exist. If we
need to lock two inodes of different type (dir vs non-dir), we lock
the directory first. If we need to lock two inodes of the same type,
lock them in inode pointer order.
* call the method.

All ->i_rwsem are taken exclusive. Again, we might get away with locking
Expand All @@ -66,8 +67,9 @@ If no directory is its own ancestor, the scheme above is deadlock-free.

Proof:

First of all, at any moment we have a partial ordering of the
objects - A < B iff A is an ancestor of B.
First of all, at any moment we have a linear ordering of the
objects - A < B iff (A is an ancestor of B) or (B is not an ancestor
of A and ptr(A) < ptr(B)).

That ordering can change. However, the following is true:

Expand Down
19 changes: 19 additions & 0 deletions Documentation/mm/page_table_check.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,22 @@ Build kernel with:

Optionally, build kernel with PAGE_TABLE_CHECK_ENFORCED in order to have page
table support without extra kernel parameter.

Implementation notes
====================

We specifically decided not to use VMA information in order to avoid relying on
MM states (except for limited "struct page" info). The page table check is a
separate from Linux-MM state machine that verifies that the user accessible
pages are not falsely shared.

PAGE_TABLE_CHECK depends on EXCLUSIVE_SYSTEM_RAM. The reason is that without
EXCLUSIVE_SYSTEM_RAM, users are allowed to map arbitrary physical memory
regions into the userspace via /dev/mem. At the same time, pages may change
their properties (e.g., from anonymous pages to named pages) while they are
still being mapped in the userspace, leading to "corruption" detected by the
page table check.

Even with EXCLUSIVE_SYSTEM_RAM, I/O pages may be still allowed to be mapped via
/dev/mem. However, these pages are always considered as named pages, so they
won't break the logic used in the page table check.
9 changes: 9 additions & 0 deletions Documentation/networking/af_xdp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,15 @@ start N bytes into the buffer leaving the first N bytes for the
application to use. The final option is the flags field, but it will
be dealt with in separate sections for each UMEM flag.

SO_BINDTODEVICE setsockopt
--------------------------

This is a generic SOL_SOCKET option that can be used to tie AF_XDP
socket to a particular network interface. It is useful when a socket
is created by a privileged process and passed to a non-privileged one.
Once the option is set, kernel will refuse attempts to bind that socket
to a different interface. Updating the value requires CAP_NET_RAW.

XDP_STATISTICS getsockopt
-------------------------

Expand Down
6 changes: 4 additions & 2 deletions Documentation/networking/ip-sysctl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ tcp_app_win - INTEGER
Reserve max(window/2^tcp_app_win, mss) of window for application
buffer. Value 0 is special, it means that nothing is reserved.

Possible values are [0, 31], inclusive.

Default: 31

tcp_autocorking - BOOLEAN
Expand Down Expand Up @@ -1245,8 +1247,8 @@ ping_group_range - 2 INTEGERS
Restrict ICMP_PROTO datagram sockets to users in the group range.
The default is "1 0", meaning, that nobody (not even root) may
create ping sockets. Setting it to "100 100" would grant permissions
to the single group. "0 4294967295" would enable it for the world, "100
4294967295" would enable it for the users, but not daemons.
to the single group. "0 4294967294" would enable it for the world, "100
4294967294" would enable it for the users, but not daemons.

tcp_early_demux - BOOLEAN
Enable early demux for established TCP sockets.
Expand Down
7 changes: 7 additions & 0 deletions Documentation/process/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ openssl & libcrypto 1.0.0 openssl version
bc 1.06.95 bc --version
Sphinx\ [#f1]_ 1.7 sphinx-build --version
cpio any cpio --version
gtags (optional) 6.6.5 gtags --version
====================== =============== ========================================

.. [#f1] Sphinx is needed only to build the Kernel documentation
Expand Down Expand Up @@ -174,6 +175,12 @@ You will need openssl to build kernels 3.7 and higher if module signing is
enabled. You will also need openssl development packages to build kernels 4.3
and higher.

gtags / GNU GLOBAL (optional)
-----------------------------

The kernel build requires GNU GLOBAL version 6.6.5 or later to generate
tag files through ``make gtags``. This is due to its use of the gtags
``-C (--directory)`` flag.

System utilities
****************
Expand Down
4 changes: 2 additions & 2 deletions Documentation/riscv/vm-layout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RISC-V Linux Kernel SV39
| Kernel-space virtual memory, shared between all processes:
____________________________________________________________|___________________________________________________________
| | | |
ffffffc6fee00000 | -228 GB | ffffffc6feffffff | 2 MB | fixmap
ffffffc6fea00000 | -228 GB | ffffffc6feffffff | 6 MB | fixmap
ffffffc6ff000000 | -228 GB | ffffffc6ffffffff | 16 MB | PCI io
ffffffc700000000 | -228 GB | ffffffc7ffffffff | 4 GB | vmemmap
ffffffc800000000 | -224 GB | ffffffd7ffffffff | 64 GB | vmalloc/ioremap space
Expand Down Expand Up @@ -83,7 +83,7 @@ RISC-V Linux Kernel SV48
| Kernel-space virtual memory, shared between all processes:
____________________________________________________________|___________________________________________________________
| | | |
ffff8d7ffee00000 | -114.5 TB | ffff8d7ffeffffff | 2 MB | fixmap
ffff8d7ffea00000 | -114.5 TB | ffff8d7ffeffffff | 6 MB | fixmap
ffff8d7fff000000 | -114.5 TB | ffff8d7fffffffff | 16 MB | PCI io
ffff8d8000000000 | -114.5 TB | ffff8f7fffffffff | 2 TB | vmemmap
ffff8f8000000000 | -112.5 TB | ffffaf7fffffffff | 32 TB | vmalloc/ioremap space
Expand Down
Loading
Loading