Commit Graph

44082 Commits

Author SHA1 Message Date
Kan Liang
b80d0c6e5b perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table
commit 5d515ee40cb57ea5331998f27df7946a69f14dc3 upstream.

The kernel warning message is triggered, when SPR MCC is used.

[   17.945331] ------------[ cut here ]------------
[   17.946305] WARNING: CPU: 65 PID: 1 at
arch/x86/events/intel/uncore_discovery.c:184
intel_uncore_has_discovery_tables+0x4c0/0x65c
[   17.946305] Modules linked in:
[   17.946305] CPU: 65 PID: 1 Comm: swapper/0 Not tainted
5.4.17-2136.313.1-X10-2c+ #4

It's caused by the broken discovery table of UPI.

The discovery tables are from hardware. Except for dropping the broken
information, there is nothing Linux can do. Using WARN_ON_ONCE() is
overkilled.

Use the pr_info() to replace WARN_ON_ONCE(), and specify what uncore unit
is dropped and the reason.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Petlan <mpetlan@redhat.com>
Link: https://lore.kernel.org/r/20230112200105.733466-6-kan.liang@linux.intel.com
Cc: Mahmoud Adam <mngyadam@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-20 17:00:13 +01:00
Greg Kroah-Hartman
a01e106f08 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
This catches the android14-6.1-lts branch up with the latest changes and
abi updates.  Included in here are the following commits:

07775f9683 ANDROID: GKI: Add symbols for rockchip sata
f44d373b32 ANDROID: sched: Add trace_android_rvh_setscheduler
efa8f34b5a ANDROID: Update the ABI symbol list
cee8ebf7c5 ANDROID: GKI: build damon for monitoring virtual address spaces
31c59d59c7 UPSTREAM: mm/damon/sysfs-schemes: handle tried region directory allocation failure
1cedfc05e9 UPSTREAM: mm/damon/sysfs-schemes: handle tried regions sysfs directory allocation failure
7fbeab3c65 UPSTREAM: mm/damon/sysfs: check error from damon_sysfs_update_target()
606444fd06 UPSTREAM: mm/damon/sysfs: eliminate potential uninitialized variable warning
c132d077eb UPSTREAM: mm/damon/sysfs: update monitoring target regions for online input commit
6b7c4cc262 UPSTREAM: mm/damon/sysfs: remove requested targets when online-commit inputs
1e19db10e7 UPSTREAM: mm/damon/sysfs: avoid empty scheme tried regions for large apply interval
c194e597cb UPSTREAM: mm/damon/sysfs-schemes: do not update tried regions more than one DAMON snapshot
f5a0a8bc43 UPSTREAM: mm/damon/sysfs: check DAMOS regions update progress from before_terminate()
b46391e092 UPSTREAM: mm/damon/sysfs: implement a command for updating only schemes tried total bytes
7d48e19f74 UPSTREAM: mm/damon/sysfs-schemes: implement DAMOS tried total bytes file
a548d90994 UPSTREAM: mm/damon/ops-common: refactor to use {pte|pmd}p_clear_young_notify()
ea215c9a10 UPSTREAM: mm/damon/core: skip apply schemes if empty
3ca21ef5fa UPSTREAM: mm/damon: use kstrtobool() instead of strtobool()
5bf7b56860 UPSTREAM: mm/damon/sysfs-schemes: implement DAMOS-tried regions clear command
80ccab9b0e UPSTREAM: mm/damon/sysfs: implement DAMOS tried regions update command
3421250b35 UPSTREAM: mm/damon/sysfs-schemes: implement scheme region directory
b4c34cc168 UPSTREAM: mm/damon/sysfs-schemes: implement schemes/tried_regions directory
b5d1f3576b UPSTREAM: mm/damon/core: add a callback for scheme target regions check
6547a97f32 UPSTREAM: mm/damon/lru_sort: enable and disable synchronously
540e9b850d UPSTREAM: mm/damon/reclaim: enable and disable synchronously
4e2d3f8e31 UPSTREAM: mm/damon/{reclaim,lru_sort}: remove unnecessarily included headers
3c0bc73f6e UPSTREAM: mm/damon/modules: deduplicate init steps for DAMON context setup
67ef7b0f42 UPSTREAM: mm/damon/sysfs: split out schemes directory implementation to separate file
0b17df8a4f UPSTREAM: mm/damon/sysfs: split out kdamond-independent schemes stats update logic into a new function
a45dff567c UPSTREAM: mm/damon/sysfs: move unsigned long range directory to common module
c5038d80ce UPSTREAM: mm/damon/sysfs: move sysfs_lock to common module
b7fc8d59a5 UPSTREAM: mm/damon/sysfs: remove parameters of damon_sysfs_region_alloc()
19364f11a4 UPSTREAM: mm/damon/sysfs: use damon_addr_range for region's start and end values
b6e6b1dbf8 UPSTREAM: mm/damon/core: split out scheme quota adjustment logic into a new function
43475d9708 UPSTREAM: mm/damon/core: split out scheme stat update logic into a new function
0b0a43029e UPSTREAM: mm/damon/core: split damos application logic into a new function
6c7495f04a UPSTREAM: mm/damon/core: split out DAMOS-charged region skip logic into a new function
ac1031618a ANDROID: Snapshot Mainline's version of checkpatch.pl
4fa87d4d8f ANDROID: KVM: arm64: Skip prefaulting ptes which will be modified later
fbc707442c ANDROID: KVM: arm64: Introduce module_change_host_prot_range
fd720ebc6a ANDROID: KVM: arm64: Relax checks in module_change_host_page_prot
f082d22541 ANDROID: KVM: arm64: Optimise module_change_host_page_prot
01dd8c280b ANDROID: KVM: arm64: Prefault entries when splitting a block mapping
cc653d701f ANDROID: virt: gunyah: Zero state_data after vcpu_run
cc294d9503 ANDROID: Update the ABI symbol list
956a0d3998 ANDROID: fs: Add vendor hooks for ep_create_wakeup_source & timerfd_create
d8d2b95fd0 ANDROID: ABI: update symbol list for galaxy
bcc758eed7 Reapply "binder: fix UAF caused by faulty buffer cleanup"
b2b3a1e6d1 UPSTREAM: x86/sev: Check for user-space IOIO pointing to kernel space
62b97630d4 UPSTREAM: x86/sev: Check IOBM for IOIO exceptions from user-space
071c14698c FROMGIT: usb: typec: tcpm: skip checking port->send_discover in PD3.0
a9567a35d0 ANDROID: arm64: Disable workaround for CPU errata 2441007 and 2441009

Change-Id: Icbda2fae389ea4c2e7230821c59ac0380a35d756
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-12-19 19:05:29 +00:00
cuiyangpei
cee8ebf7c5 ANDROID: GKI: build damon for monitoring virtual address spaces
Enable damon related configs in gki_defconfig.

Bug: 300502883
Change-Id: Ie00a923464d2f1fff8f12a8804cbac040f0cacdf
Signed-off-by: cuiyangpei <cuiyangpei@xiaomi.com>
2023-12-16 01:38:42 +00:00
Greg Kroah-Hartman
6b1e1d37f1 This is the 6.1.66 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmVyywAACgkQONu9yGCS
 aT420Q//RK1ZeDdGWqAEH84PtuOzFA7gl5aXjmt1r9I1sDFr06ktk9rc67BNo87b
 Ugubto1UUpM/ZJfpezH1M4DMQ5f67thkRhCv5qvolh80v21duD7G7i1kX3rJsWk1
 daJ76RcYXH63/Qv59uT+ADjSIIAH7yF/FGnUSShyznDRwDh/TqujEoh0e25X4YlV
 MhcCGBS0NE9Rcuwv2XPp84D4psXhPhmOuUVEPVnPLVnXg09XqOVjMV5uW+X4Sqft
 sc/bzveBmHoPOVtkz71qo1oxsVkKNMcdmD88+Xn9rSBgAkti5MpV/ZCAxRSVZbwF
 wyBh23gzRQzHXTn45Bf/1wS5zzQ+PIkadCo7hlPbQHguOMGXkdqTgNJf9EwB09I2
 DEAWnCNH5orNk0Sltbfo/7Ja2oJtSHkiaUWk4nP1fZN9Vt9yt1xnRkpkaoBh0L7q
 NmXBFuvrylC44cfQNXIZSqAXduwCvMPyQDm1txSxYDZVrOy82/zVRWcOrytb0PnO
 zfqSuQKZPoF29ESq2Ti65Zk5e47EjSjYca91gzOlSVBNXx+xTuSoXCL0RXYclT7H
 umxK5/wmDSQX6wJzd+JNy7H86U753DuSIzA1112IC1GdWNlWWsjca5omEMgt+lqu
 Xc9q13vg3Ox+tv0MRv+P398b7NwzuMVcLbMoHE+1EzMH0JS636E=
 =p/en
 -----END PGP SIGNATURE-----

Merge 6.1.66 into android14-6.1-lts

Changes in 6.1.66
	cifs: Fix FALLOC_FL_ZERO_RANGE by setting i_size if EOF moved
	cifs: Fix FALLOC_FL_INSERT_RANGE by setting i_size after EOF moved
	smb: client: report correct st_size for SMB and NFS symlinks
	pinctrl: avoid reload of p state in list iteration
	firewire: core: fix possible memory leak in create_units()
	mmc: sdhci-pci-gli: Disable LPM during initialization
	mmc: cqhci: Increase recovery halt timeout
	mmc: cqhci: Warn of halt or task clear failure
	mmc: cqhci: Fix task clearing in CQE error recovery
	mmc: block: Retry commands in CQE error recovery
	mmc: block: Do not lose cache flush during CQE error recovery
	mmc: block: Be sure to wait while busy in CQE error recovery
	ALSA: hda: Disable power-save on KONTRON SinglePC
	ALSA: hda/realtek: Headset Mic VREF to 100%
	ALSA: hda/realtek: Add supported ALC257 for ChromeOS
	dm-verity: align struct dm_verity_fec_io properly
	scsi: Change SCSI device boolean fields to single bit flags
	scsi: sd: Fix system start for ATA devices
	drm/amd: Enable PCIe PME from D3
	drm/amdgpu: Force order between a read and write to the same address
	drm/amd/display: Include udelay when waiting for INBOX0 ACK
	drm/amd/display: Remove min_dst_y_next_start check for Z8
	drm/amd/display: Use DRAM speed from validation for dummy p-state
	drm/amd/display: Update min Z8 residency time to 2100 for DCN314
	drm/amd/display: fix ABM disablement
	dm verity: initialize fec io before freeing it
	dm verity: don't perform FEC for failed readahead IO
	nvme: check for valid nvme_identify_ns() before using it
	powercap: DTPM: Fix unneeded conversions to micro-Watts
	cpufreq/amd-pstate: Fix the return value of amd_pstate_fast_switch()
	dma-buf: fix check in dma_resv_add_fence
	bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
	iommu/vt-d: Add MTL to quirk list to skip TE disabling
	KVM: PPC: Book3S HV: Fix KVM_RUN clobbering FP/VEC user registers
	powerpc: Don't clobber f0/vs0 during fp|altivec register save
	parisc: Mark ex_table entries 32-bit aligned in assembly.h
	parisc: Mark ex_table entries 32-bit aligned in uaccess.h
	parisc: Use natural CPU alignment for bug_table
	parisc: Mark lock_aligned variables 16-byte aligned on SMP
	parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
	parisc: Mark jump_table naturally aligned
	parisc: Ensure 32-bit alignment on parisc unwind section
	parisc: Mark altinstructions read-only and 32-bit aligned
	btrfs: add dmesg output for first mount and last unmount of a filesystem
	btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
	btrfs: fix off-by-one when checking chunk map includes logical address
	btrfs: send: ensure send_fd is writable
	btrfs: make error messages more clear when getting a chunk map
	btrfs: fix 64bit compat send ioctl arguments not initializing version member
	Input: xpad - add HyperX Clutch Gladiate Support
	auxdisplay: hd44780: move cursor home after clear display command
	serial: sc16is7xx: Put IOControl register into regmap_volatile
	serial: sc16is7xx: add missing support for rs485 devicetree properties
	wifi: cfg80211: fix CQM for non-range use
	USB: xhci-plat: fix legacy PHY double init
	USB: core: Change configuration warnings to notices
	usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
	ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
	dpaa2-eth: increase the needed headroom to account for alignment
	uapi: propagate __struct_group() attributes to the container union
	selftests/net: ipsec: fix constant out of range
	selftests/net: fix a char signedness issue
	selftests/net: unix: fix unused variable compiler warning
	selftests/net: mptcp: fix uninitialized variable warnings
	octeontx2-af: Fix possible buffer overflow
	net: stmmac: xgmac: Disable FPE MMC interrupts
	octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
	octeontx2-af: Install TC filter rules in hardware based on priority
	octeontx2-pf: Restore TC ingress police rules when interface is up
	r8169: prevent potential deadlock in rtl8169_close
	ravb: Fix races between ravb_tx_timeout_work() and net related ops
	net: ravb: Check return value of reset_control_deassert()
	net: ravb: Use pm_runtime_resume_and_get()
	net: ravb: Make write access to CXR35 first before accessing other EMAC registers
	net: ravb: Start TX queues after HW initialization succeeded
	net: ravb: Stop DMA in case of failures on ravb_open()
	net: ravb: Keep reverse order of operations in ravb_remove()
	KVM: x86: Fix lapic timer interrupt lost after loading a snapshot.
	PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card
	octeontx2-af: Initialize 'cntr_val' to fix uninitialized symbol error
	PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers
	fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
	spi: Fix null dereference on suspend
	drm/amd/display: Restore rptr/wptr for DMCUB as workaround
	drm/amd/display: Guard against invalid RPTR/WPTR being set
	cpufreq: imx6q: don't warn for disabling a non-existing frequency
	cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
	iommu/vt-d: Omit devTLB invalidation requests when TES=0
	iommu/vt-d: Allocate pasid table in device probe path
	iommu/vt-d: Add device_block_translation() helper
	iommu/vt-d: Disable PCI ATS in legacy passthrough mode
	iommu/vt-d: Make context clearing consistent with context mapping
	drm/amd/pm: fix a memleak in aldebaran_tables_init
	mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
	mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
	drm/amd/display: Expand kernel doc for DC
	drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut
	drm/amd/display: Fix the delta clamping for shaper LUT
	drm/amd/display: Fix MPCC 1DLUT programming
	r8169: disable ASPM in case of tx timeout
	r8169: fix deadlock on RTL8125 in jumbo mtu mode
	xen: Allow platform PCI interrupt to be shared
	xen: simplify evtchn_do_upcall() call maze
	x86/xen: fix percpu vcpu_info allocation
	x86/apic/msi: Fix misconfigured non-maskable MSI quirk
	iomap: update ki_pos a little later in iomap_dio_complete
	Linux 6.1.66

Note, this merge point merges out the following two scsi changes due to
them needing to be reverted due to abi breakage and reliance on previous
commits that we have already reverted:
	cebccbe801 ("scsi: sd: Fix system start for ATA devices")
	181fd67dc5 ("scsi: Change SCSI device boolean fields to single bit flags")

Also the following commit was manually reverted as part of the merge
point due to it conflicting with other changes in the tree AND it being
automatically reverted in later LTS releases due to it being broken:
	307a6525c8 ("wifi: cfg80211: fix CQM for non-range use")

Change-Id: I37b08dcf2259de8b2a29a5afc5cbc4bbd08e739a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-12-14 12:51:15 +00:00
Sean Christopherson
2b9b2d28a9 KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
commit 4cdf351d3630a640ab6a05721ef055b9df62277f upstream.

In general, activating long mode involves setting the EFER_LME bit in
the EFER register and then enabling the X86_CR0_PG bit in the CR0
register. At this point, the EFER_LMA bit will be set automatically by
hardware.

In the case of SVM/SEV guests where writes to CR0 are intercepted, it's
necessary for the host to set EFER_LMA on behalf of the guest since
hardware does not see the actual CR0 write.

In the case of SEV-ES guests where writes to CR0 are trapped instead of
intercepted, the hardware *does* see/record the write to CR0 before
exiting and passing the value on to the host, so as part of enabling
SEV-ES support commit f1c6366e30 ("KVM: SVM: Add required changes to
support intercepts under SEV-ES") dropped special handling of the
EFER_LMA bit with the understanding that it would be set automatically.

However, since the guest never explicitly sets the EFER_LMA bit, the
host never becomes aware that it has been set. This becomes problematic
when userspace tries to get/set the EFER values via
KVM_GET_SREGS/KVM_SET_SREGS, since the EFER contents tracked by the host
will be missing the EFER_LMA bit, and when userspace attempts to pass
the EFER value back via KVM_SET_SREGS it will fail a sanity check that
asserts that EFER_LMA should always be set when X86_CR0_PG and EFER_LME
are set.

Fix this by always inferring the value of EFER_LMA based on X86_CR0_PG
and EFER_LME, regardless of whether or not SEV-ES is enabled.

Fixes: f1c6366e30 ("KVM: SVM: Add required changes to support intercepts under SEV-ES")
Reported-by: Peter Gonda <pgonda@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210507165947.2502412-2-seanjc@google.com>
[A two year old patch that was revived after we noticed the failure in
 KVM_SET_SREGS and a similar patch was posted by Michael Roth.  This is
 Sean's patch, but with Michael's more complete commit message. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-13 18:39:29 +01:00
Borislav Petkov (AMD)
2467f4f8cb x86/CPU/AMD: Check vendor in the AMD microcode callback
commit 9b8493dc43044376716d789d07699f17d538a7c4 upstream.

Commit in Fixes added an AMD-specific microcode callback. However, it
didn't check the CPU vendor the kernel runs on explicitly.

The only reason the Zenbleed check in it didn't run on other x86 vendors
hardware was pure coincidental luck:

  if (!cpu_has_amd_erratum(c, amd_zenbleed))
	  return;

gives true on other vendors because they don't have those families and
models.

However, with the removal of the cpu_has_amd_erratum() in

  05f5f73936fa ("x86/CPU/AMD: Drop now unused CPU erratum checking function")

that coincidental condition is gone, leading to the zenbleed check
getting executed on other vendors too.

Add the explicit vendor check for the whole callback as it should've
been done in the first place.

Fixes: 522b1d69219d ("x86/cpu/amd: Add a Zenbleed fix")
Cc: <stable@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231201184226.16749-1-bp@alien8.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-13 18:39:28 +01:00
Ashwin Dayanand Kamat
4b716fcacd x86/sev: Fix kernel crash due to late update to read-only ghcb_version
[ Upstream commit 27d25348d42161837be08fc63b04a2559d2e781c ]

A write-access violation page fault kernel crash was observed while running
cpuhotplug LTP testcases on SEV-ES enabled systems. The crash was
observed during hotplug, after the CPU was offlined and the process
was migrated to different CPU. setup_ghcb() is called again which
tries to update ghcb_version in sev_es_negotiate_protocol(). Ideally this
is a read_only variable which is initialised during booting.

Trying to write it results in a pagefault:

  BUG: unable to handle page fault for address: ffffffffba556e70
  #PF: supervisor write access in kernel mode
  #PF: error_code(0x0003) - permissions violation
  [ ...]
  Call Trace:
   <TASK>
   ? __die_body.cold+0x1a/0x1f
   ? __die+0x2a/0x35
   ? page_fault_oops+0x10c/0x270
   ? setup_ghcb+0x71/0x100
   ? __x86_return_thunk+0x5/0x6
   ? search_exception_tables+0x60/0x70
   ? __x86_return_thunk+0x5/0x6
   ? fixup_exception+0x27/0x320
   ? kernelmode_fixup_or_oops+0xa2/0x120
   ? __bad_area_nosemaphore+0x16a/0x1b0
   ? kernel_exc_vmm_communication+0x60/0xb0
   ? bad_area_nosemaphore+0x16/0x20
   ? do_kern_addr_fault+0x7a/0x90
   ? exc_page_fault+0xbd/0x160
   ? asm_exc_page_fault+0x27/0x30
   ? setup_ghcb+0x71/0x100
   ? setup_ghcb+0xe/0x100
   cpu_init_exception_handling+0x1b9/0x1f0

The fix is to call sev_es_negotiate_protocol() only in the BSP boot phase,
and it only needs to be done once in any case.

[ mingo: Refined the changelog. ]

Fixes: 95d33bfaa3 ("x86/sev: Register GHCB memory when SEV-SNP is active")
Suggested-by: Tom Lendacky <thomas.lendacky@amd.com>
Co-developed-by: Bo Gan <bo.gan@broadcom.com>
Signed-off-by: Bo Gan <bo.gan@broadcom.com>
Signed-off-by: Ashwin Dayanand Kamat <ashwin.kamat@broadcom.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/1701254429-18250-1-git-send-email-kashwindayan@vmware.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-13 18:39:24 +01:00
Kirill A. Shutemov
cde700ceb0 x86/tdx: Allow 32-bit emulation by default
[ upstream commit f4116bfc44621882556bbf70f5284fbf429a5cf6 ]

32-bit emulation was disabled on TDX to prevent a possible attack by
a VMM injecting an interrupt on vector 0x80.

Now that int80_emulation() has a check for external interrupts the
limitation can be lifted.

To distinguish software interrupts from external ones, int80_emulation()
checks the APIC ISR bit relevant to the 0x80 vector. For
software interrupts, this bit will be 0.

On TDX, the VAPIC state (including ISR) is protected and cannot be
manipulated by the VMM. The ISR bit is set by the microcode flow during
the handling of posted interrupts.

[ dhansen: more changelog tweaks ]

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@vger.kernel.org> # v6.0+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-13 18:39:05 +01:00
Thomas Gleixner
e09d243a51 x86/entry: Do not allow external 0x80 interrupts
[ upstream commit 55617fb991df535f953589586468612351575704 ]

The INT 0x80 instruction is used for 32-bit x86 Linux syscalls. The
kernel expects to receive a software interrupt as a result of the INT
0x80 instruction. However, an external interrupt on the same vector
also triggers the same codepath.

An external interrupt on vector 0x80 will currently be interpreted as a
32-bit system call, and assuming that it was a user context.

Panic on external interrupts on the vector.

To distinguish software interrupts from external ones, the kernel checks
the APIC ISR bit relevant to the 0x80 vector. For software interrupts,
this bit will be 0.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@vger.kernel.org> # v6.0+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-13 18:39:05 +01:00
Thomas Gleixner
d5f999317e x86/entry: Convert INT 0x80 emulation to IDTENTRY
[ upstream commit be5341eb0d43b1e754799498bd2e8756cc167a41 ]

There is no real reason to have a separate ASM entry point implementation
for the legacy INT 0x80 syscall emulation on 64-bit.

IDTENTRY provides all the functionality needed with the only difference
that it does not:

  - save the syscall number (AX) into pt_regs::orig_ax
  - set pt_regs::ax to -ENOSYS

Both can be done safely in the C code of an IDTENTRY before invoking any of
the syscall related functions which depend on this convention.

Aside of ASM code reduction this prepares for detecting and handling a
local APIC injected vector 0x80.

[ kirill.shutemov: More verbose comments ]
Suggested-by: Linus Torvalds <torvalds@linuxfoundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@vger.kernel.org> # v6.0+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-13 18:39:05 +01:00
Kirill A. Shutemov
b8ec27ae22 x86/coco: Disable 32-bit emulation by default on TDX and SEV
[ upstream commit b82a8dbd3d2f4563156f7150c6f2ecab6e960b30 ]

The INT 0x80 instruction is used for 32-bit x86 Linux syscalls. The
kernel expects to receive a software interrupt as a result of the INT
0x80 instruction. However, an external interrupt on the same vector
triggers the same handler.

The kernel interprets an external interrupt on vector 0x80 as a 32-bit
system call that came from userspace.

A VMM can inject external interrupts on any arbitrary vector at any
time.  This remains true even for TDX and SEV guests where the VMM is
untrusted.

Put together, this allows an untrusted VMM to trigger int80 syscall
handling at any given point. The content of the guest register file at
that moment defines what syscall is triggered and its arguments. It
opens the guest OS to manipulation from the VMM side.

Disable 32-bit emulation by default for TDX and SEV. User can override
it with the ia32_emulation=y command line option.

[ dhansen: reword the changelog ]

Reported-by: Supraja Sridhara <supraja.sridhara@inf.ethz.ch>
Reported-by: Benedict Schlüter <benedict.schlueter@inf.ethz.ch>
Reported-by: Mark Kuhne <mark.kuhne@inf.ethz.ch>
Reported-by: Andrin Bertschi <andrin.bertschi@inf.ethz.ch>
Reported-by: Shweta Shinde <shweta.shinde@inf.ethz.ch>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@vger.kernel.org> # 6.0+: 1da5c9b x86: Introduce ia32_enabled()
Cc: <stable@vger.kernel.org> # 6.0+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-13 18:39:04 +01:00
Nikolay Borisov
0870f19b54 x86: Introduce ia32_enabled()
[ upstream commit 1da5c9bc119d3a749b519596b93f9b2667e93c4a ]

IA32 support on 64bit kernels depends on whether CONFIG_IA32_EMULATION
is selected or not. As it is a compile time option it doesn't
provide the flexibility to have distributions set their own policy for
IA32 support and give the user the flexibility to override it.

As a first step introduce ia32_enabled() which abstracts whether IA32
compat is turned on or off. Upcoming patches will implement
the ability to set IA32 compat state at boot time.

Signed-off-by: Nikolay Borisov <nik.borisov@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230623111409.3047467-2-nik.borisov@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-13 18:39:04 +01:00
Greg Kroah-Hartman
f1bc13cb9d This is the 6.1.64 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmVmHpsACgkQONu9yGCS
 aT5uvw//SzcE0GImnHnfeN7iXtpFE9O0fhTxsjZCi8/HTXmGWPtQgWscd9y81bAd
 EHBVr456GXqd6KuIF+03g/r/FYinwWqK375meLfaybw1vSBP+fZttrEGqz6nTnYD
 yqOxw2bqgz8Xjp63UeNHD6mifpBvVtuAvzrfO1E2Ie/U1OU2uKdjRRv0iijKNeWN
 liOYTXaddIkVfZR0z6dVTl0hb5dPWsxNmF77kfVpKz4ALIHJcO13DlUuKtQz6Sb6
 0ElmJpuonHuUxHzb8e9LLsFy3IvbBqomSscwcd0tngtdUTzhMYFIZLjg2+WQ9Ovq
 raMGqvS/bKsoyoTBNKL83QB2NyXQb3vkfL0NgLsq9IwDl+r96mP9ctANYGwSjhND
 o/4sa/fbMFzeInA8Rzh7i56RCNstOBKApJPhBzWuY0f/6b1BZpvZaONyX3fFksWO
 dMeYT16GgO4lhQXnG3O6mtDT8eoZ1fLf7ZdGEZ2NktcOzXYelNc4aXJke7qdlIop
 CVxM+Ur+juj+DJymo59a6baXjEgIROdHq83N3CZwetGviPHneGqgYc0K7ETtA33H
 sH/0KGYAT8SzzjMlnXB0lpjp68WViJfzzo9Wxdf2aDZbL3SdI14GPKMUeDqqeSyU
 8bB2Hb4ItccRFW9RriiE3BPGnLGu7PDTkn5TgXDG/bDX54Cb5DQ=
 =YPzI
 -----END PGP SIGNATURE-----

Merge 6.1.64 into android14-6.1-lts

Changes in 6.1.64
	locking/ww_mutex/test: Fix potential workqueue corruption
	lib/generic-radix-tree.c: Don't overflow in peek()
	perf/core: Bail out early if the request AUX area is out of bound
	srcu: Fix srcu_struct node grpmask overflow on 64-bit systems
	selftests/lkdtm: Disable CONFIG_UBSAN_TRAP in test config
	clocksource/drivers/timer-imx-gpt: Fix potential memory leak
	clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
	smp,csd: Throw an error if a CSD lock is stuck for too long
	cpu/hotplug: Don't offline the last non-isolated CPU
	workqueue: Provide one lock class key per work_on_cpu() callsite
	x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
	wifi: plfxlc: fix clang-specific fortify warning
	wifi: mac80211_hwsim: fix clang-specific fortify warning
	wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
	atl1c: Work around the DMA RX overflow issue
	bpf: Detect IP == ksym.end as part of BPF program
	wifi: ath9k: fix clang-specific fortify warnings
	wifi: ath10k: fix clang-specific fortify warning
	net: annotate data-races around sk->sk_tx_queue_mapping
	net: annotate data-races around sk->sk_dst_pending_confirm
	wifi: ath10k: Don't touch the CE interrupt registers after power up
	vsock: read from socket's error queue
	bpf: Ensure proper register state printing for cond jumps
	Bluetooth: btusb: Add date->evt_skb is NULL check
	Bluetooth: Fix double free in hci_conn_cleanup
	ACPI: EC: Add quirk for HP 250 G7 Notebook PC
	tsnep: Fix tsnep_request_irq() format-overflow warning
	platform/chrome: kunit: initialize lock for fake ec_dev
	platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
	drm/gma500: Fix call trace when psb_gem_mm_init() fails
	drm/komeda: drop all currently held locks if deadlock happens
	drm/amdgpu: not to save bo in the case of RAS err_event_athub
	drm/amdkfd: Fix a race condition of vram buffer unref in svm code
	drm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments
	drm/amd/display: use full update for clip size increase of large plane source
	string.h: add array-wrappers for (v)memdup_user()
	kernel: kexec: copy user-array safely
	kernel: watch_queue: copy user-array safely
	drm_lease.c: copy user-array safely
	drm: vmwgfx_surface.c: copy user-array safely
	drm/msm/dp: skip validity check for DP CTS EDID checksum
	drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
	drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
	drm/amdgpu: Fix potential null pointer derefernce
	drm/panel: fix a possible null pointer dereference
	drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
	drm/radeon: fix a possible null pointer dereference
	drm/amdgpu/vkms: fix a possible null pointer dereference
	drm/panel: st7703: Pick different reset sequence
	drm/amdkfd: Fix shift out-of-bounds issue
	drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
	arm64: dts: ls208xa: use a pseudo-bus to constrain usb dma size
	selftests/efivarfs: create-read: fix a resource leak
	ASoC: soc-card: Add storage for PCI SSID
	ASoC: SOF: Pass PCI SSID to machine driver
	crypto: pcrypt - Fix hungtask for PADATA_RESET
	ASoC: SOF: ipc4: handle EXCEPTION_CAUGHT notification from firmware
	RDMA/hfi1: Use FIELD_GET() to extract Link Width
	scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs
	scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool
	fs/jfs: Add check for negative db_l2nbperpage
	fs/jfs: Add validity check for db_maxag and db_agpref
	jfs: fix array-index-out-of-bounds in dbFindLeaf
	jfs: fix array-index-out-of-bounds in diAlloc
	HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround
	ARM: 9320/1: fix stack depot IRQ stack filter
	ALSA: hda: Fix possible null-ptr-deref when assigning a stream
	PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
	PCI: mvebu: Use FIELD_PREP() with Link Width
	atm: iphase: Do PCI error checks on own line
	PCI: Do error check on own line to split long "if" conditions
	scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
	PCI: Use FIELD_GET() to extract Link Width
	PCI: Extract ATS disabling to a helper function
	PCI: Disable ATS for specific Intel IPU E2000 devices
	misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller
	PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
	ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk
	crypto: hisilicon/qm - prevent soft lockup in receive loop
	HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
	exfat: support handle zero-size directory
	mfd: intel-lpss: Add Intel Lunar Lake-M PCI IDs
	iio: adc: stm32-adc: harden against NULL pointer deref in stm32_adc_probe()
	thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager
	tty: vcc: Add check for kstrdup() in vcc_probe()
	usb: dwc3: core: configure TX/RX threshold for DWC3_IP
	soundwire: dmi-quirks: update HP Omen match
	f2fs: fix error handling of __get_node_page
	usb: gadget: f_ncm: Always set current gadget in ncm_bind()
	9p/trans_fd: Annotate data-racy writes to file::f_flags
	9p: v9fs_listxattr: fix %s null argument warning
	i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
	i2c: fix memleak in i2c_new_client_device()
	i2c: sun6i-p2wi: Prevent potential division by zero
	virtio-blk: fix implicit overflow on virtio_max_dma_size
	i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
	media: gspca: cpia1: shift-out-of-bounds in set_flicker
	media: vivid: avoid integer overflow
	gfs2: ignore negated quota changes
	gfs2: fix an oops in gfs2_permission
	media: cobalt: Use FIELD_GET() to extract Link Width
	media: ccs: Fix driver quirk struct documentation
	media: imon: fix access to invalid resource for the second interface
	drm/amd/display: Avoid NULL dereference of timing generator
	kgdb: Flush console before entering kgdb on panic
	i2c: dev: copy userspace array safely
	ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
	drm/qxl: prevent memory leak
	ALSA: hda/realtek: Add quirk for ASUS UX7602ZM
	drm/amdgpu: fix software pci_unplug on some chips
	pwm: Fix double shift bug
	mtd: rawnand: tegra: add missing check for platform_get_irq()
	wifi: iwlwifi: Use FW rate for non-data frames
	sched/core: Optimize in_task() and in_interrupt() a bit
	SUNRPC: ECONNRESET might require a rebind
	mtd: rawnand: intel: check return value of devm_kasprintf()
	mtd: rawnand: meson: check return value of devm_kasprintf()
	NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking
	SUNRPC: Add an IS_ERR() check back to where it was
	NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
	SUNRPC: Fix RPC client cleaned up the freed pipefs dentries
	gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
	vhost-vdpa: fix use after free in vhost_vdpa_probe()
	net: set SOCK_RCU_FREE before inserting socket into hashtable
	ipvlan: add ipvlan_route_v6_outbound() helper
	tty: Fix uninit-value access in ppp_sync_receive()
	net: hns3: fix add VLAN fail issue
	net: hns3: add barrier in vf mailbox reply process
	net: hns3: fix incorrect capability bit display for copper port
	net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
	net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
	net: hns3: fix VF reset fail issue
	net: hns3: fix VF wrong speed and duplex issue
	tipc: Fix kernel-infoleak due to uninitialized TLV value
	net: mvneta: fix calls to page_pool_get_stats
	ppp: limit MRU to 64K
	xen/events: fix delayed eoi list handling
	ptp: annotate data-race around q->head and q->tail
	bonding: stop the device in bond_setup_by_slave()
	net: ethernet: cortina: Fix max RX frame define
	net: ethernet: cortina: Handle large frames
	net: ethernet: cortina: Fix MTU max setting
	af_unix: fix use-after-free in unix_stream_read_actor()
	netfilter: nf_conntrack_bridge: initialize err to 0
	netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
	net: stmmac: fix rx budget limit check
	net: stmmac: avoid rx queue overrun
	net/mlx5e: fix double free of encap_header
	net/mlx5e: fix double free of encap_header in update funcs
	net/mlx5e: Fix pedit endianness
	net/mlx5e: Reduce the size of icosq_str
	net/mlx5e: Check return value of snprintf writing to fw_version buffer
	net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
	macvlan: Don't propagate promisc change to lower dev in passthru
	tools/power/turbostat: Fix a knl bug
	tools/power/turbostat: Enable the C-state Pre-wake printing
	cifs: spnego: add ';' in HOST_KEY_LEN
	cifs: fix check of rc in function generate_smb3signingkey
	i915/perf: Fix NULL deref bugs with drm_dbg() calls
	media: venus: hfi: add checks to perform sanity on queue pointers
	perf intel-pt: Fix async branch flags
	powerpc/perf: Fix disabling BHRB and instruction sampling
	randstruct: Fix gcc-plugin performance mode to stay in group
	bpf: Fix check_stack_write_fixed_off() to correctly spill imm
	bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
	scsi: mpt3sas: Fix loop logic
	scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
	scsi: qla2xxx: Fix system crash due to bad pointer access
	crypto: x86/sha - load modules based on CPU features
	x86/cpu/hygon: Fix the CPU topology evaluation for real
	KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
	KVM: x86: Ignore MSR_AMD64_TW_CFG access
	KVM: x86: Clear bit12 of ICR after APIC-write VM-exit
	audit: don't take task_lock() in audit_exe_compare() code path
	audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
	proc: sysctl: prevent aliased sysctls from getting passed to init
	tty/sysrq: replace smp_processor_id() with get_cpu()
	tty: serial: meson: fix hard LOCKUP on crtscts mode
	hvc/xen: fix console unplug
	hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
	hvc/xen: fix event channel handling for secondary consoles
	PCI/sysfs: Protect driver's D3cold preference from user space
	mm/damon/sysfs: remove requested targets when online-commit inputs
	mm/damon/sysfs: update monitoring target regions for online input commit
	watchdog: move softlockup_panic back to early_param
	mm/damon/lru_sort: avoid divide-by-zero in hot threshold calculation
	mm/damon/ops-common: avoid divide-by-zero during region hotness calculation
	mm/damon: implement a function for max nr_accesses safe calculation
	mm/damon/sysfs: check error from damon_sysfs_update_target()
	ACPI: resource: Do IRQ override on TongFang GMxXGxx
	regmap: Ensure range selector registers are updated after cache sync
	wifi: ath11k: fix temperature event locking
	wifi: ath11k: fix dfs radar event locking
	wifi: ath11k: fix htt pktlog locking
	wifi: ath11k: fix gtk offload status event locking
	mmc: meson-gx: Remove setting of CMD_CFG_ERROR
	genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
	KEYS: trusted: tee: Refactor register SHM usage
	KEYS: trusted: Rollback init_trusted() consistently
	PCI: keystone: Don't discard .remove() callback
	PCI: keystone: Don't discard .probe() callback
	arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
	parisc/pdc: Add width field to struct pdc_model
	parisc/power: Add power soft-off when running on qemu
	clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_data
	clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
	clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
	ksmbd: handle malformed smb1 message
	ksmbd: fix slab out of bounds write in smb_inherit_dacl()
	mmc: vub300: fix an error code
	mmc: sdhci_am654: fix start loop index for TAP value parsing
	mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A
	PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
	PCI: kirin: Don't discard .remove() callback
	PCI: exynos: Don't discard .remove() callback
	wifi: wilc1000: use vmm_table as array in wilc struct
	svcrdma: Drop connection after an RDMA Read error
	rcu/tree: Defer setting of jiffies during stall reset
	arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
	PM: hibernate: Use __get_safe_page() rather than touching the list
	PM: hibernate: Clean up sync_read handling in snapshot_write_next()
	rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects
	btrfs: don't arbitrarily slow down delalloc if we're committing
	arm64: dts: qcom: ipq8074: Fix hwlock index for SMEM
	firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit
	ACPI: FPDT: properly handle invalid FPDT subtables
	arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
	mfd: qcom-spmi-pmic: Fix reference leaks in revid helper
	mfd: qcom-spmi-pmic: Fix revid implementation
	ima: annotate iint mutex to avoid lockdep false positive warnings
	ima: detect changes to the backing overlay file
	netfilter: nf_tables: remove catchall element in GC sync path
	netfilter: nf_tables: split async and sync catchall in two functions
	selftests/resctrl: Remove duplicate feature check from CMT test
	selftests/resctrl: Move _GNU_SOURCE define into Makefile
	selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests
	hid: lenovo: Resend all settings on reset_resume for compact keyboards
	ASoC: codecs: wsa-macro: fix uninitialized stack variables with name prefix
	jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
	quota: explicitly forbid quota files from being encrypted
	kernel/reboot: emergency_restart: Set correct system_state
	i2c: core: Run atomic i2c xfer when !preemptible
	tracing: Have the user copy of synthetic event address use correct context
	driver core: Release all resources during unbind before updating device links
	mcb: fix error handling for different scenarios when parsing
	dmaengine: stm32-mdma: correct desc prep when channel running
	s390/cmma: fix detection of DAT pages
	mm/cma: use nth_page() in place of direct struct page manipulation
	mm/memory_hotplug: use pfn math in place of direct struct page manipulation
	mtd: cfi_cmdset_0001: Byte swap OTP info
	i3c: master: cdns: Fix reading status register
	i3c: master: svc: fix race condition in ibi work thread
	i3c: master: svc: fix wrong data return when IBI happen during start frame
	i3c: master: svc: fix ibi may not return mandatory data byte
	i3c: master: svc: fix check wrong status register in irq handler
	i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
	parisc: Prevent booting 64-bit kernels on PA1.x machines
	parisc/pgtable: Do not drop upper 5 address bits of physical address
	parisc/power: Fix power soft-off when running on qemu
	xhci: Enable RPM on controllers that support low-power states
	fs: add ctime accessors infrastructure
	smb3: fix creating FIFOs when mounting with "sfu" mount option
	smb3: fix touch -h of symlink
	smb3: fix caching of ctime on setxattr
	smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
	smb: client: fix potential deadlock when releasing mids
	cifs: reconnect helper should set reconnect for the right channel
	cifs: force interface update before a fresh session setup
	cifs: do not reset chan_max if multichannel is not supported at mount
	xfs: recovery should not clear di_flushiter unconditionally
	btrfs: zoned: wait for data BG to be finished on direct IO allocation
	ALSA: info: Fix potential deadlock at disconnection
	ALSA: hda/realtek: Enable Mute LED on HP 255 G8
	ALSA: hda/realtek - Add Dell ALC295 to pin fall back table
	ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
	ALSA: hda/realtek: Enable Mute LED on HP 255 G10
	ALSA: hda/realtek: Add quirks for HP Laptops
	pmdomain: bcm: bcm2835-power: check if the ASB register is equal to enable
	pmdomain: imx: Make imx pgc power domain also set the fwnode
	cpufreq: stats: Fix buffer overflow detection in trans_stats()
	clk: visconti: remove unused visconti_pll_provider::regmap
	clk: visconti: Fix undefined behavior bug in struct visconti_pll_provider
	Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559
	bluetooth: Add device 0bda:887b to device tables
	bluetooth: Add device 13d3:3571 to device tables
	Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables
	Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE
	drm/amd/display: enable dsc_clk even if dsc_pg disabled
	cxl/region: Validate region mode vs decoder mode
	cxl/region: Cleanup target list on attach error
	cxl/region: Move region-position validation to a helper
	cxl/region: Do not try to cleanup after cxl_region_setup_targets() fails
	i3c: master: svc: add NACK check after start byte sent
	i3c: master: svc: fix random hot join failure since timeout error
	cxl: Unify debug messages when calling devm_cxl_add_port()
	cxl/mem: Move devm_cxl_add_endpoint() from cxl_core to cxl_mem
	tools/testing/cxl: Define a fixed volatile configuration to parse
	cxl/region: Fix x1 root-decoder granularity calculations
	Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
	Revert "i2c: pxa: move to generic GPIO recovery"
	lsm: fix default return value for vm_enough_memory
	lsm: fix default return value for inode_getsecctx
	sbsa_gwdt: Calculate timeout with 64-bit math
	i2c: designware: Disable TX_EMPTY irq while waiting for block length byte
	s390/ap: fix AP bus crash on early config change callback invocation
	net: ethtool: Fix documentation of ethtool_sprintf()
	net: dsa: lan9303: consequently nested-lock physical MDIO
	net: phylink: initialize carrier state at creation
	i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
	f2fs: do not return EFSCORRUPTED, but try to run online repair
	f2fs: avoid format-overflow warning
	media: lirc: drop trailing space from scancode transmit
	media: sharp: fix sharp encoding
	media: venus: hfi_parser: Add check to keep the number of codecs within range
	media: venus: hfi: fix the check to handle session buffer requirement
	media: venus: hfi: add checks to handle capabilities from firmware
	media: ccs: Correctly initialise try compose rectangle
	drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection
	drm/mediatek/dp: fix memory leak on ->get_edid callback error path
	dm-verity: don't use blocking calls from tasklets
	nfsd: fix file memleak on client_opens_release
	LoongArch: Mark __percpu functions as always inline
	riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
	riscv: correct pt_level name via pgtable_l5/4_enabled
	riscv: kprobes: allow writing to x0
	mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
	mm: fix for negative counter: nr_file_hugepages
	mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
	mptcp: deal with large GSO size
	mptcp: add validity check for sending RM_ADDR
	mptcp: fix setsockopt(IP_TOS) subflow locking
	r8169: fix network lost after resume on DASH systems
	r8169: add handling DASH when DASH is disabled
	mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER
	media: qcom: camss: Fix pm_domain_on sequence in probe
	media: qcom: camss: Fix vfe_get() error jump
	media: qcom: camss: Fix VFE-17x vfe_disable_output()
	media: qcom: camss: Fix VFE-480 vfe_disable_output()
	media: qcom: camss: Fix missing vfe_lite clocks check
	media: qcom: camss: Fix invalid clock enable bit disjunction
	media: qcom: camss: Fix csid-gen2 for test pattern generator
	Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
	ext4: apply umask if ACL support is disabled
	ext4: correct offset of gdb backup in non meta_bg group to update_backups
	ext4: mark buffer new if it is unwritten to avoid stale data exposure
	ext4: correct return value of ext4_convert_meta_bg
	ext4: correct the start block of counting reserved clusters
	ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
	ext4: add missed brelse in update_backups
	ext4: properly sync file size update after O_SYNC direct IO
	drm/amd/pm: Handle non-terminated overdrive commands.
	drm/i915: Bump GLK CDCLK frequency when driving multiple pipes
	drm/i915: Fix potential spectre vulnerability
	drm/amd/pm: Fix error of MACO flag setting code
	drm/amdgpu/smu13: drop compute workload workaround
	drm/amdgpu: don't use pci_is_thunderbolt_attached()
	drm/amdgpu: don't use ATRM for external devices
	drm/amdgpu: fix error handling in amdgpu_bo_list_get()
	drm/amdgpu: lower CS errors to debug severity
	drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()
	drm/amd/display: Enable fast plane updates on DCN3.2 and above
	drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
	powerpc/powernv: Fix fortify source warnings in opal-prd.c
	tracing: Have trace_event_file have ref counters
	Input: xpad - add VID for Turtle Beach controllers
	mmc: sdhci-pci-gli: GL9755: Mask the replay timer timeout of AER
	cxl/port: Fix NULL pointer access in devm_cxl_add_port()
	RISC-V: drop error print from riscv_hartid_to_cpuid()
	Linux 6.1.64

Change-Id: I9284282aeae5d0f9da957a58147efe0114f8e60a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-12-12 18:41:13 +00:00
Joerg Roedel
b2b3a1e6d1 UPSTREAM: x86/sev: Check for user-space IOIO pointing to kernel space
Upstream commit: 63e44bc52047f182601e7817da969a105aa1f721

Check the memory operand of INS/OUTS before emulating the instruction.
The #VC exception can get raised from user-space, but the memory operand
can be manipulated to access kernel memory before the emulation actually
begins and after the exception handler has run.

  [ bp: Massage commit message. ]

Bug: 309733863
Fixes: 597cfe4821 ("x86/boot/compressed/64: Setup a GHCB-based VC Exception handler")
Reported-by: Tom Dohrmann <erbse.13@gmx.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 57d0639f60)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: Iac1c2f15cc922ab215d57654b004d020a0b65e53
2023-12-12 18:32:31 +00:00
Joerg Roedel
62b97630d4 UPSTREAM: x86/sev: Check IOBM for IOIO exceptions from user-space
Upstream commit: b9cb9c45583b911e0db71d09caa6b56469eb2bdf

Check the IO permission bitmap (if present) before emulating IOIO #VC
exceptions for user-space. These permissions are checked by hardware
already before the #VC is raised, but due to the VC-handler decoding
race it needs to be checked again in software.

Bug: 309733863
Fixes: 25189d08e5 ("x86/sev-es: Add support for handling IOIO exceptions")
Reported-by: Tom Dohrmann <erbse.13@gmx.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Tom Dohrmann <erbse.13@gmx.de>
Cc: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit def94eb9a8)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: Ia520acc67da21353148fd07a3a8e48ee8a97d364
2023-12-12 18:32:28 +00:00
Koichiro Den
adf0ecebf0 x86/apic/msi: Fix misconfigured non-maskable MSI quirk
commit b56ebe7c896dc78b5865ec2c4b1dae3c93537517 upstream.

commit ef8dd01538 ("genirq/msi: Make interrupt allocation less
convoluted"), reworked the code so that the x86 specific quirk for affinity
setting of non-maskable PCI/MSI interrupts is not longer activated if
necessary.

This could be solved by restoring the original logic in the core MSI code,
but after a deeper analysis it turned out that the quirk flag is not
required at all.

The quirk is only required when the PCI/MSI device cannot mask the MSI
interrupts, which in turn also prevents reservation mode from being enabled
for the affected interrupt.

This allows ot remove the NOMASK quirk bit completely as msi_set_affinity()
can instead check whether reservation mode is enabled for the interrupt,
which gives exactly the same answer.

Even in the momentary non-existing case that the reservation mode would be
not set for a maskable MSI interrupt this would not cause any harm as it
just would cause msi_set_affinity() to go needlessly through the
functionaly equivalent slow path, which works perfectly fine with maskable
interrupts as well.

Rework msi_set_affinity() to query the reservation mode and remove all
NOMASK quirk logic from the core code.

[ tglx: Massaged changelog ]

Fixes: ef8dd01538 ("genirq/msi: Make interrupt allocation less convoluted")
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Koichiro Den <den@valinux.co.jp>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20231026032036.2462428-1-den@valinux.co.jp
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-08 08:51:20 +01:00
Juergen Gross
b3b839fb63 x86/xen: fix percpu vcpu_info allocation
[ Upstream commit db2832309a82b9acc4b8cc33a1831d36507ec13e ]

Today the percpu struct vcpu_info is allocated via DEFINE_PER_CPU(),
meaning that it could cross a page boundary. In this case registering
it with the hypervisor will fail, resulting in a panic().

This can easily be fixed by using DEFINE_PER_CPU_ALIGNED() instead,
as struct vcpu_info is guaranteed to have a size of 64 bytes, matching
the cache line size of x86 64-bit processors (Xen doesn't support
32-bit processors).

Fixes: 5ead97c84f ("xen: Core Xen implementation")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.con>
Link: https://lore.kernel.org/r/20231124074852.25161-1-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-08 08:51:20 +01:00
Juergen Gross
00bc8b2cf4 xen: simplify evtchn_do_upcall() call maze
[ Upstream commit 37510dd566bdbff31a769cde2fa6654bccdb8b24 ]

There are several functions involved for performing the functionality
of evtchn_do_upcall():

- __xen_evtchn_do_upcall() doing the real work
- xen_hvm_evtchn_do_upcall() just being a wrapper for
  __xen_evtchn_do_upcall(), exposed for external callers
- xen_evtchn_do_upcall() calling __xen_evtchn_do_upcall(), too, but
  without any user

Simplify this maze by:

- removing the unused xen_evtchn_do_upcall()
- removing xen_hvm_evtchn_do_upcall() as the only left caller of
  __xen_evtchn_do_upcall(), while renaming __xen_evtchn_do_upcall() to
  xen_evtchn_do_upcall()

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Juergen Gross <jgross@suse.com>
Stable-dep-of: db2832309a82 ("x86/xen: fix percpu vcpu_info allocation")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-08 08:51:20 +01:00
Haitao Shan
7545ddda9c KVM: x86: Fix lapic timer interrupt lost after loading a snapshot.
[ Upstream commit 9cfec6d097c607e36199cf0cfbb8cf5acbd8e9b2 ]

When running android emulator (which is based on QEMU 2.12) on
certain Intel hosts with kernel version 6.3-rc1 or above, guest
will freeze after loading a snapshot. This is almost 100%
reproducible. By default, the android emulator will use snapshot
to speed up the next launching of the same android guest. So
this breaks the android emulator badly.

I tested QEMU 8.0.4 from Debian 12 with an Ubuntu 22.04 guest by
running command "loadvm" after "savevm". The same issue is
observed. At the same time, none of our AMD platforms is impacted.
More experiments show that loading the KVM module with
"enable_apicv=false" can workaround it.

The issue started to show up after commit 8e6ed96cdd50 ("KVM: x86:
fire timer when it is migrated and expired, and in oneshot mode").
However, as is pointed out by Sean Christopherson, it is introduced
by commit 967235d320 ("KVM: vmx: clear pending interrupts on
KVM_SET_LAPIC"). commit 8e6ed96cdd50 ("KVM: x86: fire timer when
it is migrated and expired, and in oneshot mode") just makes it
easier to hit the issue.

Having both commits, the oneshot lapic timer gets fired immediately
inside the KVM_SET_LAPIC call when loading the snapshot. On Intel
platforms with APIC virtualization and posted interrupt processing,
this eventually leads to setting the corresponding PIR bit. However,
the whole PIR bits get cleared later in the same KVM_SET_LAPIC call
by apicv_post_state_restore. This leads to timer interrupt lost.

The fix is to move vmx_apicv_post_state_restore to the beginning of
the KVM_SET_LAPIC call and rename to vmx_apicv_pre_state_restore.
What vmx_apicv_post_state_restore does is actually clearing any
former apicv state and this behavior is more suitable to carry out
in the beginning.

Fixes: 967235d320 ("KVM: vmx: clear pending interrupts on KVM_SET_LAPIC")
Cc: stable@vger.kernel.org
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Haitao Shan <hshan@google.com>
Link: https://lore.kernel.org/r/20230913000215.478387-1-hshan@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-08 08:51:18 +01:00
Tao Su
43cea54109 KVM: x86: Clear bit12 of ICR after APIC-write VM-exit
commit 629d3698f6958ee6f8131ea324af794f973b12ac upstream.

When IPI virtualization is enabled, a WARN is triggered if bit12 of ICR
MSR is set after APIC-write VM-exit. The reason is kvm_apic_send_ipi()
thinks the APIC_ICR_BUSY bit should be cleared because KVM has no delay,
but kvm_apic_write_nodecode() doesn't clear the APIC_ICR_BUSY bit.

Under the x2APIC section, regarding ICR, the SDM says:

  It remains readable only to aid in debugging; however, software should
  not assume the value returned by reading the ICR is the last written
  value.

I.e. the guest is allowed to set bit 12.  However, the SDM also gives KVM
free reign to do whatever it wants with the bit, so long as KVM's behavior
doesn't confuse userspace or break KVM's ABI.

Clear bit 12 so that it reads back as '0'. This approach is safer than
"do nothing" and is consistent with the case where IPI virtualization is
disabled or not supported, i.e.,

  handle_fastpath_set_x2apic_icr_irqoff() -> kvm_x2apic_icr_write()

Opportunistically replace the TODO with a comment calling out that eating
the write is likely faster than a conditional branch around the busy bit.

Link: https://lore.kernel.org/all/ZPj6iF0Q7iynn62p@google.com/
Fixes: 5413bcba7e ("KVM: x86: Add support for vICR APIC-write VM-Exits in x2APIC mode")
Cc: stable@vger.kernel.org
Signed-off-by: Tao Su <tao1.su@linux.intel.com>
Tested-by: Yi Lai <yi1.lai@intel.com>
Reviewed-by: Chao Gao <chao.gao@intel.com>
Link: https://lore.kernel.org/r/20230914055504.151365-1-tao1.su@linux.intel.com
[sean: tweak changelog, replace TODO with comment, drop local "val"]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 17:07:08 +00:00
Maciej S. Szmigiero
27976fa917 KVM: x86: Ignore MSR_AMD64_TW_CFG access
commit 2770d4722036d6bd24bcb78e9cd7f6e572077d03 upstream.

Hyper-V enabled Windows Server 2022 KVM VM cannot be started on Zen1 Ryzen
since it crashes at boot with SYSTEM_THREAD_EXCEPTION_NOT_HANDLED +
STATUS_PRIVILEGED_INSTRUCTION (in other words, because of an unexpected #GP
in the guest kernel).

This is because Windows tries to set bit 8 in MSR_AMD64_TW_CFG and can't
handle receiving a #GP when doing so.

Give this MSR the same treatment that commit 2e32b71906
("x86, kvm: Add MSR_AMD64_BU_CFG2 to the list of ignored MSRs") gave
MSR_AMD64_BU_CFG2 under justification that this MSR is baremetal-relevant
only.
Although apparently it was then needed for Linux guests, not Windows as in
this case.

With this change, the aforementioned guest setup is able to finish booting
successfully.

This issue can be reproduced either on a Summit Ridge Ryzen (with
just "-cpu host") or on a Naples EPYC (with "-cpu host,stepping=1" since
EPYC is ordinarily stepping 2).

Alternatively, userspace could solve the problem by using MSR filters, but
forcing every userspace to define a filter isn't very friendly and doesn't
add much, if any, value.  The only potential hiccup is if one of these
"baremetal-only" MSRs ever requires actual emulation and/or has F/M/S
specific behavior.  But if that happens, then KVM can still punt *that*
handling to userspace since userspace MSR filters "win" over KVM's default
handling.

Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/1ce85d9c7c9e9632393816cf19c902e0a3f411f1.1697731406.git.maciej.szmigiero@oracle.com
[sean: call out MSR filtering alternative]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 17:07:08 +00:00
Nicolas Saenz Julienne
7e218114a2 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
commit d6800af51c76b6dae20e6023bbdc9b3da3ab5121 upstream.

Don't apply the stimer's counter side effects when modifying its
value from user-space, as this may trigger spurious interrupts.

For example:
 - The stimer is configured in auto-enable mode.
 - The stimer's count is set and the timer enabled.
 - The stimer expires, an interrupt is injected.
 - The VM is live migrated.
 - The stimer config and count are deserialized, auto-enable is ON, the
   stimer is re-enabled.
 - The stimer expires right away, and injects an unwarranted interrupt.

Cc: stable@vger.kernel.org
Fixes: 1f4b34f825 ("kvm/x86: Hyper-V SynIC timers")
Signed-off-by: Nicolas Saenz Julienne <nsaenz@amazon.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20231017155101.40677-1-nsaenz@amazon.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 17:07:08 +00:00
Pu Wen
41689ef19b x86/cpu/hygon: Fix the CPU topology evaluation for real
commit ee545b94d39a00c93dc98b1dbcbcf731d2eadeb4 upstream.

Hygon processors with a model ID > 3 have CPUID leaf 0xB correctly
populated and don't need the fixed package ID shift workaround. The fixup
is also incorrect when running in a guest.

Fixes: e0ceeae708 ("x86/CPU/hygon: Fix phys_proc_id calculation logic for multi-die processors")
Signed-off-by: Pu Wen <puwen@hygon.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/tencent_594804A808BD93A4EBF50A994F228E3A7F07@qq.com
Link: https://lore.kernel.org/r/20230814085112.089607918@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 17:07:07 +00:00
Roxana Nicolescu
f0732c646a crypto: x86/sha - load modules based on CPU features
commit 1c43c0f1f84aa59dfc98ce66f0a67b2922aa7f9d upstream.

x86 optimized crypto modules are built as modules rather than build-in and
they are not loaded when the crypto API is initialized, resulting in the
generic builtin module (sha1-generic) being used instead.

It was discovered when creating a sha1/sha256 checksum of a 2Gb file by
using kcapi-tools because it would take significantly longer than creating
a sha512 checksum of the same file. trace-cmd showed that for sha1/256 the
generic module was used, whereas for sha512 the optimized module was used
instead.

Add module aliases() for these x86 optimized crypto modules based on CPU
feature bits so udev gets a chance to load them later in the boot
process. This resulted in ~3x decrease in the real-time execution of
kcapi-dsg.

Fix is inspired from commit
aa031b8f70 ("crypto: x86/sha512 - load based on CPU features")
where a similar fix was done for sha512.

Cc: stable@vger.kernel.org # 5.15+
Suggested-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Suggested-by: Julian Andres Klode <julian.klode@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 17:07:07 +00:00
Mike Rapoport (IBM)
b5046b2532 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
[ Upstream commit a1e2b8b36820d8c91275f207e77e91645b7c6836 ]

Qi Zheng reported crashes in a production environment and provided a
simplified example as a reproducer:

 |  For example, if we use Qemu to start a two NUMA node kernel,
 |  one of the nodes has 2M memory (less than NODE_MIN_SIZE),
 |  and the other node has 2G, then we will encounter the
 |  following panic:
 |
 |    BUG: kernel NULL pointer dereference, address: 0000000000000000
 |    <...>
 |    RIP: 0010:_raw_spin_lock_irqsave+0x22/0x40
 |    <...>
 |    Call Trace:
 |      <TASK>
 |      deactivate_slab()
 |      bootstrap()
 |      kmem_cache_init()
 |      start_kernel()
 |      secondary_startup_64_no_verify()

The crashes happen because of inconsistency between the nodemask that
has nodes with less than 4MB as memoryless, and the actual memory fed
into the core mm.

The commit:

  9391a3f9c7 ("[PATCH] x86_64: Clear more state when ignoring empty node in SRAT parsing")

... that introduced minimal size of a NUMA node does not explain why
a node size cannot be less than 4MB and what boot failures this
restriction might fix.

Fixes have been submitted to the core MM code to tighten up the
memory topologies it accepts and to not crash on weird input:

  mm: page_alloc: skip memoryless nodes entirely
  mm: memory_hotplug: drop memoryless node from fallback lists

Andrew has accepted them into the -mm tree, but there are no
stable SHA1's yet.

This patch drops the limitation for minimal node size on x86:

  - which works around the crash without the fixes to the core MM.
  - makes x86 topologies less weird,
  - removes an arbitrary and undocumented limitation on NUMA topologies.

[ mingo: Improved changelog clarity. ]

Reported-by: Qi Zheng <zhengqi.arch@bytedance.com>
Tested-by: Mario Casquero <mcasquer@redhat.com>
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Rik van Riel <riel@surriel.com>
Link: https://lore.kernel.org/r/ZS+2qqjEO5/867br@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-28 17:06:55 +00:00
Greg Kroah-Hartman
2b3ea8bdef This is the 6.1.63 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmVbOmsACgkQONu9yGCS
 aT5m1RAAx7hgbFDnLHCGh4YVBbNy8JngItsUBaJcI/67Mk5toNi0x8pqcS8mq7ED
 GTwRnRcKaIR2bTyco5Ed2OZn4jMCyHC4oiyBZnHWg6AMuQjSCYzIgm7DzlTCVYZ7
 2r8uRbt/uXADTILJ2kwR2mtVpGcwrXa+lsHrMqvt+MvNwRoSVHBHVVYCrAc+JXwR
 GXCopzV/RFGS6w4SBsX0K+8pV7GO+bhpxJ1lPz1T/xeLYfT4C3EwSTWDbUXPbez7
 IpJ+5yKJXXT9Xn9m/pekwZ/aOirLqtEbDxneEctsjvw140lCoQiEZn6ZRscgNEns
 3H+J3Asgc2zXqPzfZFH02TebPj31B8HZ43Upu0okr0hr4A4/4JL9pjXEhm1bON/Z
 x3jlTF4dyay4vOGGIEYOAuJSUbn6AqpZ318uBWCd3BSPocihEDMJz2aoazVHcb6k
 83MVxfFfEL6s9utcoSXB8VjHa4FQmpMYsozegloUSJJCsizgdzmih0buJYhBB9sI
 HbEohW+YAh3cACSn6arXUJIMH5F5xsfD89od2Pj+6UrapdlPz5gCaggA1RZplCho
 bjGc1k61Rp2qSdfMEcx+h4ypgoOdhgqZI0YhYDCgBSRcWOXnGrDjFvnnumatcT+H
 6vqyX6zlNt6U1NpE56Jtf7gt1Ds6PeoadD0L6B8vjXrkdeXOlUU=
 =AZ9s
 -----END PGP SIGNATURE-----

Merge 6.1.63 into android14-6.1-lts

Changes in 6.1.63
	hwmon: (nct6775) Fix incorrect variable reuse in fan_div calculation
	sched/fair: Fix cfs_rq_is_decayed() on !SMP
	iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
	sched/uclamp: Set max_spare_cap_cpu even if max_spare_cap is 0
	sched/uclamp: Ignore (util == 0) optimization in feec() when p_util_max = 0
	objtool: Propagate early errors
	sched: Fix stop_one_cpu_nowait() vs hotplug
	vfs: fix readahead(2) on block devices
	writeback, cgroup: switch inodes with dirty timestamps to release dying cgwbs
	x86/srso: Fix SBPB enablement for (possible) future fixed HW
	futex: Don't include process MM in futex key on no-MMU
	x86/numa: Introduce numa_fill_memblks()
	ACPI/NUMA: Apply SRAT proximity domain to entire CFMWS window
	x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
	x86/boot: Fix incorrect startup_gdt_descr.size
	drivers/clocksource/timer-ti-dm: Don't call clk_get_rate() in stop function
	pstore/platform: Add check for kstrdup
	string: Adjust strtomem() logic to allow for smaller sources
	genirq/matrix: Exclude managed interrupts in irq_matrix_allocated()
	wifi: cfg80211: add flush functions for wiphy work
	wifi: mac80211: move radar detect work to wiphy work
	wifi: mac80211: move scan work to wiphy work
	wifi: mac80211: move offchannel works to wiphy work
	wifi: mac80211: move sched-scan stop work to wiphy work
	wifi: mac80211: fix # of MSDU in A-MSDU calculation
	wifi: iwlwifi: honor the enable_ini value
	i40e: fix potential memory leaks in i40e_remove()
	iavf: Fix promiscuous mode configuration flow messages
	selftests/bpf: Correct map_fd to data_fd in tailcalls
	udp: add missing WRITE_ONCE() around up->encap_rcv
	tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
	gve: Use size_add() in call to struct_size()
	mlxsw: Use size_mul() in call to struct_size()
	tls: Only use data field in crypto completion function
	tls: Use size_add() in call to struct_size()
	tipc: Use size_add() in calls to struct_size()
	net: spider_net: Use size_add() in call to struct_size()
	net: ethernet: mtk_wed: fix EXT_INT_STATUS_RX_FBUF definitions for MT7986 SoC
	wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
	wifi: ath11k: fix boot failure with one MSI vector
	wifi: mt76: mt7603: rework/fix rx pse hang check
	wifi: mt76: mt7603: improve watchdog reset reliablity
	wifi: mt76: mt7603: improve stuck beacon handling
	wifi: mt76: mt7915: fix beamforming availability check
	wifi: ath: dfs_pattern_detector: Fix a memory initialization issue
	tcp_metrics: add missing barriers on delete
	tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
	tcp_metrics: do not create an entry from tcp_init_metrics()
	wifi: rtlwifi: fix EDCA limit set by BT coexistence
	ACPI: property: Allow _DSD buffer data only for byte accessors
	ACPI: video: Add acpi_backlight=vendor quirk for Toshiba Portégé R100
	wifi: ath11k: fix Tx power value during active CAC
	can: dev: can_restart(): don't crash kernel if carrier is OK
	can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
	can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds
	PM / devfreq: rockchip-dfi: Make pmu regmap mandatory
	wifi: wfx: fix case where rates are out of order
	netfilter: nf_tables: Drop pointless memset when dumping rules
	thermal: core: prevent potential string overflow
	r8169: use tp_to_dev instead of open code
	r8169: fix rare issue with broken rx after link-down on RTL8125
	selftests: netfilter: test for sctp collision processing in nf_conntrack
	net: skb_find_text: Ignore patterns extending past 'to'
	chtls: fix tp->rcv_tstamp initialization
	tcp: fix cookie_init_timestamp() overflows
	wifi: iwlwifi: call napi_synchronize() before freeing rx/tx queues
	wifi: iwlwifi: pcie: synchronize IRQs before NAPI
	wifi: iwlwifi: empty overflow queue during flush
	Bluetooth: hci_sync: Fix Opcode prints in bt_dev_dbg/err
	bpf: Fix unnecessary -EBUSY from htab_lock_bucket
	ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
	ipv6: avoid atomic fragment on GSO packets
	net: add DEV_STATS_READ() helper
	ipvlan: properly track tx_errors
	regmap: debugfs: Fix a erroneous check after snprintf()
	spi: tegra: Fix missing IRQ check in tegra_slink_probe()
	clk: qcom: gcc-msm8996: Remove RPM bus clocks
	clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies
	clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks
	clk: qcom: mmcc-msm8998: Fix the SMMU GDSC
	clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
	regulator: mt6358: Fail probe on unknown chip ID
	clk: imx: Select MXC_CLK for CLK_IMX8QXP
	clk: imx: imx8mq: correct error handling path
	clk: imx: imx8qxp: Fix elcdif_pll clock
	clk: renesas: rcar-gen3: Extend SDnH divider table
	clk: renesas: rzg2l: Wait for status bit of SD mux before continuing
	clk: renesas: rzg2l: Lock around writes to mux register
	clk: renesas: rzg2l: Trust value returned by hardware
	clk: renesas: rzg2l: Use FIELD_GET() for PLL register fields
	clk: renesas: rzg2l: Fix computation formula
	clk: linux/clk-provider.h: fix kernel-doc warnings and typos
	spi: nxp-fspi: use the correct ioremap function
	clk: keystone: pll: fix a couple NULL vs IS_ERR() checks
	clk: ti: change ti_clk_register[_omap_hw]() API
	clk: ti: fix double free in of_ti_divider_clk_setup()
	clk: npcm7xx: Fix incorrect kfree
	clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
	clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data
	clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
	clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
	clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
	clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
	clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM
	platform/x86: wmi: Fix probe failure when failing to register WMI devices
	platform/x86: wmi: Fix opening of char device
	hwmon: (axi-fan-control) Fix possible NULL pointer dereference
	hwmon: (coretemp) Fix potentially truncated sysfs attribute name
	Revert "hwmon: (sch56xx-common) Add DMI override table"
	Revert "hwmon: (sch56xx-common) Add automatic module loading on supported devices"
	hwmon: (sch5627) Use bit macros when accessing the control register
	hwmon: (sch5627) Disallow write access if virtual registers are locked
	hte: tegra: Fix missing error code in tegra_hte_test_probe()
	drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs
	drm/rockchip: vop: Fix call to crtc reset helper
	drm/rockchip: vop2: Don't crash for invalid duplicate_state
	drm/rockchip: vop2: Add missing call to crtc reset helper
	drm/radeon: possible buffer overflow
	drm: bridge: it66121: Fix invalid connector dereference
	drm/bridge: lt8912b: Add hot plug detection
	drm/bridge: lt8912b: Fix bridge_detach
	drm/bridge: lt8912b: Fix crash on bridge detach
	drm/bridge: lt8912b: Manually disable HPD only if it was enabled
	drm/bridge: lt8912b: Add missing drm_bridge_attach call
	drm/bridge: tc358768: Fix use of uninitialized variable
	drm/bridge: tc358768: Fix bit updates
	drm/bridge: tc358768: remove unused variable
	drm/bridge: tc358768: Use struct videomode
	drm/bridge: tc358768: Print logical values, not raw register values
	drm/bridge: tc358768: Use dev for dbg prints, not priv->dev
	drm/bridge: tc358768: Rename dsibclk to hsbyteclk
	drm/bridge: tc358768: Clean up clock period code
	drm/bridge: tc358768: Fix tc358768_ns_to_cnt()
	drm/amdkfd: fix some race conditions in vram buffer alloc/free of svm code
	drm/amd/display: Check all enabled planes in dm_check_crtc_cursor
	drm/amd/display: Refactor dm_get_plane_scale helper
	drm/amd/display: Bail from dm_check_crtc_cursor if no relevant change
	io_uring/kbuf: Fix check of BID wrapping in provided buffers
	io_uring/kbuf: Allow the full buffer id space for provided buffers
	drm/mediatek: Fix iommu fault by swapping FBs after updating plane state
	drm/mediatek: Fix iommu fault during crtc enabling
	drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
	gpu: host1x: Correct allocated size for contexts
	drm/bridge: lt9611uxc: fix the race in the error path
	arm64/arm: xen: enlighten: Fix KPTI checks
	drm/rockchip: Fix type promotion bug in rockchip_gem_iommu_map()
	xenbus: fix error exit in xenbus_init()
	xen-pciback: Consider INTx disabled when MSI/MSI-X is enabled
	drm/msm/dsi: use msm_gem_kernel_put to free TX buffer
	drm/msm/dsi: free TX buffer in unbind
	clocksource/drivers/arm_arch_timer: limit XGene-1 workaround
	drm: mediatek: mtk_dsi: Fix NO_EOT_PACKET settings/handling
	drivers/perf: hisi: use cpuhp_state_remove_instance_nocalls() for hisi_hns3_pmu uninit process
	perf/arm-cmn: Revamp model detection
	perf/arm-cmn: Fix DTC domain detection
	drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
	perf: hisi: Fix use-after-free when register pmu fails
	ARM: dts: renesas: blanche: Fix typo in GP_11_2 pin name
	arm64: dts: qcom: sdm845: cheza doesn't support LMh node
	arm64: dts: qcom: sc7280: link usb3_phy_wrapper_gcc_usb30_pipe_clk
	arm64: dts: qcom: msm8916: Fix iommu local address range
	arm64: dts: qcom: msm8992-libra: drop duplicated reserved memory
	arm64: dts: qcom: sc7280: Add missing LMH interrupts
	arm64: dts: qcom: sm8150: add ref clock to PCIe PHYs
	arm64: dts: qcom: sm8350: fix pinctrl for UART18
	arm64: dts: qcom: sdm845-mtp: fix WiFi configuration
	ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins
	arm64: dts: qcom: apq8016-sbc: Add missing ADV7533 regulators
	ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator
	soc: qcom: llcc: Handle a second device without data corruption
	kunit: Fix missed memory release in kunit_free_suite_set()
	firmware: ti_sci: Mark driver as non removable
	arm64: dts: ti: k3-am62a7-sk: Drop i2c-1 to 100Khz
	firmware: arm_ffa: Assign the missing IDR allocation ID to the FFA device
	firmware: arm_ffa: Allow the FF-A drivers to use 32bit mode of messaging
	ARM: dts: am3517-evm: Fix LED3/4 pinmux
	clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
	arm64: dts: imx8qm-ss-img: Fix jpegenc compatible entry
	arm64: dts: imx8mm: Add sound-dai-cells to micfil node
	arm64: dts: imx8mn: Add sound-dai-cells to micfil node
	arm64: tegra: Use correct interrupts for Tegra234 TKE
	selftests/pidfd: Fix ksft print formats
	selftests/resctrl: Ensure the benchmark commands fits to its array
	module/decompress: use vmalloc() for gzip decompression workspace
	ASoC: cs35l41: Verify PM runtime resume errors in IRQ handler
	ASoC: cs35l41: Undo runtime PM changes at driver exit time
	ALSA: hda: cs35l41: Fix unbalanced pm_runtime_get()
	ALSA: hda: cs35l41: Undo runtime PM changes at driver exit time
	KEYS: Include linux/errno.h in linux/verification.h
	crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
	hwrng: bcm2835 - Fix hwrng throughput regression
	hwrng: geode - fix accessing registers
	RDMA/core: Use size_{add,sub,mul}() in calls to struct_size()
	crypto: qat - ignore subsequent state up commands
	crypto: qat - relocate bufferlist logic
	crypto: qat - rename bufferlist functions
	crypto: qat - change bufferlist logic interface
	crypto: qat - generalize crypto request buffers
	crypto: qat - extend buffer list interface
	crypto: qat - fix unregistration of crypto algorithms
	scsi: ibmvfc: Fix erroneous use of rtas_busy_delay with hcall return code
	libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value
	nd_btt: Make BTT lanes preemptible
	crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
	crypto: caam/jr - fix Chacha20 + Poly1305 self test failure
	crypto: qat - increase size of buffers
	PCI: vmd: Correct PCI Header Type Register's multi-function check
	hid: cp2112: Fix duplicate workqueue initialization
	crypto: hisilicon/qm - delete redundant null assignment operations
	crypto: hisilicon/qm - modify the process of regs dfx
	crypto: hisilicon/qm - split a debugfs.c from qm
	crypto: hisilicon/qm - fix PF queue parameter issue
	ARM: 9321/1: memset: cast the constant byte to unsigned char
	ext4: move 'ix' sanity check to corrent position
	ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described
	IB/mlx5: Fix rdma counter binding for RAW QP
	RDMA/hns: Fix printing level of asynchronous events
	RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common()
	RDMA/hns: Fix signed-unsigned mixed comparisons
	RDMA/hns: Add check for SL
	RDMA/hns: The UD mode can only be configured with DCQCN
	ASoC: SOF: core: Ensure sof_ops_free() is still called when probe never ran.
	ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe
	scsi: ufs: core: Leave space for '\0' in utf8 desc string
	RDMA/hfi1: Workaround truncation compilation error
	HID: cp2112: Make irq_chip immutable
	hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip
	sh: bios: Revive earlyprintk support
	Revert "HID: logitech-hidpp: add a module parameter to keep firmware gestures"
	HID: logitech-hidpp: Remove HIDPP_QUIRK_NO_HIDINPUT quirk
	HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
	HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
	HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
	ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
	padata: Fix refcnt handling in padata_free_shell()
	crypto: qat - fix deadlock in backlog processing
	ASoC: ams-delta.c: use component after check
	IB/mlx5: Fix init stage error handling to avoid double free of same QP and UAF
	mfd: core: Un-constify mfd_cell.of_reg
	mfd: core: Ensure disabled devices are skipped without aborting
	mfd: dln2: Fix double put in dln2_probe
	dt-bindings: mfd: mt6397: Add binding for MT6357
	dt-bindings: mfd: mt6397: Split out compatible for MediaTek MT6366 PMIC
	mfd: arizona-spi: Set pdata.hpdet_channel for ACPI enumerated devs
	leds: turris-omnia: Drop unnecessary mutex locking
	leds: turris-omnia: Do not use SMBUS calls
	leds: pwm: Don't disable the PWM when the LED should be off
	leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu'
	kunit: add macro to allow conditionally exposing static symbols to tests
	apparmor: test: make static symbols visible during kunit testing
	apparmor: fix invalid reference on profile->disconnected
	perf stat: Fix aggr mode initialization
	iio: frequency: adf4350: Use device managed functions and fix power down issue.
	perf kwork: Fix incorrect and missing free atom in work_push_atom()
	perf kwork: Add the supported subcommands to the document
	perf kwork: Set ordered_events to true in 'struct perf_tool'
	filemap: add filemap_get_folios_tag()
	f2fs: convert f2fs_write_cache_pages() to use filemap_get_folios_tag()
	f2fs: compress: fix deadloop in f2fs_write_cache_pages()
	f2fs: compress: fix to avoid use-after-free on dic
	f2fs: compress: fix to avoid redundant compress extension
	tty: tty_jobctrl: fix pid memleak in disassociate_ctty()
	livepatch: Fix missing newline character in klp_resolve_symbols()
	pinctrl: renesas: rzg2l: Make reverse order of enable() for disable()
	perf record: Fix BTF type checks in the off-cpu profiling
	dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers
	usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency
	usb: chipidea: Fix DMA overwrite for Tegra
	usb: chipidea: Simplify Tegra DMA alignment code
	dmaengine: ti: edma: handle irq_of_parse_and_map() errors
	misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
	tools: iio: iio_generic_buffer ensure alignment
	USB: usbip: fix stub_dev hub disconnect
	dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc()
	f2fs: fix to initialize map.m_pblk in f2fs_precache_extents()
	interconnect: qcom: sc7180: Retire DEFINE_QBCM
	interconnect: qcom: sc7180: Set ACV enable_mask
	interconnect: qcom: sc7280: Set ACV enable_mask
	interconnect: qcom: sc8180x: Set ACV enable_mask
	interconnect: qcom: sc8280xp: Set ACV enable_mask
	interconnect: qcom: sdm845: Retire DEFINE_QBCM
	interconnect: qcom: sdm845: Set ACV enable_mask
	interconnect: qcom: sm6350: Retire DEFINE_QBCM
	interconnect: qcom: sm6350: Set ACV enable_mask
	interconnect: move ignore_list out of of_count_icc_providers()
	interconnect: qcom: sm8150: Drop IP0 interconnects
	interconnect: qcom: sm8150: Retire DEFINE_QBCM
	interconnect: qcom: sm8150: Set ACV enable_mask
	interconnect: qcom: sm8350: Retire DEFINE_QBCM
	interconnect: qcom: sm8350: Set ACV enable_mask
	powerpc: Only define __parse_fpscr() when required
	modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
	modpost: fix ishtp MODULE_DEVICE_TABLE built on big-endian host
	powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro
	powerpc/xive: Fix endian conversion size
	powerpc/vas: Limit open window failure messages in log bufffer
	powerpc/imc-pmu: Use the correct spinlock initializer.
	powerpc/pseries: fix potential memory leak in init_cpu_associativity()
	xhci: Loosen RPM as default policy to cover for AMD xHC 1.1
	usb: host: xhci-plat: fix possible kernel oops while resuming
	perf machine: Avoid out of bounds LBR memory read
	perf hist: Add missing puts to hist__account_cycles
	9p/net: fix possible memory leak in p9_check_errors()
	i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
	cxl/mem: Fix shutdown order
	crypto: ccp - Name -1 return value as SEV_RET_NO_FW_CALL
	x86/sev: Change snp_guest_issue_request()'s fw_err argument
	virt: sevguest: Fix passing a stack buffer as a scatterlist target
	rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
	pcmcia: cs: fix possible hung task and memory leak pccardd()
	pcmcia: ds: fix refcount leak in pcmcia_device_add()
	pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
	media: hantro: Check whether reset op is defined before use
	media: verisilicon: Do not enable G2 postproc downscale if source is narrower than destination
	media: ov5640: Drop dead code using frame_interval
	media: ov5640: fix vblank unchange issue when work at dvp mode
	media: i2c: max9286: Fix some redundant of_node_put() calls
	media: ov5640: Fix a memory leak when ov5640_probe fails
	media: bttv: fix use after free error due to btv->timeout timer
	media: amphion: handle firmware debug message
	media: mtk-jpegenc: Fix bug in JPEG encode quality selection
	media: s3c-camif: Avoid inappropriate kfree()
	media: vidtv: psi: Add check for kstrdup
	media: vidtv: mux: Add check and kfree for kstrdup
	media: cedrus: Fix clock/reset sequence
	media: cadence: csi2rx: Unregister v4l2 async notifier
	media: dvb-usb-v2: af9035: fix missing unlock
	media: cec: meson: always include meson sub-directory in Makefile
	regmap: prevent noinc writes from clobbering cache
	pwm: sti: Reduce number of allocations and drop usage of chip_data
	pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
	Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
	watchdog: ixp4xx: Make sure restart always works
	llc: verify mac len before reading mac header
	hsr: Prevent use after free in prp_create_tagged_frame()
	tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING
	bpf: Check map->usercnt after timer->timer is assigned
	inet: shrink struct flowi_common
	octeontx2-pf: Fix error codes
	octeontx2-pf: Fix holes in error code
	net: page_pool: add missing free_percpu when page_pool_init fail
	dccp: Call security_inet_conn_request() after setting IPv4 addresses.
	dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses.
	net: r8169: Disable multicast filter for RTL8168H and RTL8107E
	Fix termination state for idr_for_each_entry_ul()
	net: stmmac: xgmac: Enable support for multiple Flexible PPS outputs
	selftests: pmtu.sh: fix result checking
	octeontx2-pf: Rename tot_tx_queues to non_qos_queues
	octeontx2-pf: qos send queues management
	octeontx2-pf: Free pending and dropped SQEs
	net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
	net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
	net/smc: put sk reference if close work was canceled
	nvme: fix error-handling for io_uring nvme-passthrough
	tg3: power down device only on SYSTEM_POWER_OFF
	nbd: fix uaf in nbd_open
	blk-core: use pr_warn_ratelimited() in bio_check_ro()
	virtio/vsock: replace virtio_vsock_pkt with sk_buff
	vsock/virtio: remove socket from connected/bound list on shutdown
	r8169: respect userspace disabling IFF_MULTICAST
	i2c: iproc: handle invalid slave state
	netfilter: xt_recent: fix (increase) ipv6 literal buffer length
	netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs
	netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses
	RISC-V: Don't fail in riscv_of_parent_hartid() for disabled HARTs
	drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
	ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix error messages
	ASoC: hdmi-codec: register hpd callback on component probe
	ASoC: dapm: fix clock get name
	spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
	fbdev: imsttfb: Fix error path of imsttfb_probe()
	fbdev: imsttfb: fix a resource leak in probe
	fbdev: fsl-diu-fb: mark wr_reg_wa() static
	tracing/kprobes: Fix the order of argument descriptions
	io_uring/net: ensure socket is marked connected on connect retry
	x86/amd_nb: Use Family 19h Models 60h-7Fh Function 4 IDs
	Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
	btrfs: use u64 for buffer sizes in the tree search ioctls
	wifi: cfg80211: fix kernel-doc for wiphy_delayed_work_flush()
	virtio/vsock: don't use skbuff state to account credit
	virtio/vsock: remove redundant 'skb_pull()' call
	virtio/vsock: don't drop skbuff on copy failure
	vsock/loopback: use only sk_buff_head.lock to protect the packet queue
	virtio/vsock: fix leaks due to missing skb owner
	virtio/vsock: Fix uninit-value in virtio_transport_recv_pkt()
	virtio/vsock: fix header length on skb merging
	Linux 6.1.63

Change-Id: I87b7a539b11c90cfaf16edb07d613f74d54458a4
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-11-27 16:59:46 +00:00
Greg Kroah-Hartman
0d9fb52165 Merge 6.1.62 into android14-6.1-lts
Changes in 6.1.62
	ASoC: simple-card: fixup asoc_simple_probe() error handling
	coresight: tmc-etr: Disable warnings for allocation failures
	ASoC: tlv320adc3xxx: BUG: Correct micbias setting
	net: sched: cls_u32: Fix allocation size in u32_init()
	irqchip/riscv-intc: Mark all INTC nodes as initialized
	irqchip/stm32-exti: add missing DT IRQ flag translation
	dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
	powerpc/85xx: Fix math emulation exception
	Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
	fbdev: atyfb: only use ioremap_uc() on i386 and ia64
	fs/ntfs3: Add ckeck in ni_update_parent()
	fs/ntfs3: Write immediately updated ntfs state
	fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
	fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
	fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame()
	fs/ntfs3: Fix directory element type detection
	fs/ntfs3: Avoid possible memory leak
	spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
	netfilter: nfnetlink_log: silence bogus compiler warning
	efi: fix memory leak in krealloc failure handling
	ASoC: rt5650: fix the wrong result of key button
	ASoC: codecs: tas2780: Fix log of failed reset via I2C.
	drm/ttm: Reorder sys manager cleanup step
	fbdev: omapfb: fix some error codes
	fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
	scsi: mpt3sas: Fix in error path
	drm/amdgpu: Unset context priority is now invalid
	gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET
	LoongArch: Export symbol invalid_pud_table for modules building
	LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_highpage()
	netfilter: nf_tables: audit log object reset once per table
	platform/mellanox: mlxbf-tmfifo: Fix a warning message
	drm/amdgpu: Reserve fences for VM update
	net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
	r8152: Check for unplug in rtl_phy_patch_request()
	r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
	powerpc/mm: Fix boot crash with FLATMEM
	io_uring: kiocb_done() should *not* trust ->ki_pos if ->{read,write}_iter() failed
	ceph_wait_on_conflict_unlink(): grab reference before dropping ->d_lock
	power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint
	perf evlist: Avoid frequency mode for the dummy event
	x86: KVM: SVM: always update the x2avic msr interception
	mm/mempolicy: fix set_mempolicy_home_node() previous VMA pointer
	mmap: fix error paths with dup_anon_vma()
	ALSA: usb-audio: add quirk flag to enable native DSD for McIntosh devices
	PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
	usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
	usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm()
	usb: raw-gadget: properly handle interrupted requests
	tty: n_gsm: fix race condition in status line change on dead connections
	tty: 8250: Remove UC-257 and UC-431
	tty: 8250: Add support for additional Brainboxes UC cards
	tty: 8250: Add support for Brainboxes UP cards
	tty: 8250: Add support for Intashield IS-100
	tty: 8250: Fix port count of PX-257
	tty: 8250: Fix up PX-803/PX-857
	tty: 8250: Add support for additional Brainboxes PX cards
	tty: 8250: Add support for Intashield IX cards
	tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
	misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support
	ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
	ASoC: SOF: sof-pci-dev: Fix community key quirk detection
	Linux 6.1.62

Change-Id: I2f696c88b48e82eb0d925a26ce6716693595d421
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-11-27 14:58:20 +00:00
Yazen Ghannam
acca43d813 x86/amd_nb: Use Family 19h Models 60h-7Fh Function 4 IDs
commit 2a565258b3f4bbdc7a3c09cd02082cb286a7bffc upstream.

Three PCI IDs for DF Function 4 were defined but not used.

Add them to the "link" list.

Fixes: f8faf34966 ("x86/amd_nb: Add AMD PCI IDs for SMN communication")
Fixes: 23a5b8bb022c ("x86/amd_nb: Add PCI ID for family 19h model 78h")
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230803150430.3542854-1-yazen.ghannam@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-20 11:52:18 +01:00
Dionna Glaze
d889b7bc12 x86/sev: Change snp_guest_issue_request()'s fw_err argument
[ Upstream commit 0144e3b85d7b42e8a4cda991c0e81f131897457a ]

The GHCB specification declares that the firmware error value for
a guest request will be stored in the lower 32 bits of EXIT_INFO_2.  The
upper 32 bits are for the VMM's own error code. The fw_err argument to
snp_guest_issue_request() is thus a misnomer, and callers will need
access to all 64 bits.

The type of unsigned long also causes problems, since sw_exit_info2 is
u64 (unsigned long long) vs the argument's unsigned long*. Change this
type for issuing the guest request. Pass the ioctl command struct's error
field directly instead of in a local variable, since an incomplete guest
request may not set the error code, and uninitialized stack memory would
be written back to user space.

The firmware might not even be called, so bookend the call with the no
firmware call error and clear the error.

Since the "fw_err" field is really exitinfo2 split into the upper bits'
vmm error code and lower bits' firmware error code, convert the 64 bit
value to a union.

  [ bp:
   - Massage commit message
   - adjust code
   - Fix a build issue as
   Reported-by: kernel test robot <lkp@intel.com>
   Link: https://lore.kernel.org/oe-kbuild-all/202303070609.vX6wp2Af-lkp@intel.com
   - print exitinfo2 in hex
   Tom:
    - Correct -EIO exit case. ]

Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230214164638.1189804-5-dionnaglaze@google.com
Link: https://lore.kernel.org/r/20230307192449.24732-12-bp@alien8.de
Stable-dep-of: db10cb9b5746 ("virt: sevguest: Fix passing a stack buffer as a scatterlist target")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:52:13 +01:00
Yuntao Wang
dbb5581603 x86/boot: Fix incorrect startup_gdt_descr.size
[ Upstream commit 001470fed5959d01faecbd57fcf2f60294da0de1 ]

Since the size value is added to the base address to yield the last valid
byte address of the GDT, the current size value of startup_gdt_descr is
incorrect (too large by one), fix it.

[ mingo: This probably never mattered, because startup_gdt[] is only used
         in a very controlled fashion - but make it consistent nevertheless. ]

Fixes: 866b556efa ("x86/head/64: Install startup GDT")
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lore.kernel.org/r/20230807084547.217390-1-ytcoode@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:51:50 +01:00
Adam Dunlap
21c5c3f95f x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
[ Upstream commit f79936545fb122856bd78b189d3c7ee59928c751 ]

Previously, if copy_from_kernel_nofault() was called before
boot_cpu_data.x86_virt_bits was set up, then it would trigger undefined
behavior due to a shift by 64.

This ended up causing boot failures in the latest version of ubuntu2204
in the gcp project when using SEV-SNP.

Specifically, this function is called during an early #VC handler which
is triggered by a CPUID to check if NX is implemented.

Fixes: 1aa9aa8ee5 ("x86/sev-es: Setup GHCB-based boot #VC handler")
Suggested-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Adam Dunlap <acdunlap@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Jacob Xu <jacobhxu@google.com>
Link: https://lore.kernel.org/r/20230912002703.3924521-2-acdunlap@google.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:51:50 +01:00
Alison Schofield
bf178c8b9c x86/numa: Introduce numa_fill_memblks()
[ Upstream commit 8f012db27c9516be1a7aca93ea4a6ca9c75056c9 ]

numa_fill_memblks() fills in the gaps in numa_meminfo memblks
over an physical address range.

The ACPI driver will use numa_fill_memblks() to implement a new Linux
policy that prescribes extending proximity domains in a portion of a
CFMWS window to the entire window.

Dan Williams offered this explanation of the policy:
A CFWMS is an ACPI data structure that indicates *potential* locations
where CXL memory can be placed. It is the playground where the CXL
driver has free reign to establish regions. That space can be populated
by BIOS created regions, or driver created regions, after hotplug or
other reconfiguration.

When BIOS creates a region in a CXL Window it additionally describes
that subset of the Window range in the other typical ACPI tables SRAT,
SLIT, and HMAT. The rationale for BIOS not pre-describing the entire
CXL Window in SRAT, SLIT, and HMAT is that it can not predict the
future. I.e. there is nothing stopping higher or lower performance
devices being placed in the same Window. Compare that to ACPI memory
hotplug that just onlines additional capacity in the proximity domain
with little freedom for dynamic performance differentiation.

That leaves the OS with a choice, should unpopulated window capacity
match the proximity domain of an existing region, or should it allocate
a new one? This patch takes the simple position of minimizing proximity
domain proliferation by reusing any proximity domain intersection for
the entire Window. If the Window has no intersections then allocate a
new proximity domain. Note that SRAT, SLIT and HMAT information can be
enumerated dynamically in a standard way from device provided data.
Think of CXL as the end of ACPI needing to describe memory attributes,
CXL offers a standard discovery model for performance attributes, but
Linux still needs to interoperate with the old regime.

Reported-by: Derick Marks <derick.w.marks@intel.com>
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Derick Marks <derick.w.marks@intel.com>
Link: https://lore.kernel.org/all/ef078a6f056ca974e5af85997013c0fda9e3326d.1689018477.git.alison.schofield%40intel.com
Stable-dep-of: 8f1004679987 ("ACPI/NUMA: Apply SRAT proximity domain to entire CFMWS window")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:51:50 +01:00
Josh Poimboeuf
3c1a20c122 x86/srso: Fix SBPB enablement for (possible) future fixed HW
[ Upstream commit 1d1142ac51307145dbb256ac3535a1d43a1c9800 ]

Make the SBPB check more robust against the (possible) case where future
HW has SRSO fixed but doesn't have the SRSO_NO bit set.

Fixes: 1b5277c0ea0b ("x86/srso: Add SRSO_NO support")
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/cee5050db750b391c9f35f5334f8ff40e66c01b9.1693889988.git.jpoimboe@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:51:50 +01:00
David Howells
b783919771 iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
[ Upstream commit 066baf92bed934c9fb4bcee97a193f47aa63431c ]

copy_mc_to_user() has the destination marked __user on powerpc, but not on
x86; the latter results in a sparse warning in lib/iov_iter.c.

Fix this by applying the tag on x86 too.

Fixes: ec6347bb43 ("x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()")
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20230925120309.1731676-3-dhowells@redhat.com
cc: Dan Williams <dan.j.williams@intel.com>
cc: Thomas Gleixner <tglx@linutronix.de>
cc: Ingo Molnar <mingo@redhat.com>
cc: Borislav Petkov <bp@alien8.de>
cc: Dave Hansen <dave.hansen@linux.intel.com>
cc: "H. Peter Anvin" <hpa@zytor.com>
cc: Alexander Viro <viro@zeniv.linux.org.uk>
cc: Jens Axboe <axboe@kernel.dk>
cc: Christoph Hellwig <hch@lst.de>
cc: Christian Brauner <christian@brauner.io>
cc: Matthew Wilcox <willy@infradead.org>
cc: Linus Torvalds <torvalds@linux-foundation.org>
cc: David Laight <David.Laight@ACULAB.COM>
cc: x86@kernel.org
cc: linux-block@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:51:49 +01:00
Maxim Levitsky
7ab62e3415 x86: KVM: SVM: always update the x2avic msr interception
commit b65235f6e102354ccafda601eaa1c5bef5284d21 upstream.

The following problem exists since x2avic was enabled in the KVM:

svm_set_x2apic_msr_interception is called to enable the interception of
the x2apic msrs.

In particular it is called at the moment the guest resets its apic.

Assuming that the guest's apic was in x2apic mode, the reset will bring
it back to the xapic mode.

The svm_set_x2apic_msr_interception however has an erroneous check for
'!apic_x2apic_mode()' which prevents it from doing anything in this case.

As a result of this, all x2apic msrs are left unintercepted, and that
exposes the bare metal x2apic (if enabled) to the guest.
Oops.

Remove the erroneous '!apic_x2apic_mode()' check to fix that.

This fixes CVE-2023-5090

Fixes: 4d1d7942e3 ("KVM: SVM: Introduce logic to (de)activate x2AVIC mode")
Cc: stable@vger.kernel.org
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Tested-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230928173354.217464-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-08 14:11:02 +01:00
Greg Kroah-Hartman
2cd386b08b Merge 6.1.61 into android14-6.1-lts
Changes in 6.1.61
	KVM: x86/pmu: Truncate counter value to allowed width on write
	mmc: core: Align to common busy polling behaviour for mmc ioctls
	mmc: block: ioctl: do write error check for spi
	mmc: core: Fix error propagation for some ioctl commands
	ASoC: codecs: wcd938x: Convert to platform remove callback returning void
	ASoC: codecs: wcd938x: Simplify with dev_err_probe
	ASoC: codecs: wcd938x: fix regulator leaks on probe errors
	ASoC: codecs: wcd938x: fix runtime PM imbalance on remove
	pinctrl: qcom: lpass-lpi: fix concurrent register updates
	mcb: Return actual parsed size when reading chameleon table
	mcb-lpc: Reallocate memory region to avoid memory overlapping
	virtio_balloon: Fix endless deflation and inflation on arm64
	virtio-mmio: fix memory leak of vm_dev
	virtio-crypto: handle config changed by work queue
	virtio_pci: fix the common cfg map size
	vsock/virtio: initialize the_virtio_vsock before using VQs
	vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE
	arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399
	arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards
	mm: fix vm_brk_flags() to not bail out while holding lock
	hugetlbfs: clear resv_map pointer if mmap fails
	mm/page_alloc: correct start page when guard page debug is enabled
	mm/migrate: fix do_pages_move for compat pointers
	hugetlbfs: extend hugetlb_vma_lock to private VMAs
	maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()
	nfsd: lock_rename() needs both directories to live on the same fs
	drm/i915/pmu: Check if pmu is closed before stopping event
	drm/amd: Disable ASPM for VI w/ all Intel systems
	drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
	ARM: OMAP: timer32K: fix all kernel-doc warnings
	firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
	clk: ti: Fix missing omap4 mcbsp functional clock and aliases
	clk: ti: Fix missing omap5 mcbsp functional clock and aliases
	r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx
	r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
	r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
	iavf: initialize waitqueues before starting watchdog_task
	i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
	treewide: Spelling fix in comment
	igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
	neighbour: fix various data-races
	igc: Fix ambiguity in the ethtool advertising
	net: ethernet: adi: adin1110: Fix uninitialized variable
	net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
	net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
	r8152: Increase USB control msg timeout to 5000ms as per spec
	r8152: Run the unload routine if we have errors during probe
	r8152: Cancel hw_phy_work if we have an error in probe
	r8152: Release firmware if we have an error in probe
	tcp: fix wrong RTO timeout when received SACK reneging
	gtp: uapi: fix GTPA_MAX
	gtp: fix fragmentation needed check with gso
	i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
	drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
	iavf: in iavf_down, disable queues when removing the driver
	scsi: sd: Introduce manage_shutdown device flag
	blk-throttle: check for overflow in calculate_bytes_allowed
	kasan: print the original fault addr when access invalid shadow
	io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
	iio: afe: rescale: Accept only offset channels
	iio: exynos-adc: request second interupt only when touchscreen mode is used
	iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
	iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale
	i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
	i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
	i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
	i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
	i2c: aspeed: Fix i2c bus hang in slave read
	tracing/kprobes: Fix the description of variable length arguments
	misc: fastrpc: Reset metadata buffer to avoid incorrect free
	misc: fastrpc: Free DMA handles for RPC calls with no arguments
	misc: fastrpc: Clean buffers on remote invocation failures
	misc: fastrpc: Unmap only if buffer is unmapped from DSP
	nvmem: imx: correct nregs for i.MX6ULL
	nvmem: imx: correct nregs for i.MX6SLL
	nvmem: imx: correct nregs for i.MX6UL
	x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
	x86/cpu: Add model number for Intel Arrow Lake mobile processor
	perf/core: Fix potential NULL deref
	sparc32: fix a braino in fault handling in csum_and_copy_..._user()
	clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
	platform/x86: Add s2idle quirk for more Lenovo laptops
	ext4: add two helper functions extent_logical_end() and pa_logical_end()
	ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
	ext4: avoid overlapping preallocations due to overflow
	objtool/x86: add missing embedded_insn check
	Linux 6.1.61

Note, this merge point also reverts commit
bb20a245df which is commit
24eca2dce0f8d19db808c972b0281298d0bafe99 upstream, as it conflicts with
the previous reverts for ABI issues, AND is an ABI break in itself.  If
it is needed in the future, it can be brought back in an abi-safe way.

Change-Id: I425bfa3be6d65328e23affd52d10b827aea6e44a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-11-07 08:21:27 +00:00
Greg Kroah-Hartman
788e35fdea Merge 6.1.60 into android14-6.1-lts
Changes in 6.1.60
	lib/Kconfig.debug: do not enable DEBUG_PREEMPT by default
	igc: remove I226 Qbv BaseTime restriction
	igc: enable Qbv configuration for 2nd GCL
	igc: Remove reset adapter task for i226 during disable tsn config
	igc: Add qbv_config_change_errors counter
	igc: Add condition for qbv_config_change_errors counter
	igc: Fix race condition in PTP tx code
	Bluetooth: hci_event: Ignore NULL link key
	Bluetooth: Reject connection with the device which has same BD_ADDR
	Bluetooth: Fix a refcnt underflow problem for hci_conn
	Bluetooth: vhci: Fix race when opening vhci device
	Bluetooth: hci_event: Fix coding style
	Bluetooth: avoid memcmp() out of bounds warning
	ice: fix over-shifted variable
	ice: reset first in crash dump kernels
	net/smc: return the right falback reason when prefix checks fail
	btrfs: fix stripe length calculation for non-zoned data chunk allocation
	nfc: nci: fix possible NULL pointer dereference in send_acknowledge()
	regmap: fix NULL deref on lookup
	KVM: x86: Mask LVTPC when handling a PMI
	x86/sev: Disable MMIO emulation from user mode
	x86/sev: Check IOBM for IOIO exceptions from user-space
	x86/sev: Check for user-space IOIO pointing to kernel space
	x86/fpu: Allow caller to constrain xfeatures when copying to uabi buffer
	KVM: x86: Constrain guest-supported xfeatures only at KVM_GET_XSAVE{2}
	x86: KVM: SVM: add support for Invalid IPI Vector interception
	x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
	audit,io_uring: io_uring openat triggers audit reference count underflow
	tcp: check mptcp-level constraints for backlog coalescing
	mptcp: more conservative check for zero probes
	fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e()
	fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea()
	fs/ntfs3: fix deadlock in mark_as_free_ex
	netfilter: nft_payload: fix wrong mac header matching
	nvmet-tcp: Fix a possible UAF in queue intialization setup
	drm/i915: Retry gtt fault when out of fence registers
	drm/mediatek: Correctly free sg_table in gem prime vmap
	ALSA: hda/realtek - Fixed ASUS platform headset Mic issue
	ALSA: hda/realtek: Add quirk for ASUS ROG GU603ZV
	ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq5xxx
	ASoC: codecs: wcd938x-sdw: fix use after free on driver unbind
	ASoC: codecs: wcd938x-sdw: fix runtime PM imbalance on probe errors
	ASoC: codecs: wcd938x: drop bogus bind error handling
	ASoC: codecs: wcd938x: fix unbind tear down order
	ASoC: codecs: wcd938x: fix resource leaks on bind errors
	qed: fix LL2 RX buffer allocation
	xfrm: fix a data-race in xfrm_lookup_with_ifid()
	xfrm: fix a data-race in xfrm_gen_index()
	xfrm: interface: use DEV_STATS_INC()
	wifi: cfg80211: use system_unbound_wq for wiphy work
	net: ipv4: fix return value check in esp_remove_trailer
	net: ipv6: fix return value check in esp_remove_trailer
	net: rfkill: gpio: prevent value glitch during probe
	tcp: fix excessive TLP and RACK timeouts from HZ rounding
	tcp: tsq: relax tcp_small_queue_check() when rtx queue contains a single skb
	tcp: Fix listen() warning with v4-mapped-v6 address.
	tun: prevent negative ifindex
	ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddr
	net: usb: smsc95xx: Fix an error code in smsc95xx_reset()
	octeon_ep: update BQL sent bytes before ringing doorbell
	i40e: prevent crash on probe if hw registers have invalid values
	net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register()
	bonding: Return pointer to data after pull on skb
	net/sched: sch_hfsc: upgrade 'rt' to 'sc' when it becomes a inner curve
	neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section
	selftests: openvswitch: Catch cases where the tests are killed
	selftests: netfilter: Run nft_audit.sh in its own netns
	netfilter: nft_set_rbtree: .deactivate fails if element has expired
	netlink: Correct offload_xstats size
	netfilter: nf_tables: do not remove elements if set backend implements .abort
	netfilter: nf_tables: revert do not remove elements if set backend implements .abort
	net: phy: bcm7xxx: Add missing 16nm EPHY statistics
	net: pktgen: Fix interface flags printing
	net: avoid UAF on deleted altname
	net: fix ifname in netlink ntf during netns move
	net: check for altname conflicts when changing netdev's netns
	selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error
	usb: misc: onboard_usb_hub: add Genesys Logic GL850G hub support
	usb: misc: onboard_usb_hub: add Genesys Logic GL852G hub support
	usb: misc: onboard_usb_hub: add Genesys Logic GL3523 hub support
	usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub
	serial: Move uart_change_speed() earlier
	serial: Rename uart_change_speed() to uart_change_line_settings()
	serial: Reduce spinlocked portion of uart_rs485_config()
	serial: 8250: omap: Fix imprecise external abort for omap_8250_pm()
	serial: 8250_omap: Fix errors with no_console_suspend
	iio: core: introduce iio_device_{claim|release}_buffer_mode() APIs
	iio: cros_ec: fix an use-after-free in cros_ec_sensors_push_data()
	iio: adc: ad7192: Simplify using devm_regulator_get_enable()
	iio: adc: ad7192: Correct reference voltage
	pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency
	ARM: dts: ti: omap: Fix noisy serial with overrun-throttle-ms for mapphone
	fs-writeback: do not requeue a clean inode having skipped pages
	btrfs: prevent transaction block reserve underflow when starting transaction
	btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
	btrfs: initialize start_slot in btrfs_log_prealloc_extents
	i2c: mux: Avoid potential false error message in i2c_mux_add_adapter
	overlayfs: set ctime when setting mtime and atime
	gpio: timberdale: Fix potential deadlock on &tgpio->lock
	ata: libata-core: Fix compilation warning in ata_dev_config_ncq()
	ata: libata-eh: Fix compilation warning in ata_eh_link_report()
	tracing: relax trace_event_eval_update() execution with cond_resched()
	wifi: mwifiex: Sanity check tlv_len and tlv_bitmap_len
	wifi: iwlwifi: Ensure ack flag is properly cleared.
	HID: logitech-hidpp: Add Bluetooth ID for the Logitech M720 Triathlon mouse
	HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
	Bluetooth: btusb: add shutdown function for QCA6174
	Bluetooth: Avoid redundant authentication
	Bluetooth: hci_core: Fix build warnings
	wifi: cfg80211: Fix 6GHz scan configuration
	wifi: mac80211: work around Cisco AP 9115 VHT MPDU length
	wifi: mac80211: allow transmitting EAPOL frames with tainted key
	wifi: cfg80211: avoid leaking stack data into trace
	regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
	sky2: Make sure there is at least one frag_addr available
	ipv4/fib: send notify when delete source address routes
	drm: panel-orientation-quirks: Add quirk for One Mix 2S
	btrfs: fix some -Wmaybe-uninitialized warnings in ioctl.c
	btrfs: error out when COWing block using a stale transaction
	btrfs: error when COWing block from a root that is being deleted
	btrfs: error out when reallocating block for defrag using a stale transaction
	drm/amd/pm: add unique_id for gc 11.0.3
	HID: multitouch: Add required quirk for Synaptics 0xcd7e device
	HID: nintendo: reinitialize USB Pro Controller after resuming from suspend
	platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
	cpufreq: schedutil: Update next_freq when cpufreq_limits change
	fprobe: Pass entry_data to handlers
	fprobe: Add nr_maxactive to specify rethook_node pool size
	fprobe: Fix to ensure the number of active retprobes is not zero
	net: xfrm: skip policies marked as dead while reinserting policies
	xfrm6: fix inet6_dev refcount underflow problem
	net/mlx5: E-switch, register event handler before arming the event
	net/mlx5: Handle fw tracer change ownership event based on MTRC
	net/mlx5e: Don't offload internal port if filter device is out device
	net/tls: split tls_rx_reader_lock
	tcp: allow again tcp_disconnect() when threads are waiting
	ice: Remove redundant pci_enable_pcie_error_reporting()
	Bluetooth: hci_event: Fix using memcmp when comparing keys
	selftests: openvswitch: Add version check for pyroute2
	tcp_bpf: properly release resources on error paths
	net/smc: fix smc clc failed issue when netdevice not in init_net
	mtd: rawnand: qcom: Unmap the right resource upon probe failure
	mtd: rawnand: pl353: Ensure program page operations are successful
	mtd: rawnand: marvell: Ensure program page operations are successful
	mtd: rawnand: arasan: Ensure program page operations are successful
	mtd: spinand: micron: correct bitmask for ecc status
	mtd: physmap-core: Restore map_rom fallback
	dt-bindings: mmc: sdhci-msm: correct minimum number of clocks
	mmc: sdhci-pci-gli: fix LPM negotiation so x86/S0ix SoCs can suspend
	mmc: mtk-sd: Use readl_poll_timeout_atomic in msdc_reset_hw
	mmc: core: sdio: hold retuning if sdio in 1-bit mode
	mmc: core: Capture correct oemid-bits for eMMC cards
	Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
	pNFS: Fix a hang in nfs4_evict_inode()
	pNFS/flexfiles: Check the layout validity in ff_layout_mirror_prepare_stats
	NFSv4.1: fixup use EXCHGID4_FLAG_USE_PNFS_DS for DS server
	ACPI: irq: Fix incorrect return value in acpi_register_gsi()
	nfs42: client needs to strip file mode's suid/sgid bit after ALLOCATE op
	nvme: sanitize metadata bounce buffer for reads
	nvme-pci: add BOGUS_NID for Intel 0a54 device
	nvmet-auth: complete a request only after freeing the dhchap pointers
	nvme-rdma: do not try to stop unallocated queues
	KVM: x86/mmu: Stop zapping invalidated TDP MMU roots asynchronously
	HID: input: map battery system charging
	USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
	USB: serial: option: add entry for Sierra EM9191 with new firmware
	USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
	perf: Disallow mis-matched inherited group reads
	s390/pci: fix iommu bitmap allocation
	selftests/ftrace: Add new test case which checks non unique symbol
	s390/cio: fix a memleak in css_alloc_subchannel
	platform/surface: platform_profile: Propagate error if profile registration fails
	platform/x86: intel-uncore-freq: Conditionally create attribute for read frequency
	platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2e
	platform/x86: asus-wmi: Only map brightness codes when using asus-wmi backlight control
	platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c events
	gpio: vf610: set value before the direction to avoid a glitch
	ASoC: pxa: fix a memory leak in probe()
	drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with auxiliary device
	serial: 8250: omap: Move uart_write() inside PM section
	serial: 8250: omap: convert to modern PM ops
	kallsyms: Reduce the memory occupied by kallsyms_seqs_of_names[]
	kallsyms: Add helper kallsyms_on_each_match_symbol()
	tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
	gpio: vf610: make irq_chip immutable
	gpio: vf610: mask the gpio irq in system suspend and support wakeup
	phy: mapphone-mdm6600: Fix runtime disable on probe
	phy: mapphone-mdm6600: Fix runtime PM for remove
	phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
	net: move altnames together with the netdevice
	Bluetooth: hci_sock: fix slab oob read in create_monitor_event
	Bluetooth: hci_sock: Correctly bounds check and pad HCI_MON_NEW_INDEX name
	mptcp: avoid sending RST when closing the initial subflow
	selftests: mptcp: join: correctly check for no RST
	selftests: mptcp: join: no RST when rm subflow/addr
	Linux 6.1.60

Change-Id: I85a246fd8800df019794b531f5befe0a84a3e138
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-11-03 16:23:47 +00:00
Greg Kroah-Hartman
3858124ea0 This is the 6.1.59 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmUxmvQACgkQONu9yGCS
 aT79txAAsdMG7H4n6wai9EsZa6fpenp5MaQdice97FinKvS3El1hmlNOJPY2idAC
 hFnfhebrWsyStCUcUs2KeiosZwKoKSRuIZ2l43P9o4tNbAoaJfp7EOihCKSJyl1K
 qcu1P7AJZH2GfR3wS86grRjlembwxYNaFVS+n4a9X3XfoMOTM9TLwIPyKzXmruUv
 4FjTH6clfQbg7lu80nPBeps1FKd2XXhiLfFH21ilnSY8ESQEKo0x10Vbi0/LqE/F
 QxvP2bFRMXyKl9HHQMAkIIjpQH+hZDzpbGx1hoC2I0xc92dTERHzzZxWkuUt2e/Y
 zGrgQ3gQR8VkpuhPuFRrSu3bZUlEr74zRyp3sXBG0RSOpK13xSYgcdRzBac/L0zT
 aSqvmIYuLnjf6qE85LEp/NAQAgKxQ2S2nGwSoN+cePb/zB0qlyXNfSsPg2mptOTi
 MOxgldZg10oNh0VXEayhtoJGUCJBjk1XUor0bAFj4u4GCiBbFfAt3e5fF0jauMva
 9b2s89qE5444dr98kdAcd79mEI0xkX9SbjCTY9lwTzA7xk+7iw+vOchLC7fQWoyf
 gspg7PdzCaFnDAS3WiIR3NqkSlGpv426Kr3kd/8jrLA3VB81Rb6bFX+E7iRzVJsd
 /YShEGesDA16aZ5BDnOMXMHzFbTEgfNDH1AiJoJcjq/V5cIuSc0=
 =Dwcv
 -----END PGP SIGNATURE-----

Merge 6.1.59 into android14-6.1-lts

Changes in 6.1.59
	net: mana: Fix TX CQE error handling
	mptcp: fix delegated action races
	drm/i915: Don't set PIPE_CONTROL_FLUSH_L3 for aux inval
	RDMA/cxgb4: Check skb value for failure to allocate
	perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
	platform/x86: think-lmi: Fix reference leak
	platform/x86: hp-wmi:: Mark driver struct with __refdata to prevent section mismatch warning
	scsi: Do not rescan devices with a suspended queue
	HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
	quota: Fix slow quotaoff
	ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM
	ata: libata-scsi: Disable scsi device manage_system_start_stop
	net: prevent address rewrite in kernel_bind()
	arm64: dts: qcom: sm8150: extend the size of the PDC resource
	dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Update description for '#interrupt-cells' property
	irqchip: renesas-rzg2l: Fix logic to clear TINT interrupt source
	KEYS: trusted: Remove redundant static calls usage
	ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset
	ALSA: usb-audio: Fix microphone sound on Nexigo webcam.
	ALSA: hda/realtek: Change model for Intel RVP board
	ASoC: SOF: amd: fix for firmware reload failure after playback
	ASoC: simple-card-utils: fixup simple_util_startup() error handling
	ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in MTL match table
	ASoC: Intel: sof_sdw: add support for SKU 0B14
	ASoC: Intel: soc-acpi: Add entry for sof_es8336 in MTL match table.
	ASoC: Use of_property_read_bool() for boolean properties
	ASoC: fsl_sai: MCLK bind with TX/RX enable bit
	ASoC: fsl_sai: Don't disable bitclock for i.MX8MP
	ALSA: hda/realtek: Add quirk for HP Victus 16-d1xxx to enable mute LED
	ALSA: hda/realtek: Add quirk for mute LEDs on HP ENVY x360 15-eu0xxx
	ALSA: hda/realtek - ALC287 I2S speaker platform support
	ALSA: hda/realtek - ALC287 merge RTK codec with CS CS35L41 AMP
	pinctrl: nuvoton: wpcm450: fix out of bounds write
	drm/msm/dp: do not reinitialize phy unless retry during link training
	drm/msm/dsi: skip the wait for video mode done if not applicable
	drm/msm/dsi: fix irq_of_parse_and_map() error checking
	drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
	drm/msm/dp: Add newlines to debug printks
	phy: lynx-28g: cancel the CDR check work item on the remove path
	phy: lynx-28g: lock PHY while performing CDR lock workaround
	phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers
	net: dsa: qca8k: fix potential MDIO bus conflict when accessing internal PHYs via management frames
	can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
	can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set
	arm64: dts: mediatek: mt8195: Set DSU PMU status to fail
	ravb: Fix up dma_free_coherent() call in ravb_remove()
	ravb: Fix use-after-free issue in ravb_tx_timeout_work()
	ieee802154: ca8210: Fix a potential UAF in ca8210_probe
	mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
	xen-netback: use default TX queue size for vifs
	riscv, bpf: Factor out emit_call for kernel and bpf context
	riscv, bpf: Sign-extend return values
	drm/vmwgfx: fix typo of sizeof argument
	bpf: Fix verifier log for async callback return values
	net: refine debug info in skb_checksum_help()
	net: macsec: indicate next pn update when offloading
	net: phy: mscc: macsec: reject PN update requests
	net/mlx5e: macsec: use update_pn flag instead of PN comparation
	ixgbe: fix crash with empty VF macvlan list
	net/mlx5e: Again mutually exclude RX-FCS and RX-port-timestamp
	net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
	net/smc: Fix pos miscalculation in statistics
	pinctrl: renesas: rzn1: Enable missing PINMUX
	nfc: nci: assert requested protocol is valid
	workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
	tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
	dmaengine: stm32-mdma: abort resume if no ongoing transfer
	dmaengine: stm32-dma: fix stm32_dma_prep_slave_sg in case of MDMA chaining
	dmaengine: stm32-dma: fix residue in case of MDMA chaining
	dmaengine: stm32-mdma: use Link Address Register to compute residue
	dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag is set
	usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
	net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
	usb: dwc3: Soft reset phy on probe for host
	usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
	usb: hub: Guard against accesses to uninitialized BOS descriptors
	usb: musb: Get the musb_qh poniter after musb_giveback
	usb: musb: Modify the "HWVers" register address
	iio: pressure: bmp280: Fix NULL pointer exception
	iio: imu: bno055: Fix missing Kconfig dependencies
	iio: adc: imx8qxp: Fix address for command buffer registers
	iio: dac: ad3552r: Correct device IDs
	iio: admv1013: add mixer_vgate corner cases
	iio: pressure: dps310: Adjust Timeout Settings
	iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
	iio: addac: Kconfig: update ad74413r selections
	arm64: dts: mediatek: mt8195-demo: fix the memory size to 8GB
	arm64: dts: mediatek: mt8195-demo: update and reorder reserved memory regions
	drm/atomic-helper: relax unregistered connector check
	drm/amdgpu: add missing NULL check
	drm/amd/display: Don't set dpms_off for seamless boot
	ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
	ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx
	ksmbd: not allow to open file if delelete on close bit is set
	perf/x86/lbr: Filter vsyscall addresses
	x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
	mcb: remove is_added flag from mcb_device struct
	thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge
	thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
	thunderbolt: Restart XDomain discovery handshake after failure
	powerpc/47x: Fix 47x syscall return crash
	libceph: use kernel_connect()
	ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
	ceph: fix type promotion bug on 32bit systems
	Input: powermate - fix use-after-free in powermate_config_complete
	Input: psmouse - fix fast_reconnect function for PS/2 mode
	Input: xpad - add PXN V900 support
	Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
	Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case
	tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
	mctp: perform route lookups under a RCU read-side lock
	nfp: flower: avoid rmmod nfp crash issues
	usb: typec: ucsi: Use GET_CAPABILITY attributes data to set power supply scope
	cgroup: Remove duplicates in cgroup v1 tasks file
	dma-buf: add dma_fence_timestamp helper
	pinctrl: avoid unsafe code pattern in find_pinctrl()
	scsi: ufs: core: Correct clear TM error log
	counter: chrdev: fix getting array extensions
	counter: microchip-tcb-capture: Fix the use of internal GCLK logic
	usb: typec: altmodes/displayport: Signal hpd low when exiting mode
	usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails
	usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
	usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
	usb: cdnsp: Fixes issue with dequeuing not queued requests
	x86/alternatives: Disable KASAN in apply_alternatives()
	dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq
	dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
	powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
	powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
	ALSA: hda/realtek - Fixed two speaker platform
	Linux 6.1.59

Change-Id: Iaae6736993c003cc47f495f275591bbb924f986e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-11-02 09:17:36 +00:00
Tony Luck
5e232f2205 x86/cpu: Add model number for Intel Arrow Lake mobile processor
commit b99d70c0d1380f1368fd4a82271280c4fd28558b upstream.

For "reasons" Intel has code-named this CPU with a "_H" suffix.

[ dhansen: As usual, apply this and send it upstream quickly to
	   make it easier for anyone who is doing work that
	   consumes this. ]

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20231025202513.12358-1-tony.luck%40intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-02 09:35:32 +01:00
Thomas Gleixner
63cc3d5d34 x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
commit 128b0c9781c9f2651bea163cb85e52a6c7be0f9e upstream.

David and a few others reported that on certain newer systems some legacy
interrupts fail to work correctly.

Debugging revealed that the BIOS of these systems leaves the legacy PIC in
uninitialized state which makes the PIC detection fail and the kernel
switches to a dummy implementation.

Unfortunately this fallback causes quite some code to fail as it depends on
checks for the number of legacy PIC interrupts or the availability of the
real PIC.

In theory there is no reason to use the PIC on any modern system when
IO/APIC is available, but the dependencies on the related checks cannot be
resolved trivially and on short notice. This needs lots of analysis and
rework.

The PIC detection has been added to avoid quirky checks and force selection
of the dummy implementation all over the place, especially in VM guest
scenarios. So it's not an option to revert the relevant commit as that
would break a lot of other scenarios.

One solution would be to try to initialize the PIC on detection fail and
retry the detection, but that puts the burden on everything which does not
have a PIC.

Fortunately the ACPI/MADT table header has a flag field, which advertises
in bit 0 that the system is PCAT compatible, which means it has a legacy
8259 PIC.

Evaluate that bit and if set avoid the detection routine and keep the real
PIC installed, which then gets initialized (for nothing) and makes the rest
of the code with all the dependencies work again.

Fixes: e179f69141 ("x86, irq, pic: Probe for legacy PIC and set legacy_pic appropriately")
Reported-by: David Lazar <dlazar@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: David Lazar <dlazar@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Cc: stable@vger.kernel.org
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218003
Link: https://lore.kernel.org/r/875y2u5s8g.ffs@tglx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-02 09:35:31 +01:00
Roman Kagan
d3466ce4f4 KVM: x86/pmu: Truncate counter value to allowed width on write
[ Upstream commit b29a2acd36dd7a33c63f260df738fb96baa3d4f8 ]

Performance counters are defined to have width less than 64 bits.  The
vPMU code maintains the counters in u64 variables but assumes the value
to fit within the defined width.  However, for Intel non-full-width
counters (MSR_IA32_PERFCTRx) the value receieved from the guest is
truncated to 32 bits and then sign-extended to full 64 bits.  If a
negative value is set, it's sign-extended to 64 bits, but then in
kvm_pmu_incr_counter() it's incremented, truncated, and compared to the
previous value for overflow detection.

That previous value is not truncated, so it always evaluates bigger than
the truncated new one, and a PMI is injected.  If the PMI handler writes
a negative counter value itself, the vCPU never quits the PMI loop.

Turns out that Linux PMI handler actually does write the counter with
the value just read with RDPMC, so when no full-width support is exposed
via MSR_IA32_PERF_CAPABILITIES, and the guest initializes the counter to
a negative value, it locks up.

This has been observed in the field, for example, when the guest configures
atop to use perfevents and runs two instances of it simultaneously.

To address the problem, maintain the invariant that the counter value
always fits in the defined bit width, by truncating the received value
in the respective set_msr methods.  For better readability, factor the
out into a helper function, pmc_write_counter(), shared by vmx and svm
parts.

Fixes: 9cd803d496 ("KVM: x86: Update vPMCs when retiring instructions")
Cc: stable@vger.kernel.org
Signed-off-by: Roman Kagan <rkagan@amazon.de>
Link: https://lore.kernel.org/all/20230504120042.785651-1-rkagan@amazon.de
Tested-by: Like Xu <likexu@tencent.com>
[sean: tweak changelog, s/set/write in the helper]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-02 09:35:21 +01:00
Greg Kroah-Hartman
c259cc9cb4 This is the 6.1.57 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmUlrb4ACgkQONu9yGCS
 aT4b+hAAgvFC6P+XmyyNXJ9ISHLkgSlcIAdatb+qeOCUtdiWHqfxIha13FdnCdhL
 WS2c/O9ORfAzjFwnYWF6LBwH8ArxRSkAXrGCMuCkEFBP3cG/j2HD+XLAAYEuBjjb
 sf1fw8e8VSgaPEOnwXie5rTfAY4VnZKEtZjAxjyIQnJKVVKfxQRb8CyaWDPzPD0Z
 tL/iABt7UWNHZayHTHsh0YhF2UhXtOjHinWigEarcZQEvOB2qRQtFl71cnqosi+t
 3ZRZzepH7/Fx3v6/H/6PNq+GSI/ZzhOiCQolVV5YcMGHXsW9cP6arjLUxco5pzpk
 pEg0vdMq47JOZYQ2pIewG4t7+NLmFIxCRFnKQVbxeFNSY9c1jhd8g5lhx9YEXwjT
 BzMtV5DnZoaoMdq2P1STw/+RVYrDI1Lm6jqfgw/D27b7LzQ13VsGM9BJ1rCs8Hm7
 UhWyjwFcgo0vhpfML1RF0RtT9Mo5SOnpGPfpbFdjg8jdXlGknNH0QsH+EY/BpF8l
 h77P5BvoNIjsIN3B1YunfXtFXhx3h0sI8zZrqHR+zhOeWGsXcqQ5mZ/lYdYKkKuH
 R8LRB7shPndF4xdRX0uRXwomcXhs+60eA5xEvE9u0CqqdpXfQN5oTwixfCm2C8MS
 O5Fc7hfvK11XtR3ja+y3KRhiNG3YsfW2PXnlOfZxMZ6iPqXtA/o=
 =5/pn
 -----END PGP SIGNATURE-----

Merge 6.1.57 into android14-6.1-lts

Changes in 6.1.57
	spi: zynqmp-gqspi: fix clock imbalance on probe failure
	ASoC: soc-utils: Export snd_soc_dai_is_dummy() symbol
	ASoC: tegra: Fix redundant PLLA and PLLA_OUT0 updates
	mptcp: rename timer related helper to less confusing names
	mptcp: fix dangling connection hang-up
	mptcp: annotate lockless accesses to sk->sk_err
	mptcp: move __mptcp_error_report in protocol.c
	mptcp: process pending subflow error on close
	ata,scsi: do not issue START STOP UNIT on resume
	scsi: sd: Differentiate system and runtime start/stop management
	scsi: sd: Do not issue commands to suspended disks on shutdown
	scsi: core: Improve type safety of scsi_rescan_device()
	scsi: Do not attempt to rescan suspended devices
	ata: libata-scsi: Fix delayed scsi_rescan_device() execution
	NFS: Cleanup unused rpc_clnt variable
	NFS: rename nfs_client_kset to nfs_kset
	NFSv4: Fix a state manager thread deadlock regression
	mm/memory: add vm_normal_folio()
	mm/mempolicy: convert queue_pages_pmd() to queue_folios_pmd()
	mm/mempolicy: convert queue_pages_pte_range() to queue_folios_pte_range()
	mm/mempolicy: convert migrate_page_add() to migrate_folio_add()
	mm: mempolicy: keep VMA walk if both MPOL_MF_STRICT and MPOL_MF_MOVE are specified
	mm/page_alloc: always remove pages from temporary list
	mm/page_alloc: leave IRQs enabled for per-cpu page allocations
	mm: page_alloc: fix CMA and HIGHATOMIC landing on the wrong buddy list
	ring-buffer: remove obsolete comment for free_buffer_page()
	ring-buffer: Fix bytes info in per_cpu buffer stats
	btrfs: use struct qstr instead of name and namelen pairs
	btrfs: setup qstr from dentrys using fscrypt helper
	btrfs: use struct fscrypt_str instead of struct qstr
	Revert "NFSv4: Retry LOCK on OLD_STATEID during delegation return"
	arm64: Avoid repeated AA64MMFR1_EL1 register read on pagefault path
	net: add sysctl accept_ra_min_rtr_lft
	net: change accept_ra_min_rtr_lft to affect all RA lifetimes
	net: release reference to inet6_dev pointer
	arm64: cpufeature: Fix CLRBHB and BC detection
	drm/amd/display: Adjust the MST resume flow
	iommu/arm-smmu-v3: Set TTL invalidation hint better
	iommu/arm-smmu-v3: Avoid constructing invalid range commands
	rbd: move rbd_dev_refresh() definition
	rbd: decouple header read-in from updating rbd_dev->header
	rbd: decouple parent info read-in from updating rbd_dev
	rbd: take header_rwsem in rbd_dev_refresh() only when updating
	block: fix use-after-free of q->q_usage_counter
	hwmon: (nzxt-smart2) Add device id
	hwmon: (nzxt-smart2) add another USB ID
	i40e: fix the wrong PTP frequency calculation
	scsi: zfcp: Fix a double put in zfcp_port_enqueue()
	iommu/vt-d: Avoid memory allocation in iommu_suspend()
	vringh: don't use vringh_kiov_advance() in vringh_iov_xfer()
	net: ethernet: mediatek: disable irq before schedule napi
	mptcp: userspace pm allow creating id 0 subflow
	qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info
	Bluetooth: hci_codec: Fix leaking content of local_codecs
	Bluetooth: hci_sync: Fix handling of HCI_QUIRK_STRICT_DUPLICATE_FILTER
	wifi: mwifiex: Fix tlv_buf_left calculation
	md/raid5: release batch_last before waiting for another stripe_head
	PCI: qcom: Fix IPQ8074 enumeration
	net: replace calls to sock->ops->connect() with kernel_connect()
	net: prevent rewrite of msg_name in sock_sendmsg()
	drm/amd: Fix detection of _PR3 on the PCIe root port
	drm/amd: Fix logic error in sienna_cichlid_update_pcie_parameters()
	arm64: Add Cortex-A520 CPU part definition
	arm64: errata: Add Cortex-A520 speculative unprivileged load workaround
	HID: sony: Fix a potential memory leak in sony_probe()
	ubi: Refuse attaching if mtd's erasesize is 0
	erofs: fix memory leak of LZMA global compressed deduplication
	wifi: iwlwifi: dbg_ini: fix structure packing
	wifi: iwlwifi: mvm: Fix a memory corruption issue
	wifi: cfg80211: hold wiphy lock in auto-disconnect
	wifi: cfg80211: move wowlan disable under locks
	wifi: cfg80211: add a work abstraction with special semantics
	wifi: cfg80211: fix cqm_config access race
	wifi: cfg80211: add missing kernel-doc for cqm_rssi_work
	wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
	leds: Drop BUG_ON check for LED_COLOR_ID_MULTI
	bpf: Fix tr dereferencing
	regulator: mt6358: Drop *_SSHUB regulators
	regulator: mt6358: Use linear voltage helpers for single range regulators
	regulator: mt6358: split ops for buck and linear range LDO regulators
	Bluetooth: Delete unused hci_req_prepare_suspend() declaration
	Bluetooth: ISO: Fix handling of listen for unicast
	drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()
	wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
	perf/x86/amd/core: Fix overflow reset on hotplug
	regmap: rbtree: Fix wrong register marked as in-cache when creating new node
	wifi: mac80211: fix potential key use-after-free
	perf/x86/amd: Do not WARN() on every IRQ
	iommu/mediatek: Fix share pgtable for iova over 4GB
	regulator/core: regulator_register: set device->class earlier
	ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
	scsi: target: core: Fix deadlock due to recursive locking
	ima: rework CONFIG_IMA dependency block
	NFSv4: Fix a nfs4_state_manager() race
	bpf: tcp_read_skb needs to pop skb regardless of seq
	bpf, sockmap: Do not inc copied_seq when PEEK flag set
	bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
	modpost: add missing else to the "of" check
	net: fix possible store tearing in neigh_periodic_work()
	bpf: Add BPF_FIB_LOOKUP_SKIP_NEIGH for bpf_fib_lookup
	neighbour: annotate lockless accesses to n->nud_state
	neighbour: switch to standard rcu, instead of rcu_bh
	neighbour: fix data-races around n->output
	ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
	ptp: ocp: Fix error handling in ptp_ocp_device_init
	net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
	ipv6: tcp: add a missing nf_reset_ct() in 3WHS handling
	net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg
	net: nfc: llcp: Add lock when modifying device list
	net: ethernet: ti: am65-cpsw: Fix error code in am65_cpsw_nuss_init_tx_chns()
	ibmveth: Remove condition to recompute TCP header checksum.
	netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
	selftests: netfilter: Test nf_tables audit logging
	selftests: netfilter: Extend nft_audit.sh
	netfilter: nf_tables: Deduplicate nft_register_obj audit logs
	netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
	ipv4: Set offload_failed flag in fibmatch results
	net: stmmac: dwmac-stm32: fix resume on STM32 MCU
	tipc: fix a potential deadlock on &tx->lock
	tcp: fix quick-ack counting to count actual ACKs of new data
	tcp: fix delayed ACKs for MSS boundary condition
	sctp: update transport state when processing a dupcook packet
	sctp: update hb timer immediately after users change hb_interval
	netlink: split up copies in the ack construction
	netlink: Fix potential skb memleak in netlink_ack
	netlink: annotate data-races around sk->sk_err
	HID: sony: remove duplicate NULL check before calling usb_free_urb()
	HID: intel-ish-hid: ipc: Disable and reenable ACPI GPE bit
	intel_idle: add Emerald Rapids Xeon support
	smb: use kernel_connect() and kernel_bind()
	parisc: Fix crash with nr_cpus=1 option
	dm zoned: free dmz->ddev array in dmz_put_zoned_devices
	RDMA/core: Require admin capabilities to set system parameters
	of: dynamic: Fix potential memory leak in of_changeset_action()
	IB/mlx4: Fix the size of a buffer in add_port_entries()
	gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
	gpio: pxa: disable pinctrl calls for MMP_GPIO
	RDMA/cma: Initialize ib_sa_multicast structure to 0 when join
	RDMA/cma: Fix truncation compilation warning in make_cma_ports
	RDMA/uverbs: Fix typo of sizeof argument
	RDMA/srp: Do not call scsi_done() from srp_abort()
	RDMA/siw: Fix connection failure handling
	RDMA/mlx5: Fix mutex unlocking on error flow for steering anchor creation
	RDMA/mlx5: Fix NULL string error
	x86/sev: Use the GHCB protocol when available for SNP CPUID requests
	ksmbd: fix race condition between session lookup and expire
	ksmbd: fix uaf in smb20_oplock_break_ack
	parisc: Restore __ldcw_align for PA-RISC 2.0 processors
	ipv6: remove nexthop_fib6_nh_bh()
	vrf: Fix lockdep splat in output path
	btrfs: fix an error handling path in btrfs_rename()
	btrfs: fix fscrypt name leak after failure to join log transaction
	netlink: remove the flex array from struct nlmsghdr
	btrfs: file_remove_privs needs an exclusive lock in direct io write
	ipv6: remove one read_lock()/read_unlock() pair in rt6_check_neigh()
	xen/events: replace evtchn_rwlock with RCU
	Linux 6.1.57

Change-Id: I2c200264df72a9043d91d31479c91b0d7f94863e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-11-02 07:05:54 +00:00
Greg Kroah-Hartman
d07ffd5565 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
This catches the android14-6.1-lts branch up with a lot of changes that
have only gone into the android14-6.1 branch to make testing easier and
to track more symbols properly.

This includes the following commits:

* 171c27ba1f BACKPORT: usb: gadget: uvc: Add missing initialization of ssp config descriptor
* bb0173a1da BACKPORT: usb: gadget: unconditionally allocate hs/ss descriptor in bind operation
* 5c4815f5b6 UPSTREAM: usb: gadget: f_uvc: change endpoint allocation in uvc_function_bind()
* 5a05f2e755 UPSTREAM: usb: gadget: function: Remove unused declarations
* defd93f219 UPSTREAM: usb: gadget: uvc: clean up comments and styling in video_pump
* 82fe654f56 UPSTREAM: mm/page_alloc: use write_seqlock_irqsave() instead write_seqlock() + local_irq_save().
* ed6694a682 UPSTREAM: cpuidle: teo: Update idle duration estimate when choosing shallower state
* d8e99e1af8 BACKPORT: Revert "PCI: dwc: Wait for link up only if link is started"
* 841ad9b9b3 UPSTREAM: ravb: Fix use-after-free issue in ravb_tx_timeout_work()
* 17e456ce41 UPSTREAM: ravb: Fix up dma_free_coherent() call in ravb_remove()
* 5ba644e8a0 BACKPORT: usb: typec: altmodes/displayport: Signal hpd low when exiting mode
* 9e4f6e1ef8 ANDROID: KVM: arm64: Fix KVM_HOST_S2_DEFAULT_MMIO_PTE encoding
* 5418491fa5 ANDROID: Update the ABI symbol list
* b821a3c8fc ANDROID: fs/proc: Perform priority inheritance around access_remote_vm()
* 37c1a91404 UPSTREAM: serial: 8250_dw: fall back to poll if there's no interrupt
*   35361bdac2 Merge "Merge tag 'android14-6.1.43_r00' into android14-6.1" into android14-6.1
|\
| * 769612f594 Merge tag 'android14-6.1.43_r00' into android14-6.1
* | 034b4b4f1b ANDROID: Update the ABI representation
* | 0947464633 ANDROID: power: Add vendor hook for suspend
|/
* b783e85610 ANDROID: Update the ABI symbol list
* 2c609cab0b UPSTREAM: of: reserved-mem: print out reserved-mem details during boot
* ff2563f384 ANDROID: GKI: Update symbol list for xiaomi "abi_gki_aarch64_xiaomi"
* 7542b3bef7 ANDROID: Update symbols list and ABI for qcom
* 63d4231d85 ANDROID: fuse-bpf: Add NULL pointer check in fuse_entry_revalidate
* 09641ca77f ANDROID: GKI: Update oplus symbol list update oplus symbol list for Addding hooks for adjusting alloc_flags
* 0b20035778 ANDROID: vendor_hooks: Add hooks for adjusting alloc_flags
* 367ce30ddc UPSTREAM: libceph: harden msgr2.1 frame segment length checks
* debc1e0486 ANDROID: Update the ABI symbol list
* 401b78ce87 ANDROID: mm: Add vendor hook in filemap_get_folio()
* 1b3269beea UPSTREAM: netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
* a9c65c7efb UPSTREAM: netfilter: ipset: Add schedule point in call_ad().
* cd4ea97d2a UPSTREAM: net: xfrm: Fix xfrm_address_filter OOB read
* a4ccba8bdc UPSTREAM: igb: set max size RX buffer when store bad packet is enabled
* 8a67c06094 ANDROID: GKI: fix ABI breakage in struct hid_device
* 28ee91ed2b UPSTREAM: HID: input: map battery system charging
* 2dd1c535d1 FROMGIT: maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()
* faa4efd6b1 UPSTREAM: maple_tree: replace data before marking dead in split and spanning store
* 47e3b4920d UPSTREAM: maple_tree: change mas_adopt_children() parent usage
* e0f829b74b UPSTREAM: maple_tree: introduce mas_tree_parent() definition
* e69d6570ed UPSTREAM: maple_tree: introduce mas_put_in_tree()
* d2e45cee2d UPSTREAM: maple_tree: reorder replacement of nodes to avoid live lock
* 545cc51b9f ANDROID: GKI: add allowed list for Exynosauto SoC
* f51787dfb7 ANDROID: Update the ABI symbol list
* 1b71e8ef45 ANDROID: Update the ABI symbol list
* 908a530787 ANDROID: KVM: Update nVHE stack size to 8KB
* 53771c1826 ANDROID: Update the ABI symbol list
* a22ff19ff6 ANDROID: mm: Add vendor hook in rmqueue()
* 09ca291e0a FROMLIST: virt: geniezone: Add memory pin/unpin support
* 7cc3767c2a FROMLIST: virt: geniezone: Add block-based demand paging support
* 3fcc07ee5f FROMLIST: virt: geniezone: Add demand paging support
* 6a1a30896d ANDROID: virt: geniezone: Refactoring memory region support
* 9f64b18da1 ANDROID: virt: geniezone: Refactor code comments from mainline v6 accordingly
* 544b128747 ANDROID: virt: geniezone: Refactoring vgic to align with upstream v6
* f9291d7af0 ANDROID: virt: geniezone: Refactoring vcpu to align with upstream v6
* e348fe6d2d ANDROID: virt: geniezone: Refactoring vm capability to align with upstream v6
* fb3444af07 ANDROID: virt: geniezone: Refactoring irqfd to align with upstream v6
* 7e1cb3bdec ANDROID: sched: Add EXPORT_SYMBOL_GPL for sched_wakeup
* 73cee74111 ANDROID: vendor_hooks: Export direct reclaim trace points
* fca353bdc0 ANDROID: mm: freeing MIGRATE_ISOLATE page instantly
* 08351370ec ANDROID: KVM: arm64: Allow setting device attr in stage-2 PTEs
* b25aabd50a ANDROID: KVM: arm64: Fix hyp tracing build dependencies
* f82e080810 ANDROID: abi_gki_aarch64_qcom: update abi symbols
* 2fff9f7cd4 ANDROID: vendor hooks: Enable Vendor hook to register smmu driver to dedicated iommu bus defined by vendor.
* fadd504206 UPSTREAM: netfilter: xt_sctp: validate the flag_info count
* 1c90408931 UPSTREAM: mm/mglru: make memcg_lru->lock irq safe
* 87cd3d689e UPSTREAM: iommu/amd: Fix possible memory leak of 'domain'
* e5f37a2c46 UPSTREAM: selftests/tc-testing: Remove configs that no longer exist
* 7c793b4d8f ANDROID: abi_gki_aarch64_qcom: update abi symbols
* bf51ba7b3c ANDROID: ABI: Update symbol list for imx
* 1e6a9aeb14 ANDROID: GKI: add allowed list for Exynosauto SoC
* a338830fde UPSTREAM: ufs: core: wlun send SSU timeout recovery
* fd2e98c6f5 UPSTREAM: PM: domains: fix integer overflow issues in genpd_parse_state()
* e3e2ece8a0 ANDROID: mm: vh for compaction begin/end
* 2176509c4d UPSTREAM: netfilter: xt_u32: validate user space input
* 132b47119e UPSTREAM: netfilter: nfnetlink_osf: avoid OOB read
* 8c3b0a3493 UPSTREAM: ipv4: fix null-deref in ipv4_link_failure
* 4181951d21 UPSTREAM: net/sched: Retire rsvp classifier
* acb0728638 UPSTREAM: usb: core: stop USB enumeration if too many retries
* 8b1bd87917 ANDROID: KVM: arm64: Add missing hyp events for forwarded SMCs
* f4812c6864 ANDROID: KVM: arm64: Store hyp address in the host fp state array
* 6334225e9b ANDROID: KVM: arm64: Allocate host fp/simd state later in initialization
* 83ebd50235 UPSTREAM: netfilter: nf_tables: disallow rule removal from chain binding
* 7d088a3e4f UPSTREAM: fs/smb/client: Reset password pointer to NULL
* 2807a43b69 ANDROID: Update the ABI symbol list
* 368b752997 FROMGIT: usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails
* 4fcc13c1ff ANDROID: mm: add missing check in the backport for handling faults under VMA lock
* 1fe248991f ANDROID: Update the ABI symbol list
* 4301901382 ANDROID: Update STG for ANDROID_KABI_USE(1, unsigned int saved_state)
* 22cd8e0def FROMGIT: freezer,sched: Use saved_state to reduce some spurious wakeups
* 457e65696a BACKPORT: FROMGIT: sched/core: Remove ifdeffery for saved_state
* 3437652fa2 BACKPORT: erofs: set block size to the on-disk block size
* e84c93fd42 BACKPORT: erofs: avoid hardcoded blocksize for subpage block support
* 36496d09e8 BACKPORT: erofs: get rid of z_erofs_do_map_blocks() forward declaration
* cee0694362 BACKPORT: erofs: get rid of erofs_inode_datablocks()
* f7d9c7d0b4 BACKPORT: erofs: simplify iloc()
* 7d42260e5c ANDROID: Update the ABI symbol list
* 324c8522f9 ANDROID: Update symbol list for mtk
* 30d86f760c ANDROID: mm: Add vendor hooks for recording when kswapd finishing the reclaim job
* 0deb7bb73e ANDROID: mm: Add vendor hooks for __alloc_pages_slowpath
* 5c2855fbce ANDROID: mm: Add vendor hook for compact pages work.
* 4e10001b7c ANDROID: Update the ABI symbol list
* 2434dece1f FROMGIT: usb: gadget: u_serial: Add null pointer check in gserial_suspend
* 5f8aa27248 ANDROID: Update the ABI symbol list
* f7e7874d9b BACKPORT: usb: typec: bus: verify partner exists in typec_altmode_attention
* 5cb3b26d79 ANDROID: ABI: Update the pixel symbol list and stg
* cf1ba6a102 UPSTREAM: shmem: fix smaps BUG sleeping while atomic
* 52824b718c UPSTREAM: blk-ioprio: Introduce promote-to-rt policy
* dce1834895 ANDROID: ABI: Update oplus symbol list
* 89815ec103 ANDROID: GKI: export symbols to do reverse mapping within memcg and modify lru stats
* 45fe413fdf ANDROID: gki_defconfig: Enable CONFIG_BLK_CGROUP_IOPRIO
* c240f4ed00 ANDROID: gunyah: Convert mutex_lock_interruptible to mutex_lock
* 6305df8009 UPSTREAM: bpf, sockmap: fix deadlocks in the sockhash and sockmap
* 7999b48d76 UPSTREAM: net: sched: sch_qfq: Fix UAF in qfq_dequeue()
* 709dc094e3 UPSTREAM: ARM: ptrace: Restore syscall skipping for tracers
* ea494b2716 UPSTREAM: ARM: ptrace: Restore syscall restart tracing
* b374d94195 Revert "BACKPORT: FROMGIT: usb: gadget: udc: Handle gadget_connect failure during bind operation"
* ae5ea9043d ANDROID: Move microdroid and crashdump defconfigs to common
* b548c046c7 UPSTREAM: net: prevent skb corruption on frag list segmentation
* 060ebb378d ANDROID: ABI: Update oplus symbol list
* f451f4a599 ANDROID: vendor_hooks: Add hooks for oem percpu-rwsem optimaton
* a3cb85bffe ANDROID: ABI: Update oplus symbol list
* 740a51391b ANDROID: vendor_hooks: Add hooks for binder
* c6724bfeda ANDROID: uid_sys_stat: instead update_io_stats_uid_locked to update_io_stats_uid
* 97f2f8a065 ANDROID: uid_sys_stat: split the global lock uid_lock to the fine-grained locks for each hlist in hash_table.
* 9290fc3e8d ANDROID: Flush deferred probe list before dropping host priv
* 6625133137 ANDROID: KVM: arm64: Don't force pte mappings in [n]VHE guest stage-2
* 2f2c035453 UPSTREAM: usb: gadget: u_serial: Add null pointer check in gs_start_io
* ac9005946a UPSTREAM: sched: Consider task_struct::saved_state in wait_task_inactive()
* b52b33e912 UPSTREAM: sched: Unconditionally use full-fat wait_task_inactive()
* 8465ef2b4f ANDROID: GKI: Update symbol list for ASUS
* 1e4c6e5048 UPSTREAM: tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
* 40b46d8656 UPSTREAM: netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
* d8f69aade5 UPSTREAM: iommu/of: mark an unused function as __maybe_unused
* a032fbc776 UPSTREAM: iommu: dma: Use of_iommu_get_resv_regions()
* 693c712967 UPSTREAM: iommu: Implement of_iommu_get_resv_regions()
* e9603e85ac UPSTREAM: dt-bindings: reserved-memory: Document iommu-addresses
* 64ed291347 UPSTREAM: of: Introduce of_translate_dma_region()
* 536996aa30 ANDROID: GKI: Add rockchip fragment and build.config
* 6a10b34387 ANDROID: GKI: Add symbols for rockchip v4l2
* 3e3c6debe4 ANDROID: GKI: Add hid and usb symbols for rockchip
* 53162778e7 ANDROID: GKI: Add cdc symbols for rockchip
* b09b06dcf1 ANDROID: GKI: Add symbols for rockchip sdhci
* 62d64a59d9 ANDROID: GKI: Add symbols for rockchip devfreq
* 9c9ee611cf ANDROID: GKI: Add crypto symbols for rockchip
* 7246ecec46 ANDROID: GKI: Add rockchip drm symbols and abi
* 2f3d6aa0c9 ANDROID: GKI: Add initial abi for rockchip
* 1e26ba1901 ANDROID: GKI: Add initial rockchip symbol list
* 404360f6d3 FROMLIST: clk: clk-fractional-divider: Export clk_fractional_divider_general_approximation API
* c3d6c235b2 UPSTREAM: net/sched: sch_hfsc: Ensure inner classes have fsc curve
* d3212c2dba UPSTREAM: sched/rt: Fix bad task migration for rt tasks
* 215e38e517 ANDROID: GKI: Add ASUS symbol list
* e52e60e3ed UPSTREAM: tcpm: Avoid soft reset when partner does not support get_status
* bbc9d3bc0b ANDROID: vendor_hooks: mm: Add tune_swappiness vendor hook in get_swappiness()
* 7024c9cd28 ANDROID: ABI: Update symbols to unisoc whitelist
* de3e9f3111 ANDROID: ABI: Add to QCOM symbols list
* 85902d60cd ANDROID: ABI: update symbol list for galaxy
* c2ac612610 BACKPORT: printk: ringbuffer: Fix truncating buffer size min_t cast
* 7579b22626 ANDROID: GKI: Add symbols to symbol list for oplus
* 6e5f182128 ANDROID: signal: Add vendor hook for memory reap
* 3a51a61927 ANDROID: abi_gki_aarch64_qcom: white list symbols for mglru overshoot
* 0500235e3f ANDROID: vendor_hook: Add vendor hook to decide scan abort policy
* e6ed59127c UPSTREAM: af_unix: Fix null-ptr-deref in unix_stream_sendpage().
* 2eb5b31ac1 FROMLIST: ufs: core: fix abnormal scale up after last cmd finish
* 89434cbd2d FROMLIST: ufs: core: fix abnormal scale up after scale down
* e490b62fed FROMLIST: ufs: core: only suspend clock scaling if scale down
* 3ffb038098 ANDROID: GKI: update ABI definition
* e2fa9ebcae UPSTREAM: zsmalloc: allow only one active pool compaction context
* 478ec4dbea ANDROID: GKI: Update Tuxera symbol list
* cd94fe67fd ANDROID: ABI: Update symbols to qcom whitelist
* 68eefde2d3 UPSTREAM: usb: typec: tcpm: set initial svdm version based on pd revision
* a68bd01493 ANDROID: KVM: arm64: Don't update IOMMUs for share/unshare
* 20ecb229c5 ANDROID: cpuidle: teo: Export a function that allows modifying util_threshold
* 2490ab50e7 ANDROID: sched: Add vendor hook for rt util update
* 6d97f75abc ANDROID: sched: Add vendor hook for util-update related functions
* e08c5de06e ANDROID: sched: Add vendor hooks for override sugov behavior
* 5762974151 ANDROID: Add new hook to enable overriding uclamp_validate()
* b57e3c1d99 ANDROID: sched/uclamp: Don't enable uclamp_is_used static key by in-kernel requests
* 2b25d535d0 ANDROID: topology: Add vendor hook for use_amu_fie
* eb9686932b ANDROID: sched: Export symbols needed for vendor hooks
* 84131c988b ANDROID: Update symbol list for Exynos Auto SoCs
* 3367abadff UPSTREAM: netfilter: nf_tables: deactivate catchall elements in next generation
* a891f77b7b ANDROID: GKI: Update symbols to symbol list
* 4d8d9522db ANDROID: GKI: Export four symbols in file net/core/net-trace.c
* 3973acfed0 UPSTREAM: blk-ioc: fix recursive spin_lock/unlock_irq() in ioc_clear_queue()
* 523bfe8539 ANDROID: fuse-bpf: Align data structs for 32-bit kernels
* 9f5a84b955 ANDROID: GKI: Update symbol list for xiaomi
* 176d72d941 ANDROID: vendor_hooks: export cgroup_threadgroup_rwsem
* 1fb9e95d46 ANDROID: GKI: add symbol list file for meizu
* 8fb9de0877 ANDROID: fuse-bpf: Get correct inode in mkdir
* 0fdb44964c ANDROID: ABI: Update allowed list for QCOM
* 404522c763 UPSTREAM: blk-ioc: protect ioc_destroy_icq() by 'queue_lock'
* bd0308e36b ANDROID: GKI: Update symbols to symbol list
* 87647c0c54 ANDROID: uid_sys_stats: Use llist for deferred work
* 4b3ab91671 UPSTREAM: net: nfc: Fix use-after-free caused by nfc_llcp_find_local
* c603880bd5 UPSTREAM: netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
* d95b2b008e UPSTREAM: net: tap_open(): set sk_uid from current_fsuid()
* b15c3a3df0 UPSTREAM: usb: typec: ucsi: Fix command cancellation
* 0c34d588af UPSTREAM: locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
* 20266a0652 ANDROID: kleaf: Remove ptp_kvm.ko from i386 modules
* ce18fe6f29 ANDROID: GKI: Add symbols to symbol list for oplus
* 8e6550add2 ANDROID: vendor_hooks: Add tune swappiness hook in get_scan_count()
* dd87a7122c ANDROID: GKI: Update symbol list for VIVO
* 638804ea1c ANDROID: kleaf: get_gki_modules_list add i386 option
* 264e2973a4 ANDROID: arm as an option for get_gki_modules_list
* 37edfbc5c4 UPSTREAM: um: Only disable SSE on clang to work around old GCC bugs
* 2a13641a14 ANDROID: GKI: Update abi_gki_aarch64_qcom for page_owner symbols
* f08623648a ANDROID: mm: Export page_owner_inited and __set_page_owner
* e44e3955f7 ANDROID: Use alias for old rules.
* 67018dd4e4 ANDROID: virt: geniezone: Enable as GKI module for arm64
* 9a399ca713 ANDROID: Add arch specific gki module list targets
* 3e079b7691 FROMLIST: virt: geniezone: Add dtb config support
* 39bd65ec1d FROMLIST: virt: geniezone: Add memory region support
* c26057e351 FROMLIST: virt: geniezone: Add ioeventfd support
* e73a5222e6 FROMLIST: virt: geniezone: Add irqfd support
* 7427b76faa FROMLIST: virt: geniezone: Add irqchip support for virtual interrupt injection
* 540cff0872 FROMLIST: virt: geniezone: Add vcpu support
* 6ce86d075e FROMLIST: virt: geniezone: Add GenieZone hypervisor support
* 40107a0081 FROMLIST: dt-bindings: hypervisor: Add MediaTek GenieZone hypervisor
* beaffb638b FROMLIST: docs: geniezone: Introduce GenieZone hypervisor
* e0c4636bd2 UPSTREAM: net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
* ec1f17ddac UPSTREAM: net: tun_chr_open(): set sk_uid from current_fsuid()
* 0adc759b0c UPSTREAM: exfat: check if filename entries exceeds max filename length
* f4ba064f76 UPSTREAM: net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
* 5b0878fc61 ANDROID: abi_gki_aarch64_qcom: update abi symbols
* 7551a1a2a1 ANDROID: cgroup: Add android_rvh_cgroup_force_kthread_migration
* cd018c99fa FROMGIT: pstore/ram: Check start of empty przs during init
* ffaab71302 UPSTREAM: erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
* 8497f46a87 UPSTREAM: erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF
* 2f805fb912 UPSTREAM: erofs: Fix detection of atomic context
* cc6111a287 UPSTREAM: erofs: fix compact 4B support for 16k block size
* f11ccb03a0 UPSTREAM: erofs: kill hooked chains to avoid loops on deduplicated compressed images
* 7521b904dc UPSTREAM: erofs: fix potential overflow calculating xattr_isize
* 6ec6eee87e UPSTREAM: erofs: stop parsing non-compact HEAD index if clusterofs is invalid
* 9089c10d9c UPSTREAM: erofs: initialize packed inode after root inode is assigned
* 797dac42cc ANDROID: GKI: Update ABI for zsmalloc fixes
* cb440cecb2 BACKPORT: zsmalloc: fix races between modifications of fullness and isolated
* c0e84be923 ANDROID: ABI: Update symbols to unisoc whitelist for A14-6.1
* 5ef132d564 UPSTREAM: zsmalloc: consolidate zs_pool's migrate_lock and size_class's locks
* ec6b3d552a UPSTREAM: netfilter: nfnetlink_log: always add a timestamp
* 4db95aa21a ANDROID: virt: gunyah: Do not allocate irq for GH_RM_RESOURCE_NO_VIRQ
* 2d1d3be2ba ANDROID: GKI: Add Tuxera symbol list
* 20d8a89758 ANDROID: ABI: Update oplus symbol list
* 7afa84fbb9 ANDROID: vendor_hooks: Add hooks for waking up and exiting control
* 9ca47685c5 ANDROID: GKI: Update symbol list for xiaomi
* 2d7f87b0ff ANDROID: vendor_hooks:vendor hook for percpu-rwsem
* 63af84cffe ANDROID: fips140: fix the error injection module parameters
* 71bedf9d9c BACKPORT: blk-crypto: dynamically allocate fallback profile
* 086befddbe UPSTREAM: net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
* ecd8d8a208 UPSTREAM: Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
* 6923dcc21d UPSTREAM: media: usb: siano: Fix warning due to null work_func_t function pointer

Change-Id: Idc01a15f70d151d08c30ee23c2939260764e428b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-10-31 17:20:05 +00:00
Greg Kroah-Hartman
2950de8b2d Merge 6.1.56 into android14-6.1-lts
Changes in 6.1.56
	NFS: Fix error handling for O_DIRECT write scheduling
	NFS: Fix O_DIRECT locking issues
	NFS: More O_DIRECT accounting fixes for error paths
	NFS: Use the correct commit info in nfs_join_page_group()
	NFS: More fixes for nfs_direct_write_reschedule_io()
	NFS/pNFS: Report EINVAL errors from connect() to the server
	SUNRPC: Mark the cred for revalidation if the server rejects it
	NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS server
	NFSv4.1: fix pnfs MDS=DS session trunking
	media: v4l: Use correct dependency for camera sensor drivers
	media: via: Use correct dependency for camera sensor drivers
	netfs: Only call folio_start_fscache() one time for each folio
	dm: fix a race condition in retrieve_deps
	btrfs: improve error message after failure to add delayed dir index item
	btrfs: remove BUG() after failure to insert delayed dir index item
	ext4: replace the traditional ternary conditional operator with with max()/min()
	ext4: move setting of trimmed bit into ext4_try_to_trim_range()
	ext4: do not let fstrim block system suspend
	netfilter: nf_tables: don't skip expired elements during walk
	netfilter: nf_tables: GC transaction API to avoid race with control plane
	netfilter: nf_tables: adapt set backend to use GC transaction API
	netfilter: nft_set_hash: mark set element as dead when deleting from packet path
	netfilter: nf_tables: remove busy mark and gc batch API
	netfilter: nf_tables: don't fail inserts if duplicate has expired
	netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
	netfilter: nf_tables: GC transaction race with netns dismantle
	netfilter: nf_tables: GC transaction race with abort path
	netfilter: nf_tables: use correct lock to protect gc_list
	netfilter: nf_tables: defer gc run if previous batch is still pending
	netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
	netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
	netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
	netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails
	netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
	netfilter: nf_tables: fix memleak when more than 255 elements expired
	ASoC: meson: spdifin: start hw on dai probe
	netfilter: nf_tables: disallow element removal on anonymous sets
	bpf: Avoid deadlock when using queue and stack maps from NMI
	ASoC: rt5640: Revert "Fix sleep in atomic context"
	ASoC: rt5640: Fix IRQ not being free-ed for HDA jack detect mode
	ALSA: hda/realtek: Splitting the UX3402 into two separate models
	netfilter: conntrack: fix extension size table
	selftests: tls: swap the TX and RX sockets in some tests
	net/core: Fix ETH_P_1588 flow dissector
	ASoC: hdaudio.c: Add missing check for devm_kstrdup
	ASoC: imx-audmix: Fix return error with devm_clk_get()
	octeon_ep: fix tx dma unmap len values in SG
	iavf: do not process adminq tasks when __IAVF_IN_REMOVE_TASK is set
	ASoC: SOF: core: Only call sof_ops_free() on remove if the probe was successful
	iavf: add iavf_schedule_aq_request() helper
	iavf: schedule a request immediately after add/delete vlan
	i40e: Fix VF VLAN offloading when port VLAN is configured
	netfilter, bpf: Adjust timeouts of non-confirmed CTs in bpf_ct_insert_entry()
	ionic: fix 16bit math issue when PAGE_SIZE >= 64KB
	igc: Fix infinite initialization loop with early XDP redirect
	ipv4: fix null-deref in ipv4_link_failure
	scsi: iscsi_tcp: restrict to TCP sockets
	powerpc/perf/hv-24x7: Update domain value check
	dccp: fix dccp_v4_err()/dccp_v6_err() again
	x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
	net: hsr: Properly parse HSRv1 supervisor frames.
	platform/x86: intel_scu_ipc: Check status after timeout in busy_loop()
	platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt()
	platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command()
	platform/x86: intel_scu_ipc: Fail IPC send if still busy
	x86/srso: Fix srso_show_state() side effect
	x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
	net: hns3: add cmdq check for vf periodic service task
	net: hns3: fix GRE checksum offload issue
	net: hns3: only enable unicast promisc when mac table full
	net: hns3: fix fail to delete tc flower rules during reset issue
	net: hns3: add 5ms delay before clear firmware reset irq source
	net: bridge: use DEV_STATS_INC()
	team: fix null-ptr-deref when team device type is changed
	net: rds: Fix possible NULL-pointer dereference
	netfilter: nf_tables: disable toggling dormant table state more than once
	netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
	i915/pmu: Move execlist stats initialization to execlist specific setup
	locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
	net: ena: Flush XDP packets on error.
	bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
	octeontx2-pf: Do xdp_do_flush() after redirects.
	igc: Expose tx-usecs coalesce setting to user
	proc: nommu: /proc/<pid>/maps: release mmap read lock
	proc: nommu: fix empty /proc/<pid>/maps
	cifs: Fix UAF in cifs_demultiplex_thread()
	gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
	i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
	i2c: mux: gpio: Add missing fwnode_handle_put()
	i2c: xiic: Correct return value check for xiic_reinit()
	ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
	ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
	ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen
	ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names
	ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode
	f2fs: optimize iteration over sparse directories
	f2fs: get out of a repeat loop when getting a locked data page
	s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_CLR2SECK2 IOCTL
	arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved
	wifi: ath11k: fix tx status reporting in encap offload mode
	wifi: ath11k: Cleanup mac80211 references on failure during tx_complete
	scsi: qla2xxx: Select qpair depending on which CPU post_cmd() gets called
	scsi: qla2xxx: Use raw_smp_processor_id() instead of smp_processor_id()
	drm/amdkfd: Flush TLB after unmapping for GFX v9.4.3
	drm/amdkfd: Insert missing TLB flush on GFX10 and later
	btrfs: reset destination buffer when read_extent_buffer() gets invalid range
	vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent()
	MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
	spi: spi-gxp: BUG: Correct spi write return value
	drm/bridge: ti-sn65dsi83: Do not generate HFP/HBP/HSA and EOT packet
	bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
	bus: ti-sysc: Fix missing AM35xx SoC matching
	firmware: arm_scmi: Harden perf domain info access
	firmware: arm_scmi: Fixup perf power-cost/microwatt support
	power: supply: mt6370: Fix missing error code in mt6370_chg_toggle_cfo()
	clk: sprd: Fix thm_parents incorrect configuration
	clk: tegra: fix error return case for recalc_rate
	ARM: dts: omap: correct indentation
	ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4
	ARM: dts: Unify pwm-omap-dmtimer node names
	ARM: dts: Unify pinctrl-single pin group nodes for omap4
	ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
	bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
	power: supply: ucs1002: fix error code in ucs1002_get_property()
	firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()
	xtensa: add default definition for XCHAL_HAVE_DIV32
	xtensa: iss/network: make functions static
	xtensa: boot: don't add include-dirs
	xtensa: umulsidi3: fix conditional expression
	xtensa: boot/lib: fix function prototypes
	power: supply: rk817: Fix node refcount leak
	selftests/powerpc: Use CLEAN macro to fix make warning
	selftests/powerpc: Pass make context to children
	selftests/powerpc: Fix emit_tests to work with run_kselftest.sh
	soc: imx8m: Enable OCOTP clock for imx8mm before reading registers
	arm64: dts: imx: Add imx8mm-prt8mm.dtb to build
	firmware: arm_ffa: Don't set the memory region attributes for MEM_LEND
	gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
	i2c: npcm7xx: Fix callback completion ordering
	x86/reboot: VMCLEAR active VMCSes before emergency reboot
	ceph: drop messages from MDS when unmounting
	dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock
	bpf: Annotate bpf_long_memcpy with data_race
	spi: sun6i: reduce DMA RX transfer width to single byte
	spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain
	nvme-fc: Prevent null pointer dereference in nvme_fc_io_getuuid()
	parisc: sba: Fix compile warning wrt list of SBA devices
	parisc: iosapic.c: Fix sparse warnings
	parisc: drivers: Fix sparse warning
	parisc: irq: Make irq_stack_union static to avoid sparse warning
	scsi: qedf: Add synchronization between I/O completions and abort
	scsi: ufs: core: Move __ufshcd_send_uic_cmd() outside host_lock
	scsi: ufs: core: Poll HCS.UCRDY before issuing a UIC command
	selftests/ftrace: Correctly enable event in instance-event.tc
	ring-buffer: Avoid softlockup in ring_buffer_resize()
	btrfs: assert delayed node locked when removing delayed item
	selftests: fix dependency checker script
	ring-buffer: Do not attempt to read past "commit"
	net/smc: bugfix for smcr v2 server connect success statistic
	ata: sata_mv: Fix incorrect string length computation in mv_dump_mem()
	platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
	platform/x86: asus-wmi: Support 2023 ROG X16 tablet mode
	thermal/of: add missing of_node_put()
	drm/amd/display: Don't check registers, if using AUX BL control
	drm/amdgpu/soc21: don't remap HDP registers for SR-IOV
	drm/amdgpu/nbio4.3: set proper rmmio_remap.reg_offset for SR-IOV
	drm/amdgpu: Handle null atom context in VBIOS info ioctl
	riscv: errata: fix T-Head dcache.cva encoding
	scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command
	scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command
	smb3: correct places where ENOTSUPP is used instead of preferred EOPNOTSUPP
	ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
	spi: nxp-fspi: reset the FLSHxCR1 registers
	spi: stm32: add a delay before SPI disable
	ASoC: fsl: imx-pcm-rpmsg: Add SNDRV_PCM_INFO_BATCH flag
	spi: intel-pci: Add support for Granite Rapids SPI serial flash
	bpf: Clarify error expectations from bpf_clone_redirect
	ALSA: hda: intel-sdw-acpi: Use u8 type for link index
	ASoC: cs42l42: Ensure a reset pulse meets minimum pulse width.
	ASoC: cs42l42: Don't rely on GPIOD_OUT_LOW to set RESET initially low
	firmware: cirrus: cs_dsp: Only log list of algorithms in debug build
	memblock tests: fix warning: "__ALIGN_KERNEL" redefined
	memblock tests: fix warning ‘struct seq_file’ declared inside parameter list
	ASoC: imx-rpmsg: Set ignore_pmdown_time for dai_link
	media: vb2: frame_vector.c: replace WARN_ONCE with a comment
	NFSv4.1: fix zero value filehandle in post open getattr
	ASoC: SOF: Intel: MTL: Reduce the DSP init timeout
	powerpc/watchpoints: Disable preemption in thread_change_pc()
	powerpc/watchpoint: Disable pagefaults when getting user instruction
	powerpc/watchpoints: Annotate atomic context in more places
	ncsi: Propagate carrier gain/loss events to the NCSI controller
	net: hsr: Add __packed to struct hsr_sup_tlv.
	tsnep: Fix NAPI scheduling
	tsnep: Fix NAPI polling with budget 0
	LoongArch: Set all reserved memblocks on Node#0 at initialization
	fbdev/sh7760fb: Depend on FB=y
	perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
	nvme-pci: factor the iod mempool creation into a helper
	nvme-pci: factor out a nvme_pci_alloc_dev helper
	nvme-pci: do not set the NUMA node of device if it has none
	wifi: ath11k: Don't drop tx_status when peer cannot be found
	scsi: qla2xxx: Fix NULL pointer dereference in target mode
	nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev
	smack: Record transmuting in smk_transmuted
	smack: Retrieve transmuting information in smack_inode_getsecurity()
	iommu/arm-smmu-v3: Fix soft lockup triggered by arm_smmu_mm_invalidate_range
	x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race
	x86/srso: Add SRSO mitigation for Hygon processors
	KVM: SVM: INTERCEPT_RDTSCP is never intercepted anyway
	KVM: SVM: Fix TSC_AUX virtualization setup
	KVM: x86/mmu: Open code leaf invalidation from mmu_notifier
	KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe()
	mptcp: fix bogus receive window shrinkage with multiple subflows
	misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe
	Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
	serial: 8250_port: Check IRQ data before use
	nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
	netfilter: nf_tables: disallow rule removal from chain binding
	ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
	LoongArch: Define relocation types for ABI v2.10
	LoongArch: numa: Fix high_memory calculation
	ata: libata-scsi: link ata port and scsi device
	ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
	io_uring/fs: remove sqe->rw_flags checking from LINKAT
	i2c: i801: unregister tco_pdev in i801_probe() error path
	ASoC: amd: yc: Fix non-functional mic on Lenovo 82QF and 82UG
	kernel/sched: Modify initial boot task idle setup
	sched/rt: Fix live lock between select_fallback_rq() and RT push
	netfilter: nf_tables: fix kdoc warnings after gc rework
	Revert "SUNRPC dont update timeout value on connection reset"
	timers: Tag (hr)timer softirq as hotplug safe
	drm/tests: Fix incorrect argument in drm_test_mm_insert_range
	arm64: defconfig: remove CONFIG_COMMON_CLK_NPCM8XX=y
	mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()
	mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
	mm: memcontrol: fix GFP_NOFS recursion in memory.high enforcement
	ring-buffer: Update "shortest_full" in polling
	btrfs: properly report 0 avail for very full file systems
	media: uvcvideo: Fix OOB read
	bpf: Add override check to kprobe multi link attach
	bpf: Fix BTF_ID symbol generation collision
	bpf: Fix BTF_ID symbol generation collision in tools/
	net: thunderbolt: Fix TCPv6 GSO checksum calculation
	fs/smb/client: Reset password pointer to NULL
	ata: libata-core: Fix ata_port_request_pm() locking
	ata: libata-core: Fix port and device removal
	ata: libata-core: Do not register PM operations for SAS ports
	ata: libata-sata: increase PMP SRST timeout to 10s
	drm/i915/gt: Fix reservation address in ggtt_reserve_guc_top
	power: supply: rk817: Add missing module alias
	power: supply: ab8500: Set typing and props
	fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
	drm/amdkfd: Use gpu_offset for user queue's wptr
	drm/meson: fix memory leak on ->hpd_notify callback
	memcg: drop kmem.limit_in_bytes
	mm, memcg: reconsider kmem.limit_in_bytes deprecation
	ASoC: amd: yc: Fix a non-functional mic on Lenovo 82TL
	Linux 6.1.56

Change-Id: Id110614d91d6d60fb6c7622c5af82f219a84a30f
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-10-27 09:17:04 +00:00
Greg Kroah-Hartman
1c5ec1e54d Merge 6.1.55 into android14-6.1-lts
Changes in 6.1.55
	autofs: fix memory leak of waitqueues in autofs_catatonic_mode
	btrfs: output extra debug info if we failed to find an inline backref
	locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
	ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
	kernel/fork: beware of __put_task_struct() calling context
	rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
	scftorture: Forgive memory-allocation failure if KASAN
	ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
	perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
	perf/imx_ddr: speed up overflow frequency of cycle
	hw_breakpoint: fix single-stepping when using bpf_overflow_handler
	ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
	selftests/nolibc: fix up kernel parameters support
	devlink: remove reload failed checks in params get/set callbacks
	crypto: lrw,xts - Replace strlcpy with strscpy
	ice: Don't tx before switchdev is fully configured
	wifi: ath9k: fix fortify warnings
	wifi: ath9k: fix printk specifier
	wifi: mwifiex: fix fortify warning
	mt76: mt7921: don't assume adequate headroom for SDIO headers
	wifi: wil6210: fix fortify warnings
	can: sun4i_can: Add acceptance register quirk
	can: sun4i_can: Add support for the Allwinner D1
	net: Use sockaddr_storage for getsockopt(SO_PEERNAME).
	net/ipv4: return the real errno instead of -EINVAL
	crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
	Bluetooth: Fix hci_suspend_sync crash
	netlink: convert nlk->flags to atomic flags
	tpm_tis: Resend command to recover from data transfer errors
	mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
	alx: fix OOB-read compiler warning
	wifi: mac80211: check S1G action frame size
	netfilter: ebtables: fix fortify warnings in size_entry_mwt()
	wifi: cfg80211: reject auth/assoc to AP with our address
	wifi: cfg80211: ocb: don't leave if not joined
	wifi: mac80211: check for station first in client probe
	wifi: mac80211_hwsim: drop short frames
	libbpf: Free btf_vmlinux when closing bpf_object
	drm/bridge: tc358762: Instruct DSI host to generate HSE packets
	drm/edid: Add quirk for OSVR HDK 2.0
	arm64: dts: qcom: sm6125-pdx201: correct ramoops pmsg-size
	arm64: dts: qcom: sm6350: correct ramoops pmsg-size
	arm64: dts: qcom: sm8150-kumano: correct ramoops pmsg-size
	arm64: dts: qcom: sm8250-edo: correct ramoops pmsg-size
	samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
	drm/amd/display: Fix underflow issue on 175hz timing
	ASoC: SOF: topology: simplify code to prevent static analysis warnings
	ASoC: Intel: sof_sdw: Update BT offload config for soundwire config
	ALSA: hda: intel-dsp-cfg: add LunarLake support
	drm/amd/display: Use DTBCLK as refclk instead of DPREFCLK
	drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN31
	drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN314
	drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
	drm/mediatek: dp: Change logging to dev for mtk_dp_aux_transfer()
	bus: ti-sysc: Configure uart quirks for k3 SoC
	md: raid1: fix potential OOB in raid1_remove_disk()
	ext2: fix datatype of block number in ext2_xattr_set2()
	fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
	jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
	PCI: dwc: Provide deinit callback for i.MX
	ARM: 9317/1: kexec: Make smp stop calls asynchronous
	powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
	PCI: vmd: Disable bridge window for domain reset
	PCI: fu740: Set the number of MSI vectors
	media: mdp3: Fix resource leaks in of_find_device_by_node
	media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
	media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
	media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
	media: anysee: fix null-ptr-deref in anysee_master_xfer
	media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
	media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
	scsi: lpfc: Abort outstanding ELS cmds when mailbox timeout error is detected
	media: tuners: qt1010: replace BUG_ON with a regular error
	media: pci: cx23885: replace BUG with error return
	usb: cdns3: Put the cdns set active part outside the spin lock
	usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
	tools: iio: iio_generic_buffer: Fix some integer type and calculation
	scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
	serial: cpm_uart: Avoid suspicious locking
	misc: open-dice: make OPEN_DICE depend on HAS_IOMEM
	usb: ehci: add workaround for chipidea PORTSC.PEC bug
	usb: chipidea: add workaround for chipidea PEC bug
	media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
	kobject: Add sanity check for kset->kobj.ktype in kset_register()
	interconnect: Fix locking for runpm vs reclaim
	printk: Keep non-panic-CPUs out of console lock
	printk: Consolidate console deferred printing
	dma-buf: Add unlocked variant of attachment-mapping functions
	misc: fastrpc: Prepare to dynamic dma-buf locking specification
	misc: fastrpc: Fix incorrect DMA mapping unmap request
	MIPS: Use "grep -E" instead of "egrep"
	btrfs: add a helper to read the superblock metadata_uuid
	btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
	block: factor out a bvec_set_page helper
	nvmet: use bvec_set_page to initialize bvecs
	nvmet-tcp: pass iov_len instead of sg->length to bvec_set_page()
	drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
	scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
	selftests: tracing: Fix to unmount tracefs for recovering environment
	x86/ibt: Suppress spurious ENDBR
	riscv: kexec: Align the kexeced kernel entry
	scsi: target: core: Fix target_cmd_counter leak
	scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
	panic: Reenable preemption in WARN slowpath
	x86/boot/compressed: Reserve more memory for page tables
	x86/purgatory: Remove LTO flags
	samples/hw_breakpoint: fix building without module unloading
	md/raid1: fix error: ISO C90 forbids mixed declarations
	Revert "SUNRPC: Fail faster on bad verifier"
	attr: block mode changes of symlinks
	ovl: fix failed copyup of fileattr on a symlink
	ovl: fix incorrect fdput() on aio completion
	io_uring/net: fix iter retargeting for selected buf
	nvme: avoid bogus CRTO values
	md: Put the right device in md_seq_next
	Revert "drm/amd: Disable S/G for APUs when 64GB or more host memory"
	dm: don't attempt to queue IO under RCU protection
	btrfs: fix lockdep splat and potential deadlock after failure running delayed items
	btrfs: fix a compilation error if DEBUG is defined in btree_dirty_folio
	btrfs: release path before inode lookup during the ino lookup ioctl
	btrfs: check for BTRFS_FS_ERROR in pending ordered assert
	tracing: Have tracing_max_latency inc the trace array ref count
	tracing: Have event inject files inc the trace array ref count
	tracing: Increase trace array ref count on enable and filter files
	tracing: Have current_trace inc the trace array ref count
	tracing: Have option files inc the trace array ref count
	selinux: fix handling of empty opts in selinux_fs_context_submount()
	nfsd: fix change_info in NFSv4 RENAME replies
	tracefs: Add missing lockdown check to tracefs_create_dir()
	i2c: aspeed: Reset the i2c controller when timeout occurs
	ata: libata: disallow dev-initiated LPM transitions to unsupported states
	ata: libahci: clear pending interrupt status
	scsi: megaraid_sas: Fix deadlock on firmware crashdump
	scsi: pm8001: Setup IRQs on resume
	ext4: fix rec_len verify error
	drm/amd/display: fix the white screen issue when >= 64GB DRAM
	Revert "memcg: drop kmem.limit_in_bytes"
	drm/amdgpu: fix amdgpu_cs_p1_user_fence
	net/sched: Retire rsvp classifier
	interconnect: Teach lockdep about icc_bw_lock order
	Linux 6.1.55

Change-Id: I95193a57879a13b04b5ac8647a24e6d8304fcb0e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-10-26 18:58:32 +00:00
Greg Kroah-Hartman
769612f594 Merge tag 'android14-6.1.43_r00' into android14-6.1
This catches the android14-6.1 branch up with the 6.1.43 LTS upstream
release.  It contains the following commits:

* e8ac95d4bc Revert "arm64: errata: Mitigate Ampere1 erratum AC03_CPU_38 at stage-2"
* cf0f262265 Revert "locking/rtmutex: Fix task->pi_waiters integrity"
* 38b64945f1 Revert "ring-buffer: Fix wrong stat of cpu_buffer->read"
*   7f81705800 Merge 6.1.43 into android14-6.1-lts
|\
| * 52a953d093 Linux 6.1.43
| * c3d576baa6 dma-buf: fix an error pointer vs NULL bug
| * 23acc2b850 dma-buf: keep the signaling time of merged fences v3
| * 665e6fd714 test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
| * 0ab95d5ce8 selftests: mptcp: sockopt: use 'iptables-legacy' if available
| * bd2decac73 mptcp: ensure subflow is unhashed before cleaning the backlog
| * ab79c7541d cpufreq: intel_pstate: Drop ACPI _PSS states table patching
| * 602a1cbc24 ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
| * f7fcc0f1b2 ACPI: processor: perflib: Use the "no limit" frequency QoS
| * d701687c89 drm/amd/display: Write to correct dirty_rect
| * d58fb94f24 drm/amd/display: perform a bounds check before filling dirty rectangles
| * 0441c44154 tracing: Fix trace_event_raw_event_synth() if else statement
| * f5e8f7a02c drm/amd/display: set per pipe dppclk to 0 when dpp is off
| * 73679f8c45 rbd: retrieve and check lock owner twice before blocklisting
| * 0c0b6412c9 rbd: harden get_lock_owner_info() a bit
| * c0d067c79b rbd: make get_lock_owner_info() return a single locker or NULL
| * 3d215ad49c dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
| * 507f70c06a drm/i915/dpt: Use shmem for dpt objects
| * e046aecb73 ceph: never send metrics if disable_send_metrics is set
| * 8ab9ad1638 PM: sleep: wakeirq: fix wake irq arming
| * 356e711640 arm64/sme: Set new vector length before reallocating
| * ff54cb993b ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
| * 6deb8727f2 s390/dasd: print copy pair message only for the correct error
| * c4ae208cc3 s390/dasd: fix hanging device after quiesce/resume
| * 2b58bd3847 LoongArch: BPF: Enable bpf_probe_read{, str}() on LoongArch
| * 8a5e0c1f71 LoongArch: BPF: Fix check condition to call lu32id in move_imm()
| * 024ed3b9b8 Revert "um: Use swap() to make code cleaner"
| * e1d54962a6 soundwire: fix enumeration completion
| * dda7cfcaa4 selftests: mptcp: join: only check for ip6tables if needed
| * aedec6019d net: dsa: qca8k: fix mdb add/del case with 0 VID
| * 828f9526f0 net: dsa: qca8k: fix broken search_and_del
| * d42c326288 net: dsa: qca8k: fix search_and_insert wrong handling of new rule
| * e1fda7c125 virtio-net: fix race between set queues and probe
| * cd1a8952ff xen: speed up grant-table reclaim
| * af7aa4fe94 proc/vmcore: fix signedness bug in read_from_oldmem()
| * 7f1715d827 locking/rtmutex: Fix task->pi_waiters integrity
| * d392d2d72a irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
| * a80d2cb27d irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
| * 2edb87931a tpm_tis: Explicitly check for error code
| * c9af433b11 ACPI/IORT: Remove erroneous id_count check in iort_node_get_rmr_info()
| * d79f730bb8 nfsd: Remove incorrect check in nfsd4_validate_stateid
| * e5a87723e8 file: always lock position for FMODE_ATOMIC_POS
| * 2663e2cb91 x86/MCE/AMD: Decrement threshold_bank refcount when removing threshold blocks
| * 360c98f583 btrfs: check for commit error at btrfs_attach_transaction_barrier()
| * a7b85dc316 btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
| * cbec34d302 btrfs: account block group tree when calculating global reserve size
| * 5fec6f7903 hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
| * 85f8077893 hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature
| * bf7b30dc16 ALSA: hda/relatek: Enable Mute LED on HP 250 G8
| * db3c5ca314 ALSA: hda/realtek: Support ASUS G713PV laptop
| * 96a0b80eb1 Revert "xhci: add quirk for host controllers that don't update endpoint DCS"
| * 9615ca54bc tty: n_gsm: fix UAF in gsm_cleanup_mux
| * 7ae9f55a49 staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
| * 41e05572e8 staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
| * ef301c41a1 Documentation: security-bugs.rst: clarify CVE handling
| * ddb9503d1c Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
| * 9ae3d7941f Revert "usb: xhci: tegra: Fix error check"
| * cf8203ea19 usb: xhci-mtk: set the dma max_seg_size
| * c0ebcc7e7f usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config
| * 9590eeef4d USB: quirks: add quirk for Focusrite Scarlett
| * 98a6054d51 usb: ohci-at91: Fix the unhandle interrupt when resume
| * a280625541 usb: misc: ehset: fix wrong if condition
| * c1fad1695b usb: dwc3: don't reset device side if dwc3 was configured as host-only
| * 84ff2e988b usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
| * bf4986fbeb Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
| * 60816ac26f usb: typec: Use sysfs_emit_at when concatenating the string
| * 9e4c1e68bf usb: typec: Iterate pds array when showing the pd list
| * 59feda7f38 usb: typec: Set port->pd before adding device for typec_port
| * efd354eb79 can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
| * 60dea45ea3 USB: serial: simple: sort driver entries
| * 889122fe36 USB: serial: simple: add Kaufmann RKS+CAN VCP
| * 6341ef50ca USB: serial: option: add Quectel EC200A module support
| * f13b7a9f16 USB: serial: option: support Quectel EM060K_128
| * 71bef922ff serial: sifive: Fix sifive_serial_console_setup() section
| * ace0efeb56 serial: 8250_dw: Preserve original value of DLF register
| * 016a4a2a75 serial: qcom-geni: drop bogus runtime pm state update
| * eb1a542824 KVM: x86: Disallow KVM_SET_SREGS{2} if incoming CR0 is invalid
| * d8eb0c480f KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
| * ed8bbe6627 KVM: Grab a reference to KVM for VM and vCPU stats file descriptors
| * c80b7c8f9d usb: gadget: core: remove unbalanced mutex_unlock in usb_gadget_activate
| * de77000c19 USB: gadget: Fix the memory leak in raw_gadget driver
| * 0f23a9eb8a usb: gadget: call usb_gadget_check_config() to verify UDC capability
| * 0cf9741aa3 Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
| * a3a3c7bdda tracing: Fix warning in trace_buffered_event_disable()
| * 77996fa5c6 ring-buffer: Fix wrong stat of cpu_buffer->read
| * 9d0a4a7777 ata: pata_ns87415: mark ns87560_tf_read static
| * 84415f934a ublk: fail to recover device if queue setup is interrupted
| * 0d5916c439 ublk: fail to start device if queue setup is interrupted
| * c741076a3c ublk_drv: move ublk_get_device_from_id into ublk_ctrl_uring_cmd
| * a39bf13f86 drm/msm: Disallow submit with fence id 0
| * 3398e8b283 drm/msm: Switch idr_lock to spinlock
| * d722661362 RDMA/irdma: Report correct WC error
| * fe3409cd01 RDMA/irdma: Fix op_type reporting in CQEs
| * e139cc2974 drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
| * 5c58d120bf drm/amd: Fix an error handling mistake in psp_sw_init()
| * ce114218f7 dm raid: protect md_stop() with 'reconfig_mutex'
| * e08db3f85d dm raid: clean up four equivalent goto tags in raid_ctr()
| * d43c7edfeb dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
| * 37b5a0bdb8 xenbus: check xen_domain in xenbus_probe_initcall
| * a71cd15a85 drm/i915: Fix an error handling path in igt_write_huge()
| * ddac66e802 smb3: do not set NTLMSSP_VERSION flag for negotiate not auth request
| * 55704f087f block: Fix a source code comment in include/uapi/linux/blkzoned.h
| * f656ba177f ASoC: fsl_spdif: Silence output on stop
| * 6806494ed4 cxl/acpi: Return 'rc' instead of '0' in cxl_parse_cfmws()
| * 748fadc08b cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()
| * 1b8b835373 drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
| * b8500538b8 RDMA/bnxt_re: Prevent handling any completions after qp destroy
| * d335b5fb33 RDMA/mthca: Fix crash when polling CQ for shared QPs
| * 5986e96be7 RDMA/irdma: Fix data race on CQP request done
| * 4e1a5842a3 RDMA/irdma: Fix data race on CQP completion stats
| * b83e4c1e4c RDMA/irdma: Add missing read barriers
| * 14627d02b1 drm/msm/adreno: Fix snapshot BINDLESS_DATA size
| * b6432b6870 drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
| * 10b5920c33 RDMA/mlx4: Make check for invalid flags stricter
| * 539cf23cb4 tipc: stop tipc crypto on failure in tipc_node_create
| * 5f6a842db1 tipc: check return value of pskb_trim()
| * 0069a11a6f benet: fix return value check in be_lancer_xmit_workarounds()
| * 0f7432b7c3 net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
| * eefc0b3215 net/sched: mqprio: add extack to mqprio_parse_nlattr()
| * 5523d2e319 net/sched: mqprio: refactor nlattr parsing to a separate function
| * 7218974aba mm: suppress mm fault logging if fatal signal already pending
| * 268cb07ef3 netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
| * 4237462a07 netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
| * 89a4d1a897 netfilter: nft_set_rbtree: fix overlap expiration walk
| * c09df09241 igc: Fix Kernel Panic during ndo_tx_timeout callback
| * 1ecdbf2467 x86/traps: Fix load_unaligned_zeropad() handling for shared TDX memory
| * cb160f4f90 platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
| * 847265678e net: stmmac: Apply redundant write work around on 4.xx too
| * 17e67a071b octeontx2-af: Fix hash extraction enable configuration
| * 9b0c968a13 octeontx2-af: Removed unnecessary debug messages.
| * 517a4f3b09 team: reset team's flags when down link is P2P device
| * 4c50927853 bonding: reset bond's flags when down link is P2P device
| * 46bf2459d6 ice: Fix memory management in ice_ethtool_fdir.c
| * 51aea7e9d5 tcp: Reduce chance of collisions in inet6_hashfn().
| * 776da4eca0 ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
| * 6ed1e466ef ethernet: atheros: fix return value check in atl1e_tso_csum()
| * 85c38ac62c atheros: fix return value check in atl1_tso()
| * 01cb355bb9 phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
| * 69534f5ab7 vxlan: fix GRO with VXLAN-GPE
| * 9e22b434ff vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
| * ddc6ab3834 vxlan: calculate correct header length for GPE
| * 4de5cd8d89 net: hns3: fix wrong bw weight of disabled tc issue
| * 487b685c81 net: hns3: fix wrong tc bandwidth weight data issue
| * b93161779b net: hns3: fix the imp capability bit cannot exceed 32 bits issue
| * e3339d44e0 net: phy: marvell10g: fix 88x3310 power up
| * c76d3742b6 iavf: check for removal state before IAVF_FLAG_PF_COMMS_FAILED
| * 469879eda3 iavf: fix potential deadlock on allocation failure
| * c0fa9a5a7a i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
| * 940a2c75f5 media: amphion: Fix firmware path to match linux-firmware
| * 70f9f05aba media: staging: atomisp: select V4L2_FWNODE
| * accc838fd6 soundwire: qcom: update status correctly with mask
| * cf52320a39 phy: qcom-snps-femto-v2: properly enable ref clock
| * 01d8e49999 phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
| * b6132813be phy: qcom-snps: correct struct qcom_snps_hsphy kerneldoc
| * 3a5dbdc53a phy: phy-mtk-dp: Fix an error code in probe()
| * 15c94c3151 drm/amd/display: Prevent vtotal from being set to 0
| * d5741133e6 drm/amd/display: Fix possible underflow for displays with large vblank
| * 342ec1696d drm/amd/display: update extended blank for dcn314 onwards
| * 27931ea53c drm/amd/display: Add FAMS validation before trying to use it
| * 6415d5de13 drm/amd/display: fix dc/core/dc.c kernel-doc
| * 549f205819 drm/amd/display: Rework comments on dc file
| * 4eed29e8a8 maple_tree: fix 32 bit mas_next testing
| * 1b6e8744ed maple_tree: add __init and __exit to test module
| * cba7ddf552 test_maple_tree: test modifications while iterating
| * a6e2a0e414 tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails
| * bee9946688 Revert "tracing: Add "(fault)" name injection to kernel probes"
| * f3baa42afe tracing: Allow synthetic events to pass around stacktraces
| * d92ee6bce1 tracing/probes: Fix to avoid double count of the string length on the array
| * 16cc222026 tracing/probes: Add symstr type for dynamic events
| * f5ded0c11d mptcp: do not rely on implicit state check in mptcp_listen()
| * fbe9fa195e mptcp: introduce 'sk' to replace 'sock->sk' in mptcp_listen()
| * cde7f2fd63 arm64: errata: Mitigate Ampere1 erratum AC03_CPU_38 at stage-2
| * eb1de0a234 KVM: arm64: Condition HW AF updates on config option
| * 17e188e0fe drm/ttm: never consider pinned BOs for eviction&swap
| * a7451c38e1 tty: fix hang on tty device with no_room set
| * 72deb17550 n_tty: Rename tail to old_tail in n_tty_read()
| * e9c44738cb drm/ttm: Don't leak a resource on eviction error
| * 3a8f9b8ccf drm/ttm: Don't print error message if eviction was interrupted
| * 76fcfc6ae3 drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix
| * f8b61a2c29 drm/amd/display: Set minimum requirement for using PSR-SU on Rembrandt
| * 41c666e2b7 drm/amd/display: Update correct DCN314 register header
| * 8f0582fb6d drm/amd/display: fix dcn315 single stream crb allocation
| * 38fa05cad9 drm/amd/display: add pixel rate based CRB allocation support
| * ad8c209544 drm/amd/display: fix unbounded requesting for high pixel rate modes on dcn315
| * acba20a5b2 drm/amd/display: use low clocks for no plane configs
| * 8d515d39d8 drm/amd/display: add ODM case when looking for first split pipe
| * 3a88351318 drm/amd/display: Use min transition for all SubVP plane add/remove
| * a5397c85f0 drm/amd/display: Include surface of unaffected streams
| * d5b3e4cf99 drm/amd/display: Copy DC context in the commit streams
| * 4efb2d2200 drm/amd/display: Enable new commit sequence only for DCN32x
| * bc2c700388 drm/amd/display: Rework context change check
| * 810329d3d4 drm/amd/display: Check if link state is valid
| * f1edb2f58a drm/amd/display: add FB_DAMAGE_CLIPS support
| * ed92b595af PCI: rockchip: Don't advertise MSI-X in PCIe capabilities
| * 7b65231b65 PCI: rockchip: Fix window mapping and address translation for endpoint
| * 3b117fd8cf PCI: rockchip: Remove writes to unused registers
| * 13b9c5f605 PCI/ASPM: Avoid link retraining race
| * 4d1cd90cea PCI/ASPM: Factor out pcie_wait_for_retrain()
| * 8dfeae8082 PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
| * ecd9da1d05 MIPS: Loongson: Fix build error when make modules_install
| * 3fac9a39f8 MIPS: Loongson: Move arch cflags to MIPS top level Makefile
| * 70957ae160 i2c: nomadik: Remove a useless call in the remove function
| * a9be061237 i2c: nomadik: Use devm_clk_get_enabled()
| * 82dee5b258 i2c: nomadik: Remove unnecessary goto label
| * 1dc23fb83b i2c: Improve size determinations
| * 38a8983ae1 i2c: Delete error messages for failed memory allocations
| * 7b7291ab29 btrfs: fix race between quota disable and relocation
| * 44e2afbf65 gpio: mvebu: fix irq domain leak
| * 8ee94aab99 gpio: mvebu: Make use of devm_pwmchip_add
| * 19156bcb88 pwm: Add a stub for devm_pwmchip_add()
| * b2d8ac988f gpio: tps68470: Make tps68470_gpio_output() always set the initial value
| * 04f7d49174 io_uring: don't audit the capability check in io_uring_create()
| * 017f686bcb KVM: s390: pv: fix index value of replaced ASCE
| * e8df129860 powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close
| * 557ea2ff05 blk-mq: Fix stall due to recursive flush plug
| * 0935bbbf6e jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint
| * 6e385845ee drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters implementation with SMU13
| * 32631ac27c drm/amd: Move helper for dynamic speed switch check out of smu13
| * 53dd2ca2c0 ovl: fix null pointer dereference in ovl_permission()
| * a9174f0d7a drm/amd/display: Keep PHY active for dp config
| * 2bb9121616 platform/x86/amd/pmf: reduce verbosity of apmf_get_system_params
| * fd14866ebe platform/x86/amd/pmf: Notify OS power slider update
| * b068314fd8 netfilter: nf_tables: fix underflow in chain reference counter
| * 35651fde1a netfilter: nf_tables: fix underflow in object reference counter
* | f5aa90efe8 FROMLIST: Revert "fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT"
* | 469cf75fcc Revert "sched/psi: Fix avgs_work re-arm in psi_avgs_work()"
* | d18fe3efda Revert "sched/psi: Rearrange polling code in preparation"
* | 5b039dbb91 Revert "sched/psi: Rename existing poll members in preparation"
* | ed063a7e76 Revert "sched/psi: Extract update_triggers side effect"
* | 2c1e89916b Revert "sched/psi: Allow unprivileged polling of N*2s period"
* | ffed79e366 Revert "sched/psi: use kernfs polling functions for PSI trigger polling"
* | 8976ff249f Merge 6.1.42 into android14-6.1-lts
|\|
| * d2a6dc4eaf Linux 6.1.42
| * 1d4607f2a5 Revert "drm/amd/display: edp do not add non-edid timings"
| * 2f2ba3c162 drm/amd/display: Add polling method to handle MST reply packet
| * 78ea2ed76c drm/amd/display: fix linux dp link lost handled only one time
| * b31143b0fb drm/amd/display: Clean up errors & warnings in amdgpu_dm.c
| * c14702daf1 drm/amd/display: force connector state when bpc changes during compliance
| * 00f68f5c1b drm/dp_mst: Clear MSG_RDY flag before sending new message
| * c085ffaf67 drm/amd/display: fix some coding style issues
| * 374735cbe2 drm/amd/display: use max_dsc_bpp in amdgpu_dm
| * 268bfb3782 selftests/bpf: Fix sk_assign on s390x
| * fd1e31d1bc selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code
| * a7c1eb9cb8 selftests/bpf: make test_align selftest more robust
| * 4c8f30a2ad bpf: aggressively forget precise markings during state checkpointing
| * 8b57a37d0e bpf: stop setting precise in current state
| * 56675ddcb0 bpf: allow precision tracking for programs with subprogs
| * dd33fbe4af scripts/kallsyms: update the usage in the comment block
| * 5fab8c91e5 scripts/kallsyms.c Make the comment up-to-date with current implementation
| * 320f980bc0 kallsyms: add kallsyms_seqs_of_names to list of special symbols
| * 7531eb07b2 spi: dw: Remove misleading comment for Mount Evans SoC
| * 70a3015683 drm/ttm: fix bulk_move corruption when adding a entry
| * 61622fa379 tracing/histograms: Return an error if we fail to add histogram to hist_vars list
| * bae17da3ae jbd2: recheck chechpointing non-dirty buffer
| * b9f0f20ab0 net: phy: prevent stale pointer dereference in phy_init()
| * f311c76800 tcp: annotate data-races around fastopenq.max_qlen
| * 01a1563a09 tcp: annotate data-races around icsk->icsk_user_timeout
| * 918a1beb0a tcp: annotate data-races around tp->notsent_lowat
| * b02f8fce7c tcp: annotate data-races around rskq_defer_accept
| * 17c3d75833 tcp: annotate data-races around tp->linger2
| * e639397202 tcp: annotate data-races around icsk->icsk_syn_retries
| * d27a1aa37e tcp: annotate data-races around tp->keepalive_probes
| * 161b069389 tcp: annotate data-races around tp->keepalive_intvl
| * 87b8466eb0 tcp: annotate data-races around tp->keepalive_time
| * 2c84a3d78a tcp: annotate data-races around tp->tsoffset
| * 949eb83880 tcp: annotate data-races around tp->tcp_tx_delay
| * 0d4d6b083d Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()
| * e969bfed84 Bluetooth: ISO: fix iso_conn related locking and validity issues
| * 59bd1e476b Bluetooth: hci_event: call disconnect callback before deleting conn
| * 13ad45ad14 Bluetooth: use RCU for hci_conn_params and iterate safely in hci_sync
| * e18922ce3e netfilter: nf_tables: skip bound chain on rule flush
| * ec3e856075 netfilter: nf_tables: skip bound chain in netns release path
| * 90c3955beb netfilter: nft_set_pipapo: fix improper element removal
| * f372992820 netfilter: nf_tables: can't schedule in nft_chain_validate
| * 6026fa4f47 netfilter: nf_tables: fix spurious set element insertion failure
| * c1dc350a37 ALSA: hda/realtek: Fix generic fixup definition for cs35l41 amp
| * 050c24656a llc: Don't drop packet from non-root netns.
| * 50e4b32d2e fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
| * a44ff12573 Revert "tcp: avoid the lookup process failing to get sk in ehash table"
| * d1a4d697a9 net:ipv6: check return value of pskb_trim()
| * 205bad1b30 net: ipv4: Use kfree_sensitive instead of kfree
| * fac47182d3 tcp: annotate data-races around tcp_rsk(req)->ts_recent
| * aa32235da4 tcp: annotate data-races around tcp_rsk(req)->txhash
| * f62a00b7d1 net: ipv4: use consistent txhash in TIME_WAIT and SYN_RECV
| * 1d8e3ec4f0 igc: Prevent garbled TX queue with XDP ZEROCOPY
| * c0268bc0d7 igc: Avoid transmit queue timeout for XDP
| * bb6ae775ff bpf, arm64: Fix BTI type used for freplace attached functions
| * 8620c53ced bpf: Repeat check_max_stack_depth for async callbacks
| * d55ff358b0 bpf: Fix subprog idx logic in check_max_stack_depth
| * c355f3a27b octeontx2-pf: Dont allocate BPIDs for LBK interfaces
| * 0f56bfe19a security: keys: Modify mismatched function name
| * 3fc081eddd iavf: fix reset task race with iavf_remove()
| * 2647ff59c5 iavf: fix a deadlock caused by rtnl and driver's lock circular dependencies
| * 9743519240 iavf: Wait for reset in callbacks which trigger it
| * f43ab442a8 iavf: make functions static where possible
| * 9e36533d66 iavf: send VLAN offloading caps once after VFR
| * 5d1c0ac33d iavf: Move netdev_update_features() into watchdog task
| * 6d9d01689b iavf: use internal state to free traffic IRQs
| * 6e1d8f1332 iavf: Fix out-of-bounds when setting channels on remove
| * ca12b98e04 iavf: Fix use-after-free in free_netdev
| * ce3ec3fc64 net: dsa: microchip: correct KSZ8795 static MAC table access
| * 54830adfd9 net: dsa: microchip: ksz8_r_sta_mac_table(): Avoid using error code for empty entries
| * 8a60427c8a net: dsa: microchip: ksz8: Make ksz8_r_sta_mac_table() static
| * e4820a764e net: dsa: microchip: ksz8: Separate static MAC table operations for code reuse
| * 155f594534 net: sched: cls_bpf: Undo tcf_bind_filter in case of an error
| * 2256b27f54 net: sched: cls_u32: Undo refcount decrement in case update failed
| * a934579346 net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knode
| * fa753f8656 net: sched: cls_matchall: Undo tcf_bind_filter in case of failure after mall_set_parms
| * 813572a08d ASoC: SOF: ipc3-dtrace: uninitialized data in dfsentry_trace_filter_write()
| * c55901d381 cifs: fix mid leak during reconnection after timeout threshold
| * 855643c8d2 net: ethernet: mtk_eth_soc: handle probe deferral
| * 6924f3c898 bridge: Add extack warning when enabling STP in netns.
| * 3325b8ddfe net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()
| * 4148d6c766 dsa: mv88e6xxx: Do a final check before timing out
| * f4c0a6b8ce kallsyms: strip LTO-only suffixes from promoted global functions
| * 5004d383fe kallsyms: Correctly sequence symbols when CONFIG_LTO_CLANG=y
| * 28fdfda791 kallsyms: Improve the performance of kallsyms_lookup_name()
| * c401b72836 spi: s3c64xx: clear loopback bit after loopback test
| * 9c85f71d3f btrfs: be a bit more careful when setting mirror_num_ret in btrfs_map_block
| * 08bdd70974 perf build: Fix library not found error when using CSLIBS
| * 6aa851f627 fbdev: imxfb: Removed unneeded release_mem_region
| * e7bb9436ea fbdev: imxfb: warn about invalid left/right margin
| * 7a2d80a8c2 spi: bcm63xx: fix max prepend length
| * 6af800f917 pinctrl: renesas: rzg2l: Handle non-unique subnode names
| * be087281dc pinctrl: renesas: rzv2m: Handle non-unique subnode names
| * 92cc015332 sched/psi: use kernfs polling functions for PSI trigger polling
| * d5dca19776 sched/psi: Allow unprivileged polling of N*2s period
| * fb4bc32fc1 sched/psi: Extract update_triggers side effect
| * c1623d4d0b sched/psi: Rename existing poll members in preparation
| * c176dda0a6 sched/psi: Rearrange polling code in preparation
| * 7d8bba4da1 sched/psi: Fix avgs_work re-arm in psi_avgs_work()
| * 45f739e8fb sched/fair: Use recent_used_cpu to test p->cpus_ptr
| * 6ede0d0f88 ASoC: qcom: q6apm: do not close GPR port before closing graph
| * 5da98d0438 ASoC: codecs: wcd938x: fix dB range for HPHL and HPHR
| * e3495bc994 ASoC: codecs: wcd938x: fix mbhc impedance loglevel
| * 3122e90b5c ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count()
| * da64c8889f net: hns3: fix strncpy() not using dest-buf length as length issue
| * 39695e87d8 igb: Fix igb_down hung on surprise removal
| * 6887f35881 wifi: iwlwifi: pcie: add device id 51F1 for killer 1675
| * 6862557e9a wifi: iwlwifi: mvm: avoid baid size integer overflow
| * a46a624914 wifi: iwlwifi: Add support for new PCI Id
| * 8e0a94e31a wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
| * 408d40c729 devlink: report devlink_port_type_warn source device
| * 0d14264155 net: ethernet: litex: add support for 64 bit stats
| * 86f9330a49 wifi: ath11k: fix memory leak in WMI firmware stats
| * 766e606536 spi: dw: Add compatible for Intel Mount Evans SoC
| * d0124848c7 wifi: mac80211_hwsim: Fix possible NULL dereference
| * 8656b31d2e wifi: ath11k: add support default regdb while searching board-2.bin for WCN6855
| * 4e291a07af bpf: tcp: Avoid taking fast sock lock in iterator
| * c006fe361c bpf: Address KCSAN report on bpf_lru_list
| * 10fa03a9c1 bpf: Print a warning only if writing to unprivileged_bpf_disabled.
| * 8d1342108c wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range
| * 78a5f711ef sched/fair: Don't balance task to its current running CPU
| * 896f4d6046 rcu: Mark additional concurrent load from ->cpu_no_qs.b.exp
| * 9027d69221 rcu-tasks: Avoid pr_info() with spin lock in cblist_init_generic()
| * e055d0ec88 ACPI: video: Add backlight=native DMI quirk for Dell Studio 1569
| * aa7cdf487a FS: JFS: Check for read-only mounted filesystem in txBegin
| * 3e5eb6c5ec FS: JFS: Fix null-ptr-deref Read in txBegin
| * da0a7c6975 MIPS: dec: prom: Address -Warray-bounds warning
| * bdf07ab159 fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
| * a682414980 udf: Fix uninitialized array access for some pathnames
| * cce9107c31 ovl: check type and offset of struct vfsmount in ovl_entry
| * 5228d4d505 HID: add quirk for 03f0:464a HP Elite Presenter Mouse
| * 6432843deb quota: fix warning in dqgrab()
| * 1f2ec87f4a quota: Properly disable quotas when add_dquot_ref() fails
| * 2a97ec7809 ALSA: emu10k1: roll up loops in DSP setup code for Audigy
| * 2e1be420b8 drm/radeon: Fix integer overflow in radeon_cs_parser_init
| * 0ca3768534 ext4: correct inline offset when handling xattrs in inode body
| * aba8f85eca ASoC: codecs: wcd938x: fix soundwire initialisation race
| * 1a261a4193 ASoC: codecs: wcd938x: fix codec initialisation race
| * 8b11d2f0e5 ASoC: codecs: wcd934x: fix resource leaks on component remove
| * bb241ae928 ASoC: codecs: wcd938x: fix missing mbhc init error handling
| * 4eac89ffc5 ASoC: codecs: wcd938x: fix resource leaks on component remove
| * c584b5eca3 ASoC: tegra: Fix AMX byte map
| * d55fc2bdaa ASoC: qdsp6: audioreach: fix topology probe deferral
| * 17feff71d0 ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove
| * b0fbf3c353 ASoC: codecs: wcd938x: fix missing clsh ctrl error handling
| * 1dd61a5b5c ASoC: cs42l51: fix driver to properly autoload with automatic module loading
| * 0e3cf64324 ASoC: rt5640: Fix sleep in atomic context
| * e5b2389e04 ASoC: tegra: Fix ADX byte map
| * 24bed70aa6 ASoC: fsl_sai: Revert "ASoC: fsl_sai: Enable MCTL_MCLK_EN bit for master mode"
| * 6518812877 ASoC: fsl_sai: Disable bit clock with transmitter
| * b9741ba942 drm/amd/display: Keep PHY active for DP displays on DCN31
| * 889bac5fd7 drm/amd/display: check TG is non-null before checking if enabled
| * 9f28e8c2be drm/amd/display: Disable MPC split by default on special asic
| * 4385420741 drm/amd/display: only accept async flips for fast updates
| * 917bef37cf drm/client: Fix memory leak in drm_client_modeset_probe
| * b5359d7a50 drm/client: Fix memory leak in drm_client_target_cloned
| * 91bd7acf89 drm/amdgpu/pm: make mclk consistent for smu 13.0.7
| * 0b4f3d9a5c drm/amdgpu/pm: make gfxclock consistent for sienna cichlid
| * 13cb7bfbcc drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel
| * 19e7b9f1f7 dma-buf/dma-resv: Stop leaking on krealloc() failure
| * 25ad249699 selftests: tc: add ConnTrack procfs kconfig
| * 54950747d5 can: gs_usb: gs_can_open(): improve error handling
| * 995f47d766 can: bcm: Fix UAF in bcm_proc_show()
| * a2d31762d7 can: mcp251xfd: __mcp251xfd_chip_set_mode(): increase poll timeout
| * aa5cf8bd13 arm64/fpsimd: Ensure SME storage is allocated after SVE VL changes
| * 3e463a4f38 regmap: Account for register length in SMBus I/O limits
| * ef7ad397fb of: Preserve "of-display" device name for compatibility
| * f16c2eb694 regmap: Drop initial version of maximum transfer length fixes
| * efeac348cd selftests: tc: add 'ct' action kconfig dep
| * 4986dd1b51 selftests: tc: set timeout to 15 minutes
| * ddf7e8984c btrfs: fix race between balance and cancel/pause
| * c828e913c8 fuse: ioctl: translate ENOSYS in outarg
| * c35ea60619 btrfs: zoned: fix memory leak after finding block group with super blocks
| * 0a5e0bc8e8 btrfs: set_page_extent_mapped after read_folio in btrfs_cont_expand
| * 549f5093e9 fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT
| * af6d1fc5b8 fuse: revalidate: don't invalidate if interrupted
| * 89e994688e btrfs: fix warning when putting transaction with qgroups enabled after abort
| * c1b3d1a9c6 perf probe: Add test for regression introduced by switch to die_get_decl_file()
| * 00edfa6d4f keys: Fix linking a duplicate key to a keyring's assoc_array
| * 4984a10a21 maple_tree: fix node allocation testing on 32 bit
| * 85718972b0 maple_tree: set the node limit when creating a new root node
| * e0c3e25cfc ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx
| * 0f493b5bfe ALSA: hda/realtek: Add quirk for Clevo NS70AU
| * 7ed4e52973 ALSA: hda/realtek - remove 3k pull low procedure
| * 1b87f546a0 io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq
* | b2d799c4d4 Merge 6.1.41 into android14-6.1-lts
|\|
| * 5302e81aa2 Linux 6.1.41
| * ed9b87010a x86/cpu/amd: Add a Zenbleed fix
| * 5fc203d8d3 x86/cpu/amd: Move the errata checking functionality up
* | f12524c9de Revert "Revert "8250: add support for ASIX devices with a FIFO bug""
* | f1311733c2 Merge 6.1.40 into android14-6.1-lts
|\|
| * 7538911373 Linux 6.1.40
| * 9879d6e1ca net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
| * e2c3356907 net/ncsi: make one oem_gma function for all mfr id
| * e4a0e09b79 drm/atomic: Fix potential use-after-free in nonblocking commits
| * d34a3470ed net/sched: sch_qfq: reintroduce lmax bound check for MTU
| * ff06cd411a swiotlb: mark swiotlb_memblock_alloc() as __init
| * d64b70df23 Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON"
| * fbfb6b7cb2 MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled
| * fec55ec035 scsi: qla2xxx: Fix end of loop test
| * f459d586fd scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
| * b06d1b5253 scsi: qla2xxx: Pointer may be dereferenced
| * b88b1241fb scsi: qla2xxx: Correct the index of array
| * e466930717 scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
| * ce2cdbe530 scsi: qla2xxx: Fix potential NULL pointer dereference
| * 2dddbf8de1 scsi: qla2xxx: Fix buffer overrun
| * 477bc74ad1 scsi: qla2xxx: Avoid fcport pointer dereference
| * 2b3bdef089 scsi: qla2xxx: Array index may go out of bound
| * d994ac7c78 scsi: qla2xxx: Fix mem access after free
| * 90770dad1e scsi: qla2xxx: Wait for io return on terminate rport
| * 1802e5d098 scsi: qla2xxx: Fix hang in task management
| * 35985b0741 scsi: qla2xxx: Fix task management cmd fail due to unavailable resource
| * 843665c426 scsi: qla2xxx: Fix task management cmd failure
| * ff92567d90 scsi: qla2xxx: Multi-que support for TMF
| * 95e34129f3 tracing/user_events: Fix struct arg size match check
| * a95c1fede2 tracing/probes: Fix to update dynamic data counter if fetcharg uses it
| * 837f92d27f tracing/probes: Fix not to count error code to total length
| * 2f41d35b58 selftests: mptcp: pm_nl_ctl: fix 32-bit support
| * ee352299a6 selftests: mptcp: depend on SYN_COOKIES
| * 08daab11f3 selftests: mptcp: userspace_pm: report errors with 'remove' tests
| * 4098a43182 selftests: mptcp: userspace_pm: use correct server port
| * c118baa05f selftests: mptcp: sockopt: return error if wrong mark
| * 671486793f selftests: mptcp: connect: fail if nft supposed to work
| * 938d5b7a75 tracing: Fix null pointer dereference in tracing_err_log_open()
| * fbcd0c2b56 fprobe: Ensure running fprobe_exit_handler() finished before calling rethook_free()
| * ce3ec57faf fprobe: Release rethook after the ftrace_ops is unregistered
| * 2e9a46e467 pwm: meson: fix handling of period/duty if greater than UINT_MAX
| * ba1ede19e6 pwm: meson: modify and simplify calculation in meson_pwm_get_state
| * 9a2c57fd32 PM: QoS: Restore support for default value on frequency QoS
| * 15ec83da43 perf/x86: Fix lockdep warning in for_each_sibling_event() on SPR
| * 22fc9fd723 xtensa: ISS: fix call to split_if_spec
| * 6a05de6da5 cifs: if deferred close is disabled then close files immediately
| * bd8cd38d3a drm/amd/pm: conditionally disable pcie lane/speed switching for SMU13
| * 11dc77a645 drm/amd/pm: share the code around SMU13 pcie parameters update
| * 99fe81d219 ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()
| * 8b0b63fdac ring-buffer: Fix deadloop issue on reading trace_pipe
| * 90947ebf87 net: ena: fix shift-out-of-bounds in exponential backoff
| * b1a726ad33 regmap-irq: Fix out-of-bounds access when allocating config buffers
| * aeb62beaf9 perf: RISC-V: Remove PERF_HES_STOPPED flag checking in riscv_pmu_start()
| * e2c7a05a48 samples: ftrace: Save required argument registers in sample trampolines
| * 9d6a260bbf nvme: don't reject probe due to duplicate IDs for single-ported PCIe devices
| * be970e22c5 tracing: Fix memory leak of iter->temp when reading trace_pipe
| * 5fd32eb6fa tracing/histograms: Add histograms to hist_vars if they have referenced variables
| * 0a1dc6377a dm: verity-loadpin: Add NULL pointer check for 'bdev' parameter
| * 08aaeda414 s390/decompressor: fix misaligned symbol build error
| * 2ebf4ddcc6 bus: ixp4xx: fix IXP4XX_EXP_T1_MASK
| * 599c0ebdb5 Revert "8250: add support for ASIX devices with a FIFO bug"
| * 801daff007 soundwire: qcom: fix storing port config out-of-bounds
| * 76ab057de7 opp: Fix use-after-free in lazy_opp_tables after probe deferral
| * be06ffa8f4 meson saradc: fix clock divider mask length
| * 610ddd79fc xhci: Show ZHAOXIN xHCI root hub speed correctly
| * 892ef75930 xhci: Fix TRB prefetch issue of ZHAOXIN hosts
| * 8e273a2190 xhci: Fix resume issue of some ZHAOXIN hosts
| * 8293614798 ceph: don't let check_caps skip sending responses for revoke msgs
| * 0471d907d8 ceph: fix blindly expanding the readahead windows
| * d545ff97cf ceph: add a dedicated private data for netfs rreq
| * 183c0ae4fa libceph: harden msgr2.1 frame segment length checks
| * cb8a31a56d firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool()
| * 5553d587a3 tty: serial: imx: fix rs485 rx after tx
| * f0bf102ef9 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
| * 34f5b826dd tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
| * 9fd9e1d098 serial: atmel: don't enable IRQs prematurely
| * f037f60387 drm/ttm: Don't leak a resource on swapout move error
| * fe26d0fa94 drm/amdgpu: avoid restore process run into dead loop.
| * 8404d0e274 drm/amd/display: Add monitor specific edid quirk
| * 7ad40467fd drm/amd/display: Correct `DMUB_FW_VERSION` macro
| * ad85fc99d6 drm/amd/display: add a NULL pointer check
| * 3092beeb25 drm/amd: Disable PSR-SU on Parade 0803 TCON
| * 91e69e67d4 drm/amdgpu: fix clearing mappings for BOs that are always valid in VM
| * 3546f76c7a drm/amd/display: disable seamless boot if force_odm_combine is enabled
| * a2ef3163c3 drm/amd/display: Remove Phantom Pipe Check When Calculating K1 and K2
| * c4629c7575 drm/amd/display: edp do not add non-edid timings
| * 31fb25ecbb drm/amd/display: fix seamless odm transitions
| * c41963e50a drm/rockchip: vop: Leave vblank enabled in self-refresh
| * db0a9a2991 drm/atomic: Allow vblank-enabled + self-refresh "disable"
| * 6436ca035b scsi: lpfc: Fix double free in lpfc_cmpl_els_logo_acc() caused by lpfc_nlp_not_used()
| * 7adcc32eb5 fs: dlm: fix mismatch of plock results from userspace
| * adeaef5a00 fs: dlm: make F_SETLK use unkillable wait_event
| * 2a37d73395 fs: dlm: interrupt posix locks only when process is killed
| * a1b6adf4b1 fs: dlm: fix cleanup pending ops when interrupted
| * 3346ffdee4 fs: dlm: return positive pid value for F_GETLK
| * be19cb6716 dm init: add dm-mod.waitfor to wait for asynchronously probed block devices
| * e30128926a md/raid0: add discard support for the 'original' layout
| * 31df8b9609 mfd: pm8008: Fix module autoloading
| * 7ef181f84e misc: pci_endpoint_test: Re-init completion for every test
| * c2dba13bc0 misc: pci_endpoint_test: Free IRQs before removing the device
| * 0813bb2f2c PCI: rockchip: Set address alignment for endpoint mode
| * 5b15ebec56 PCI: rockchip: Use u32 variable to access 32-bit registers
| * 1a48294ade PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
| * dfd20ebcae PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
| * 05f55f7530 PCI: rockchip: Write PCI Device ID to correct register
| * b2e2ffbfd3 PCI: rockchip: Assert PCI Configuration Enable bit after probe
| * 07d997ef10 PCI: epf-test: Fix DMA transfer completion detection
| * bcd276f143 PCI: epf-test: Fix DMA transfer completion initialization
| * cf0d7b7270 PCI: qcom: Disable write access to read only registers for IP v2.3.3
| * c459365ec7 PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
| * 465c195e86 PCI: Release resource invalidated by coalescing
| * 3367d4be9b PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold
| * 25cb64ecc3 s390/zcrypt: do not retry administrative requests
| * 026e46d26a scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
| * b933df9dda dm integrity: reduce vmalloc space footprint on 32-bit architectures
| * ef709350ef hwrng: imx-rngc - fix the timeout for init and self check
| * c7feb54b11 jfs: jfs_dmap: Validate db_l2nbperpage while mounting
| * 9e54fd14bd ext2/dax: Fix ext2_setsize when len is page aligned
| * 33f8dff6e1 soc: qcom: mdt_loader: Fix unconditional call to scm_pas_mem_setup
| * 5dc507de0c fs: dlm: revert check required context while close
| * 95d49f79e9 ext4: only update i_reserved_data_blocks on successful block allocation
| * deef86fa30 ext4: turn quotas off if mount failed after enabling quotas
| * 029c6b106f ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
| * e861961f3a ext4: fix wrong unit use in ext4_mb_new_blocks
| * 2038d35749 ext4: get block from bh in ext4_free_blocks for fast commit replay
| * 782166ac85 ext4: fix wrong unit use in ext4_mb_clear_bb
| * 0a90e70efa ext4: Fix reusing stale buffer heads from last failed mounting
| * bd9cf2a5f9 MIPS: KVM: Fix NULL pointer dereference
| * d56b7a43a2 MIPS: Loongson: Fix cpu_probe_loongson() again
| * 58d1c81307 powerpc/64s: Fix native_hpte_remove() to be irq-safe
| * 484b8fb1ff powerpc/security: Fix Speculation_Store_Bypass reporting on Power10
| * 23ab732b96 misc: fastrpc: Create fastrpc scalar with correct buffer count
| * 16eceb3959 powerpc: Fail build if using recordmcount with binutils v2.37
| * 5aea2ac374 tracing/user_events: Fix incorrect return value for writing operation when events are disabled
| * a4336343ea kasan: add kasan_tag_mismatch prototype
| * 6d806841f1 net: phy: dp83td510: fix kernel stall during netboot in DP83TD510E PHY driver
| * eac0aac07f net: bcmgenet: Ensure MDIO unregistration has clocks enabled
| * de67dadd5c mtd: rawnand: meson: fix unaligned DMA buffers handling
| * bb4e824d6b tpm: return false from tpm_amd_is_rng_defective on non-x86 platforms
| * ad249709d2 tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
| * f5a734a689 tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
| * 99b998fb9d tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation
| * 0028313700 tpm: Do not remap from ACPI resources again for Pluton TPM
| * 6d8488509e pinctrl: amd: Unify debounce handling into amd_pinconf_set()
| * dce19c966d pinctrl: amd: Drop pull up select configuration
| * 326b3f17be pinctrl: amd: Use amd_pinconf_set() for all config options
| * 3cadcab402 pinctrl: amd: Only use special debounce behavior for GPIO 0
| * 57f6d48af4 pinctrl: amd: Revert "pinctrl: amd: disable and mask interrupts on probe"
| * 1cd1a0151f pinctrl: amd: Detect and mask spurious interrupts
| * 1516518794 pinctrl: amd: Fix mistake in handling clearing pins at startup
| * 8a2d8e17c7 pinctrl: amd: Detect internal GPIO0 debounce handling
| * 4484ce0e49 pinctrl: amd: Add fields for interrupt status and wake status
| * a56afed6d5 pinctrl: amd: Adjust debugfs output
| * 03590f9be9 pinctrl: amd: Add Z-state wake control bits
| * a996fec74c f2fs: fix deadlock in i_xattr_sem and inode page lock
| * 2cb10f4e6c f2fs: fix the wrong condition to determine atomic context
| * 13e8af958c drm/amd/pm: add abnormal fan detection for smu 13.0.0
| * e8b6b7b813 drm/amdgpu: Fix minmax warning
| * d7d53c669d drm/amdgpu: add the fan abnormal detection feature
| * c8c703befd drm/amd/pm: revise the ASPM settings for thunderbolt attached scenario
| * 4596c81291 drm/amdgpu/sdma4: set align mask to 255
| * 7c880188c7 drm/client: Send hotplug event after registering a client
| * 40e2ed0e56 cifs: fix session state check in smb2_find_smb_ses
| * c4a5fb1ae5 ovl: fix null pointer dereference in ovl_get_acl_rcu()
| * 06b3f0bf41 ovl: let helper ovl_i_path_real() return the realinode
| * 000a9a72ef fs/ntfs3: Check fields while reading
| * bf2f2c059f nvme-pci: fix DMA direction of unmapping integrity data
| * 70feebdbfa net/sched: sch_qfq: account for stab overhead in qfq_enqueue
| * 4b33836824 net/sched: sch_qfq: refactor parsing of netlink parameters
| * 0aec8dab2b wifi: rtw89: debug: fix error code in rtw89_debug_priv_send_h2c_set()
| * 3d1dc71b8f net/sched: make psched_mtu() RTNL-less safe
| * 1c806e4066 netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write()
| * 1b125be4e0 riscv: mm: fix truncation warning on RV32
| * 174cfa0317 net/sched: flower: Ensure both minimum and maximum ports are specified
| * b11a9b4f28 bpf: cpumap: Fix memory leak in cpu_map_update_elem
| * 4719576d6e wifi: airo: avoid uninitialized warning in airo_get_rate()
| * 9e6474e5d7 erofs: fix fsdax unavailability for chunk-based regular files
| * dc8158a95f erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
| * 83879f72e0 erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF
| * 27272795a7 octeontx2-pf: Add additional check for MCAM rules
| * 5a9aecb665 drm/i915: Fix one wrong caching mode enum usage
| * f1e746aedd drm/i915: Don't preserve dpll_hw_state for slave crtc in Bigjoiner
| * ba05762e4a riscv, bpf: Fix inconsistent JIT image generation
| * 13a30e22ea nvme: fix the NVME_ID_NS_NVM_STS_MASK definition
| * 66afb6a54e igc: Fix inserting of empty frame for launchtime
| * 1b87509ef6 igc: Fix launchtime before start of cycle
| * f92a82dc48 kernel/trace: Fix cleanup logic of enable_trace_eprobe
| * 7772d5c440 platform/x86: wmi: Break possible infinite loop when parsing GUID
| * 89726b0303 net: dsa: qca8k: Add check for skb_copy
| * 436b7cc7ea ipv6/addrconf: fix a potential refcount underflow for idev
| * 5554414227 NTB: ntb_tool: Add check for devm_kcalloc
| * 8d7b875866 NTB: ntb_transport: fix possible memory leak while device_register() fails
| * bece67815a ntb: intel: Fix error handling in intel_ntb_pci_driver_init()
| * d4317d41f0 NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
| * 4e5daadf8c ntb: idt: Fix error handling in idt_pci_driver_init()
| * 360db93beb udp6: fix udp6_ehashfn() typo
| * 1462e9d9aa icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().
| * 1731234e8b net: prevent skb corruption on frag list segmentation
| * 685b57a122 net: bgmac: postpone turning IRQs off to avoid SoC hangs
| * dc47046675 ionic: remove WARN_ON to prevent panic_on_warn
| * 6cc293d29c octeontx2-af: Move validation of ptp pointer before its usage
| * bb56b7905b octeontx2-af: Promisc enable/disable through mbox
| * 2b4086a66a gve: Set default duplex configuration to full
| * c91fb29bb0 net/sched: cls_fw: Fix improper refcount update leads to use-after-free
| * 831fbc2065 net: mvneta: fix txq_map in case of txq_number==1
| * b2e74dedb0 bpf: Fix max stack depth check for async callbacks
| * 714d81a5c4 scsi: ufs: ufs-mediatek: Add dependency for RESET_CONTROLLER
| * 574d5236a8 scsi: qla2xxx: Fix error code in qla2x00_start_sp()
| * 49f6ac6f1c blk-crypto: use dynamic lock class for blk_crypto_profile::lock
| * d752be635b igc: Handle PPS start time programming for past time values
| * 246fc961c8 igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings
| * e962fd5933 net/mlx5e: Check for NOT_READY flag state after locking
| * 83a8f7337a net/mlx5e: fix memory leak in mlx5e_ptp_open
| * 75df2fe6d1 net/mlx5e: fix memory leak in mlx5e_fs_tt_redirect_any_create
| * 7ca1914cbd net/mlx5e: fix double free in mlx5e_destroy_flow_table
| * 68b654e9eb igc: Remove delay during TX ring configuration
| * dfaed769b9 ice: Fix max_rate check while configuring TX rate limits
| * 1294311ce9 drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags
| * fd5b64c1cf swiotlb: reduce the number of areas to match actual memory pool size
| * fc3db7fbdf swiotlb: reduce the swiotlb buffer size on allocation failure
| * 24b24863a0 swiotlb: always set the number of areas before allocating the pool
| * 02d43b8a4f drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime
| * d48029c655 drm/panel: simple: Add connector_type for innolux_at043tn24
| * ef572ffa8e ksmbd: fix out of bounds read in smb2_sess_setup
| * 869ef4f296 ksmbd: add missing compound request handing in some commands
| * 2d57a1590f workqueue: clean up WORK_* constant types, clarify masking
| * 4b5ab640aa net: lan743x: Don't sleep in atomic context
| * 5a45ed1ae3 HID: amd_sfh: Fix for shift-out-of-bounds
| * d0b30d8e4d HID: amd_sfh: Rename the float32 variable
* | bd041b5977 ANDROID: GKI: Fix block/genhd.c exports from having their CRC changed
* | c0e5631df8 Revert "blk-mq: fix potential io hang by wrong 'wake_batch'"
* | c057db2f88 Revert "bpf: Remove bpf trampoline selector"
* | 17f0b3c7ee Revert "drm/bridge: Introduce pre_enable_prev_first to alter bridge init order"
* | b3c3fc85c7 Revert "drm/bridge: ti-sn65dsi83: Fix enable/disable flow to meet spec"
* | b435525822 Merge 6.1.39 into android14-6.1-lts
|\|
| * a456e17438 Linux 6.1.39
| * f32dfc802e io_uring: Use io_schedule* in cqring wait
| * c55b552e0b sh: hd64461: Handle virq offset for offchip IRQ base and HD64461 IRQ
| * 0ff5d219eb sh: mach-dreamcast: Handle virq offset in cascaded IRQ demux
| * 5628b9aa31 sh: mach-highlander: Handle virq offset in cascaded IRL demux
| * fe7daa313d sh: mach-r2d: Handle virq offset in cascaded IRL demux
| * 899cc8f798 block/partition: fix signedness issue for Amiga partitions
| * da012a025f tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
| * 3173bfdf89 wireguard: netlink: send staged packets when setting initial private key
| * 561aaadf0d wireguard: queueing: use saner cpu selection wrapping
| * 40f83dd66a netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
| * fc95c8b02c netfilter: nf_tables: do not ignore genmask when looking up chain by id
| * 05561f822f netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
| * f145373334 netfilter: nf_tables: unbind non-anonymous set if rule construction fails
| * ad2928e7f3 mtd: parsers: refer to ARCH_BCMBCA instead of ARCH_BCM4908
| * 1bdcffaa0d drm/i915/tc: Fix system resume MST mode restore for DP-alt sinks
| * 99025116f5 drm/i915/tc: Fix TC port link ref init for DP MST during HW readout
| * eaa0043a85 drm/i915: Fix TypeC mode initialization during system resume
| * a02c6dc0ef mm/mmap: Fix extra maple tree write
| * 9222068bc8 xfs: fix xfs_inodegc_stop racing with mod_delayed_work
| * 1b20685295 xfs: disable reaping in fscounters scrub
| * 25c1991f9f xfs: check that per-cpu inodegc workers actually run on that cpu
| * f6e37e2400 xfs: explicitly specify cpu when forcing inodegc delayed work to run immediately
| * 6b7c52f373 fs: no need to check source
| * d53879f54b blktrace: use inline function for blk_trace_remove() while blktrace is disabled
| * ab0bd172d6 leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename
| * 9077ec19ad ARM: orion5x: fix d2net gpio initialization
| * 600b51aa44 ARM: dts: qcom: ipq4019: fix broken NAND controller properties override
| * 9030a7e836 regulator: tps65219: Fix matching interrupts for their regulators
| * d9eaa90d7d ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path
| * 1c9b356bbe ASoC: mediatek: mt8173: Fix irq error path
| * 3929b5dd8f btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
| * bc662a1e1f btrfs: fix extent buffer leak after tree mod log failure at split_node()
| * a53d78d9a8 btrfs: fix race when deleting quota root from the dirty cow roots list
| * 9634e5360b btrfs: reinsert BGs failed to reclaim
| * d9f1e518ab btrfs: add block-group tree to lockdep classes
| * 3702c5342c btrfs: bail out reclaim process if filesystem is read-only
| * 8560861095 btrfs: delete unused BGs while reclaiming BGs
| * 4fadf53fa9 btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile
| * 8fcb478b55 ipvs: increase ip_vs_conn_tab_bits range for 64BIT
| * 759e582b1c usb: typec: ucsi: Mark dGPUs as DEVICE scope
| * f2a6ce3eec i2c: nvidia-gpu: Remove ccgx,firmware-build property
| * 7b67af8dea i2c: nvidia-gpu: Add ACPI property to align with device-tree
| * f40d621387 fs: Lock moved directories
| * 10c159f994 fs: Establish locking order for unrelated directories
| * 6654d2a165 Revert "f2fs: fix potential corruption when moving a directory"
| * 6aaa22ec73 ext4: Remove ext4 locking of moved directory
| * 606e463eef fs: avoid empty option when generating legacy mount string
| * 6df680709d jffs2: reduce stack usage in jffs2_build_xattr_subsystem()
| * 1f34bf8b44 shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
| * 23fbff67b0 mm/damon/ops-common: atomically test and clear young on ptes and pmds
| * 33893c6c1f autofs: use flexible array in ioctl structure
| * cd52323ac4 integrity: Fix possible multiple allocation in integrity_inode_get()
| * 0cbbb029ff um: Use HOST_DIR for mrproper
| * 219a9ec09d watch_queue: prevent dangling pipe pointer
| * 7ecea5ce3d bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
| * 68118c339c bcache: Remove unnecessary NULL point check in node allocations
| * 25ec4779d0 bcache: fixup btree_cache_wait list damage
| * 97ccc14d11 wifi: mt76: mt7921e: fix init command fail with enabled device
| * d8985a0e44 wifi: ath10k: Serialize wake_tx_queue ops
| * 1a312d5a8c wifi: cfg80211: fix regulatory disconnect for non-MLO
| * 5b2b6586c5 mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.
| * 30c5f362b6 mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS
| * 69bc320351 mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
| * 182bf07a24 mmc: core: disable TRIM on Kingston EMMC04G-M627
| * b50d6e06cc io_uring: wait interruptibly for request completions on exit
| * 9440b24fbc irqchip/loongson-pch-pic: Fix initialization of HT vector register
| * 2b4e43b5ad NFSD: add encoding of op_recall flag for write delegation
| * f672f2ca9d irqchip/loongson-pch-pic: Fix potential incorrect hwirq assignment
| * 8753eeb2d3 i2c: qup: Add missing unwind goto in qup_i2c_probe()
| * b990e37603 btrfs: do not BUG_ON() on tree mod log failure at balance_level()
| * 2445a35d05 extcon: usbc-tusb320: Unregister typec port on driver removal
| * ee08e1fc94 extcon: usbc-tusb320: Convert to i2c's .probe_new()
| * d5eb0375d7 dm ioctl: Avoid double-fetch of version
| * 2798779419 dm ioctl: have constant on the right side of the test
| * fd4497aca3 dm: avoid split of quoted strings where possible
| * 0783867a30 dm: fix undue/missing spaces
| * 15970b0828 i2c: xiic: Don't try to handle more interrupt events after error
| * e9fbb7c2f6 apparmor: fix missing error check for rhashtable_insert_fast
| * 8fb11fa480 sh: dma: Fix DMA channel offset calculation
| * b837c69236 s390/qeth: Fix vipa deletion
| * f5ea303502 afs: Fix accidental truncation when storing data
| * 4a141c3c03 octeontx-af: fix hardware timestamp configuration
| * 947d741adf net: dsa: sja1105: always enable the send_meta options
| * 079dc659e3 net: dsa: tag_sja1105: fix MAC DA patching from meta frames
| * 97a6d99c54 pptp: Fix fib lookup calls.
| * 0a1b80ff4f riscv: move memblock_allow_resize() after linear mapping is ready
| * 78c6cf1dc7 fanotify: disallow mount/sb marks on kernel internal pseudo fs
| * 18d78c5552 net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
| * 67eb4aee2c xsk: Honor SO_BINDTODEVICE on bind
| * 6baa6e4836 bpf, btf: Warn but return no error for NULL btf from __register_btf_kfunc_id_set()
| * cd398daabe tcp: annotate data races in __tcp_oow_rate_limited()
| * ced61418f4 net: fix net_dev_start_xmit trace event vs skb_transport_offset()
| * 6469dc1c13 net: dsa: tag_sja1105: fix source port decoding in vlan_filtering=0 bridge mode
| * fd03500476 net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode
| * d50baa75c6 powerpc: dts: turris1x.dts: Fix PCIe MEM size for pci2 node
| * d33b0ddf7a powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
| * c86a2517df ntfs: Fix panic about slab-out-of-bounds caused by ntfs_listxattr()
| * a5485a9431 octeontx2-af: Add validation before accessing cgx and lmac
| * bd246c92d2 octeontx2-af: Fix mapping for NIX block from CGX connection
| * c2c5c6d2c4 f2fs: fix error path handling in truncate_dnode()
| * cfdb9c1a74 mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0
| * 4033b47642 drm/amd: Don't try to enable secure display TA multiple times
| * 0d4e60e23c drm/amdgpu: fix number of fence calculations
| * d3dcdb43c8 spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
| * d4f5b1dd81 mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init
| * 0b24d3e4b9 net: dsa: vsc73xx: fix MTU configuration
| * f67ef8f9f6 ibmvnic: Do not reset dql stats on NON_FATAL err
| * c07efe4dbc Bluetooth: MGMT: Fix marking SCAN_RSP as not connectable
| * 40ca66eef3 Bluetooth: MGMT: Use BIT macro when defining bitfields
| * 1a7f268ccc Bluetooth: MGMT: add CIS feature bits to controller information
| * 4aa515393f Bluetooth: ISO: use hci_sync for setting CIG parameters
| * 018b12ff16 Bluetooth: fix invalid-bdaddr quirk for non-persistent setup
| * 102f3555ce Add MODULE_FIRMWARE() for FIRMWARE_TG357766.
| * f721042447 net: dsa: tag_sja1105: always prefer source port information from INCL_SRCPT
| * 060d36670d net: dsa: sja1105: always enable the INCL_SRCPT option
| * 2f99d19dc6 net: dsa: felix: don't drop PTP frames with tag_8021q when RX timestamping is disabled
| * e9dda2b68c net: mscc: ocelot: don't keep PTP configuration of all ports in single structure
| * 7826202689 net: mscc: ocelot: don't report that RX timestamping is enabled by default
| * a252547c89 spi: spi-geni-qcom: enable SPI_CONTROLLER_MUST_TX for GPI DMA mode
| * 946edfb7d4 net/sched: act_ipt: add sanity checks on skb before calling target
| * a6c9b0f7ba net: add a couple of helpers for iph tot_len
| * 201948effa net/sched: act_ipt: add sanity checks on table name and hook locations
| * 1aa5a6a6d2 sctp: fix potential deadlock on &net->sctp.addr_wq_lock
| * 9dbcfc01d6 media: cec: i2c: ch7322: also select REGMAP
| * 0623f13959 f2fs: check return value of freeze_super()
| * dcb526d768 drm/i915/guc/slpc: Apply min softlimit correctly
| * 61070305d5 drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times
| * df53f7a3db rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
| * 3781d0e6c1 md/raid10: fix the condition to call bio_end_io_acct()
| * 07e81c9208 pwm: mtk_disp: Fix the disable flow of disp_pwm
| * 75439e6cd2 pwm: ab8500: Fix error code in probe()
| * 61aad933e5 pwm: sysfs: Do not apply state to already disabled PWMs
| * c8fa254b77 pwm: imx-tpm: force 'real_period' to be zero in suspend
| * 29ddfd5460 lib/bitmap: drop optimization of bitmap_{from,to}_arr64
| * d986fb02a1 phy: tegra: xusb: check return value of devm_kzalloc()
| * 055ea8efdf mfd: stmpe: Only disable the regulators if they are enabled
| * f7d56de13c hwtracing: hisi_ptt: Fix potential sleep in atomic context
| * 34eef9e8c8 clk: qcom: mmcc-msm8974: fix MDSS_GDSC power flags
| * 94f3bcfcd1 misc: fastrpc: check return value of devm_kasprintf()
| * 7e3ee25e8c cpufreq: mediatek: correct voltages for MT7622 and MT7623
| * 86bfb18bad KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler
| * c78ad1060c KVM: s390: vsie: fix the length of APCB bitmap
| * e716693f02 mfd: stmfx: Nullify stmfx->vdd in case of error
| * 18abe5f4c3 mfd: stmfx: Fix error path in stmfx_chip_init
| * 5bd9dc3e76 bus: fsl-mc: don't assume child devices are all fsl-mc devices
| * e27948f329 nvmem: rmem: Use NVMEM_DEVID_AUTO
| * 2791847940 nvmem: sunplus-ocotp: release otp->clk before return
| * e3a71d821e drivers: fwnode: fix fwnode_irq_get[_byname]()
| * 51ae92e329 device property: Clarify description of returned value in some functions
| * 73209e3f8a device property: Fix documentation for fwnode_get_next_parent()
| * 852659fe83 serial: 8250_omap: Use force_suspend and resume for system suspend
| * e348173400 Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection"
| * 22b1e2af69 mfd: intel-lpss: Add missing check for platform_get_resource
| * 2e8ab68460 mfd: wcd934x: Fix an error handling path in wcd934x_slim_probe()
| * 7a37abf096 usb: dwc3-meson-g12a: Fix an error handling path in dwc3_meson_g12a_probe()
| * 04b1c0798d usb: common: usb-conn-gpio: Set last role to unknown before initial detection
| * 155bb9b4e3 usb: dwc3: qcom: Fix an error handling path in dwc3_qcom_probe()
| * 63b3360d43 usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
| * 90159b329f KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
| * ebe83e9bb8 f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io()
| * 15c073e752 f2fs: fix potential deadlock due to unpaired node_write lock use
| * 2e980eb955 gfs2: Fix duplicate should_fault_in_pages() call
| * f5d7f9e155 sh: Avoid using IRQ0 on SH3 and SH4
| * d199218881 media: atomisp: gmin_platform: fix out_len in gmin_get_config_dsm_var()
| * c8470b7de8 media: venus: helpers: Fix ALIGN() of non power of two
| * 8339bd9181 mfd: rt5033: Drop rt5033-battery sub-device
| * 6d702c7a22 coresight: Fix loss of connection info when a module is unloaded
| * 76efcb6cda i3c: master: svc: fix cpu schedule in spin lock
| * c0ed8b8049 lkdtm: replace ll_rw_block with submit_bh
| * f5d80ad7b6 kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR
| * 9c4f52b618 serial: 8250: lock port for UART_IER access in omap8250_irq()
| * 3a1ab191e0 serial: core: lock port for start_rx() in uart_resume_port()
| * 65a7cfc009 serial: 8250: lock port for stop_rx() in omap8250_irq()
| * 44470207db serial: core: lock port for stop_rx() in uart_suspend_port()
| * c494fe1b66 usb: misc: eud: Fix eud sysfs path (use 'qcom_eud')
| * b5ab04a19e usb: hide unused usbfs_notify_suspend/resume functions
| * dd9b7c89a8 usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
| * ac961d0571 extcon: Fix kernel doc of property capability fields to avoid warnings
| * e4c94de6ca extcon: Fix kernel doc of property fields to avoid warnings
| * e60a827ac0 usb: gadget: u_serial: Add null pointer check in gserial_suspend
| * c3b322b84a usb: dwc3: qcom: Fix potential memory leak
| * 6aecf5e19b staging: vchiq_arm: mark vchiq_platform_init() static
| * 2ed441a763 clk: qcom: mmcc-msm8974: use clk_rcg2_shared_ops for mdp_clk_src clock
| * 3c4f7d4990 clk: qcom: dispcc-qcm2290: Fix GPLL0_OUT_DIV handling
| * 203ab76704 clk: qcom: dispcc-qcm2290: Fix BI_TCXO_AO handling
| * b80c4629e9 clk: qcom: ipq6018: fix networking resets
| * b20854ef6c clk: qcom: reset: support resetting multiple bits
| * 0e481ef854 media: mediatek: vcodec: using decoder status instead of core work count
| * 42ec6269f9 media: hi846: fix usage of pm_runtime_get_if_in_use()
| * 1ac45cab77 media: i2c: Correct format propagation for st-mipid02
| * 8abb53c516 media: usb: siano: Fix warning due to null work_func_t function pointer
| * e230146b86 media: videodev2.h: Fix struct v4l2_input tuner index comment
| * cb8e8950d7 media: amphion: initiate a drain of the capture queue in dynamic resolution change
| * c0d500726c media: amphion: drop repeated codec data for vc1g format
| * bc43061b42 media: amphion: drop repeated codec data for vc1l format
| * a8af55f7f4 media: usb: Check az6007_read() return value
| * 0b3d2aa627 clk: qcom: gcc-qcm2290: Mark RCGs shared where applicable
| * 792998a8cf clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
| * f0cafc443c clk: qcom: camcc-sc7180: Add parent dependency to all camera GDSCs
| * 51e5f4e720 clk: qcom: mmcc-msm8974: remove oxili_ocmemgx_clk
| * 9812b33d17 serial: 8250: omap: Fix freeing of resources on failed register
| * b6e30a54a5 usb: dwc2: Fix some error handling paths
| * 98b6582b37 usb: dwc2: platform: Improve error reporting for problems during .remove()
| * e91366b72c sh: j2: Use ioremap() to translate device tree address into kernel memory
| * d6dd477436 f2fs: do not allow to defragment files have FI_COMPRESS_RELEASED
| * 190bdec8a7 dt-bindings: power: reset: qcom-pon: Only allow reboot-mode pre-pmk8350
| * c3f5604aba w1: fix loop in w1_fini()
| * eab6485377 w1: w1_therm: fix locking behavior in convert_t
| * ef04741188 SUNRPC: Fix UAF in svc_tcp_listen_data_ready()
| * 6f1c81886b btrfs: fix race when deleting free space root from the dirty cow roots list
| * defc914227 block: increment diskseq on all media change events
| * 28b58a8d10 block: change all __u32 annotations to __be32 in affs_hardblocks.h
| * 40d6a1261a block: add overflow checks for Amiga partition support
| * a4c79ea1e9 block: fix signed int overflow in Amiga partition support
| * 3eb4e47a94 ALSA: pcm: Fix potential data race at PCM memory allocation helpers
| * 14eb1a2b6f ALSA: jack: Fix mutex call in snd_jack_report()
| * 83c6725556 ALSA: hda/realtek: Add quirk for Clevo NPx0SNx
| * 21ce551a85 ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on EliteBook
| * e0d7a96b27 mm/mmap: Fix VM_LOCKED check in do_vmi_align_munmap()
| * b91748bdbf Revert "drm/amd/display: edp do not add non-edid timings"
| * 96b1bc9a6f iio: accel: fxls8962af: fixup buffer scan element type
| * 04a579517b iio: accel: fxls8962af: errata bug only applicable for FXLS8962AF
| * fcdae54e3d iio: adc: ad7192: Fix internal/external clock selection
| * b61f26a8a0 iio: adc: ad7192: Fix null ad7192_state pointer access
| * 238edc04dd phy: tegra: xusb: Clear the driver reference in usb-phy dev
| * c2a0884134 usb: dwc3: gadget: Propagate core init errors to UDC during pullup
| * a0b3696203 USB: serial: option: add LARA-R6 01B PIDs
| * f57e2c0830 md/raid1-10: fix casting from randomized structure in raid1_submit_write()
| * b6872b4a7d x86/efi: Make efi_set_virtual_address_map IBT safe
| * 9766921494 arm64: sme: Use STR P to clear FFR context field in streaming SVE mode
| * be54803be8 ksmbd: avoid field overflow warning
| * babaab6ef6 smb: client: fix broken file attrs with nodfs mounts
| * 9fb981a86a cifs: do all necessary checks for credits within or before locking
| * 4fe07d55a5 cifs: prevent use-after-free by freeing the cfile later
| * e28d7a3f4b efi/libstub: Disable PCI DMA before grabbing the EFI memory map
| * 1e596c181c kbuild: Disable GCOV for *.mod.o
| * c5696a8a54 hwrng: st - keep clock enabled while hwrng is registered
| * d88158d816 dax/kmem: Pass valid argument to memory_group_register_static
| * 7b8106d905 dax: Introduce alloc_dev_dax_id()
| * 03859868ab dax: Fix dax_mapping_release() use after free
| * 1bf709b962 SMB3: Do not send lease break acknowledgment if all file handles have been closed
| * c2bf8d7b8f NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
| * 7053178436 NFSv4.2: fix wrong shrinker_id
| * 08749a9005 crypto: qat - unmap buffers before free for RSA
| * 32b09834c3 crypto: qat - unmap buffer before free for DH
| * da1729e661 crypto: qat - Use helper to set reqsize
| * 2db49992fc crypto: kpp - Add helper to set reqsize
| * c14964fe8e ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard
| * dd872d5576 modpost: fix off by one in is_executable_section()
| * 64c358c9ab crypto: jitter - correct health test during initialization
| * 7ab0e37f80 crypto: marvell/cesa - Fix type mismatch warning
| * 6852d82e6c modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
| * 1df287bd89 modpost: fix section mismatch message for R_ARM_ABS32
| * 5a4adb1ece crypto: nx - fix build warnings when DEBUG_FS is not enabled
| * 2be41ef57c modpost: remove broken calculation of exception_table_entry size
| * 22c30022cd hwrng: virtio - Fix race on data_avail and actual data
| * 8f98749d53 vfio/mdev: Move the compat_class initialization to module init
| * e2e52c8dfb PCI: vmd: Fix uninitialized variable usage in vmd_enable_domain()
| * 222f64e56b PCI: endpoint: functions/pci-epf-test: Fix dma_chan direction
| * e14379d026 PCI: endpoint: Fix a Kconfig prompt of vNTB driver
| * 38b64bdb72 PCI: endpoint: Fix Kconfig indent style
| * 4e6c406ccb powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
| * ea356080c1 powerpc/book3s64/mm: Fix DirectMap stats in /proc/meminfo
| * 526129937c riscv: uprobes: Restore thread.bad_cause
| * d25166e1e9 PCI: qcom: Disable write access to read only registers for IP v2.9.0
| * 1cf0ecb0c7 PCI: qcom: Use DWC helpers for modifying the read-only DBI registers
| * 8640e941fd PCI: qcom: Use lower case for hex
| * a350f10777 PCI: qcom: Sort and group registers and bitfield definitions
| * db962c7a71 PCI: qcom: Remove PCIE20_ prefix from register definitions
| * 865d128cab powerpc: update ppc_save_regs to save current r1 in pt_regs
| * 4cff1be1cb powerpc: simplify ppc_save_regs
| * d9a1aaea85 powerpc/powernv/sriov: perform null check on iov before dereferencing iov
| * 0af388fce3 pinctrl: at91-pio4: check return value of devm_kasprintf()
| * 35404a47ba pinctrl: microchip-sgpio: check return value of devm_kasprintf()
| * 4e82f92c34 powerpc/64s: Fix VAS mm use after free
| * 75d65c1cc4 perf tool x86: Fix perf_env memory leak
| * 0dafc849b9 perf tool x86: Consolidate is_amd check into single function
| * c94376dbd6 platform/x86/dell/dell-rbtn: Fix resources leaking on error path
| * 9999a9f004 perf dwarf-aux: Fix off-by-one in die_get_varname()
| * 4e06e8b1f9 platform/x86: thinkpad_acpi: Fix lkp-tests warnings for platform profiles
| * 4309bd9e98 perf script: Fix allocation of evsel->priv related to per-event dump files
| * 7cfd310111 powerpc/signal32: Force inlining of __unsafe_save_user_regs() and save_tm_user_regs_unsafe()
| * af0c61c5bb powerpc/interrupt: Don't read MSR from interrupt_exit_kernel_prepare()
| * 081f642b31 kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures
| * c32afc7e86 pinctrl: npcm7xx: Add missing check for ioremap
| * fc45a8be5e pinctrl:sunplus: Add check for kmalloc
| * 8362ea6158 platform/x86: think-lmi: Correct NVME password handling
| * 699b593101 platform/x86: think-lmi: Correct System password interface
| * 61545eb787 platform/x86: think-lmi: mutex protection around multiple WMI calls
| * d1390b057d pinctrl: cherryview: Return correct value if pin in push-pull mode
| * 1ebe7d40ed perf bench: Add missing setlocale() call to allow usage of %'d style formatting
| * 251c6615a7 scsi: lpfc: Revise NPIV ELS unsol rcv cmpl logic to drop ndlp based on nlp_state
| * 7d3664d24f PCI: Add pci_clear_master() stub for non-CONFIG_PCI
| * 019d4fd93a pinctrl: sunplus: Add check for kmalloc
| * bc796f65cd PCI: ftpci100: Release the clock resources
| * a982c13e11 PCI: pciehp: Cancel bringup sequence if card is not present
| * 6c1b079e26 scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe()
| * 7aecdd4791 PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free
| * 3a080e1b11 platform/x86: lenovo-yogabook: Set default keyboard backligh brightness on probe()
| * fa177f7011 platform/x86: lenovo-yogabook: Reprobe devices on remove()
| * 3e6c92a346 platform/x86: lenovo-yogabook: Fix work race on remove()
| * 727fb7083e pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors
| * c316bde418 scsi: qedf: Fix NULL dereference in error handling
| * c52502b674 PCI: vmd: Reset VMD config register between soft reboots
| * ebafa12c8f PCI: cadence: Fix Gen2 Link Retraining process
| * 79e1d940fd ASoC: amd: acp: clear pdm dma interrupt mask
| * c6764757e8 ARM: dts: lan966x: kontron-d10: fix SPI CS
| * 712a7f3a06 ARM: dts: lan966x: kontron-d10: fix board reset
| * 49451db71b clk: Fix memory leak in devm_clk_notifier_register()
| * 03a705c1d7 ASoC: imx-audmix: check return value of devm_kasprintf()
| * e4f2a1feeb ovl: update of dentry revalidate flags after copy up
| * 83356d6f0a drivers: meson: secure-pwrc: always enable DMA domain
| * 511b47f8cb clk: ti: clkctrl: check return value of kasprintf()
| * 67684f0688 clk: keystone: sci-clk: check return value of kasprintf()
| * a20450f473 clk: si5341: free unused memory on probe failure
| * 11581850a7 clk: si5341: check return value of {devm_}kasprintf()
| * 0a89a906ba clk: si5341: return error if one synth clock registration fails
| * 5470a0e81f clk: cdce925: check return value of kasprintf()
| * 0b5c9e9695 clk: vc5: check memory returned by kasprintf()
| * af8affd123 drm/msm/dpu: correct MERGE_3D length
| * 0e2c51a16f drm/amdgpu: Fix usage of UMC fill record in RAS
| * 8d68ba9255 drm/amdgpu: Fix memcpy() in sienna_cichlid_append_powerplay_table function.
| * 643a85190a arm64: dts: mediatek: mt8192: Fix CPUs capacity-dmips-mhz
| * 846c79d2a5 arm64: dts: mediatek: Add cpufreq nodes for MT8192
| * 4e9f1a2367 drm/msm/dp: Free resources after unregistering them
| * ecf02762d4 drm/msm/dsi: Remove incorrect references to slice_count
| * ef25872788 drm/msm/dsi: Flip greater-than check for slice_count and slice_per_intf
| * 937da3db61 drm/msm/dsi: Use DSC slice(s) packet size to compute word count
| * bc6d856b1c drm/msm/dpu: Fix slice_last_group_size calculation
| * 7dca0dde50 drm/msm/dpu: do not enable color-management if DSPPs are not available
| * d28b83252e ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer
| * 96bafece6f clk: tegra: tegra124-emc: Fix potential memory leak
| * b35cb0c05b clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider()
| * 9ff9f928c6 clk: bcm: rpi: Fix off by one in raspberrypi_discover_clocks()
| * 4842a84639 arm64: dts: qcom: sm8250-edo: Panel framebuffer is 2.5k instead of 4k
| * 7089f1aa0b arm64: dts: qcom: sdm845: Flush RSC sleep & wake votes
| * 6317d03026 clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
| * 280a5ff665 clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe
| * 9ba3693b03 clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
| * 1839032251 clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe
| * bf7ab557d6 RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock context
| * c9be352be9 RDMA/bnxt_re: wraparound mbox producer index
| * 154bed0fd6 drm/msm/a5xx: really check for A510 in a5xx_gpu_init
| * b10db1d213 amdgpu: validate offset_in_bo of drm_amdgpu_gem_va
| * 1afca9e0fe RDMA/rxe: Fix access checks in rxe_check_bind_mw
| * 0cd210c594 RDMA/rxe: Replace pr_xxx by rxe_dbg_xxx in rxe_mw.c
| * 34bbf074f7 RDMA/rxe: Add ibdev_dbg macros for rxe
| * 78cb71dd60 HID: uclogic: Modular KUnit tests should not depend on KUNIT=y
| * 1420545b8a drm/radeon: fix possible division-by-zero errors
| * c1164aeb96 drm/amd/display: Fix artifacting on eDP panels when engaging freesync video mode
| * 82934a338b soc: mediatek: SVS: Fix MT8192 GPU node name
| * fabadad9e2 drm/amdkfd: Fix potential deallocation of previously deallocated memory.
| * 384717042d drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg()
| * 36786e2a73 drm/amd/display: Fix a test CalculatePrefetchSchedule()
| * 4812faba0a clk: Export clk_hw_forward_rate_request()
| * 90d4c487cd ARM: dts: BCM5301X: fix duplex-full => full-duplex
| * 1ae94553dc hwmon: (pmbus/adm1275) Fix problems with temperature monitoring on ADM1272
| * 421d359127 hwmon: (gsc-hwmon) fix fan pwm temperature scaling
| * 9e633411d1 ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx
| * dc2707deeb ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
| * 03b2c470a1 Input: pm8941-powerkey - fix debounce on gen2+ PMICs
| * 421ce97657 arm64: dts: ti: k3-j7200: Fix physical address of pin
| * 3b4c218040 fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
| * 52b04ac85f drm/msm/dpu: set DSC flush bit correctly at MDP CTL flush register
| * 6878bdd757 arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1
| * 5d14292dba ARM: dts: iwg20d-q7-common: Fix backlight pwm specifier
| * 766e0b6f4c RDMA/hns: Fix hns_roce_table_get return value
| * b99395ab60 IB/hfi1: Fix wrong mmu_node used for user SDMA packet after invalidate
| * ebec507398 RDMA/irdma: avoid fortify-string warning in irdma_clr_wqes
| * 750f0a302a soc/fsl/qe: fix usb.c build errors
| * b2194d7dfc ARM: dts: meson8: correct uart_B and uart_C clock references
| * 863054be8d ASoC: es8316: Do not set rate constraints for unsupported MCLKs
| * 3b575d9302 ASoC: es8316: Increment max value for ALC Capture Target Volume control
| * c02f27c295 ARM: dts: qcom: apq8074-dragonboard: Set DMA as remotely controlled
| * 9f79e638d4 memory: brcmstb_dpfe: fix testing array offset after use
| * 09722ac9f1 ARM: dts: stm32: Shorten the AV96 HDMI sound card name
| * 666be7fef4 arm64: dts: mediatek: mt8183: Add mediatek,broken-save-restore-fw to kukui
| * 1bdb9751b4 arm64: dts: qcom: apq8096: fix fixed regulator name property
| * 75c019119e arm64: dts: qcom: pm7250b: add missing spmi-vadc include
| * c63997426d ARM: omap2: fix missing tick_broadcast() prototype
| * e91ffbd655 ARM: ep93xx: fix missing-prototype warnings
| * deda0761dc drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
| * 25a724c2fa drm/bridge: ti-sn65dsi83: Fix enable/disable flow to meet spec
| * 5044e5f251 drm/bridge: Introduce pre_enable_prev_first to alter bridge init order
| * 1d9473b88e arm64: dts: qcom: apq8016-sbc: Fix 1.8V power rail on LS expansion
| * 638d54f5c5 arm64: dts: qcom: apq8016-sbc: Fix regulator constraints
| * 2ad75715fc arm64: dts: qcom: sdm845-polaris: add missing touchscreen child node reg
| * 266cf247dd arm64: dts: qcom: sm8350: correct DMA controller unit address
| * 42d0fbbbf4 arm64: dts: qcom: sm8350: Add GPI DMA compatible fallback
| * aa14fefca2 arm64: dts: qcom: sdm845: correct camss unit address
| * e3789d63a3 arm64: dts: qcom: sdm630: correct camss unit address
| * 173b6412a5 arm64: dts: qcom: msm8996: correct camss unit address
| * 4d810c12d6 arm64: dts: qcom: msm8994: correct SPMI unit address
| * 98cd405217 arm64: dts: qcom: msm8916: correct MMC unit address
| * aa2d2407f5 arm64: dts: qcom: msm8916: correct camss unit address
| * 0cff846820 ARM: dts: qcom: msm8974: do not use underscore in node name (again)
| * 376daf3aa8 drm/bridge: anx7625: Prevent endless probe loop
| * 4536679f79 drm/bridge: anx7625: Convert to i2c's .probe_new()
| * 93a0378035 ARM: dts: gta04: Move model property out of pinctrl node
| * af5bcfb4f8 clk: renesas: rzg2l: Fix CPG_SIPLL5_CLK1 register write
| * 2128318c91 iommu/virtio: Return size mapped for a detached domain
| * 0f2c11ccfd iommu/virtio: Detach domain on endpoint release
| * ed41f708b3 drm/msm/dpu: Set DPU_DATA_HCTL_EN for in INTF_SC7180_MASK
| * f4c6e5d734 drm/msm/disp/dpu: get timing engine status from intf status register
| * 74abb8d3cd drm/msm/dsi: don't allow enabling 14nm VCO with unprogrammed rate
| * dd129da1fd RDMA/bnxt_re: Fix to remove an unnecessary log
| * c37eca42ac RDMA/bnxt_re: Remove a redundant check inside bnxt_re_update_gid
| * 66eb6c47b5 RDMA/bnxt_re: Use unique names while registering interrupts
| * f2279e3e38 RDMA/bnxt_re: Fix to remove unnecessary return labels
| * b43b064498 RDMA/bnxt_re: Disable/kill tasklet only if it is enabled
| * 280e58d8b0 hwmon: (f71882fg) prevent possible division by zero
| * 08cc7cd2c2 clk: imx: scu: use _safe list iterator to avoid a use after free
| * 3fc9637f37 drm/bridge: tc358767: Switch to devm MIPI-DSI helpers
| * 929b6c6e6a arm64: dts: microchip: sparx5: do not use PSCI on reference boards
| * 13602e6132 bus: ti-sysc: Fix dispc quirk masking bool variables
| * 46a8dff210 ARM: dts: stm32: Move ethernet MAC EEPROM from SoM to carrier boards
| * 7a3c39e34c drm/vkms: Fix RGB565 pixel conversion
| * 048b7168ac drm: Add fixed-point helper to get rounded integer values
| * fa4ee16e81 drm/vkms: isolate pixel conversion functionality
| * 9d59f5f52c ASoC: Intel: sof_sdw: remove SOF_SDW_TGL_HDMI for MeteorLake devices
| * 49fca83f6f driver: soc: xilinx: use _safe loop iterator to avoid a use after free
| * 39bdb97f87 drm/panel: sharp-ls043t1le01: adjust mode settings
| * aeca0e1c33 drm: sun4i_tcon: use devm_clk_get_enabled in `sun4i_tcon_init_clocks`
| * ac96a15163 Input: adxl34x - do not hardcode interrupt trigger type
| * 3134cc51e9 clk: rs9: Fix .driver_data content in i2c_device_id
| * 6014e7422c clk: vc7: Fix .driver_data content in i2c_device_id
| * 53b5b4d1a8 clk: vc5: Fix .driver_data content in i2c_device_id
| * 4db655d1b2 bootmem: remove the vmemmap pages from kmemleak in free_bootmem_page
| * 548b67c0aa clk: vc5: Use `clamp()` to restrict PLL range
| * 50fb32197f mm: call arch_swap_restore() from do_swap_page()
| * 5cf97c2df2 ARM: dts: meson8b: correct uart_B and uart_C clock references
| * 2b55a98572 ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
| * 2dc8b685d9 drm/vram-helper: fix function names in vram helper doc
| * 8e739c8c6e drm/bridge: tc358768: fix THS_TRAILCNT computation
| * 010f68aecd drm/bridge: tc358768: fix TXTAGOCNT computation
| * 7b19315737 drm/bridge: tc358768: fix THS_ZEROCNT computation
| * 2545a8d06a drm/bridge: tc358768: fix TCLK_TRAILCNT computation
| * 587ba0805e drm/bridge: tc358768: Add atomic_get_input_bus_fmts() implementation
| * 06dc491cf4 drm/bridge: tc358768: fix TCLK_ZEROCNT computation
| * 9d56ec0b24 drm/bridge: tc358768: fix PLL target frequency
| * d2aad3c1e4 drm/bridge: tc358768: fix PLL parameters computation
| * c4cf126320 drm/bridge: tc358768: always enable HS video mode
| * 63f3bc83b1 drm/bridge: ti-sn65dsi83: Fix enable error path
| * df3b7e337d Input: drv260x - sleep between polling GO bit
| * 9d27705e3c drm/bridge: it6505: Move a variable assignment behind a null pointer check in receive_timing_debugfs_show()
| * 9fbe61e3c2 drm/amd/display: Explicitly specify update type per plane info change
| * cb86b0e3d9 radeon: avoid double free in ci_dpm_init()
| * 064e33b359 drm/amd/display: Add logging for display MALL refresh setting
| * 3b3186c770 netlink: Add __sock_i_ino() for __netlink_diag_dump().
| * f6d2e25c64 ipvlan: Fix return value of ipvlan_queue_xmit()
| * d6cf5026af netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value.
| * 5c618daa50 netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
| * cfcb9f0a49 lib/ts_bm: reset initial match offset for every block of text
| * 425d9d3a92 net: nfc: Fix use-after-free caused by nfc_llcp_find_local
| * 446f556793 sfc: fix crash when reading stats while NIC is resetting
| * 94817712b5 ocfs2: Fix use of slab data with sendpage
| * 8c438ff5d9 net: axienet: Move reset before 64-bit DMA detection
| * 17d6b6354f gtp: Fix use-after-free in __gtp_encap_destroy().
| * b48c24392d selftests: rtnetlink: remove netdevsim device after ipsec offload test
| * 37b6143376 bonding: do not assume skb mac_header is set
| * e9331c8fa4 netlink: do not hard code device address lenth in fdb dumps
| * 61ffe8b1ee netlink: fix potential deadlock in netlink_set_err()
| * 509d5d40c2 net: stmmac: fix double serdes powerdown
| * 12bcb53328 can: kvaser_pciefd: Set hardware timestamp on transmitted packets
| * 70ace9ba20 can: kvaser_pciefd: Add function to set skb hwtstamps
| * 787b404209 can: length: fix bitstuffing count
| * cfb3106234 bpf: Fix bpf socket lookup from tc/xdp to respect socket VRF bindings
| * c7415c521a bpf: Call __bpf_sk_lookup()/__bpf_skc_lookup() directly via TC hookpoint
| * 5e9b38de66 bpf: Factor out socket lookup functions for the TC hookpoint.
| * e3754e9741 wifi: ath9k: convert msecs to jiffies where needed
| * 52bc4b89cd wifi: iwlwifi: mvm: indicate HW decrypt for beacon protection
| * ed98f5c074 mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019
| * f114b159b2 wifi: ieee80211: Fix the common size calculation for reconfiguration ML
| * ffb0733664 wifi: cfg80211/mac80211: Fix ML element common size calculation
| * 132b7129c5 wifi: cfg80211: fix regulatory disconnect with OCB/NAN
| * 27268ba347 wifi: cfg80211: drop incorrect nontransmitted BSS update code
| * 0862669693 wifi: cfg80211: rewrite merging of inherited elements
| * d875120c35 wifi: mac80211: Remove "Missing iftype sband data/EHT cap" spam
| * 2d690495eb wifi: iwlwifi: pcie: fix NULL pointer dereference in iwl_pcie_irq_rx_msix_handler()
| * 657a83f079 wifi: iwlwifi: pull from TXQs with softirqs disabled
| * 41b1704fad wifi: ath11k: Add missing check for ioremap
| * 228dd5d5fd rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO
| * c682018f5c wifi: mac80211: Fix permissions for valid_links debugfs entry
| * 41fc1c5678 wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key()
| * 16b5292bee memstick r592: make memstick_debug_get_tpc_name() static
| * 93126e3966 mmc: mediatek: Avoid ugly error message when SDIO wakeup IRQ isn't used
| * fd4f89302f kexec: fix a memory leak in crash_shrink_memory()
| * 6525435d14 watchdog/perf: more properly prevent false positives with turbo modes
| * a3cf423b58 watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config
| * b27af27fc9 selftests: cgroup: fix unexpected failure on test_memcg_low
| * 75704a10ea ice: handle extts in the miscellaneous interrupt thread
| * 77f09d836b wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
| * eb205a0690 wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled
| * 54257a7634 selftests/bpf: Fix check_mtu using wrong variable type
| * da79a0bc36 wifi: mac80211: recalc min chandef for new STA links
| * 272240f20d wifi: ath10k: Trigger STA disconnect after reconfig complete on hardware restart
| * cf5beb8ce9 samples/bpf: xdp1 and xdp2 reduce XDPBUFSIZE to 60
| * 09740fa982 wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes
| * 0d89e50952 wifi: ray_cs: Fix an error handling path in ray_probe()
| * 3d218755c4 wifi: wl3501_cs: Fix an error handling path in wl3501_probe()
| * d5569b970b wifi: atmel: Fix an error handling path in atmel_probe()
| * e48b7c2416 wifi: orinoco: Fix an error handling path in orinoco_cs_probe()
| * 9a201822ad wifi: orinoco: Fix an error handling path in spectrum_cs_probe()
| * 4fc6481323 regulator: core: Streamline debugfs operations
| * 6a241e6b9e regulator: core: Fix more error checking for debugfs_create_dir()
| * be84e69082 selftests/bpf: Do not use sign-file as testcase
| * 20109ddd5b bpf: Fix memleak due to fentry attach failure
| * 8ea165e1f8 bpf: Remove bpf trampoline selector
| * 1949721c74 bpftool: JIT limited misreported as negative value on aarch64
| * bac93b35f9 nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
| * 34d04d7019 spi: dw: Round of n_bytes to power of 2
| * c6a9fc82fe bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen
| * 34fe7aa8ef libbpf: fix offsetof() and container_of() to work with CO-RE
| * 8404f8de1e sctp: add bpf_bypass_getsockopt proto callback
| * f21f2ae562 wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan()
| * 51cb8329f2 wifi: wilc1000: fix for absent RSN capabilities WFA testcase
| * ded1a7a570 spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG
| * 56c25f2763 samples/bpf: Fix buffer overflow in tcp_basertt
| * a7434a4dcc libbpf: btf_dump_type_data_check_overflow needs to consider BTF_MEMBER_BITFIELD_SIZE
| * d1c2ff2bd8 wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
| * 6928d6e9b0 wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
| * bb3a9ed2b1 igc: Enable and fix RX hash usage by netstack
| * f57ba91a46 pstore/ram: Add check for kstrdup
| * 2672144b86 ima: Fix build warnings
| * 9085f2ca94 evm: Fix build warnings
| * b050ade6e0 evm: Complete description of evm_inode_setattr()
| * ea1432a402 locking/atomic: arm: fix sync ops
| * 6b54f5c684 x86/mm: Fix __swp_entry_to_pte() for Xen PV guests
| * 3745f628c3 perf/ibs: Fix interface via core pmu events
| * 64d09c0e83 kselftest: vDSO: Fix accumulation of uninitialized ret when CLOCK_REALTIME is undefined
| * b8a6ba524d rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale
| * 3506e64ec1 rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup()
| * 7a34922194 rcuscale: Move shutdown from wait_event() to wait_event_idle()
| * a0a1f1c924 rcutorture: Correct name of use_softirq module parameter
| * b1cdc56bc1 rcu-tasks: Stop rcu_tasks_invoke_cbs() from using never-onlined CPUs
| * d58f0f0ce6 rcu: Make rcu_cpu_starting() rely on interrupts being disabled
| * 5d56a8d670 thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe()
| * 2b7e2251c4 cpufreq: intel_pstate: Fix energy_performance_preference for passive
| * 50d64210ee ARM: 9303/1: kprobes: avoid missing-declaration warnings
| * 3f9e54eb38 PM: domains: Move the verification of in-params from genpd_add_device()
| * f1f5248ced powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
| * be9c8c9c84 drivers/perf: hisi: Don't migrate perf to the CPU going to teardown
| * 6b025ec148 x86/tdx: Fix race between set_memory_encrypted() and load_unaligned_zeropad()
| * c598fefef3 x86/mm: Allow guest.enc_status_change_prepare() to fail
| * 3e03681f07 perf/arm-cmn: Fix DTC reset
| * 6368a71dca PM: domains: fix integer overflow issues in genpd_parse_state()
| * 919dd531eb clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
| * 2d3f42d22f tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
| * 77cc52f1b8 tick/rcu: Fix bogus ratelimit condition
| * e7aff15ba2 posix-timers: Prevent RT livelock in itimer_delete()
| * 9a53410038 erofs: fix compact 4B support for 16k block size
| * ec94df6bcf erofs: simplify iloc()
| * 423453bb50 svcrdma: Prevent page release when nothing was received
| * faf004e98d irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
| * 0cf83d3698 irqchip/stm32-exti: Fix warning on initialized field overwritten
| * aa07e56c6a block: fix blktrace debugfs entries leakage
| * 067c08f78d md/raid1-10: submit write io directly if bitmap is not enabled
| * f98b89fbf8 md/raid1-10: factor out a helper to submit normal write
| * fa0f13a833 md/raid1-10: factor out a helper to add bio to plug
| * a5a1ec06ef md/raid10: fix io loss while replacement replace rdev
| * 222cc459d5 md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
| * 05d10428e8 md/raid10: fix wrong setting of max_corr_read_errors
| * b5cb16d31b md/raid10: fix overflow of md/safe_mode_delay
| * be1a3ec63a md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
| * e1379e067b nvme-core: fix dev_pm_qos memleak
| * bf3c2caab9 nvme-core: add missing fault-injection cleanup
| * a584cf03ff nvme-auth: don't ignore key generation failures when initializing ctrl keys
| * 43d0724d75 nvme-core: fix memory leak in dhchap_ctrl_secret
| * 2e9b141307 nvme-core: fix memory leak in dhchap_secret_store
| * 0a220ef9dd nvme-auth: no need to reset chap contexts on re-authentication
| * 3999c850e7 nvme-auth: remove symbol export from nvme_auth_reset
| * 9de0a1dfe3 nvme-auth: rename authentication work elements
| * 3f6c988897 nvme-auth: rename __nvme_auth_[reset|free] to nvme_auth[reset|free]_dhchap
| * ce16368280 lockd: drop inappropriate svc_get() from locked_get()
| * 931bd6758b blk-mq: fix potential io hang by wrong 'wake_batch'
| * c2a0eb3b20 virt: sevguest: Add CONFIG_CRYPTO dependency
| * 7ca5e95f2a x86/sev: Fix calculation of end address based on number of pages
| * 8ceeb3fc86 blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost
| * c0df916535 x86/resctrl: Only show tasks' pid in current pid namespace
| * d3b39ea248 erofs: kill hooked chains to avoid loops on deduplicated compressed images
| * daed10290b erofs: move zdata.h into zdata.c
| * 041ff2c21b erofs: remove tagged pointer helpers
| * 3379f13ebc erofs: avoid tagged pointers to mark sync decompression
| * 3564500b0d erofs: clean up cached I/O strategies
| * 73b9d7ea08 block: Fix the type of the second bdev_op_is_zoned_write() argument
| * 0fd958feae fs: pipe: reveal missing function protoypes
| * 9f12effd40 drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2
* | 79ad050bdd Merge 6.1.38 into android14-6.1-lts
|\|
| * 61fd484b2c Linux 6.1.38
| * c50065a392 drm/amd/display: Ensure vmin and vmax adjust for DCE
| * 9d0b2afadf drm/amdgpu: Validate VM ioctl flags.
| * fe56f507a1 docs: Set minimal gtags / GNU GLOBAL version to 6.6.5
| * c437b26bc3 scripts/tags.sh: Resolve gtags empty index generation
| * 50e36c2897 perf symbols: Symbol lookup with kcore can fail if multiple segments match stext
| * 67e3b5230c nubus: Partially revert proc_create_single_data() conversion
| * 296927dbae execve: always mark stack as growing down during early stack setup
| * d856e6f8a0 PCI/ACPI: Call _REG when transitioning D-states
| * 788c76c33d PCI/ACPI: Validate acpi_pci_set_power_state() parameter
| * a905b0b318 drm/amd/display: Do not update DRR while BW optimizations pending
| * dd6d6f9d47 drm/amd/display: Remove optimization for VRR updates
| * 6b2849b3e0 xtensa: fix lock_mm_and_find_vma in case VMA not found
* | 8dc085b841 Merge 6.1.37 into android14-6.1-lts
|\|
| * 0f4ac6b4c5 Linux 6.1.37
| * 323846590c xtensa: fix NOMMU build with lock_mm_and_find_vma() conversion
| * c2d89256de csky: fix up lock_mm_and_find_vma() conversion
| * 4a1db15878 parisc: fix expand_stack() conversion
| * 0a1da2dde4 sparc32: fix lock_mm_and_find_vma() conversion
| * 00f04a3385 Revert "thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe"
| * a536383ef0 HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651.
| * d89750b196 HID: wacom: Use ktime_t rather than int when dealing with timestamps
| * 879e79c3ae HID: hidraw: fix data race on device refcount
| * cae8542495 fbdev: fix potential OOB read in fast_imageblit()
| * e6bbad7571 mm: always expand the stack with the mmap write lock held
| * c4b31d1b69 execve: expand new process stack manually ahead of time
| * 6a6b5616c3 mm: make find_extend_vma() fail if write lock not held
| * 48c232819e powerpc/mm: convert coprocessor fault to lock_mm_and_find_vma()
| * 21ee33d51b mm/fault: convert remaining simple cases to lock_mm_and_find_vma()
| * 1f4197f050 arm/mm: Convert to using lock_mm_and_find_vma()
| * ac764deea7 riscv/mm: Convert to using lock_mm_and_find_vma()
| * 7227d70acc mips/mm: Convert to using lock_mm_and_find_vma()
| * 82972ea17b powerpc/mm: Convert to using lock_mm_and_find_vma()
| * b92cd80e5f arm64/mm: Convert to using lock_mm_and_find_vma()
| * 755aa1bc6a mm: make the page fault mmap locking killable
| * d6a5c7a1a6 mm: introduce new 'lock_mm_and_find_vma()' page fault helper
| * 4e2ad53aba maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()
| * 31cde3bdad can: isotp: isotp_sendmsg(): fix return error fix on TX path
| * 0af4750eaa x86/smp: Cure kexec() vs. mwait_play_dead() breakage
| * 6d3b2e0aef x86/smp: Use dedicated cache-line for mwait_play_dead()
| * 50a1abc677 x86/smp: Remove pointless wmb()s from native_stop_other_cpus()
| * e47037d28b x86/smp: Dont access non-existing CPUID leaf
| * edadebb349 x86/smp: Make stop_other_cpus() more robust
| * 94a69d6999 x86/microcode/AMD: Load late on both threads too
| * 84f077802e mm, hwpoison: when copy-on-write hits poison, take page offline
| * 4af5960d7c mm, hwpoison: try to recover from copy-on write faults
| * 69925a346a mptcp: ensure listener is unhashed before updating the sk status
| * 42a018a796 mm/mmap: Fix error return in do_vmi_align_munmap()
| * a149174ff8 mm/mmap: Fix error path in do_vmi_align_munmap()
* | 8b02e8901d Merge branch 'android14-6.1' into 'android14-6.1-lts'
* | 16e5091129 ANDROID: ABI: Update STG ABI to format version 2
* | 1ef7816a50 Merge branch 'android14-6.1' into 'android14-6.1-lts'
* | 524f946fbc Merge branch 'android14-6.1' into 'android14-6.1-lts'
* | bfa917516c Revert "gpiolib: Fix irq_domain resource tracking for gpiochip_irqchip_add_domain()"
* | a09603eb2f Merge 6.1.36 into android14-6.1-lts
|\|
| * a1c449d00f Linux 6.1.36
| * 29429a1f58 smb: move client and server files to common directory fs/smb
| * 9d3e4bca4b i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle
| * 81d4078f7a x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys
| * 679354bea0 KVM: arm64: Restore GICv2-on-GICv3 functionality
| * 6ab9468d3e vhost_net: revert upend_idx only on retriable error
| * 454e4f391a vhost_vdpa: tell vqs about the negotiated
| * 1af1cd7be3 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl
| * 022f2306d9 drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl
| * aa88042218 drm/exynos: vidi: fix a wrong error return
| * 711f727f7b null_blk: Fix: memory release when memory_backed=1
| * f6076a1386 ARM: dts: Fix erroneous ADS touchscreen polarities
| * 1d1baefacd i2c: mchp-pci1xxxx: Avoid cast to incompatible function type
| * 8e32575994 ALSA: hda/realtek: Add "Intel Reference board" and "NUC 13" SSID in the ALC256
| * cfa01235b5 ASoC: fsl_sai: Enable BCI bit if SAI works on synchronous mode with BYP asserted
| * 570583c625 s390/purgatory: disable branch profiling
| * c2888c460d gfs2: Don't get stuck writing page onto itself under direct I/O
| * 878dad66b9 ASoC: amd: yc: Add Thinkpad Neo14 to quirks list for acp6x
| * 1c97025d44 ASoC: nau8824: Add quirk to active-high jack-detect
| * 5cc506e9b3 soundwire: qcom: add proper error paths in qcom_swrm_startup()
| * 2839e0b64e soundwire: dmi-quirks: add new mapping for HP Spectre x360
| * ee4d36a14d ASoC: simple-card: Add missing of_node_put() in case of error
| * e701fb0a5d ASoC: codecs: wcd938x-sdw: do not set can_multi_write flag
| * 06b9522ca8 spi: lpspi: disable lpspi module irq in DMA mode
| * 39a77f005f s390/cio: unregister device when the only path is gone
| * 552a24eb71 arm64: dts: qcom: sc7280-qcard: drop incorrect dai-cells from WCD938x SDW
| * 4de58b7c14 arm64: dts: qcom: sc7280-idp: drop incorrect dai-cells from WCD938x SDW
| * 2e8ebf1a44 Input: soc_button_array - add invalid acpi_index DMI quirk handling
| * ba0cc7a2e5 nvme: improve handling of long keep alives
| * 06d9ec407f nvme: check IO start time when deciding to defer KA
| * 8a72260619 nvme: double KA polling frequency to avoid KATO with TBKAS on
| * c8f988c37a usb: gadget: udc: fix NULL dereference in remove()
| * 3f6391062d btrfs: fix an uninitialized variable warning in btrfs_log_inode
| * a2c3e9bfc0 nfcsim.c: Fix error checking for debugfs_create_dir
| * a05df06431 media: cec: core: don't set last_initiator if tx in progress
| * f37956a140 media: cec: core: disable adapter in cec_devnode_unregister
| * 9d8ac2726c smb3: missing null check in SMB2_change_notify
| * 3e8458c5b2 arm64: Add missing Set/Way CMO encodings
| * 8428f4c00d HID: wacom: Add error check to wacom_parse_and_register()
| * aaa50510ad scsi: target: iscsi: Prevent login threads from racing between each other
| * 0357259cb1 gpiolib: Fix irq_domain resource tracking for gpiochip_irqchip_add_domain()
| * 8592ada80e gpio: sifive: add missing check for platform_get_irq
| * cb1108e174 gpiolib: Fix GPIO chip IRQ initialization restriction
| * 90714f7ed7 arm64: dts: rockchip: fix nEXTRST on SOQuartz
| * e51abd4808 arm64: dts: rockchip: Enable GPU on SOQuartz CM4
| * ec3d0f12e7 revert "net: align SO_RCVMARK required privileges with SO_MARK"
| * b2e2f9c093 sch_netem: acquire qdisc lock in netem_change()
| * 0434277b72 platform/x86/amd/pmf: Register notify handler only if SPS is enabled
| * 2d580c73af selftests: forwarding: Fix race condition in mirror installation
| * eff07bf118 io_uring/net: use the correct msghdr union member in io_sendmsg_copy_hdr
| * 1b7b048c22 bpf: Force kprobe multi expected_attach_type for kprobe_multi link
| * fc3afb3378 bpf/btf: Accept function names that contain dots
| * 22cc989f2b Revert "net: phy: dp83867: perform soft reset and retain established link"
| * 3e04743dba netfilter: nfnetlink_osf: fix module autoload
| * abd3afddbf netfilter: nf_tables: disallow updates of anonymous sets
| * c34b220385 netfilter: nf_tables: reject unbound chain set before commit phase
| * 46f801ab5f netfilter: nf_tables: reject unbound anonymous set before commit phase
| * b60c0ce0ff netfilter: nf_tables: disallow element updates of bound anonymous sets
| * 0d836f9175 netfilter: nft_set_pipapo: .walk does not deal with generations
| * d60be2da67 netfilter: nf_tables: drop map element references from preparation phase
| * df27be7c15 netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
| * 891cd2eddd netfilter: nf_tables: fix chain binding transaction logic
| * f5b6dbec26 be2net: Extend xmit workaround to BE3 chip
| * 50f689918d net: dsa: mt7530: fix handling of LLDP frames
| * a50f84af21 net: dsa: mt7530: fix handling of BPDUs on MT7530 switch
| * a4e4c71901 net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch
| * 7fd2e9a69e ipvs: align inner_mac_header for encapsulation
| * 6d1eec1f2d mmc: usdhi60rol0: fix deferred probing
| * 7e10fff133 mmc: sh_mmcif: fix deferred probing
| * 565b8bd290 mmc: sdhci-acpi: fix deferred probing
| * 645f89ee3e mmc: owl: fix deferred probing
| * 251101c32a mmc: omap_hsmmc: fix deferred probing
| * 0057a905de mmc: omap: fix deferred probing
| * f73b380518 mmc: mvsdio: fix deferred probing
| * 4806f6b6b7 mmc: mtk-sd: fix deferred probing
| * d28b7a8733 net: qca_spi: Avoid high load if QCA7000 is not available
| * 1d4dd09f13 sfc: use budget for TX completions
| * 0bbb8164ed net/mlx5: DR, Fix wrong action data allocation in decap action
| * b062caf4f7 xfrm: Linearize the skb after offloading if needed.
| * fff9a18e01 selftests: net: fcnal-test: check if FIPS mode is enabled
| * 0793ead2ff selftests: net: vrf-xfrm-tests: change authentication and encryption algos
| * 6919634176 selftests: net: tls: check if FIPS mode is enabled
| * ac5671d100 bpf: Fix a bpf_jit_dump issue for x86_64 with sysctl bpf_jit_enable.
| * 8bb51cdc4f xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets
| * d9a0b1a53c bpf: Fix verifier id tracking of scalars on spill
| * 461fc3391c bpf: track immediate values written to stack by BPF_ST instruction
| * b36ba84f09 KVM: arm64: PMU: Restore the host's PMUSERENR_EL0
| * c803e91600 xfrm: Ensure policies always checked on XFRM-I input path
| * 94e81817f0 xfrm: interface: rename xfrm_interface.c to xfrm_interface_core.c
| * 8ea03341f7 xfrm: Treat already-verified secpath entries as optional
| * 43489b2cba ieee802154: hwsim: Fix possible memory leaks
| * caddcdf2a9 mmc: meson-gx: fix deferred probing
| * 1a2793a25a memfd: check for non-NULL file_seals in memfd_create() syscall
| * 364fdcbb03 x86/mm: Avoid using set_pgd() outside of real PGD pages
| * cbfee3d9d5 nilfs2: prevent general protection fault in nilfs_clear_dirty_page()
| * 24f473769e io_uring/poll: serialize poll linked timer start with poll removal
| * 2d80c85fa4 arm64: dts: rockchip: Fix rk356x PCIe register and range mappings
| * 277a7c23b5 regmap: spi-avmm: Fix regmap_bus max_raw_write
| * b385b1d28e regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK
| * ad5daeaa3d spi: spi-geni-qcom: correctly handle -EPROBE_DEFER from dma_request_chan()
| * 21945b7a86 wifi: iwlwifi: pcie: Handle SO-F device for PCI id 0x7AF0
| * 1dfca388fc bpf: ensure main program has an extable
| * 03b2149d5a mmc: sunxi: fix deferred probing
| * 8b8756324c mmc: bcm2835: fix deferred probing
| * 1db5a39a90 mmc: sdhci-spear: fix deferred probing
| * f1b17198e4 mmc: mmci: stm32: fix max busy timeout calculation
| * 6c2af0fd83 mmc: meson-gx: remove redundant mmc_request_done() call from irq context
| * 687d34c578 mmc: sdhci-msm: Disable broken 64-bit DMA on MSM8916
| * 3dd0041c41 mmc: litex_mmc: set PROBE_PREFER_ASYNCHRONOUS
| * 0d7a4e6589 cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex in freezer_css_{online,offline}()
| * 7b162a18d3 cgroup: Do not corrupt task iteration when rebinding subsystem
| * c2c46a7028 mptcp: consolidate fallback and non fallback state machine
| * 1d31275426 mptcp: fix possible list corruption on passive MPJ
| * b747e75598 mptcp: fix possible divide by zero in recvmsg()
| * b7bb71dfb5 mptcp: handle correctly disconnect() failures
| * 1d9dc9bed9 io_uring/net: disable partial retries for recvmsg with cmsg
| * 4d729cc67b io_uring/net: clear msg_controllen on partial sendmsg retry
| * 4db49d59a8 PCI: hv: Add a per-bus mutex state_lock
| * 091d03d198 PCI: hv: Fix a race condition in hv_irq_unmask() that can cause panic
| * 5c09925b18 PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev
| * da2fff20d9 Revert "PCI: hv: Fix a timing issue which causes kdump to fail occasionally"
| * a74a9d9b75 PCI: hv: Fix a race condition bug in hv_pci_query_relations()
| * ba803d7ac1 Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUs
| * 191cb91329 Drivers: hv: vmbus: Call hv_synic_free() if hv_synic_alloc() fails
| * 4f7e702b74 KVM: Avoid illegal stage2 mapping on invalid memory slot
| * 390aeb5ae7 ACPI: sleep: Avoid breaking S3 wakeup due to might_sleep()
| * 8e63b1fd24 nilfs2: fix buffer corruption due to concurrent device reads
| * d5d7cde2ad scripts: fix the gfp flags header path in gfp-translate
| * 4a89bfb1a1 writeback: fix dereferencing NULL mapping->host on writeback_page_template
| * 1fed1f8513 selftests: mptcp: join: fix "userspace pm add & remove address"
| * 53e096bcae selftests: mptcp: join: skip fail tests if not supported
| * f17459121c selftests: mptcp: join: skip userspace PM tests if not supported
| * f40a7ded34 selftests: mptcp: join: skip test if iptables/tc cmds fail
| * bce23d1254 selftests: mptcp: sockopt: skip TCP_INQ checks if not supported
| * 157dcb2000 selftests: mptcp: diag: skip listen tests if not supported
| * 755c8857ab selftests/mount_setattr: fix redefine struct mount_attr build error
| * 94851666af selftests: mptcp: join: skip MPC backups tests if not supported
| * fe1f28db73 selftests: mptcp: join: skip fullmesh flag tests if not supported
| * 6313c493e3 selftests: mptcp: join: skip backup if set flag on ID not supported
| * efb4f6c2dd selftests: mptcp: join: skip implicit tests if not supported
| * dd6c284a34 selftests: mptcp: join: support RM_ADDR for used endpoints or not
| * 695cce2f2c selftests: mptcp: join: skip Fastclose tests if not supported
| * 0381f30735 selftests: mptcp: join: support local endpoint being tracked or not
| * 1c0d9b4b47 selftests: mptcp: join: skip check if MIB counter not supported
| * e35edb09e5 selftests: mptcp: join: helpers to skip tests
| * 4d65ec947d selftests: mptcp: join: use 'iptables-legacy' if available
| * 44d3366bf4 selftests: mptcp: lib: skip if not below kernel version
| * c5bdd8eb8e selftests: mptcp: userspace pm: skip if not supported
| * 733bf9d80d selftests: mptcp: userspace pm: skip if 'ip' tool is unavailable
| * bfe225dec6 selftests: mptcp: sockopt: skip getsockopt checks if not supported
| * 103b4e62de selftests: mptcp: sockopt: relax expected returned size
| * 61c1bf0666 selftests: mptcp: pm nl: skip fullmesh flag checks if not supported
| * 41f7f7f6e4 selftests: mptcp: pm nl: remove hardcoded default limits
| * e79e5e7642 selftests: mptcp: connect: skip disconnect tests if not supported
| * cba0db9c15 selftests: mptcp: connect: skip transp tests if not supported
| * 9ead68270b selftests: mptcp: lib: skip if missing symbol
| * 4bed22c687 selftests: mptcp: join: fix ShellCheck warnings
| * a032ccca15 selftests: mptcp: remove duplicated entries in usage
| * 0c6552f837 tick/common: Align tick period during sched_timer setup
| * 854156d12c ksmbd: validate session id and tree id in the compound request
| * c86211159b ksmbd: fix out-of-bound read in smb2_write
| * 9650cf70ec ksmbd: validate command payload size
| * 0fd4ac3773 tpm_crb: Add support for CRB devices based on Pluton
| * a46fa56966 tpm, tpm_tis: Claim locality in interrupt handler
| * 2e7ad879e1 mm: Fix copy_from_user_nofault().
| * 4ed740c648 ata: libata-scsi: Avoid deadlock on rescan after device resume
| * c4465bff4d tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A
| * 17732fed85 tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms
| * 9bcac45389 drm/amd/display: fix the system hang while disable PSR
| * e538342002 drm/amd/display: Add wrapper to call planes and stream update
| * 8d855bc676 drm/amd/display: Use dc_update_planes_and_stream
* | 1118d7f559 ANDROID: GKI: irq-gic-v3: fix up breakage in 6.1.35 merge
* | 1e4b07ffa3 Merge 6.1.35 into android14-6.1-lts
|\|
| * e84a4e368a Linux 6.1.35
| * a76d4933c3 kbuild: Update assembler calls to use proper flags and language target
| * 5abcd2c18d MIPS: Prefer cc-option for additions to cflags
| * 1d485ddcba MIPS: Move '-Wa,-msoft-float' check from as-option to cc-option
| * d51d258997 x86/boot/compressed: prefer cc-option for CFLAGS additions
| * bdd22f2aa1 scsi: target: core: Fix error path in target_setup_session()
| * 741c96715f neighbour: delete neigh_lookup_nodev as not used
| * 26435338f9 net/sched: act_api: add specific EXT_WARN_MSG for tc action
| * ab1bbd79f4 Revert "net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy"
| * 8f37599811 net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy
| * 4b4cae8e4b drm/amdgpu: Don't set struct drm_driver.output_poll_changed
| * c6cbb4e1c1 rcu/kvfree: Avoid freeing new kfree_rcu() memory after old grace period
| * 8d842af30b parisc: Delete redundant register definitions in <asm/assembly.h>
| * 616aba5536 afs: Fix vlserver probe RTT handling
| * 34dc1eed99 octeon_ep: Add missing check for ioremap
| * 35d848164f selftests/ptp: Fix timestamp printf format for PTP_SYS_OFFSET
| * 6ab77b3b85 net: tipc: resize nlattr array to correct size
| * d24c965817 dm: don't lock fs when the map is NULL during suspend or resume
| * 010179208c sfc: fix XDP queues mode with legacy IRQ
| * 23efdbfa8e net: macsec: fix double free of percpu stats
| * 4ea1f33444 net: lapbether: only support ethernet devices
| * 59f0c7bec3 net: dsa: felix: fix taprio guard band overflow at 10Mbps with jumbo frames
| * 3626e93cd8 net/sched: cls_api: Fix lockup on flushing explicitly created chain
| * fa285d799d ext4: drop the call to ext4_error() from ext4_get_group_info()
| * d7d6e830cd cifs: fix lease break oops in xfstest generic/098
| * e8119d4d16 selftests: forwarding: hw_stats_l3: Set addrgenmode in a separate step
| * ea3f336f71 net/sched: qdisc_destroy() old ingress and clsact Qdiscs before grafting
| * ac57be24dc net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs
| * 096c00ea80 sched: add new attr TCA_EXT_WARN_MSG to report tc extact message
| * e568e0e168 selftests/tc-testing: Fix SFB db test
| * 700d7bf300 selftests/tc-testing: Fix Error: failed to find target LOG
| * 8a086daf20 selftests/tc-testing: Fix Error: Specified qdisc kind is unknown.
| * 62aecf23f3 drm/nouveau: add nv_encoder pointer check for NULL
| * fb725beca6 drm/nouveau/dp: check for NULL nv_connector->native_mode
| * a5acbe4ea5 drm/bridge: ti-sn65dsi86: Avoid possible buffer overflow
| * 90748be0f4 drm/nouveau: don't detect DSM for non-NVIDIA device
| * 835457c0d6 net: phylink: use a dedicated helper to parse usgmii control word
| * fabf9cb413 net: phylink: report correct max speed for QUSGMII
| * df7477a8bd igb: fix nvm.ops.read() error handling
| * 9710e5c30b igc: Fix possible system crash when loading module
| * c6612bf33e igc: Clean the TX buffer and TX descriptor ring
| * fe289f8fee sctp: fix an error code in sctp_sf_eat_auth()
| * 0b8ae7d6e4 ipvlan: fix bound dev checking for IPv6 l3s mode
| * 33bd6b76ac net: ethtool: correct MAX attribute value for stats
| * 277fbf63b3 IB/isert: Fix incorrect release of isert connection
| * f77965f487 IB/isert: Fix possible list corruption in CMA handler
| * 4e55c9abe9 IB/isert: Fix dead lock in ib_isert
| * 1def2a94f4 RDMA/mlx5: Fix affinity assignment
| * 8618f8f723 IB/uverbs: Fix to consider event queue closing also upon non-blocking mode
| * 4dc0b367c3 RDMA/cma: Always set static rate to 0 for RoCE
| * ec6d49687d RDMA/mlx5: Create an indirect flow table for steering anchor
| * 3a83145b66 RDMA/mlx5: Initiate dropless RQ for RAW Ethernet functions
| * c764fed5e5 octeontx2-af: fix lbk link credits on cn10k
| * 7c6d504146 octeontx2-af: fixed resource availability check
| * b4a3cae58c iavf: remove mask from iavf_irq_enable_queues()
| * 26256aa7ed RDMA/rxe: Fix the use-before-initialization error of resp_pkts
| * b0b3848e03 RDMA/rxe: Removed unused name from rxe_task struct
| * e83bc93886 wifi: mac80211: take lock before setting vif links
| * 170ceadf4a wifi: cfg80211: fix link del callback to call correct handler
| * 49f3a79f03 wifi: mac80211: fix link activation settings order
| * 07f9cc229b net/sched: cls_u32: Fix reference counter leak leading to overflow
| * c9411f014e octeontx2-af: Fix promiscuous mode
| * 5cf38fbc82 net/sched: act_pedit: Parse L3 Header for L4 offset
| * fb25478f66 net/sched: act_pedit: remove extra check for key type
| * b4e5d0c4cf net/sched: simplify tcf_pedit_act
| * 300be9f1dc igb: Fix extts capture value format for 82580/i354/i350
| * a4a912aee1 ping6: Fix send to link-local addresses with VRF.
| * 381d49ec68 net: enetc: correct the indexes of highest and 2nd highest TCs
| * 4aaa3b730d netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
| * bec51844f9 ice: Fix XDP memory leak when NIC is brought up and down
| * 8fddf3f051 netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
| * 55b7a00f34 netfilter: nf_tables: integrate pipapo into commit protocol
| * 839d38d3b0 spi: fsl-dspi: avoid SCK glitches with continuous transfers
| * 4857924806 spi: cadence-quadspi: Add missing check for dma_set_mask
| * 2906e0d75b RDMA/rxe: Fix ref count error in check_rkey()
| * 7617a59f00 RDMA/rxe: Fix packet length checks
| * 00b276bc7b RDMA/rtrs: Fix rxe_dealloc_pd warning
| * 77226c9785 RDMA/rtrs: Fix the last iu->buf leak in err path
| * 03285557de usb: dwc3: gadget: Reset num TRBs before giving back the request
| * 7bee7f13c0 USB: dwc3: fix use-after-free on core driver unbind
| * 307fe59490 USB: dwc3: qcom: fix NULL-deref on suspend
| * d8195536ce usb: gadget: udc: core: Prevent soft_connect_store() race
| * 3c048d42c3 usb: gadget: udc: core: Offload usb_udc_vbus_handler processing
| * 3a1882841f usb: typec: Fix fast_role_swap_current show function
| * 2bf8ea2e9e usb: typec: ucsi: Fix command cancellation
| * b352f7b6a6 serial: lantiq: add missing interrupt ack
| * 04b3145db2 USB: serial: option: add Quectel EM061KGL series
| * 03b5964a28 clk: pxa: fix NULL pointer dereference in pxa3xx_clk_update_accr
| * 5532962c9e thunderbolt: Mask ring interrupt on Intel hardware as well
| * d799f73d5d thunderbolt: dma_test: Use correct value for absent rings when creating paths
| * 081b5f1ebc thunderbolt: Do not touch CL state configuration during discovery
| * 1eb0eff7da ALSA: hda/realtek: Add a quirk for Compaq N14JP6
| * 21863dc45a drm/amdgpu: add missing radeon secondary PCI ID
| * 6f5b5ce939 drm/amd/pm: workaround for compute workload type on some skus
| * b69a10df90 drm/amd: Tighten permissions on VBIOS flashing attributes
| * b2706d862b drm/amd: Make sure image is written to trigger VBIOS image update flow
| * ee8c6580c3 drm/amd/display: edp do not add non-edid timings
| * 2cb6026df1 net: usb: qmi_wwan: add support for Compal RXM-G1
| * 5d1fdfb3d1 drm/amdgpu: vcn_4_0 set instance 0 init sched score to 1
| * f6d74371ce RDMA/uverbs: Restrict usage of privileged QKEYs
| * 5a144bad3e nouveau: fix client work fence deletion race
| * 33965ac340 net: ethernet: stmicro: stmmac: fix possible memory leak in __stmmac_open
| * bfaf388d35 dm thin: fix issue_discard to pass GFP_NOIO to __blkdev_issue_discard
| * 088ad777ee dm thin metadata: check fail_io before using data_sm
| * 1886db9a4e ALSA: usb-audio: Add quirk flag for HEM devices to enable native DSD playback
| * 029e0f1f75 ALSA: usb-audio: Fix broken resume due to UAC3 power state
| * 9e1c7968a2 btrfs: can_nocow_file_extent should pass down args->strict from callers
| * 4e9da0cda1 btrfs: fix iomap_begin length for nocow writes
| * 4389fb6b6a btrfs: do not ASSERT() on duplicated global roots
| * 7e23b1ec72 powerpc/purgatory: remove PGO flags
| * 352f62431a riscv/purgatory: remove PGO flags
| * 2cf6e32e86 x86/purgatory: remove PGO flags
| * 013027918a kexec: support purgatories with .text.hot sections
| * c9c3163c7a io_uring/net: save msghdr->msg_control for retries
| * cffaa97ffb LoongArch: Fix perf event id calculation
| * ad64865722 nilfs2: reject devices with insufficient block count
| * 69caea4eed nilfs2: fix possible out-of-bounds segment allocation in resize ioctl
| * 8f47a9665a nilfs2: fix incomplete buffer cleanup in nilfs_btnode_abort_change_key()
| * 3d4bc38f71 nios2: dts: Fix tse_mac "max-frame-size" property
| * 447f325497 zswap: do not shrink if cgroup may not zswap
| * 9f17645f85 ocfs2: check new file size on fallocate call
| * 534b4bbc85 ocfs2: fix use-after-free when unmounting read-only filesystem
| * 3a340c63c0 epoll: ep_autoremove_wake_function should use list_del_init_careful
| * 6d304091e0 wifi: cfg80211: fix double lock bug in reg_wdev_chan_valid()
| * b11f953a61 wifi: cfg80211: fix locking in regulatory disconnect
| * 9a9adc42a5 irqchip/gic: Correctly validate OF quirk descriptors
| * 22efb27a21 NVMe: Add MAXIO 1602 to bogus nid list.
| * c9c2059450 io_uring: unlock sqd->lock before sq thread release CPU
| * 8ca9880735 drm:amd:amdgpu: Fix missing buffer object unlock in failure path
| * 41c383c496 xen/blkfront: Only check REQ_FUA for writes
| * 75955d6986 ASoC: dwc: move DMA init to snd_soc_dai_driver probe()
| * 7e57a56374 ASoC: cs35l41: Fix default regmap values for some registers
| * 424fc90272 mips: Move initrd_start check after initrd address sanitisation.
| * dd035c08ee MIPS: Alchemy: fix dbdma2
| * 34dd1a90ab MIPS: Restore Au1300 support
| * 048ad52d52 MIPS: unhide PATA_PLATFORM
| * 3d48ea53c4 parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()
| * e522a12e48 parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu()
| * 0b09b35cae ASoC: Intel: avs: Add missing checks on FE startup
| * 5daa27bcb3 ASoC: Intel: avs: Account for UID of ACPI device
| * c33fded7f1 ASoC: soc-pcm: test if a BE can be prepared
| * 0a9b2164b7 btrfs: handle memory allocation failure in btrfs_csum_one_bio
| * e9a5175d5e btrfs: scrub: try harder to mark RAID56 block groups read-only
| * c45aed7431 drm: panel-orientation-quirks: Change Air's quirk to support Air Plus
| * 2d9144c0ca power: supply: Fix logic checking if system is running from battery
| * 808e103eba irqchip/meson-gpio: Mark OF related data as maybe unused
| * 0cdb593c2f irqchip/gic-v3: Disable pseudo NMIs on Mediatek devices w/ firmware issues
| * bf8324676b regulator: Fix error checking for debugfs_create_dir
| * c94be1f039 platform/x86: asus-wmi: Ignore WMI events with codes 0x7B, 0xC0
| * cdf9cfc1bb PCI/DPC: Quirk PIO log size for Intel Ice Lake Root Ports
| * 22358b9c41 power: supply: Ratelimit no data debug output
| * a7620312a0 selftests: gpio: gpio-sim: Fix BUG: test FAILED due to recent change
| * 79a0a3695e tools: gpio: fix debounce_period_us output of lsgpio
| * cc1444a363 ARM: dts: vexpress: add missing cache properties
| * 398bf0d67b power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()
| * 66a88d04cf power: supply: sc27xx: Fix external_power_changed race
| * e3d2bdca18 power: supply: ab8500: Fix external_power_changed race
| * 628e40a225 of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset()
| * e01fc7caac ksmbd: validate smb request protocol id
| * fec79e4f7d EDAC/qcom: Get rid of hardcoded register offsets
| * 4b3ec6b6ff qcom: llcc/edac: Fix the base address used for accessing LLCC banks
| * 314e973f36 cgroup: fix missing cpus_read_{lock,unlock}() in cgroup_transfer_tasks()
| * c68b4db581 cgroup: always put cset in cgroup_css_set_put_fork
| * 7a2e2ca9ad cgroup: bpf: use cgroup_lock()/cgroup_unlock() wrappers
| * 6111f0add6 test_firmware: prevent race conditions by a correct implementation of locking
| * aa2dfdc4ed test_firmware: Use kstrtobool() instead of strtobool()
| * 100cd6d0e5 x86/head/64: Switch to KERNEL_CS as soon as new GDT is installed
* | ed6634a559 Merge 'android14-6.1' into 'android14-6.1-lts'
* | 3a63e65526 Revert "Bluetooth: fix debugfs registration"
* | fb909d9bea Revert "Bluetooth: hci_sync: add lock to protect HCI_UNREGISTER"
* | 18dcace71e Revert "net/ipv6: fix bool/int mismatch for skip_notify_on_dev_down"
* | 16cecdd743 Revert "neighbour: fix unaligned access to pneigh_entry"
* | ee4c9c95ff Merge 6.1.34 into android14-6.1-lts
|\|
| * ca87e77a2e Linux 6.1.34
| * 1aaa74177f Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE"
| * a7e9c2e407 wifi: rtw88: correct PS calculation for SUPPORTS_DYNAMIC_PS
| * 8fafd87155 wifi: rtw89: correct PS calculation for SUPPORTS_DYNAMIC_PS
| * 5b2438f0a7 ext4: only check dquot_initialize_needed() when debugging
| * 77eed67ba2 Revert "ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled"
| * 543c12c264 ksmbd: check the validation of pdu_size in ksmbd_conn_handler_loop
| * 8f2984233c ksmbd: fix out-of-bound read in parse_lease_state()
| * bf12d7fb63 ksmbd: fix out-of-bound read in deassemble_neg_contexts()
| * fb322da83c vhost_vdpa: support PACKED when setting-getting vring_base
| * b839b65456 vhost: support PACKED when setting-getting vring_base
| * 6c5a69c5dd vduse: avoid empty string for dev name
| * 7e48d635f2 riscv: fix kprobe __user string arg print fault issue
| * 14e4f37e46 soundwire: stream: Add missing clear of alloc_slave_rt
| * e17734900a eeprom: at24: also select REGMAP
| * 67180e079b riscv: mm: Ensure prot of VM_WRITE and VM_EXEC must be readable
| * e4b76cd771 i2c: sprd: Delete i2c adapter in .remove's error path
| * c53f2e8462 gpio: sim: fix memory corruption when adding named lines and unnamed hogs
| * 4106894328 firmware: arm_ffa: Set handle field to zero in memory descriptor
| * f24cb5a042 i2c: mv64xxx: Fix reading invalid status value in atomic mode
| * 8e64012c03 arm64: dts: imx8mn-beacon: Fix SPI CS pinmux
| * b64bbe8b1a blk-mq: fix blk_mq_hw_ctx active request accounting
| * c3d87d415f ASoC: simple-card-utils: fix PCM constraint error check
| * c0f9f799ba ASoC: mediatek: mt8195: fix use-after-free in driver remove path
| * 50f2160afb ASoC: mediatek: mt8195-afe-pcm: Convert to platform remove callback returning void
| * 370711d7f0 arm64: dts: imx8-ss-dma: assign default clock rate for lpuarts
| * efe115560a arm64: dts: imx8qm-mek: correct GPIOs for USDHC2 CD and WP signals
| * 5a607e53f2 arm64: dts: qcom: sc7180-lite: Fix SDRAM freq for misidentified sc7180-lite boards
| * 037449ce1c ASoC: codecs: wsa881x: do not set can_multi_write flag
| * 8b13854f26 ASoC: codecs: wsa883x: do not set can_multi_write flag
| * 58ab8a0ff8 ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc
| * 4b8ebe5393 ARM: at91: pm: fix imbalanced reference counter for ethernet devices
| * c97f30d215 arm64: dts: qcom: sc8280xp: Flush RSC sleep & wake votes
| * df9bc25d13 mm: page_table_check: Ensure user pages are not slab pages
| * 08378f0314 mm: page_table_check: Make it dependent on EXCLUSIVE_SYSTEM_RAM
| * 3901170529 usb: usbfs: Use consistent mmap functions
| * 80e29f11be usb: usbfs: Enforce page requirements for mmap
| * 42a7314f2b pinctrl: meson-axg: add missing GPIOA_18 gpio group
| * fdeb712929 soc: qcom: icc-bwmon: fix incorrect error code passed to dev_err_probe()
| * 30c26b985c virtio_net: use control_buf for coalesce params
| * 222a6bc8a7 rbd: get snapshot context after exclusive lock is ensured to be held
| * d647ee673c rbd: move RBD_OBJ_FLAG_COPYUP_ENABLED flag setting
| * 939f00e482 tee: amdtee: Add return_origin to 'struct tee_cmd_load_ta'
| * d088bea08a Bluetooth: hci_qca: fix debugfs registration
| * e5ae01fd46 Bluetooth: fix debugfs registration
| * a5490d6a74 Bluetooth: Fix use-after-free in hci_remove_ltk/hci_remove_irk
| * 1e1e2ee0cf s390/dasd: Use correct lock while counting channel queue length
| * 6f5c0eec89 ceph: fix use-after-free bug for inodes when flushing capsnaps
| * 443cf752f7 selftests: mptcp: update userspace pm subflow tests
| * 8f0ba8ec18 selftests: mptcp: update userspace pm addr tests
| * 3fa051b18f mptcp: update userspace pm infos
| * 9b7fa33fda mptcp: add address into userspace pm list
| * d80a36ad40 mptcp: only send RM_ADDR in nl_cmd_remove
| * e0b04a9f97 can: j1939: avoid possible use-after-free when j1939_can_rx_register fails
| * 8a46c4a2bc can: j1939: change j1939_netdev_lock type to mutex
| * db15e90a8c can: j1939: j1939_sk_send_loop_abort(): improved error queue handling in J1939 Socket
| * 727964650a wifi: iwlwifi: mvm: Fix -Warray-bounds bug in iwl_mvm_wait_d3_notif()
| * 8953be60ec drm/amd/display: Reduce sdp bw after urgent to 90%
| * 8695a443ad drm/amd/pm: Fix power context allocation in SMU13
| * 8e143bae25 drm/amdgpu: change reserved vram info print
| * 34419aa0b4 drm/amdgpu: fix xclk freq on CHIP_STONEY
| * 416ba40ff3 drm/amd/pm: conditionally disable pcie lane switching for some sienna_cichlid SKUs
| * 8d42c563e4 drm/i915/gt: Use the correct error value when kernel_context() fails
| * b40b349132 ALSA: hda/realtek: Add quirks for Asus ROG 2024 laptops using CS35L41
| * b1acff11b6 ALSA: hda/realtek: Add Lenovo P3 Tower platform
| * 6321135063 ALSA: hda/realtek: Add a quirk for HP Slim Desktop S01
| * 0df0097ea2 ALSA: ice1712,ice1724: fix the kcontrol->id initialization
| * caad8a0a10 ALSA: hda/realtek: Add quirk for Clevo NS50AU
| * 3454490e03 ALSA: cmipci: Fix kctl->id initialization
| * c35034fd64 ALSA: gus: Fix kctl->id initialization
| * 1f6c520932 ALSA: ymfpci: Fix kctl->id initialization
| * be0b9b7a6d ALSA: hda: Fix kctl->id initialization
| * c8a46f39dd Input: fix open count when closing inhibited device
| * f9172a0bb5 Input: psmouse - fix OOB access in Elantech protocol
| * 00b59734f5 Input: xpad - delete a Razer DeathAdder mouse VID/PID entry
| * 32c2c234bc batman-adv: Broken sync while rescheduling delayed work
| * f9b9c84696 bnxt_en: Implement .set_port / .unset_port UDP tunnel callbacks
| * abc7062313 bnxt_en: Prevent kernel panic when receiving unexpected PHC_UPDATE event
| * 5ce24936d5 bnxt_en: Skip firmware fatal error recovery if chip is not accessible
| * 5fc86a4580 bnxt_en: Query default VLAN before VNIC setup on a VF
| * 53a0c6d5c9 bnxt_en: Don't issue AP reset during ethtool's reset operation
| * 5df74018d1 net: bcmgenet: Fix EEE implementation
| * d4925800a4 lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release()
| * c5a17f3247 drm/amdgpu: fix Null pointer dereference error in amdgpu_device_recover_vram
| * dbc880567a bpf: Add extra path pointer check to d_path helper
| * 06177b9290 net: sched: fix possible refcount leak in tc_chain_tmplt_add()
| * e582ceda5a net: sched: act_police: fix sparse errors in tcf_police_dump()
| * 60f39768ef net: sched: move rtm_tca_policy declaration to include file
| * 76eef453a6 drm/i915/selftests: Add some missing error propagation
| * 4e7f1f6da7 drm/i915/selftests: Stop using kthread_stop()
| * 9d9a38b563 net: sched: add rcu annotations around qdisc->qdisc_sleeping
| * 8a74ea37e1 rfs: annotate lockless accesses to RFS sock flow table
| * 3d9eface2e rfs: annotate lockless accesses to sk->sk_rxhash
| * f8e6aa0e60 tcp: gso: really support BIG TCP
| * 251b5d68ac ipv6: rpl: Fix Route of Death.
| * 65f2def206 netfilter: nf_tables: out-of-bound check in chain blob
| * fea199dbf6 netfilter: ipset: Add schedule point in call_ad().
| * f057da51c0 netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthelper
| * 1f26ea49a5 netfilter: nft_bitwise: fix register tracking
| * 81e11b6c1a selftests/bpf: Fix sockopt_sk selftest
| * 1ba0353545 selftests/bpf: Verify optval=NULL case
| * 0d18f8b90b wifi: cfg80211: fix locking in sched scan stop work
| * 4a64e92846 qed/qede: Fix scheduling while atomic
| * 79c975514c wifi: mac80211: don't translate beacon/presp addrs
| * 4dd40fec5b wifi: mac80211: mlme: fix non-inheritence element
| * 8b6ab4bfba wifi: cfg80211: reject bad AP MLD address
| * 434cf4fbee wifi: mac80211: use correct iftype HE cap
| * 3e8a7573ff Bluetooth: L2CAP: Add missing checks for invalid DCID
| * 66b3f7425a Bluetooth: ISO: don't try to remove CIG if there are bound CIS left
| * 9c7e51b947 Bluetooth: Fix l2cap_disconnect_req deadlock
| * 17aac12002 Bluetooth: hci_sync: add lock to protect HCI_UNREGISTER
| * 5f285409c9 drm/i915: Use 18 fast wake AUX sync len
| * 7bf7bebdc2 drm/i915: Explain the magic numbers for AUX SYNC/precharge length
| * 1d37434ffc net/sched: fq_pie: ensure reasonable TCA_FQ_PIE_QUANTUM values
| * a22c0a0346 net: enetc: correct rx_bytes statistics of XDP
| * b3fc768a74 net: enetc: correct the statistics of rx bytes
| * 7a5cdd4bc1 net/smc: Avoid to access invalid RMBs' MRs in SMCRv1 ADD LINK CONT
| * 76e38e6e1b net/ipv6: fix bool/int mismatch for skip_notify_on_dev_down
| * 3849e7fcea bpf: Fix elem_size not being set for inner maps
| * d7612a922b bpf: Fix UAF in task local storage
| * 9166225c3b net/ipv4: ping_group_range: allow GID from 2147483648 to 4294967294
| * 332f36a09c net: dsa: lan9303: allow vid != 0 in port_fdb_{add|del} methods
| * 8af3119388 neighbour: fix unaligned access to pneigh_entry
| * 898c9a0ee7 bpf, sockmap: Avoid potential NULL dereference in sk_psock_verdict_data_ready()
| * e783f639b8 wifi: mt76: mt7615: fix possible race in mt7615_mac_sta_poll
| * 84c699681a afs: Fix setting of mtime when creating a file/dir/symlink
| * fb7058dd02 spi: qup: Request DMA before enabling clocks
| * ec2e12b14a platform/surface: aggregator_tabletsw: Add support for book mode in KIP subsystem
| * 24845da026 platform/surface: aggregator: Allow completion work-items to be executed in parallel
| * 31c3de5f7b spi: mt65xx: make sure operations completed before unloading
| * 097acf0aa6 net: sfp: fix state loss when updating state_hw_mask
| * ec3ce2c7cf scsi: megaraid_sas: Add flexible array member for SGLs
* | 32d0f34bbc Revert "tcp: deny tcp_disconnect() when threads are waiting"
* | 2a77668d45 Merge 6.1.33 into android14-6.1-lts
|\|
| * 2f3918bc53 Linux 6.1.33
| * c3fcfe8931 ext4: enable the lazy init thread when remounting read/write
| * 84683a2cf5 selftests: mptcp: join: avoid using 'cmp --bytes'
| * fbb6db561d selftests: mptcp: simult flows: skip if MPTCP is not supported
| * 4bc022b953 selftests: mptcp: diag: skip if MPTCP is not supported
| * e8631d84c0 arm64: efi: Use SMBIOS processor version to key off Ampere quirk
| * b026755cc9 tls: rx: strp: don't use GFP_KERNEL in softirq context
| * a2961463d7 xfs: verify buffer contents when we skip log replay
| * 4042d7ad40 drm/amd/display: Have Payload Properly Created After Resume
| * 4a9d63181f iommu/amd/pgtbl_v2: Fix domain max address
| * 3264d875f5 tpm, tpm_tis: Request threaded interrupt handler
| * 77ee4f8c02 regmap: Account for register length when chunking
| * a8eaa9a06a fs/ntfs3: Validate MFT flags before replaying logs
| * 0b28edf227 KEYS: asymmetric: Copy sig and digest in public_key_verify_signature()
| * 4f303c0b9d ksmbd: fix multiple out-of-bounds read during context decoding
| * 522a9417f6 ksmbd: fix slab-out-of-bounds read in smb2_handle_negotiate
| * 4c6bdaacb3 ksmbd: fix incorrect AllocationSize set in smb2_get_info
| * f7add4d159 ksmbd: fix UAF issue from opinfo->conn
| * 8072ea6743 ksmbd: fix credit count leakage
| * 5f4d3810ca KVM: x86: Account fastpath-only VM-Exits in vCPU stats
| * b1d5667afa KVM: arm64: Populate fault info for watchpoint
| * 0659aee089 test_firmware: fix the memory leak of the allocated firmware buffer
| * eef67dfdc0 test_firmware: fix a memory leak with reqs buffer
| * 33aebb0148 powerpc/xmon: Use KSYM_NAME_LEN in array size
| * 97211945ef serial: cpm_uart: Fix a COMPILE_TEST dependency
| * 7493392a37 serial: 8250_tegra: Fix an error handling path in tegra_uart_probe()
| * 3270095f6e fbcon: Fix null-ptr-deref in soft_cursor
| * ef8aeffb2c ext4: add lockdep annotations for i_data_sem for ea_inode's
| * 140aa33f96 ext4: disallow ea_inodes with extended attributes
| * 277cea6f77 ext4: set lockdep subclass for the ea_inode in ext4_xattr_inode_cache_find()
| * b112babc56 ext4: add EA_INODE checking to ext4_iget()
| * 9ce0319b05 mptcp: fix active subflow finalization
| * 977a63afd4 mptcp: fix connect timeout handling
| * 97ecfe67f5 selftests: mptcp: userspace pm: skip if MPTCP is not supported
| * f324df8de0 selftests: mptcp: sockopt: skip if MPTCP is not supported
| * 0fea987ccf selftests: mptcp: join: skip if MPTCP is not supported
| * 17ddf2a54e selftests: mptcp: pm nl: skip if MPTCP is not supported
| * 68ecc09a14 selftests: mptcp: connect: skip if MPTCP is not supported
| * 3f731926a1 tracing/probe: trace_probe_primary_from_call(): checked list_first_entry
| * 7403630eb9 tracing/histograms: Allow variables to have some modifiers
| * 2a1195f0e0 tracing/timerlat: Always wakeup the timerlat thread
| * 007c042256 mtdchar: mark bits of ioctl handler noinline
| * d7c34c8f60 selinux: don't use make's grouped targets feature yet
| * 6fb0b098f6 io_uring: undeprecate epoll_ctl support
| * 94f97b8df0 riscv: perf: Fix callchain parse error with kernel tracepoint events
| * c40dc6e266 tpm, tpm_tis: correct tpm_tis_flags enumeration values
| * b0e21c42c1 iommu/amd: Fix domain flush size when syncing iotlb
| * 251cf7fd5a powerpc/iommu: Limit number of TCEs to 512 for H_STUFF_TCE hcall
| * 2a72e6814f block: fix revalidate performance regression
| * 867ad8cba2 phy: qcom-qmp-pcie-msm8996: fix init-count imbalance
| * 5daf7a171d phy: qcom-qmp-combo: fix init-count imbalance
| * 1af8dd5403 btrfs: fix csum_tree_block page iteration to avoid tripping on -Werror=array-bounds
| * 380d2da555 tty: serial: fsl_lpuart: use UARTCTRL_TXINV to send break instead of UARTCTRL_SBK
| * 2c8aa1163a mmc: pwrseq: sd8787: Fix WILC CHIP_EN and RESETN toggling order
| * f25568e080 mmc: vub300: fix invalid response handling
| * 03974abbf2 x86/mtrr: Revert 90b926e68f50 ("x86/pat: Fix pat_x_mtrr_type() for MTRR disabled case")
| * 8db2ea7b80 drm/amd/pm: reverse mclk and fclk clocks levels for renoir
| * f05f3fcc78 drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp
| * 1c729bd5b3 drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5
| * 0f8f233ed7 drm/amd/pm: resolve reboot exception for si oland
| * e0a0f5d2ba drm/amd/pm: reverse mclk and fclk clocks levels for vangogh
| * 00abb872ef drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4
| * 2f91f92bd8 drm/amdgpu: enable tmz by default for GC 11.0.1
| * 009886965e ata: libata-scsi: Use correct device no in ata_find_dev()
| * 63a44b01df scsi: stex: Fix gcc 13 warnings
| * 2e787e5153 misc: fastrpc: reject new invocations during device removal
| * 93f2aa05af misc: fastrpc: return -EPIPE to invocations on device removal
| * cbfed647fd md/raid5: fix miscalculation of 'end_sector' in raid5_read_one_chunk()
| * 704842c97a usb: gadget: f_fs: Add unbind event before functionfs_unbind
| * cc8c9864da usb: cdns3: fix NCM gadget RX speed 20x slow than expection at iMX8QM
| * 08e8ff68a3 dt-bindings: usb: snps,dwc3: Fix "snps,hsphy_interface" type
| * ef12610ff5 net: usb: qmi_wwan: Set DTR quirk for BroadMobi BM818
| * 3cfdc3fc18 iio: dac: build ad5758 driver when AD5758 is selected
| * f453753900 iio: adc: stm32-adc: skip adc-diff-channels setup if none is present
| * 735d033bed iio: adc: ad7192: Change "shorted" channels to differential
| * 84f4d63ae1 iio: addac: ad74413: fix resistance input processing
| * ab0c2dffe8 iio: dac: mcp4725: Fix i2c_master_send() return value handling
| * 89f92d4353 iio: adc: ad_sigma_delta: Fix IRQ issue by setting IRQ_DISABLE_UNLAZY flag
| * 2eb2696051 iio: adc: stm32-adc: skip adc-channels setup if none is present
| * 54d737d796 iio: light: vcnl4035: fixed chip ID check
| * 2896a356ed dt-bindings: iio: adc: renesas,rcar-gyroadc: Fix adi,ad7476 compatible value
| * cb2a612c39 iio: imu: inv_icm42600: fix timestamp reset
| * 3fb021f5c1 HID: wacom: avoid integer overflow in wacom_intuos_inout()
| * 254be1f648 HID: google: add jewel USB id
| * 23c241676f iio: adc: mxs-lradc: fix the order of two cleanup operations
| * b6867ce5fb iio: accel: st_accel: Fix invalid mount_matrix on devices without ACPI _ONT method
| * 47cc3cae30 media: uvcvideo: Don't expose unsupported formats to userspace
| * 4d77637112 drivers: base: cacheinfo: Fix shared_cpu_map changes in event of CPU hotplug
| * 7d233f9359 mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()
| * 4124000cf4 media: mediatek: vcodec: Only apply 4K frame sizes on decoder formats
| * bafe94ac99 KVM: arm64: vgic: Fix locking comment
| * 150a5f74a5 KVM: arm64: vgic: Wrap vgic_its_create() with config_lock
| * 4129d71e5b KVM: arm64: vgic: Fix a circular locking issue
| * 7df6008b87 block: Deny writable memory mapping if block is read-only
| * 16ddd3bc67 nvme-pci: Add quirk for Teamgroup MP33 SSD
| * a731273f3c ublk: fix AB-BA lockdep warning
| * 68ce1d57e5 drm/amdgpu: skip disabling fence driver src_irqs when device is unplugged
| * baa8901ad7 ceph: silence smatch warning in reconnect_caps_cb()
| * 56e5d63e4e atm: hide unused procfs functions
| * 47d0f62679 drm/msm: Be more shouty if per-process pgtables aren't working
| * c62a9a6bea ALSA: oss: avoid missing-prototype warnings
| * e4f1532a9c nvme: do not let the user delete a ctrl before a complete initialization
| * f481c2af49 nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk
| * d001347067 netfilter: conntrack: define variables exp_nat_nla_policy and any_addr with CONFIG_NF_NAT
| * def67e27f2 net: wwan: t7xx: Ensure init is completed before system sleep
| * ae72bd1a4b wifi: b43: fix incorrect __packed annotation
| * c061e13c72 scsi: core: Decrease scsi_device's iorequest_cnt if dispatch failed
| * 7402fb48ef wifi: iwlwifi: mvm: Add locking to the rate read flow
| * 788f129f63 wifi: mac80211: recalc chanctx mindef before assigning
| * a034600611 wifi: mac80211: consider reserved chanctx for mindef
| * aefa37aa32 wifi: mac80211: simplify chanctx allocation
| * bdd97c99b3 arm64: vdso: Pass (void *) to virt_to_page()
| * 6bf0f6bfcd arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
| * e0b5316e2e ARM: dts: stm32: add pin map for CAN controller on stm32f7
| * de16dfe7ca wifi: rtl8xxxu: fix authentication timeout due to incorrect RCR value
| * 329da6d07c ACPI: resource: Add IRQ override quirk for LG UltraPC 17U70P
| * 905b247f6e s390/topology: honour nr_cpu_ids when adding CPUs
| * 26cfe2faa8 s390/pkey: zeroize key blobs
| * 9f2f538cd8 ASoC: SOF: pm: save io region state in case of errors in resume
| * eb708aee41 ASoC: SOF: sof-client-probes: fix pm_runtime imbalance in error handling
| * 1cc6301dfc ASoC: SOF: pcm: fix pm_runtime imbalance in error handling
| * a6637d5a8f ASoC: SOF: debug: conditionally bump runtime_pm counter on exceptions
| * d5d61f747e media: dvb-core: Fix use-after-free due to race condition at dvb_ca_en50221
| * d0088ea444 media: dvb-core: Fix kernel WARNING for blocking operation in wait_event*()
| * 4a8ecfb220 media: dvb-core: Fix use-after-free due to race at dvb_register_device()
| * 93b5dfebcb media: dvb-core: Fix use-after-free due on race condition at dvb_net
| * bf3b6f82fd media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table
| * ea2938c27b media: ttusb-dec: fix memory leak in ttusb_dec_exit_dvb()
| * dd68399361 media: dvb_ca_en50221: fix a size write bug
| * 058822591b media: netup_unidvb: fix irq init by register it at the end of probe
| * b769fbf04a media: dvb-usb: dw2102: fix uninit-value in su3000_read_mac_address
| * 5d2923fb0b media: dvb-usb: digitv: fix null-ptr-deref in digitv_i2c_xfer()
| * 6906e613e6 media: dvb-usb-v2: rtl28xxu: fix null-ptr-deref in rtl28xxu_i2c_xfer
| * 4e896b2263 media: dvb-usb-v2: ce6230: fix null-ptr-deref in ce6230_i2c_master_xfer()
| * 336ca9b371 media: dvb-usb-v2: ec168: fix null-ptr-deref in ec168_i2c_xfer()
| * 1027c8c068 media: dvb-usb: az6027: fix three null-ptr-deref in az6027_i2c_xfer()
| * 8914ae00db media: dvb_demux: fix a bug for the continuity counter
| * 59dad726de ASoC: ssm2602: Add workaround for playback distortions
| * 7fbdd3bd7b ALSA: hda/realtek: Add quirks for ASUS GU604V and GU603V
| * 603f239216 ASoC: dt-bindings: Adjust #sound-dai-cells on TI's single-DAI codecs
| * f6d2aa322c xfrm: Check if_id in inbound policy/secpath match
| * 40798c566b um: harddog: fix modular build
| * c03dd93905 ASoC: dwc: limit the number of overrun messages
| * 0960fb87cd ASoC: amd: yc: Add DMI entry to support System76 Pangolin 12
| * 7d98a36b10 nvme-pci: add quirk for missing secondary temperature thresholds
| * 53786bfadc nvme-pci: add NVME_QUIRK_BOGUS_NID for HS-SSD-FUTURE 2048G
| * 46193dd43d block/rnbd: replace REQ_OP_FLUSH with REQ_OP_WRITE
| * 5af920e4d1 nbd: Fix debugfs_create_dir error checking
| * f83c32ed05 fbdev: stifb: Fix info entry in sti_struct on error path
| * be2aefa202 fbdev: modedb: Add 1920x1080 at 60 Hz video mode
| * c6c0a9f619 fbdev: imsttfb: Fix use after free bug in imsttfb_probe
| * 3e336ad6f5 drm/amdgpu: set gfx9 onwards APU atomics support to be true
| * 5ae4a618a1 gfs2: Don't deref jdesc in evict
| * 61c3962ab1 platform/mellanox: fix potential race in mlxbf-tmfifo driver
| * 809efd7a69 platform/x86: intel_scu_pcidrv: Add back PCI ID for Medfield
| * 18913fc7c1 media: rcar-vin: Select correct interrupt mode for V4L2_FIELD_ALTERNATE
| * 705f4dcc41 hwmon: (k10temp) Add PCI ID for family 19, model 78h
| * 6578e0f196 ARM: 9295/1: unwind:fix unwind abort for uleb128 case
| * 0433baa893 btrfs: abort transaction when sibling keys check fails for leaves
| * e2d161c539 drm/ast: Fix ARM compatibility
| * cad1abbe48 mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()
| * 88a042d599 drm/amdgpu: Use the default reset when loading or reloading the driver
| * 6a40da6007 ASoC: Intel: soc-acpi-cht: Add quirk for Nextbook Ares 8A tablet
| * a7ec48a419 ALSA: hda: Glenfly: add HD Audio PCI IDs and HDMI Codec Vendor IDs.
| * 867dae5547 watchdog: menz069_wdt: fix watchdog initialisation
| * 787e74b213 drm/amdgpu: release gpu full access after "amdgpu_device_ip_late_init"
| * e2feb39312 mptcp: add annotations around sk->sk_shutdown accesses
| * 0b9e6d64cd mptcp: fix data race around msk->first access
| * 519f16d96c mptcp: consolidate passive msk socket initialization
| * fa2cbd1d68 mptcp: simplify subflow_syn_recv_sock()
| * 9872e8c632 mptcp: avoid unneeded address copy
| * 1b9e3ab669 mptcp: add annotations around msk->subflow accesses
| * c5ebb5cec9 mptcp: avoid unneeded __mptcp_nmpc_socket() usage
| * ea9d7382d5 rtnetlink: call validate_linkmsg in rtnl_create_link
| * 62dcac528b mtd: rawnand: marvell: don't set the NAND frequency select
| * 2187cb72b9 mtd: rawnand: marvell: ensure timing values are written
| * a0843347a9 net: dsa: mv88e6xxx: Increase wait after reset deactivation
| * c3fc733798 tcp: fix mishandling when the sack compression is deferred.
| * eac615ed3c net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
| * 4fc2724f44 iommu/mediatek: Flush IOTLB completely only if domain has been attached
| * 9316fdd57f net/mlx5: Read embedded cpu after init bit cleared
| * 4156c6ff33 net/mlx5e: Fix error handling in mlx5e_refresh_tirs
| * 7c3e271626 nvme: fix the name of Zone Append for verbose logging
| * 4e5a5cda3d nfsd: fix double fget() bug in __write_ports_addfd()
| * 401a1cf50b udp6: Fix race condition in udp6_sendmsg & connect
| * 507182f132 net/netlink: fix NETLINK_LIST_MEMBERSHIPS length report
| * 5c05ef3630 net: sched: fix NULL pointer dereference in mq_attach
| * f8884108a2 net/sched: Prohibit regrafting ingress or clsact Qdiscs
| * be3e1f71cb net/sched: Reserve TC_H_INGRESS (TC_H_CLSACT) for ingress (clsact) Qdiscs
| * 1ec1434630 net/sched: sch_clsact: Only create under TC_H_CLSACT
| * 89a0f4dcae net/sched: sch_ingress: Only create under TC_H_INGRESS
| * d67a5a587c net/smc: Don't use RMBs not mapped to new link in SMCRv2 ADD LINK
| * 8c3ec8e789 net/smc: Scan from current RMB list when no position specified
| * 752836e1a2 tcp: Return user_mss for TCP_MAXSEG in CLOSE/LISTEN state if user_mss set
| * c2251ce048 tcp: deny tcp_disconnect() when threads are waiting
| * 0dec22a09d af_packet: do not use READ_ONCE() in packet_bind()
| * 906134664f RDMA/irdma: Fix Local Invalidate fencing
| * 07322c8a12 RDMA/irdma: Prevent QP use after free
| * 3cf7747414 mtd: rawnand: ingenic: fix empty stub helper definitions
| * 789394f1df perf ftrace latency: Remove unnecessary "--" from --use-nsec option
| * 7164961a9c amd-xgbe: fix the false linkup in xgbe_phy_status
| * d615070b0e tls: improve lockless access safety of tls_err_abort()
| * 0b64a2bf16 af_packet: Fix data-races of pkt_sk(sk)->num.
| * a2c2364e5f netrom: fix info-leak in nr_write_internal()
| * ae0ef97f1e net: mellanox: mlxbf_gige: Fix skb_panic splat under memory pressure
| * 724aa4fd9e net/mlx5e: Don't attach netdev profile while handling internal error
| * 9c7ae143a0 net/mlx5: fw_tracer, Fix event handling
| * e73b7de4bf net/mlx5: SF, Drain health before removing device
| * 9e49af9766 net/mlx5: Drain health before unregistering devlink
| * ddd8d552a8 riscv: Fix unused variable warning when BUILTIN_DTB is set
| * 72fef70abe dmaengine: pl330: rename _start to prevent build error
| * bd424277a1 nfsd: make a copy of struct iattr before calling notify_change
| * dac09fec5b iommu/amd: Fix up merge conflict resolution
| * 817ce9b1d2 iommu/amd: Handle GALog overflows
| * c3ff24625a iommu/amd: Don't block updates to GATag if guest mode is on
| * bf1f3f4aa4 iommu/rockchip: Fix unwind goto issue
| * 0021441cbb RDMA/bnxt_re: Fix return value of bnxt_re_process_raw_qp_pkt_rx
| * dcaa61b73d RDMA/bnxt_re: Fix a possible memory leak
| * 44fc5eb0e2 dmaengine: at_xdmac: fix potential Oops in at_xdmac_prep_interleaved()
| * ef8c761693 RDMA/hns: Modify the value of long message loopback slice
| * 736e1c4e54 RDMA/hns: Fix base address table allocation
| * 38771c0eef RDMA/hns: Fix timeout attr in query qp for HIP08
| * 241de3fec1 RDMA/efa: Fix unsupported page sizes in device
| * 21c0eb0648 phy: amlogic: phy-meson-g12a-mipi-dphy-analog: fix CNTL2_DIF_TX_CTL0 value
| * 836f874d43 RDMA/bnxt_re: Fix the page_size used during the MR creation
* | c5df11c964 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
* | 3a53767f1f Revert "bpf, sockmap: Pass skb ownership through read_skb"
* | 8e369c7704 Revert "bpf, sockmap: Convert schedule_work into delayed_work"
* | d7c3711e7d Revert "bpf, sockmap: Reschedule is now done through backlog"
* | 4903ee3f95 Revert "bpf, sockmap: Improved check for empty queue"
* | 51ffabff7c Revert "bpf, sockmap: Handle fin correctly"
* | 3ce63059c1 Revert "bpf, sockmap: TCP data stall on recv before accept"
* | c7e4973846 Revert "bpf, sockmap: Wake up polling after data copy"
* | 0851b00164 Revert "bpf, sockmap: Incorrectly handling copied_seq"
* | 26b6ad0f34 Merge 6.1.32 into android14-6.1-lts
|\|
| * 76ba310227 Linux 6.1.32
| * cd51ba98ae tools headers UAPI: Sync the linux/in.h with the kernel sources
| * 2cd02ae656 netfilter: ctnetlink: Support offloaded conntrack entry deletion
| * 55ce796e9b cpufreq: amd-pstate: Add ->fast_switch() callback
| * c18f6919b4 cpufreq: amd-pstate: Update policy->cur in amd_pstate_adjust_perf()
| * efc8ec1636 block: fix bio-cache for passthru IO
| * 5d08604754 Revert "thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function"
| * 2333dbc88f bluetooth: Add cmd validity checks at the start of hci_sock_ioctl()
| * 6c1fad655b drm/amd: Don't allow s0ix on APUs older than Raven
| * 83a7f27c5b octeontx2-af: Add validation for lmac type
| * 3236221bb8 RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task"
| * 592af07ac0 wifi: iwlwifi: mvm: fix potential memory leak
| * 0c469078bd wifi: iwlwifi: mvm: support wowlan info notification version 2
| * b5ceb6aac6 wifi: rtw89: correct 5 MHz mask setting
| * 07c8c1a3cf net: phy: mscc: enable VSC8501/2 RGMII RX clock
| * 7c95f56995 page_pool: fix inconsistency for page_pool_ring_[un]lock()
| * 7dccd5fa7e net: page_pool: use in_softirq() instead
| * cd3c5e4e0d vfio/type1: check pfn valid before converting to struct page
| * 6793a3c632 blk-mq: fix race condition in active queue accounting
| * fe735073a5 bpf, sockmap: Incorrectly handling copied_seq
| * dd628fc697 bpf, sockmap: Wake up polling after data copy
| * ab90b68f65 bpf, sockmap: TCP data stall on recv before accept
| * 3a2129ebae bpf, sockmap: Handle fin correctly
| * ba4fec5bd6 bpf, sockmap: Improved check for empty queue
| * 1e4e379ccd bpf, sockmap: Reschedule is now done through backlog
| * 9f4d7efb33 bpf, sockmap: Convert schedule_work into delayed_work
| * 4ae2af3e59 bpf, sockmap: Pass skb ownership through read_skb
| * 49b5b5bfee gpio-f7188x: fix chip name and pin count on Nuvoton chip
| * 085f27f48c net/mlx5: E-switch, Devcom, sync devcom events and devcom comp register
| * 3347ac7a81 tls: rx: strp: preserve decryption status of skbs when needed
| * ba93977437 tls: rx: strp: factor out copying skb data
| * 52a89de3e9 tls: rx: strp: force mixed decrypted records into copy mode
| * c48b8399e4 tls: rx: strp: fix determining record length in copy mode
| * ecd9f6ed9e tls: rx: strp: set the skb->len of detached / CoW'ed skbs
| * e734a693a2 tls: rx: device: fix checking decryption status
| * b3e54fb3a3 platform/x86/amd/pmf: Fix CnQF and auto-mode after resume
| * 8e8c33cc89 selftests/bpf: Fix pkg-config call building sign-file
| * ca39992f10 firmware: arm_ffa: Fix usage of partition info get count flag
| * 3f5413c954 ipv{4,6}/raw: fix output xfrm lookup wrt protocol
| * 6728486447 inet: Add IP_LOCAL_PORT_RANGE socket option
* | c3dee37bcd Revert "Revert "binder_alloc: add missing mmap_lock calls when using the VMA""
* | f9689ed69b Revert "Revert "android: binder: stop saving a pointer to the VMA""
* | 896fd52618 Revert "binder: add lockless binder_alloc_(set|get)_vma()"
* | 9f67f4f500 Revert "binder: fix UAF caused by faulty buffer cleanup"
* | 940f3dad8f Revert "binder: fix UAF of alloc->vma in race with munmap()"
* | 03c3264a15 Merge 6.1.31 into android14-6.1-lts
|\|
| * d2869ace6e Linux 6.1.31
| * 2f32b89d81 net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE
| * 3bcb97e424 3c589_cs: Fix an error handling path in tc589_probe()
| * 9540765d18 net/smc: Reset connection when trying to use SMCRv2 fails.
| * be4022669e regulator: mt6359: add read check for PMIC MT6359
| * 22157f7445 firmware: arm_ffa: Set reserved/MBZ fields to zero in the memory descriptors
| * 1ae70faa86 arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay
| * 3e8a82fb55 net/mlx5: Devcom, serialize devcom registration
| * eaa365c104 net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
| * 411e4d6caa net/mlx5: Collect command failures data only for known commands
| * 390aa5c006 net/mlx5: Fix error message when failing to allocate device memory
| * 59dd110ca2 net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE
| * b17294e7aa net/mlx5: Handle pairing of E-switch via uplink un/load APIs
| * e501ab1366 net/mlx5: DR, Fix crc32 calculation to work on big-endian (BE) CPUs
| * 6f0dce5f78 net/mlx5e: do as little as possible in napi poll when budget is 0
| * 00959a1bad net/mlx5e: Use correct encap attribute during invalidation
| * 362063df6c net/mlx5e: Fix deadlock in tc route query code
| * 2051f762c5 net/mlx5e: Fix SQ wake logic in ptp napi_poll context
| * 47b4f741a3 platform/mellanox: mlxbf-pmc: fix sscanf() error checking
| * 04238c2385 forcedeth: Fix an error handling path in nv_probe()
| * 0392c9185d sctp: fix an issue that plpmtu can never go to complete state
| * c9e09b070d cxl: Wait Memory_Info_Valid before access memory related info
| * ad72cb5899 ASoC: Intel: avs: Access path components under lock
| * 6ae9cf40b4 ASoC: Intel: avs: Fix declaration of enum avs_channel_config
| * 5eaaad19c8 ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg
| * d8cfe5ccc9 x86/show_trace_log_lvl: Ensure stack pointer is aligned, again
| * a7edc86e14 xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()
| * 53384076f7 x86/pci/xen: populate MSI sysfs entries
| * 84b211b028 ARM: dts: imx6qdl-mba6: Add missing pvcie-supply regulator
| * 225a5f394b coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()
| * 5522469095 platform/x86: ISST: Remove 8 socket limit
| * f34428b5a3 regulator: pca9450: Fix BUCK2 enable_mask
| * ccc6e9ded6 fs: fix undefined behavior in bit shift for SB_NOUSER
| * dfc5aaa57f firmware: arm_ffa: Fix FFA device names for logical partitions
| * ad73dc7263 firmware: arm_ffa: Check if ffa_driver remove is present before executing
| * 06ec5be891 optee: fix uninited async notif value
| * 9c744c6ff2 power: supply: sbs-charger: Fix INHIBITED bit for Status reg
| * 71e60a58d7 power: supply: bq24190: Call power_supply_changed() after updating input current
| * 1f02bfd5d9 power: supply: bq25890: Call power_supply_changed() after updating input current or voltage
| * 57842035d2 power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
| * 221f7cb122 power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes
| * 3c573e7910 power: supply: bq27xxx: Move bq27xxx_battery_update() down
| * 9108ede08d power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status()
| * d952a1eaaf power: supply: bq27xxx: Fix poll_interval handling and races on remove
| * e65fee4568 power: supply: bq27xxx: Fix I2C IRQ race on remove
| * d746fbf4f0 power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
| * e1073f8147 power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe
| * 2ac38f130e power: supply: leds: Fix blink to LED on transition
| * 94373413e1 cifs: mapchars mount option ignored
| * 91dd8aab9c ipv6: Fix out-of-bounds access in ipv6_find_tlv()
| * 9bc1dbfd91 lan966x: Fix unloading/loading of the driver
| * 1a9e80f757 bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps
| * 177ee41f61 bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields
| * a1d7c357f4 octeontx2-pf: Fix TSOv6 offload
| * 4883d9e2a2 selftests: fib_tests: mute cleanup error message
| * 722af06e61 drm: fix drmm_mutex_init()
| * cc18b46859 net: fix skb leak in __skb_tstamp_tx()
| * 8d81d3b0ed ASoC: lpass: Fix for KASAN use_after_free out of bounds
| * 53764a17f5 media: radio-shark: Add endpoint checks
| * d5dba4b7bf USB: sisusbvga: Add endpoint checks
| * 09e9d1f52f USB: core: Add routines for endpoint checks in old drivers
| * 2a112f0462 udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().
| * ed66e6327a net: fix stack overflow when LRO is disabled for virtual interfaces
| * c8fdf7feca fbdev: udlfb: Fix endpoint check
| * d7fff52c99 debugobjects: Don't wake up kswapd from fill_pool()
| * 8694853768 irqchip/mips-gic: Use raw spinlock for gic_lock
| * dc1b7641a9 irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable
| * 4ca6b06e9b x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms
| * ed0ef89508 perf/x86/uncore: Correct the number of CHAs on SPR
| * f3078be2fe drm/amd/amdgpu: limit one queue per gang
| * 34570f85a2 selftests/memfd: Fix unknown type name build failure
| * 931ea1ed31 binder: fix UAF of alloc->vma in race with munmap()
| * e1e198eff1 binder: fix UAF caused by faulty buffer cleanup
| * d7cee853bc binder: add lockless binder_alloc_(set|get)_vma()
| * 72a94f8c14 Revert "android: binder: stop saving a pointer to the VMA"
| * 7e6b854854 Revert "binder_alloc: add missing mmap_lock calls when using the VMA"
| * 8069bcaa5b drm/amd/pm: Fix output of pp_od_clk_voltage
| * 6acfbdda4d drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7
| * 8756863c7f drm/radeon: reintroduce radeon_dp_work_func content
| * 3897ac532a drm/mgag200: Fix gamma lut not initialized.
| * 3970ee926e dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
| * 937264cd9a btrfs: use nofs when cleaning up aborted transactions
| * 63e12910b7 gpio: mockup: Fix mode of debugfs files
| * b49706d179 parisc: Handle kprobes breakpoints only in kernel context
| * 5596e2ef5f parisc: Enable LOCKDEP support
| * d935edd510 parisc: Allow to reboot machine after system halt
| * c49ffd89b6 parisc: Fix flush_dcache_page() for usage from irq context
| * c0993b463f parisc: Handle kgdb breakpoints only in kernel context
| * e1f14a4071 parisc: Use num_present_cpus() in alternative patching code
| * bd90ac0002 xtensa: add __bswap{si,di}2 helpers
| * 522bbbfcb6 xtensa: fix signal delivery to FDPIC process
| * 0845660508 m68k: Move signal frame following exception on 68020/030
| * 6147745d43 net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
| * da1e8adab3 ASoC: rt5682: Disable jack detection interrupt during suspend
| * 72c28207c1 power: supply: bq25890: Fix external_power_changed race
| * 0456b91212 power: supply: axp288_fuel_gauge: Fix external_power_changed race
| * 7d5e0150ee mmc: block: ensure error propagation for non-blk
| * a24aec210a mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works
| * 0d97634ad4 SUNRPC: Don't change task->tk_status after the call to rpc_exit_task
| * 40599969ff ALSA: hda/realtek: Enable headset onLenovo M70/M90
| * 7d3d306f15 ALSA: hda: Fix unhandled register update during auto-suspend period
| * 5222e81afa ALSA: hda/ca0132: add quirk for EVGA X299 DARK
| * 688c9af6e5 platform/x86/intel/ifs: Annotate work queue on stack so object debug does not complain
| * c26b9e1931 x86/mm: Avoid incomplete Global INVLPG flushes
| * 4eb600f386 arm64: Also reset KASAN tag if page is not PG_mte_tagged
| * 8bdf47f9db ocfs2: Switch to security_inode_init_security()
| * 28ee628fff drm/amd/display: hpd rx irq not working with eDP interface
| * 7bfd4c0ebc net: dsa: mv88e6xxx: Add RGMII delay to 88E6320
| * 66ede2e423 platform/x86: hp-wmi: Fix cast to smaller integer type warning
| * 0dbc898f59 skbuff: Proactively round up to kmalloc bucket size
| * ac2f5739fd drm/amdgpu/mes11: enable reg active poll
| * a2fe4534bb drm/amd/amdgpu: update mes11 api def
| * ae9e65319f watchdog: sp5100_tco: Immediately trigger upon starting.
| * 7cd46930b8 tpm: Prevent hwrng from activating during resume
| * 25d38d5eaa tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers
| * e76f61a2c5 tpm, tpm_tis: startup chip before testing for interrupts
| * 9953dbf65f tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resume
| * c5a5d33886 tpm, tpm_tis: Only handle supported interrupts
| * 5c4c8075bc tpm, tpm_tis: Avoid cache incoherency in test for interrupts
| * 1ec145277a usb: dwc3: fix gadget mode suspend interrupt handler issue
* | fd07e1d347 ANDROID: GKI: add skb_pull_data to android/abi_gki_aarch64_virtual_device
* | 83377b0a3f ANDROID: GKI: preserve CRC generation for some bluetooth symbols
* | 907f29932c Revert "Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started""
* | bfd5fc9a7e Revert "tipc: add tipc_bearer_min_mtu to calculate min mtu"
* | d71d75e074 Revert "tipc: do not update mtu if msg_max is too small in mtu negotiation"
* | 9626cfb677 Revert "tipc: check the bearer min mtu properly when setting it by netlink"
* | 5caf658594 Revert "platform: Provide a remove callback that returns no value"
* | f1fdb6e6a9 Revert "ASoC: fsl_micfil: Fix error handler with pm_runtime_enable"
* | e2b436192b Revert "firmware: arm_sdei: Fix sleep from invalid context BUG"
* | 26c1cc6858 Merge 6.1.30 into android14-6.1-lts
|\|
| * a343b0dd87 Linux 6.1.30
| * da9a8dc33d drm/amdgpu: reserve the old gc_11_0_*_mes.bin
| * 616843d5a1 drm/amd/amdgpu: introduce gc_*_mes_2.bin v2
| * 09bf14907d drm/amdgpu: declare firmware for new MES 11.0.4
| * f05ccf6a6a crypto: testmgr - fix RNG performance in fuzz tests
| * 682679fc95 remoteproc: imx_dsp_rproc: Fix kernel test robot sparse warning
| * 7099e14f60 rethook, fprobe: do not trace rethook related functions
| * c46d3efb4d rethook: use preempt_{disable, enable}_notrace in rethook_trampoline_handler
| * 4e38a02b22 arm64: mte: Do not set PG_mte_tagged if tags were not initialized
| * 02cf4a336e s390/qdio: fix do_sqbs() inline assembly constraint
| * 25e8d30507 s390/crypto: use vector instructions only if available for ChaCha20
| * eeb63c07ba s390/dasd: fix command reject error on ESE devices
| * acc2a40e42 nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
| * 0fc73f310c powerpc/64s/radix: Fix soft dirty tracking
| * ae5d148965 tpm/tpm_tis: Disable interrupts for more Lenovo devices
| * 9a74146540 powerpc/iommu: Incorrect DDW Table is referenced for SR-IOV device
| * fc983cf5dd powerpc/iommu: DMA address offset is incorrectly calculated with 2MB TCEs
| * 6e092fa42e dt-bindings: ata: ahci-ceva: Cover all 4 iommus entries
| * 76313a63f7 drm/amdgpu/gfx11: update gpu_clock_counter logic
| * 055852074c drm/amdgpu: refine get gpu clock counter method
| * 4e2f9159f9 drm/amdgpu/gfx11: Adjust gfxoff before powergating on gfx11 as well
| * abfe2ffc00 drm/amdgpu/gfx10: Disable gfxoff before disabling powergating.
| * 9de5a98588 drm/amdgpu/gmc11: implement get_vbios_fb_size()
| * 903e942500 drm/amd/pm: fix possible power mode mismatch between driver and PMFW
| * 595824a450 ceph: force updating the msg pointer in non-split case
| * 3338d0b9ac vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
| * e16629c639 thunderbolt: Clear registers properly when auto clear isn't in use
| * abc7e50e89 serial: qcom-geni: fix enabling deactivated interrupt
| * 1db5db7a99 serial: 8250_exar: Add support for USR298x PCI Modems
| * cda8aa19bf serial: Add support for Advantech PCI-1611U card
| * 2cab13f500 mm: fix zswap writeback race condition
| * 254ee53028 maple_tree: make maple state reusable after mas_empty_area()
| * 6c4172d44c statfs: enforce statfs[64] structure initialization
| * 154de42fe3 KVM: Fix vcpu_array[0] races
| * 75378b03a9 ksmbd: fix global-out-of-bounds in smb2_find_context_vals
| * 40d90ee027 ksmbd: fix wrong UserName check in session_user
| * af7335a4b9 ksmbd: allocate one more byte for implied bcc[0]
| * f1d013b0f0 ksmbd: smb2: Allow messages padded to 8byte boundary
| * 4d25f93e64 SMB3: drop reference to cfile before sending oplock break
| * 3b66d58c89 SMB3: Close all deferred handles of inode in case of handle lease break
| * 107677a8f4 wifi: rtw88: use work to update rate to avoid RCU warning
| * d61191092d can: kvaser_pciefd: Disable interrupts in probe error path
| * eabb11236a can: kvaser_pciefd: Do not send EFLUSH command on TFD interrupt
| * 45ce3beb02 can: kvaser_pciefd: Clear listen-only bit if not explicitly requested
| * fcdfc1860f can: kvaser_pciefd: Empty SRB buffer in probe
| * 50bdf44a1b can: kvaser_pciefd: Call request_irq() before enabling interrupts
| * 24bdfcb099 can: kvaser_pciefd: Set CAN_STATE_STOPPED in kvaser_pciefd_stop()
| * 9cd1025b1a can: isotp: recvmsg(): allow MSG_CMSG_COMPAT flag
| * 836641cc41 can: j1939: recvmsg(): allow MSG_CMSG_COMPAT flag
| * 0eee95cbbb ALSA: hda/realtek: Fix mute and micmute LEDs for yet another HP laptop
| * 0cc95fdb67 ALSA: hda/realtek: Add quirk for HP EliteBook G10 laptops
| * 4ea7c3388f ALSA: hda/realtek: Add quirk for 2nd ASUS GU603
| * 9328c65694 ALSA: hda/realtek: Add a quirk for HP EliteDesk 805
| * 30043b0a06 ALSA: hda/realtek: Add quirk for Clevo L140AU
| * 0e1e6c0779 ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
| * dc8c569d59 ALSA: hda: Fix Oops by 9.1 surround channel names
| * 44f2ed29e1 xhci: Fix incorrect tracking of free space on transfer rings
| * 643a453878 xhci-pci: Only run d3cold avoidance quirk for s2idle
| * ea56ede911 Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started"
| * 7356d42cef Revert "usb: gadget: udc: core: Prevent redundant calls to pullup"
| * 08bd1be1c7 usb: typec: altmodes/displayport: fix pin_assignment_show
| * f1f810e541 usb: gadget: u_ether: Fix host MAC address case
| * a9342bd4c2 usb: dwc3: debugfs: Resume dwc3 before accessing registers
| * ad43004fd5 usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume()
| * 56a0769fa4 USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value
| * 4c3312745f usb-storage: fix deadlock when a scsi command timeouts more than once
| * 0ced12bdf6 USB: usbtmc: Fix direction for 0-length ioctl control messages
| * 2cd7d88fcb ALSA: usb-audio: Add a sample rate workaround for Line6 Pod Go
| * d319fe244e bridge: always declare tunnel functions
| * a836be60a3 netfilter: nft_set_rbtree: fix null deref on element insertion
| * 8f58c53857 netfilter: nf_tables: fix nft_trans type confusion
| * d862b63605 net: selftests: Fix optstring
| * fdc5c8fb57 net: pcs: xpcs: fix C73 AN not getting enabled
| * ee44bacf46 net: wwan: iosm: fix NULL pointer dereference when removing device
| * c3e3e8933f vlan: fix a potential uninit-value in vlan_dev_hard_start_xmit()
| * e02d2b987c igb: fix bit_shift to be in [1..8] range
| * 516114d7fb net: dsa: mv88e6xxx: Fix mv88e6393x EPC write command offset
| * 172146c26f cassini: Fix a memory leak in the error handling path of cas_init_one()
| * 9cae243b9a tun: Fix memory leak for detached NAPI queue.
| * e2d59768f8 net: tun: rebuild error handling in tun_get_user
| * ae42c6f79c scsi: storvsc: Don't pass unused PFNs to Hyper-V host
| * 557ba100d8 wifi: iwlwifi: mvm: don't trust firmware n_channels
| * a270c552ce wifi: iwlwifi: mvm: fix OEM's name in the tas approved list
| * bc907fbf48 wifi: iwlwifi: fix OEM's name in the ppag approved list
| * 2160e11981 wifi: iwlwifi: fw: fix DBGI dump
| * a20550b3aa wifi: iwlwifi: mvm: fix cancel_delayed_work_sync() deadlock
| * bc22656432 wifi: mac80211: Abort running color change when stopping the AP
| * 01a4503d9f wifi: mac80211: fix min center freq offset tracing
| * c79d794a2c wifi: mac80211: fortify the spinlock against deadlock by interrupt
| * f9a85347e4 wifi: cfg80211: Drop entries with invalid BSSIDs in RNR
| * dda9c9b117 ice: Fix ice VF reset during iavf initialization
| * f181d799fb ice: introduce clear_reset_state operation
| * 36e6c7ada5 net: bcmgenet: Restore phy_stop() depending upon suspend/close
| * 41357a52b8 net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()
| * e90cefcffd can: dev: fix missing CAN XL support in can_put_echo_skb()
| * c9abef1e07 s390/cio: include subchannels without devices also for evaluation
| * f215b62f59 tipc: check the bearer min mtu properly when setting it by netlink
| * 259683001d tipc: do not update mtu if msg_max is too small in mtu negotiation
| * 735c64ea88 tipc: add tipc_bearer_min_mtu to calculate min mtu
| * 73f53bc295 virtio_net: Fix error unwinding of XDP initialization
| * 978a55b0c0 virtio-net: Maintain reverse cleanup order
| * 6fbedf987b net: nsh: Use correct mac_offset to unwind gso skb in nsh_gso_segment()
| * 82ede43544 drm/exynos: fix g2d_open/close helper function definitions
| * 866c78a3a9 ASoC: SOF: topology: Fix logic for copying tuples
| * 3e56a1c048 ASoC: mediatek: mt8186: Fix use-after-free in driver remove path
| * da1b698976 SUNRPC: Fix trace_svc_register() call site
| * 47adb84916 SUNRPC: always free ctxt when freeing deferred request
| * fd86534872 SUNRPC: double free xprt_ctxt while still in use
| * 07821524f6 media: netup_unidvb: fix use-after-free at del_timer()
| * 4147a0cee1 net: hns3: fix reset timeout when enable full VF
| * 89982e0501 net: hns3: fix reset delay time to avoid configuration timeout
| * 2a06c5ab7b net: hns3: fix sending pfc frames after reset issue
| * 8ee34c90ce net: hns3: fix output information incomplete for dumping tx queue info with debugfs
| * 37c1e28967 net: dsa: rzn1-a5psw: disable learning for standalone ports
| * 7ceeb5608d net: dsa: rzn1-a5psw: fix STP states handling
| * 374c9cf3ad net: dsa: rzn1-a5psw: enable management frames for CPU port
| * 33a93db909 erspan: get the proto with the md version for collect_md
| * 2a3e5f428f serial: 8250_bcm7271: fix leak in `brcmuart_probe`
| * dcf08087c2 serial: 8250_bcm7271: balance clk_enable calls
| * 081790eee6 serial: arc_uart: fix of_iomap leak in `arc_serial_probe`
| * 820a60a416 tcp: fix possible sk_priority leak in tcp_v4_send_reset()
| * 9bcf4794f1 vsock: avoid to close connected socket after the timeout
| * 116cc7670f sfc: disable RXFCS and RXALL features by default
| * 1c052acd71 ALSA: hda/realtek: Apply HP B&O top speaker profile to Pavilion 15
| * a16bf8f9c8 wifi: mt76: connac: fix stats->tx_bytes calculation
| * ee1a221d94 ALSA: firewire-digi00x: prevent potential use after free
| * ea9c758184 net: phy: dp83867: add w/a for packet errors seen with short cables
| * 9407454a9b net: fec: Better handle pm_runtime_get() failing in .remove()
| * e412fa5d81 selftets: seg6: disable rp_filter by default in srv6_end_dt4_l3vpn_test
| * 7099beeec9 selftests: seg6: disable DAD on IPv6 router cfg for srv6_end_dt4_l3vpn_test
| * c498e5d392 drm/msm: Fix submit error-path leaks
| * 474d57adf1 af_key: Reject optional tunnel/BEET mode templates in outbound policies
| * e5a0b280b0 xfrm: Reject optional tunnel/BEET mode templates in outbound policies
| * 0d778f0cb1 cpupower: Make TSC read per CPU for Mperf monitor
| * ce6c7befc2 ASoC: fsl_micfil: Fix error handler with pm_runtime_enable
| * 9d3ac384cb platform: Provide a remove callback that returns no value
| * 394336e139 dt-bindings: display/msm: dsi-controller-main: Document qcom, master-dsi and qcom, sync-dual-dsi
| * 97d6437cbf drm/msm/dpu: Remove duplicate register defines from INTF
| * d6d90e1402 drm/msm/dpu: Move non-MDP_TOP INTF_INTR offsets out of hwio header
| * 092f382f65 drm/msm/dpu: Assign missing writeback log_mask
| * ccde7016d1 drm/msm/dp: unregister audio driver during unbind
| * 6867c4b5db Revert "Fix XFRM-I support for nested ESP tunnels"
| * 070d0047c6 xfrm: don't check the default policy if the policy allows the packet
| * 7b5a8a23ac drm/amdgpu: drop gfx_v11_0_cp_ecc_error_irq_funcs
| * b5f3f923d4 platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct
| * 1189b7f495 platform/x86: Move existing HP drivers to a new hp subdir
| * c9888aaed1 parisc: Replace regular spinlock with spin_trylock on panic path
| * e112b2e265 mfd: intel-lpss: Add Intel Meteor Lake PCH-S LPSS PCI IDs
| * 77f43c014a mfd: dln2: Fix memory leak in dln2_probe()
| * d3ee2f9e30 mfd: intel_soc_pmic_chtwc: Add Lenovo Yoga Book X90F to intel_cht_wc_models
| * 4e5e9da139 soundwire: bus: Fix unbalanced pm_runtime_put() causing usage count underflow
| * 60eb1afb4f soundwire: qcom: gracefully handle too many ports in DT
| * 3060b08d63 phy: st: miphy28lp: use _poll_timeout functions for waits
| * 81e8f1abd0 soundwire: dmi-quirks: add remapping for Intel 'Rooks County' NUC M15
| * 895130e63c recordmcount: Fix memory leaks in the uwrite function
| * 4e2df91118 lkdtm/stackleak: Fix noinstr violation
| * fa825017fb sched: Fix KCSAN noinstr violation
| * eaa182a6c8 mcb-pci: Reallocate memory region to avoid memory overlapping
| * af4d6dbb1a serial: 8250: Reinit port->pm on port specific driver unbind
| * 6a4cef8244 usb: typec: tcpm: fix multiple times discover svids error
| * 1edff076cc HID: wacom: generic: Set battery quirk only when we see battery data
| * 37358a22a3 HID: Ignore battery for ELAN touchscreen on ROG Flow X13 GV301RA
| * 10ba1c3424 HID: apple: Set the tilde quirk flag on the Geyser 3
| * f3e2f3e0a7 ASoC: amd: yc: Add ThinkBook 14 G5+ ARP to quirks list for acp6x
| * 1a6371c50b ASoC: amd: Add Dell G15 5525 to quirks list
| * 26fda37345 ALSA: hda: LNL: add HD Audio PCI ID
| * 907d6b615e usb: typec: ucsi: acpi: add quirk for ASUS Zenbook UM325
| * b484aa2147 spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3
| * 1844749dcf HID: logitech-hidpp: Reconcile USB and Unifying serials
| * 16420da845 HID: logitech-hidpp: Don't use the USB serial for USB devices
| * 2e64faf655 ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A42)
| * 6ce24d176e staging: axis-fifo: initialize timeouts in init only
| * b268082188 HID: apple: Set the tilde quirk flag on the Geyser 4 and later
| * ec310591cf staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE
| * 022fe9fcac Bluetooth: btrtl: Add the support for RTL8851B
| * fd269a0435 Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
| * 2f4a1b24da Bluetooth: Add new quirk for broken set random RPA timeout for ATS2851
| * 76dd7893bd Bluetooth: hci_bcm: Fall back to getting bdaddr from EFI if not set
| * 803ba6dcc4 Bluetooth: btintel: Add LE States quirk support
| * ea160ece08 Bluetooth: btrtl: check for NULL in btrtl_set_quirks()
| * f4f3cbdbf2 Bluetooth: Improve support for Actions Semi ATS2851 based devices
| * 88deda7cd8 Bluetooth: btrtl: add support for the RTL8723CS
| * c97ab50441 Bluetooth: Add new quirk for broken local ext features page 2
| * d9a68e9e89 Bluetooth: btusb: Add new PID/VID 04ca:3801 for MT7663
| * 75481fa7aa ipvs: Update width of source for ip_vs_sync_conn_options
| * fab766c8a1 nbd: fix incomplete validation of ioctl arg
| * 068fd06148 wifi: ath11k: Fix SKB corruption in REO destination ring
| * 57189c8851 wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace
| * fd35b7bb6d null_blk: Always check queue mode setting from configfs
| * 63e2d06adf wifi: iwlwifi: fix iwl_mvm_max_amsdu_size() for MLO
| * e78526a06b wifi: ath11k: Ignore frags from uninitialized peer in dp.
| * 1655cfc852 block, bfq: Fix division by zero error on zero wsum
| * dbebdee3f2 wifi: iwlwifi: mvm: fix ptk_pn memory leak
| * eb1ef44efa wifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf
| * 19f063df73 wifi: iwlwifi: add a new PCI device ID for BZ device
| * 0f9a1bcb94 wifi: iwlwifi: pcie: fix possible NULL pointer dereference
| * b4acb6c3ed md: fix soft lockup in status_resync
| * 60039bf72f bpf: Add preempt_count_{sub,add} into btf id deny list
| * f2065b8b0a samples/bpf: Fix fout leak in hbm's run_bpf_prog
| * e05d63f8b4 f2fs: fix to check readonly condition correctly
| * 7741ddc882 f2fs: fix to drop all dirty pages during umount() if cp_error is set
| * f4631d295a f2fs: Fix system crash due to lack of free space in LFS
| * c1b0b32f2d crypto: jitter - permanent and intermittent health errors
| * 9d4430b7f8 ext4: Fix best extent lstart adjustment logic in ext4_mb_new_inode_pa()
| * c6bee89700 ext4: set goal start correctly in ext4_mb_normalize_request
| * 7739981b9c scsi: ufs: ufs-pci: Add support for Intel Lunar Lake
| * d485903231 gfs2: Fix inode height consistency check
| * 9c6da3b7f1 scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
| * c9115f49cf lib: cpu_rmap: Avoid use after free on rmap->obj array entries
| * a7a4def6c7 scsi: target: iscsit: Free cmds before session free
| * d957a100bc netdev: Enforce index cap in netdev_get_tx_queue
| * cf1fe8ccb5 net: Catch invalid index in XPS mapping
| * ee5929c1e8 net: pasemi: Fix return type of pasemi_mac_start_tx()
| * efb1a25751 bnxt: avoid overflow in bnxt_get_nvram_directory()
| * 8a72289694 scsi: lpfc: Correct used_rpi count when devloss tmo fires with no recovery
| * a9df88cb31 scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
| * e6f4fb2889 ext2: Check block size validity during mount
| * f8a6c53ff1 wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
| * c35105f375 wifi: brcmfmac: pcie: Provide a buffer of random bytes to the device
| * 4e7a81b5e7 bpf: Annotate data races in bpf_local_storage
| * 660ab31561 wifi: ath: Silence memcpy run-time false positive warning
| * 48e4e06e2c media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup
| * 83c42283bf media: Prefer designated initializers over memset for subdev pad ops
| * 210ef6cd8e drm/amdgpu: Fix sdma v4 sw fini error
| * 5675ecd2e0 drm/amd: Fix an out of bounds error in BIOS parser
| * ec5f00a59a drm/amd/display: Correct DML calculation to follow HW SPEC
| * cf180afea3 ACPI: video: Remove desktops without backlight DMI quirks
| * 86ba4f7b9f irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4
| * 57b5a56cec arm64: dts: qcom: sdm845-polaris: Drop inexistent properties
| * fee6133490 ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects
| * 8c4a7163b7 ACPICA: Avoid undefined behavior: applying zero offset to null pointer
| * b1db73e27f drm/msm/dp: Clean up handling of DP AUX interrupts
| * a6eb3aa0ec drm/tegra: Avoid potential 32-bit integer overflow
| * a7f9c14ace remoteproc: stm32_rproc: Add mutex protection for workqueue
| * 3dc61a19c9 drm/amd/display: fixed dcn30+ underflow issue
| * 86a159fd5b ACPI: EC: Fix oops when removing custom query handlers
| * a8267bc8de firmware: arm_sdei: Fix sleep from invalid context BUG
| * b963e1b706 arm64: dts: imx8mq-librem5: Remove dis_u3_susphy_quirk from usb_dwc3_0
| * 9a342d4eb9 memstick: r592: Fix UAF bug in r592_remove due to race condition
| * 110d420252 drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
| * 79ca94bc3e ACPI: processor: Check for null return of devm_kzalloc() in fch_misc_setup()
| * cc4273233a media: pvrusb2: VIDEO_PVRUSB2 depends on DVB_CORE to use dvb_* symbols
| * 3c67f49a66 media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish
| * 6738841f6f media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()
| * 346c975524 arm64: dts: qcom: msm8996: Add missing DWC3 quirks
| * 44361033a8 remoteproc: imx_dsp_rproc: Add custom memory copy implementation for i.MX DSP Cores
| * 10add04ee6 regmap: cache: Return error in cache sync operations for REGCACHE_NONE
| * 34813f041d drm/amd/display: Use DC_LOG_DC in the trasform pixel function
| * d547d499e4 drm/amd/display: Enable HostVM based on rIOMMU active
| * 898b031dc2 platform/x86: x86-android-tablets: Add Acer Iconia One 7 B1-750 data
| * 09f7da1301 drm/amd/display: Correct DML calculation to align HW formula
| * 92e6c79aca drm/amd/display: populate subvp cmd info only for the top pipe
| * 4b17053ba2 drm/displayid: add displayid_get_header() and check bounds better
| * 48960a503f fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
| * e8c322b76e open: return EINVAL for O_DIRECTORY | O_CREAT
| * d0a8c0e31a rcu: Protect rcu_print_task_exp_stall() ->exp_tasks access
| * 801593f70b selftests: cgroup: Add 'malloc' failures checks in test_memcontrol
| * 522c441faf refscale: Move shutdown from wait_event() to wait_event_idle()
| * b4319e457d ext4: allow ext4_get_group_info() to fail
| * f12aa035e8 ext4: allow to find by goal if EXT4_MB_HINT_GOAL_ONLY is set
| * cd2341c26f ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled
| * cc4086759f ext4: reflect error codes from ext4_multi_mount_protect() to its callers
| * 5a08a72da3 fbdev: arcfb: Fix error handling in arcfb_probe()
| * dcd289136b drm/i915: taint kernel when force probing unsupported devices
| * 36fa618775 drm/i915: Expand force_probe to block probe of devices as well.
| * 86d73b1f98 drm/i915/dp: prevent potential div-by-zero
| * dbf25cc21b drm/i915: Fix NULL ptr deref by checking new_crtc_state
| * 1b485f39ac drm/i915/guc: Don't capture Gen8 regs on Xe devices
| * e410895892 af_unix: Fix data races around sk->sk_shutdown.
| * 75924fb0f3 af_unix: Fix a data race of sk->sk_receive_queue->qlen.
| * 8759c1a361 net: datagram: fix data-races in datagram_poll()
| * 9e62a49608 net: mscc: ocelot: fix stat counter register values
| * 610a433810 ipvlan:Fix out-of-bounds caused by unclear skb->cb
| * d695dccb74 gve: Remove the code of clearing PBA bit
| * b4c0af8974 tcp: add annotations around sk->sk_shutdown accesses
| * 55caf900e1 net: add vlan_get_protocol_and_depth() helper
| * 65531f5675 net: deal with most data-races in sk_wait_event()
| * bd0f360ee8 net: annotate sk->sk_err write from do_recvmmsg()
| * a115dadf89 netlink: annotate accesses to nlk->cb_running
| * 6b4585a3c9 bonding: fix send_peer_notif overflow
| * d9176dc690 netfilter: conntrack: fix possible bug_on with enable_hooks=1
| * 30e4b13b1b netfilter: nf_tables: always release netdev hooks from notifier
| * 6fa2e7bb7b net: phy: bcm7xx: Correct read from expansion register
| * 7145f2309d net: Fix load-tearing on sk->sk_stamp in sock_recv_cmsgs().
| * edc1f6d89b net: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register
| * 9e916db758 linux/dim: Do nothing if no time delta between samples
| * a84b08314f tick/broadcast: Make broadcast device replacement work correctly
| * 2628417026 scsi: ufs: core: Fix I/O hang that occurs when BKOPS fails in W-LUN suspend
| * 27c6b573d1 net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe()
| * 3e785c8deb net: skb_partial_csum_set() fix against transport header magic value
| * 8547757056 ARM: 9296/1: HP Jornada 7XX: fix kernel-doc warnings
| * 3ff962242f drm/mipi-dsi: Set the fwnode for mipi_dsi_device
| * efd2821b8a drm/fbdev-generic: prohibit potential out-of-bounds access
* | 51b8218413 Merge 6.1.29 into android14-6.1-lts
|\|
| * fa74641fb6 Linux 6.1.29
| * 49f63bd062 drm/amd/display: Fix hang when skipping modeset
| * 7f6738e003 spi: fsl-cpm: Use 16 bit mode for large transfers with even size
| * 441fa64299 spi: fsl-spi: Re-organise transfer bits_per_word adaptation
| * 76ce326826 x86: fix clear_user_rep_good() exception handling annotation
| * 4ae066699d x86/amd_nb: Add PCI ID for family 19h model 78h
| * 514728ffc0 f2fs: inode: fix to do sanity check on extent cache correctly
| * 85eb8b61dd f2fs: fix to do sanity check on extent cache correctly
| * 18ecffd036 drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values
| * c5fa4eeddd ext4: fix invalid free tracking in ext4_xattr_move_to_block()
| * d87a4e4094 ext4: remove a BUG_ON in ext4_mb_release_group_pa()
| * 19fb73b8ea ext4: fix lockdep warning when enabling MMP
| * 6e7a97628f ext4: bail out of ext4_xattr_ibody_get() fails for any reason
| * 1d2caddbee ext4: add bounds checking in get_max_inline_xattr_value_size()
| * 665cc3ba50 ext4: fix deadlock when converting an inline directory in nojournal mode
| * f68876aeef ext4: improve error handling from ext4_dirhash()
| * 25c9fca7b7 ext4: improve error recovery code paths in __ext4_remount()
| * 748e4bb27d ext4: check iomap type only if ext4_iomap_begin() does not fail
| * b006e22285 ext4: fix data races when using cached status extents
| * 1fffe47505 ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
| * dba62fa84a ext4: fix WARNING in mb_find_extent
| * 1b9c92432f locking/rwsem: Add __always_inline annotation to __down_read_common() and inlined callers
| * 98643c9910 drm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage
| * f95a60099d drm: Add missing DP DSC extended capability definitions.
| * 4aba9ab6a0 ksmbd: fix racy issue from smb2 close and logoff with multichannel
| * 502cf97090 ksmbd: block asynchronous requests when making a delay on session setup
| * 1fc8a2b14e ksmbd: destroy expired sessions
| * f623f627ad ksmbd: fix racy issue from session setup and logoff
| * 91bbf9cb23 ksmbd: Implements sess->ksmbd_chann_list as xarray
| * 3db734e4d9 drm/amd/display: Change default Z8 watermark values
| * a009acf687 drm/amd/display: Update Z8 SR exit/enter latencies
| * e22ef15610 drm/amd/display: Update Z8 watermarks for DCN314
| * cf49b2ff25 ASoC: codecs: wcd938x: fix accessing regmap on unattached devices
| * 400950f66a ASoC: codecs: constify static sdw_slave_ops struct
| * 5279ab199c ASoC: rt1318: Add RT1318 SDCA vendor-specific driver
| * 1d383f9d65 drm/amd/display: Lowering min Z8 residency time
| * e6332695d4 drm/amd/display: Update minimum stutter residency for DCN314 Z8
| * 25f6036242 drm/amd/display: Add minimum Z8 residency debug option
| * 97b3d8eed0 drm/amd/display: Fix Z8 support configurations
| * 1822513408 drm/amd/display: Add debug option to skip PSR CRTC disable
| * bcde2c8779 drm/amd/display: Add Z8 allow states to z-state support list
| * 8346882016 drm/amd/display: Refactor eDP PSR codes
| * 74a03d3c8d drm/i915: Check pipe source size when using skl+ scalers
| * 549ce5199d drm/i915/mtl: update scaler source and destination limits for MTL
| * 20a1064a75 wifi: rtw88: rtw8821c: Fix rfe_option field width
| * 6578ae84e9 irqchip/loongson-eiointc: Fix registration of syscore_ops
| * fa29d577e2 irqchip/loongson-eiointc: Fix incorrect use of acpi_get_vec_parent
| * 9e7f788dd7 irqchip/loongarch: Adjust acpi_cascade_irqdomain_init() and sub-routines
| * c5111be873 drm/msm: fix missing wq allocation error handling
| * 46062a1c0a drm/msm: Hangcheck progress detection
| * a7fdb37d93 drm/msm/adreno: Simplify read64/write64 helpers
| * cba2856958 f2fs: factor out victim_entry usage from general rb_tree use
| * 4377b1d3b1 f2fs: allocate the extent_cache by default
| * 33112a0a17 f2fs: refactor extent_cache to support for read and more
| * 3af09dee7f f2fs: remove unnecessary __init_extent_tree
| * 91b1554e66 f2fs: move internal functions into extent_cache.c
| * 155ff41cf2 f2fs: specify extent cache for read explicitly
| * 77d2651cc8 drm/msm/adreno: adreno_gpu: Use suspend() instead of idle() on load error
| * b2bd08be1a fs/ntfs3: Refactoring of various minor issues
| * fb98336e23 HID: wacom: insert timestamp to packed Bluetooth (BT) events
| * fb2f0c0004 HID: wacom: Set a default resolution for older tablets
| * 7a07311304 drm/amd: Use `amdgpu_ucode_*` helpers for MES
| * a3e3a640d4 drm/amd: Add a new helper for loading/validating microcode
| * 3e1fa150e7 drm/amd: Load MES microcode during early_init
| * 369b891842 drm/amdgpu: remove deprecated MES version vars
| * 506da05a5e drm/amd/pm: avoid potential UBSAN issue on legacy asics
| * 2a179117a3 drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend
| * 17a6941567 drm/amd/pm: parse pp_handle under appropriate conditions
| * 348dcdf102 drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes
| * 7a8248317b drm/amdgpu: Fix vram recover doesn't work after whole GPU reset (v2)
| * 6197fb331a drm/amdgpu: change gfx 11.0.4 external_id range
| * 28c2e072fa drm/amdgpu/jpeg: Remove harvest checking for JPEG3
| * f661ad5365 drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras
| * 02e6cb9b3a drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini
| * 59cb2d46e1 drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
| * 59e2439111 drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v10_0_hw_fini
| * f2e43c9804 drm/amd/display: fix flickering caused by S/G mode
| * 4c1e747ca6 drm/amd/display: filter out invalid bits in pipe_fuses
| * c2b2641ecb drm/amd/display: Fix 4to1 MPC black screen with DPP RCO
| * cc9942840a drm/amd/display: Add NULL plane_state check for cursor disable logic
| * bfe56245f4 drm/panel: otm8009a: Set backlight parent to panel device
| * 2e51d7c09d irqchip/loongson-eiointc: Fix returned value on parsing MADT
| * 84c64fb578 irqchip/loongson-pch-pic: Fix pch_pic_acpi_init calling
| * 8a0b544b7c f2fs: fix potential corruption when moving a directory
| * 424f8cdc0a f2fs: fix null pointer panic in tracepoint in __replace_atomic_write_block
| * aa0f98c5d1 drm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep()
| * 6e1476225e drm/msm: fix workqueue leak on bind errors
| * 544711591a drm/msm: fix vram leak on bind errors
| * 0fad173f9c drm/msm: fix drm device leak on bind errors
| * dd8ce825b1 drm/msm: fix NULL-deref on irq uninstall
| * 16e0e6fb45 drm/msm: fix NULL-deref on snapshot tear down
| * 5b6b81decd drm/i915/color: Fix typo for Plane CSC indexes
| * 2b01534c8f drm/bridge: lt8912b: Fix DSI Video Mode
| * 47bfe12804 drm/msm/adreno: fix runtime PM imbalance at gpu load
| * 3d0fdfefb3 ARM: dts: aspeed: romed8hm3: Fix GPIO polarity of system-fault LED
| * f327c74436 ARM: dts: s5pv210: correct MIPI CSIS clock name
| * 5503ea70de ARM: dts: exynos: fix WM8960 clock name in Itop Elite
| * 6efe88c34f ARM: dts: aspeed: asrock: Correct firmware flash SPI clocks
| * a64910ba86 sysctl: clarify register_sysctl_init() base directory order
| * c3c70209a9 remoteproc: rcar_rproc: Call of_node_put() on iteration error
| * 948f81dac3 remoteproc: imx_rproc: Call of_node_put() on iteration error
| * fe3497c3bf remoteproc: imx_dsp_rproc: Call of_node_put() on iteration error
| * 8a0fc842af remoteproc: st: Call of_node_put() on iteration error
| * 0d6b66657c remoteproc: stm32: Call of_node_put() on iteration error
| * fde64a409b proc_sysctl: enhance documentation
| * f4708645c1 proc_sysctl: update docs for __register_sysctl_table()
| * c93185ffd9 sh: nmi_debug: fix return value of __setup handler
| * 2ebd006435 sh: init: use OF_EARLY_FLATTREE for early init
| * ab2221dc3c sh: mcount.S: fix build error when PRINTK is not enabled
| * fdac282b3c sh: math-emu: fix macro redefined warning
| * 6d103a5765 SMB3: force unmount was failing to close deferred close files
| * bb0091a5c9 smb3: fix problem remounting a share after shutdown
| * 145f54ea33 inotify: Avoid reporting event with invalid wd
| * d759abeb27 platform/x86: thinkpad_acpi: Add profile force ability
| * 66d4f7f327 platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i
| * e614c1de9e platform/x86: thinkpad_acpi: Fix platform profiles on T490
| * a02d29de79 platform/x86: touchscreen_dmi: Add upside-down quirk for GDIX1002 ts on the Juno Tablet
| * 61549b7414 platform/x86/intel-uncore-freq: Return error on write frequency
| * b886ad6b6b cifs: release leases for deferred close handles when freezing
| * 187f89cff7 cifs: fix pcchunk length type in smb2_copychunk_range
| * c5544c95ad btrfs: zoned: fix full zone super block reading on ZNS
| * 4def3a0a85 btrfs: zoned: zone finish data relocation BG with last IO
| * 1e8de3223b btrfs: fix space cache inconsistency after error loading it from disk
| * 1689eabbc3 btrfs: print-tree: parent bytenr must be aligned to sector size
| * 83ae0282f1 btrfs: make clear_cache mount option to rebuild FST without disabling it
| * dd5a21941f btrfs: zero the buffer before marking it dirty in btrfs_redirty_list_add
| * 15e877e592 btrfs: don't free qgroup space unless specified
| * 44c52544b2 btrfs: fix encoded write i_size corruption with no-holes
| * 17eaeee4c5 btrfs: fix assertion of exclop condition when starting balance
| * 0a99cd08e2 btrfs: properly reject clear_cache and v1 cache for block-group-tree
| * 8583cc10aa btrfs: zoned: fix wrong use of bitops API in btrfs_ensure_empty_zones
| * bcd7aa2963 btrfs: fix btrfs_prev_leaf() to not return the same key twice
| * 000322b29c x86/retbleed: Fix return thunk alignment
| * 2feac714c6 RISC-V: fix taking the text_mutex twice during sifive errata patching
| * 0fad198fff RISC-V: take text_mutex during alternative patching
| * 13a0e212dd perf stat: Separate bperf from bpf_profiler
| * 602603baae perf tracepoint: Fix memory leak in is_valid_tracepoint()
| * 3fb0d061dd perf symbols: Fix return incorrect build_id size in elf_read_build_id()
| * 2dd641d78d crypto: engine - fix crypto_queue backlog handling
| * 14a2259317 crypto: engine - Use crypto_request_complete
| * 6ba620fc91 crypto: api - Add scaffolding to change completion function signature
| * 1055eddce7 crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs()
| * 267db6bff3 perf cs-etm: Fix timeless decode mode detection
| * b6671b7172 perf map: Delete two variable initialisations before null pointer checks in sort__sym_from_cmp()
| * d592598f47 perf pmu: zfree() expects a pointer to a pointer to zero it after freeing its contents
| * 36a840a862 perf vendor events power9: Remove UTF-8 characters from JSON files
| * 0dabe1ae74 perf ftrace: Make system wide the default target for latency subcommand
| * 4406061261 perf tests record_offcpu.sh: Fix redirection of stderr to stdin
| * 6d20672d52 perf vendor events s390: Remove UTF-8 characters from JSON file
| * b2b9169960 perf scripts intel-pt-events.py: Fix IPC output for Python 2
| * f108cbc836 perf record: Fix "read LOST count failed" msg with sample read
| * 2424b456c3 net: enetc: check the index of the SFI rather than the handle
| * d86d42e4a9 virtio_net: suppress cpu stall when free_unused_bufs
| * 4a61d79656 ice: block LAN in case of VF to VF offload
| * 2f80efc46b net: dsa: mt7530: fix network connectivity with multiple CPU ports
| * 9d46edd93a net: dsa: mt7530: split-off common parts from mt7531_setup
| * 98fc75c172 net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621
| * c6fafaa6f2 KVM: s390: fix race in gmap_make_secure()
| * 4e875cf90d ALSA: caiaq: input: Add error handling for unsupported input methods in `snd_usb_caiaq_input_init`
| * 7887397338 drm/amdgpu: add a missing lock for AMDGPU_SCHED
| * f2e8e33862 af_packet: Don't send zero-byte data in packet_sendmsg_spkt().
| * 0d02efe7f2 ionic: catch failure from devlink_alloc
| * 942a2a0184 ethtool: Fix uninitialized number of lanes
| * a05e5634c1 ionic: remove noise from ethtool rxnfc error msg
| * 3cad35b62e octeontx2-vf: Detach LF resources on probe cleanup
| * 401d11f274 octeontx2-pf: Disable packet I/O for graceful exit
| * d28f6ad8b1 octeontx2-af: Skip PFs if not enabled
| * ac613d0bd2 octeontx2-af: Fix issues with NPC field hash extract
| * ab0742bd5b octeontx2-af: Update/Fix NPC field hash extract feature
| * 2b84d24d3a octeontx2-pf: Add additional checks while configuring ucast/bcast/mcast rules
| * bd9234da97 octeontx2-af: Allow mkex profile without DMAC and add L2M/L2B header extraction support
| * 14504aaa8b octeontx2-pf: Increase the size of dmac filter flows
| * 2376ca72b5 octeontx2-af: Fix depth of cam and mem table.
| * 1c98271e0c octeontx2-af: Fix start and end bit for scan config
| * e92399f527 octeontx2-af: Secure APR table update with the lock
| * 419cc2c507 selftests: netfilter: fix libmnl pkg-config usage
| * 4b08cdd239 drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info
| * 2bb120405a riscv: compat_syscall_table: Fixup compile warning
| * 40f8b3f5e6 rxrpc: Fix hard call timeout units
| * ab14de49e4 sfc: Fix module EEPROM reporting for QSFP modules
| * 68b1614b32 r8152: move setting r8153b_rx_agg_chg_indicate()
| * 2642d7c136 r8152: fix the poor throughput for 2.5G devices
| * fbdde7ef25 r8152: fix flow control issue of RTL8156A
| * e2efb94966 net/sched: act_mirred: Add carrier check
| * 3b3537d4a0 i2c: tegra: Fix PEC support for SMBUS block read
| * ffa97b5952 RISC-V: mm: Enable huge page support to kernel_page_present() function
| * 1e8ad3e45b watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe()
| * c36975a654 block: Skip destroyed blkg when restart in blkg_destroy_all()
| * 7c4c6e2a40 writeback: fix call of incorrect macro
| * 5ac2914f67 net: dsa: mv88e6xxx: add mv88e6321 rsvd2cpu
| * 1f274d5316 net: ipv6: fix skb hash for some RST packets
| * 686c70131e selftests: srv6: make srv6_end_dt46_l3vpn_test more robust
| * 5a98019e96 sit: update dev->needed_headroom in ipip6_tunnel_bind_dev()
| * 55866fe3fd net/sched: cls_api: remove block_cb from driver_list before freeing
| * 7fa93e39fb tcp: fix skb_copy_ubufs() vs BIG TCP
| * 449280afaa net/ncsi: clear Tx enable mode when handling a Config required AEN
| * a78b922d11 octeontx2-pf: mcs: Do not reset PN while updating secy
| * fd59ec1455 octeontx2-pf: mcs: Fix shared counters logic
| * a8ddb974f0 octeontx2-pf: mcs: Clear stats before freeing resource
| * c52ebecd89 octeontx2-pf: mcs: Match macsec ethertype along with DMAC
| * a3dcc45eca octeontx2-pf: mcs: Fix NULL pointer dereferences
| * 9ff806d070 octeontx2-af: mcs: Fix MCS block interrupt
| * add6bdb8d6 octeontx2-af: mcs: Config parser to skip 8B header
| * 39b436f0ac octeontx2-af: mcs: Write TCAM_DATA and TCAM_MASK registers at once
| * 06fdaf7711 octeonxt2-af: mcs: Fix per port bypass config
| * 1924450175 ixgbe: Fix panic during XDP_TX with > 64 CPUs
| * 80a791a199 drm/amd/display: Update bounding box values for DCN321
| * 7bba2e5e09 drm/amd/display: Do not clear GPINT register when releasing DMUB from reset
| * ccb0ad946a drm/amd/display: Reset OUTBOX0 r/w pointer on DMUB reset
| * bb13726625 drm/amd/display: Fixes for dcn32_clk_mgr implementation
| * b7ae53dd0d drm/amd/display: Return error code on DSC atomic check failure
| * 374f7fa01a drm/amd/display: Add missing WA and MCLK validation
| * 0b47019f54 drm/amd/display: Remove FPU guards from the DML folder
| * 3738a23083 scsi: qedi: Fix use after free bug in qedi_remove()
| * e60e5d6722 ASoC: Intel: soc-acpi-byt: Fix "WM510205" match no longer working
| * 1193a36f58 KVM: x86/mmu: Refresh CR0.WP prior to checking for emulated permission faults
| * 71e848bac0 KVM: VMX: Make CR0.WP a guest owned bit
| * 27ec4cbc1d KVM: x86: Make use of kvm_read_cr*_bits() when testing bits
| * 956777b253 KVM: x86: Do not unload MMU roots when only toggling CR0.WP with TDP enabled
| * d20a0195b3 KVM: x86/mmu: Avoid indirect call for get_cr3
| * 28d0f85aff drm/amd/display: Ext displays with dock can't recognized after resume
| * d69d5e2a81 fs/ntfs3: Fix null-ptr-deref on inode->i_op in ntfs_lookup()
| * 93eb8dd4b4 mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s25hx SEMPER flash
| * 50f54a48f6 mailbox: zynqmp: Fix counts of child nodes
| * e63a796b85 mailbox: zynq: Switch to flexible array to simplify code
| * b12078b67a soc: qcom: llcc: Do not create EDAC platform device on SDM845
| * bf9712195f qcom: llcc/edac: Support polling mode for ECC handling
| * 4fdb257b2a mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s28hx SEMPER flash
| * 8630dfcdab mtd: spi-nor: Add a RWW flag
| * 897a40dbcf mtd: spi-nor: add SFDP fixups for Quad Page Program
| * de26d26f55 mtd: spi-nor: spansion: Remove NO_SFDP_FLAGS from s28hs512t info
| * b951d4924c KVM: x86/pmu: Disallow legacy LBRs if architectural LBRs are available
| * 189cdd8fe7 KVM: x86: Track supported PERF_CAPABILITIES in kvm_caps
| * 0457b6d04f perf/x86/core: Zero @lbr instead of returning -1 in x86_perf_get_lbr() stub
| * 9239f895a8 crypto: ccp - Clear PSP interrupt status register before calling handler
| * add662775d drm/vmwgfx: Fix Legacy Display Unit atomic drm support
| * b3204cb3e0 drm/vmwgfx: Remove explicit and broken vblank handling
| * c613c951e6 usb: dwc3: gadget: Execute gadget stop after halting the controller
| * 065c3d4319 USB: dwc3: gadget: drop dead hibernation code
* | ec2daee24c ANDROID: add memset32 to db835c list of exported symbols needed.
* | 3ec1d2a158 Revert "uapi/linux/const.h: prefer ISO-friendly __typeof__"
* | b4c489e551 Revert "posix-cpu-timers: Implement the missing timer_wait_running callback"
* | e4446b24fd Revert "KVM: arm64: Avoid vcpu->mutex v. kvm->lock inversion in CPU_ON"
* | 2bd2fb9c82 Revert "KVM: arm64: Avoid lock inversion when setting the VM register width"
* | b8b87a4a37 Revert "KVM: arm64: Use config_lock to protect data ordered against KVM_RUN"
* | 6c2658e477 Revert "KVM: arm64: Use config_lock to protect vgic state"
* | c937035a5d Revert "KVM: arm64: vgic: Don't acquire its_lock before config_lock"
* | ef75a88787 Merge 6.1.28 into android14-6.1-lts
|\|
| * bf4ad6fa4e Linux 6.1.28
| * 4507918cd1 netfilter: nf_tables: deactivate anonymous set from preparation phase
| * 1887a4faff scsi: libsas: Grab the ATA port lock in sas_ata_device_link_abort()
| * 6dc7e36334 debugobject: Ensure pool refill (again)
| * 010842e882 drm/amd/display (gcc13): fix enum mismatch
| * 915923898f i40e: use int for i40e_status
| * 8c82be5525 i40e: Remove string printing for i40e_status
| * 3cd9d45e87 i40e: Remove unused i40e status codes
| * b593f157a8 sfc (gcc13): synchronize ef100_enqueue_skb()'s return type
| * 245653ed73 block/blk-iocost (gcc13): keep large values in a new enum
| * 40db6d172b perf intel-pt: Fix CYC timestamps after standalone CBR
| * 376e662ebb perf auxtrace: Fix address filter entire kernel size
| * 146b7251c1 wifi: ath11k: synchronize ath11k_mac_he_gi_to_nl80211_he_gi()'s return type
| * d8d206beb3 bonding (gcc13): synchronize bond_{a,t}lb_xmit() types
| * 55c91905b9 thunderbolt: Use correct type in tb_port_is_clx_enabled() prototype
| * e4a37e9060 cifs: protect session status check in smb2_reconnect()
| * 64d62ac6d6 cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname
| * a744060574 blk-iocost: avoid 64-bit division in ioc_timer_fn
| * 7ac1a137be dm: don't lock fs when the map is NULL in process of resume
| * 9a94ebc74c dm ioctl: fix nested locking in table_clear() to remove deadlock concern
| * cb874a190f dm flakey: fix a crash with invalid table line
| * 3877b5c150 dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path
| * 21d5198c21 dm clone: call kmem_cache_destroy() in dm_clone_init() error path
| * 1da79e01e4 dm verity: fix error handling for check_at_most_once on FEC
| * 2f5aa54e40 vhost_vdpa: fix unmap process in no-batch mode
| * 6b5b755463 mm/mempolicy: correctly update prev when policy is equal on mbind
| * 840516585c ia64: fix an addr to taddr in huge_pte_offset()
| * 7964bacf83 s390/dasd: fix hanging blockdevice after request requeue
| * 9628d45a06 btrfs: scrub: reject unsupported scrub flags
| * 7a0a402930 scripts/gdb: fix lx-timerlist for Python3
| * a16e911775 clk: rockchip: rk3399: allow clk_cifout to force clk_cifout_src to reparent
| * 5b4052aa95 clk: microchip: fix potential UAF in auxdev release callback
| * 39712c8aeb wifi: rtw89: fix potential race condition between napi_init and napi_enable
| * 4309330641 wifi: rtl8xxxu: RTL8192EU always needs full init
| * ead3b023ae mailbox: zynqmp: Fix typo in IPI documentation
| * 706ae66574 kcsan: Avoid READ_ONCE() in read_instrumented_memory()
| * c051c472fb mailbox: zynqmp: Fix IPI isr handling
| * 8cc1ab7de2 mtd: spi-nor: core: Update flash's current address mode when changing address mode
| * f1b4affca1 mtd: core: fix error path for nvmem provider
| * 26358f3304 mtd: core: fix nvmem error reporting
| * 43a72c1619 mtd: core: provide unique name for nvmem device, take two
| * da4c747730 kasan: hw_tags: avoid invalid virt_to_page()
| * 507fbfa79a md/raid5: Improve performance for sequential IO
| * b50fd1c3d9 md/raid10: fix null-ptr-deref in raid10_sync_request
| * acffdf1a7f drbd: correctly submit flush bio on barrier
| * 8d67449f90 mm: do not reclaim private data from pinned page
| * 25457d07c8 nilfs2: fix infinite loop in nilfs_mdt_get_block()
| * a73201c607 nilfs2: do not write dirty data after degenerating to read-only
| * 4844052acb ALSA: hda/realtek: Fix mute and micmute LEDs for an HP laptop
| * 358aa78c02 ALSA: hda/realtek: support HP Pavilion Aero 13-be0xxx Mute LED
| * 6d57f6cc21 ALSA: hda/realtek: Add quirk for ASUS UM3402YAR using CS35L41
| * b433bfab89 ALSA: hda/realtek: Add quirk for ThinkPad P1 Gen 6
| * 9e915d81f5 ALSA: usb-audio: Add quirk for Pioneer DDJ-800
| * fd02867177 parisc: Ensure page alignment in flush functions
| * b80b7a9bb8 parisc: Fix argument pointer in real64_call_asm()
| * 274c0b0c2f afs: Avoid endless loop if file is larger than expected
| * 7b6ccf752a afs: Fix getattr to report server i_size on dirs, not local size
| * 2cfce11132 afs: Fix updating of i_size with dv jump from server
| * 72f3217aa1 PM: hibernate: Do not get block device exclusively in test_resume mode
| * 208ba216cc PM: hibernate: Turn snapshot_test into global variable
| * fc3153a914 ACPI: PM: Do not turn of unused power resources on the Toshiba Click Mini
| * fed87ce073 hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id()
| * a51e150ef9 hte: tegra: fix 'struct of_device_id' build error
| * 5790f76dd2 mfd: arizona-spi: Add missing MODULE_DEVICE_TABLE
| * d617022971 mfd: ocelot-spi: Fix unsupported bulk read
| * eefc8cbb60 mfd: tqmx86: Correct board names for TQMxE39x
| * 4598908562 mfd: tqmx86: Specify IO port register range more precisely
| * 8c989fa9e8 mfd: tqmx86: Do not access I2C_DETECT register through io_base
| * b3b3f66bd4 thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe
| * 86dfb47094 pinctrl-bcm2835.c: fix race condition when setting gpio dir
| * 6107896806 dmaengine: at_xdmac: do not enable all cyclic channels
| * a8c24a80de dmaengine: dw-edma: Fix to enable to issue dma request on DMA processing
| * 7d28c500e5 dmaengine: dw-edma: Fix to change for continuous transfer
| * 502c33c7e7 dma: gpi: remove spurious unlock in gpi_ch_init
| * a1f131d2e1 phy: ti: j721e-wiz: Fix unreachable code in wiz_mode_select()
| * 548113502e phy: tegra: xusb: Add missing tegra_xusb_port_unregister for usb2_port and ulpi_port
| * 6c0df503cd soundwire: intel: don't save hw_params for use in prepare
| * bae3248bb1 soundwire: cadence: rename sdw_cdns_dai_dma_data as sdw_cdns_dai_runtime
| * 655b647245 pwm: mtk-disp: Configure double buffering before reading in .get_state()
| * 7cbcb1ca53 pwm: mtk-disp: Disable shadow registers before setting backlight values
| * 19f5910a1e leds: tca6507: Fix error handling of using fwnode_property_read_string
| * 8c16219c96 dmaengine: mv_xor_v2: Fix an error code.
| * 60d95b747f pinctrl: ralink: reintroduce ralink,rt2880-pinmux compatible string
| * 1b50402d3a leds: TI_LMU_COMMON: select REGMAP instead of depending on it
| * eefc7676d5 pinctrl: renesas: r8a779g0: Fix ERROROUTC function names
| * d6004abdf5 pinctrl: renesas: r8a779g0: Fix Group 6/7 pin functions
| * 3727fafed7 pinctrl: renesas: r8a779g0: Fix Group 4/5 pin functions
| * 9af5833818 pinctrl: renesas: r8a779f0: Fix tsn1_avtp_pps pin group
| * 6a02dda054 pinctrl: renesas: r8a779a0: Remove incorrect AVB[01] pinmux configuration
| * 96d440bee1 ext4: fix use-after-free read in ext4_find_extent for bigalloc + inline
| * d30090eb54 ext4: fix i_disksize exceeding i_size problem in paritally written case
| * 32dce45c8e SMB3: Close deferred file handles in case of handle lease break
| * 3aa9d065b0 SMB3: Add missing locks to protect deferred close file list
| * c2b990d7aa timekeeping: Fix references to nonexistent ktime_get_fast_ns()
| * b265609a2a openrisc: Properly store r31 to pt_regs on unhandled exceptions
| * 369d9e8fae clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails
| * 07ad6cc82b RDMA/mlx5: Use correct device num_ports when modify DC
| * 43d48cec9a SUNRPC: remove the maximum number of retries in call_bind_status
| * 10dcd0ed78 RDMA/mlx5: Fix flow counter query via DEVX
| * 9116528937 RDMA/mlx5: Check pcie_relaxed_ordering_enabled() in UMR
| * 4aa9243ebe swiotlb: fix debugfs reporting of reserved memory pools
| * e6c69b06e7 swiotlb: relocate PageHighMem test away from rmem_swiotlb_setup
| * 36d087e49d Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe
| * ed90364b42 clk: qcom: dispcc-qcm2290: Remove inexistent DSI1PHY clk
| * 86d9cafdd8 clk: qcom: dispcc-qcm2290: get rid of test clock
| * c3d4119fa5 clk: qcom: gcc-sm8350: fix PCIe PIPE clocks handling
| * b75450f51c clk: qcom: lpassaudiocc-sc7280: Add required gdsc power domain clks in lpass_cc_sc7280_desc
| * 0b421824ec clk: qcom: lpasscc-sc7280: Skip qdsp6ss clock registration
| * 8f7f8d06af iommu/amd: Set page size bitmap during V2 domain allocation
| * c49a8c5c8b NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease
| * 9b75bd4eef clk: imx: imx8ulp: Fix XBAR_DIVBUS and AD_SLOW clock parents
| * 72ff6c1156 clk: imx: fracn-gppll: disable hardware select control
| * b32bb99316 clk: imx: fracn-gppll: fix the rate table
| * dce59b5443 IB/hfi1: Fix bugs with non-PAGE_SIZE-end multi-iovec user SDMA requests
| * 39d39bfb82 IB/hfi1: Fix SDMA mmu_rb_node not being evicted in LRU order
| * 4323aaedeb RDMA/srpt: Add a check for valid 'mad_agent' pointer
| * 720c915a62 RDMA/cm: Trace icm_send_rej event before the cm state is reset
| * 40b4ad4c17 power: supply: rk817: Fix low SOC bugs
| * 8be358c804 clk: qcom: gcc-sm6115: Mark RCGs shared where applicable
| * e70ce21939 RDMA/siw: Remove namespace check from siw_netdev_event()
| * d3b2acaa14 clk: add missing of_node_put() in "assigned-clocks" property parsing
| * a2b3eaaa97 power: supply: generic-adc-battery: fix unit scaling
| * 37f689d859 iommu/mediatek: Set dma_mask for PGTABLE_PA_35_EN
| * 9163a5b4ed fs/ntfs3: Fix slab-out-of-bounds read in hdr_delete_de()
| * 17048287ac fs/ntfs3: Fix OOB read in indx_insert_into_buffer
| * 7898db22ed fs/ntfs3: Add check for kmemdup
| * 1bc6bb657d fs/ntfs3: Fix memory leak if ntfs_read_mft failed
| * 7d374becc0 RDMA/erdma: Use fixed hardware page size
| * bb0433ae6f rtc: k3: handle errors while enabling wake irq
| * 8a4e9482f4 rtc: meson-vrtc: Use ktime_get_real_ts64() to get the current time
| * 3ce0df3493 RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
| * 5f5876ae29 rtc: omap: include header for omap_rtc_power_off_program prototype
| * c3c2aee6f9 workqueue: Fix hung time report of worker pools
| * 8fbcfff083 clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src
| * bddbb3b9dc RDMA/rdmavt: Delete unnecessary NULL check
| * a6d8529dcf clk: mediatek: mt8135: Properly use CLK_IS_CRITICAL flag
| * d193c4aea3 clk: mediatek: mt7622: Properly use CLK_IS_CRITICAL flag
| * 2b18f12fe6 clk: mediatek: Consistently use GATE_MTK() macro
| * 6f24e8ef33 clk: mediatek: mt2712: Add error handling to clk_mt2712_apmixed_probe()
| * 23cc819125 RDMA/siw: Fix potential page_array out of range access
| * d7c8d32e5d IB/hifi1: add a null check of kzalloc_node in hfi1_ipoib_txreq_init
| * a2290ed2af clk: at91: clk-sam9x60-pll: fix return value check
| * 0489c2b2c3 tracing/user_events: Ensure write index cannot be negative
| * 6472a6d0c7 sched/rt: Fix bad task migration for rt tasks
| * 1969b143d0 riscv: Fix ptdump when KASAN is enabled
| * e38f070a57 Revert "objtool: Support addition to set CFA base"
| * 2d44928903 perf/core: Fix hardlockup failure caused by perf throttle
| * 944465c772 sched/fair: Fix inaccurate tally of ttwu_move_affine
| * 46f773f39e powerpc/rtas: use memmove for potentially overlapping buffer copy
| * 8bcecadabb macintosh: via-pmu-led: requires ATA to be set
| * 5dae22c28f powerpc/sysdev/tsi108: fix resource printk format warnings
| * 89e458456c powerpc/wii: fix resource printk format warnings
| * 2f40b71e46 powerpc/mpc512x: fix resource printk format warning
| * f9325ac52f powerpc/perf: Properly detect mpc7450 family
| * 7c71aee351 macintosh/windfarm_smu_sat: Add missing of_node_put()
| * c0f49bbb30 selftests/powerpc/pmu: Fix sample field check in the mmcra_thresh_marked_sample_test
| * ae69d36d46 fbdev: mmp: Fix deferred clk handling in mmphw_probe()
| * ce818ee162 virtio_ring: don't update event idx on get_buf
| * 428cc25270 spmi: Add a check for remove callback when removing a SPMI driver
| * ec01408c0f staging: rtl8192e: Fix W_DISABLE# does not work after stop/start
| * 7f43a5bde8 spi: cadence-quadspi: use macro DEFINE_SIMPLE_DEV_PM_OPS
| * 727e92fe13 serial: 8250: Add missing wakeup event reporting
| * 1ae3e5f202 tty: serial: fsl_lpuart: adjust buffer length to the intended size
| * 26d40b3fca firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
| * f262734286 usb: mtu3: fix kernel panic at qmu transfer done irq handler
| * 17993a13b5 usb: chipidea: fix missing goto in `ci_hdrc_probe`
| * 94fa043a47 usb: gadget: tegra-xudc: Fix crash in vbus_draw
| * 6a1cfc3036 sh: sq: Fix incorrect element size for allocating bitmap buffer
| * ef9f854103 uapi/linux/const.h: prefer ISO-friendly __typeof__
| * 9bc5e54177 scripts/gdb: raise error with reduced debugging information
| * 06e661a259 i2c: xiic: xiic_xfer(): Fix runtime PM leak on error path
| * a712b5a952 i2c: cadence: cdns_i2c_master_xfer(): Fix runtime PM leak on error path
| * 79acf7fb85 spi: cadence-quadspi: fix suspend-resume implementations
| * eef4c4109a drm/panel: novatek-nt35950: Only unregister DSI1 if it exists
| * 08e9653bb9 PCI/PM: Extend D3hot delay for NVIDIA HDA controllers
| * 402299cca8 ASoC: fsl_mqs: move of_node_put() to the correct location
| * 225e81c3af drm/panel: novatek-nt35950: Improve error handling
| * 18e21fa199 coresight: etm_pmu: Set the module field
| * f0b58720f2 cacheinfo: Check sib_leaf in cache_leaves_are_shared()
| * 8ba48e58ba HID: amd_sfh: Handle "no sensors" enabled for SFH1.1
| * 198474bef3 HID: amd_sfh: Increase sensor command timeout for SFH1.1
| * a5e4df860d HID: amd_sfh: Correct the stop all command
| * 959f6ae96b HID: amd_sfh: Add support for shutdown operation
| * dac12293c7 HID: amd_sfh: Fix illuminance value
| * e66a085d90 HID: amd_sfh: Correct the sensor enable and disable command
| * 269259b7c7 HID: amd_sfh: Correct the structure fields
| * 7035d8b73a scripts/gdb: bail early if there are no generic PD
| * ce81376364 scripts/gdb: bail early if there are no clocks
| * 15b29ac9b8 ia64: salinfo: placate defined-but-not-used warning
| * f890f34a15 ia64: mm/contig: fix section mismatch warning/error
| * ab0f424cd2 PCI/EDR: Clear Device Status after EDR error recovery
| * 3e28d59a5f of: Fix modalias string generation
| * d22b2a3572 vmci_host: fix a race condition in vmci_host_poll() causing GPF
| * 282efdf472 spi: fsl-spi: Fix CPM/QE mode Litte Endian
| * 55a32fd96e interconnect: qcom: rpm: drop bogus pm domain attach
| * 2d0f63077f spi: qup: Don't skip cleanup in remove's error path
| * 5e678bfebb linux/vt_buffer.h: allow either builtin or modular for macros
| * 321946fa10 ASoC: es8316: Handle optional IRQ assignment
| * 873fff9fd6 PCI: imx6: Install the fault handler only on compatible match
| * 9de1183f3f ASoC: soc-compress: Inherit atomicity from DAI link for Compress FE
| * df23805209 usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race condition
| * 6d16305a15 spi: imx: Don't skip cleanup in remove's error path
| * f6974fb204 spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()
| * d748e32026 spi: atmel-quadspi: Don't leak clk enable count in pm resume
| * 3eb8bebd02 serial: 8250_bcm7271: Fix arbitration handling
| * 1757621b87 iio: light: max44009: add missing OF device matching
| * 53cdfec251 fpga: bridge: fix kernel-doc parameter description
| * c996ca87cf serial: stm32: Re-assert RTS/DE GPIO in RS485 mode only if more data are transmitted
| * 3c5fafc27c usb: dwc3: gadget: Change condition for processing suspend event
| * cd5708f605 usb: host: xhci-rcar: remove leftover quirk handling
| * 9145880e8c pstore: Revert pmsg_lock back to a normal mutex
| * 70ee7b8a6d drivers: staging: rtl8723bs: Fix locking in rtw_scan_timeout_handler()
| * 2a50e44a66 drivers: staging: rtl8723bs: Fix locking in _rtw_join_timeout_handler()
| * a616392011 ASoC: cs35l41: Only disable internal boost
| * 5eb0e23ab0 ipmi: ASPEED_BT_IPMI_BMC: select REGMAP_MMIO instead of depending on it
| * cb52e7f24c tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.
| * 0211342dd6 net: amd: Fix link leak when verifying config failed
| * f040bee291 netlink: Use copy_to_user() for optval in netlink_getsockopt().
| * 952030c914 Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work"
| * fc60067260 ipv4: Fix potential uninit variable access bug in __ip_make_skb()
| * 4fbefeab88 net/sched: sch_fq: fix integer overflow of "credit"
| * 8fa6c8dad4 net: dpaa: Fix uninitialized variable in dpaa_stop()
| * 6cf1d03a42 netfilter: nf_tables: don't write table validation state without mutex
| * 551a26668c bpf: Don't EFAULT for getsockopt with optval=NULL
| * c3fb321447 bpf: Fix race between btf_put and btf_idr walk.
| * ad5b2cf5d1 net: stmmac:fix system hang when setting up tag_8021q VLAN for DSA ports
| * fd40d2eb5e net/mlx5e: Nullify table pointer when failing to create
| * 15968f6508 net/mlx5: Use recovery timeout on sync reset flow
| * c63830a1cc Revert "net/mlx5: Remove "recovery" arg from mlx5_load_one() function"
| * c499593821 net/mlx5: Suspend auxiliary devices only in case of PCI device suspend
| * d481a6800b net/mlx5: Remove "recovery" arg from mlx5_load_one() function
| * 62fea2c2e4 net/mlx5e: Fix error flow in representor failing to add vport rx rule
| * 2ca9f9b837 net/mlx5: E-switch, Don't destroy indirect table in split rule
| * 8b5f696288 net/mlx5: E-switch, Create per vport table based on devlink encap mode
| * c382b693ff net/mlx5e: Don't clone flow post action attributes second time
| * 707a31951f ixgbe: Enable setting RSS table to default values
| * c8b37d2b5b ixgbe: Allow flow hash to be set via ethtool
| * 37f64bc8e0 wifi: iwlwifi: fw: fix memory leak in debugfs
| * 80c5ba0078 netfilter: conntrack: fix wrong ct->timeout value
| * 6a62a2a09c netfilter: conntrack: restore IPS_CONFIRMED out of nf_conntrack_hash_check_insert()
| * d6e03af0a4 wifi: iwlwifi: mvm: check firmware response size
| * 180c4ae0de wifi: mt76: connac: fix txd multicast rate setting
| * d365e14483 wifi: mt76: mt7921e: stop chip reset worker in unregister hook
| * 741bf262bd wifi: mt76: mt7921e: improve reliability of dma reset
| * 1ab837a342 wifi: mt76: mt7921: fix missing unwind goto in `mt7921u_probe`
| * 11181b6c86 mt76: mt7921: fix kernel panic by accessing unallocated eeprom.data
| * c42efff820 wifi: mt76: fix 6GHz high channel not be scanned
| * c5cdab3c04 wifi: mt76: mt7921e: fix probe timeout after reboot
| * 27ce664b7f wifi: mt76: add flexible polling wait-interval support
| * 710f3c7fb3 wifi: mt76: handle failure of vzalloc in mt7615_coredump_work
| * 9c036152ad wifi: mt76: mt7915: expose device tree match table
| * bd5121ef18 wifi: iwlwifi: make the loop for card preparation effective
| * 5611be6c3d io_uring/rsrc: use nospec'ed indexes
| * f1bd3414d9 jdb2: Don't refuse invalidation of already invalidated buffers
| * f6b46f8438 wifi: iwlwifi: fw: move memset before early return
| * 6b345ddd49 wifi: iwlwifi: mvm: initialize seq variable
| * 243f6d6ba5 wifi: iwlwifi: yoyo: Fix possible division by zero
| * 7c31103f7f wifi: iwlwifi: yoyo: skip dump correctly on hw error
| * 164acf216c wifi: iwlwifi: mvm: don't drop unencrypted MCAST frames
| * 8f3382624c md/raid10: don't call bio_start_io_acct twice for bio which experienced read error
| * 36ba0c7b86 md/raid10: fix memleak of md thread
| * b21019a220 md/raid10: fix memleak for 'conf->bio_split'
| * 11141630f0 md/raid10: fix leak of 'r10bio->remaining' for recovery
| * 9050576bff md/raid10: fix task hung in raid10d
| * df6222b01f f2fs: fix to check return value of inc_valid_block_count()
| * 2eb5d0165b f2fs: fix to check return value of f2fs_do_truncate_blocks()
| * a8091dc814 bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmap
| * 339d14334a wifi: iwlwifi: mvm: don't set CHECKSUM_COMPLETE for unsupported protocols
| * 6f14a94501 wifi: iwlwifi: trans: don't trigger d3 interrupt twice
| * 8e5d05ca15 wifi: iwlwifi: debug: fix crash in __iwl_err()
| * 6aa401a654 blk-mq: don't plug for head insertions in blk_execute_rq_nowait
| * 3c0b799346 selftests/bpf: Fix leaked bpf_link in get_stackid_cannot_attach
| * 67c81ecbf7 selftests/bpf: Use read_perf_max_sample_freq() in perf_event_stackmap
| * 160fcf5c6b nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage"
| * 0f1c4ae80d nvme: fix async event trace event
| * 1e4f23c61f nvmet: fix I/O Command Set specific Identify Controller
| * fd95ae3bb8 nvmet: fix Identify Active Namespace ID list handling
| * 4898a8d6b1 nvmet: fix Identify Controller handling
| * 4a7a14e87c nvmet: fix Identify Namespace handling
| * b743d68c9f nvmet: fix error handling in nvmet_execute_identify_cns_cs_ns()
| * 1d4ac7b0ff bpf, sockmap: fix deadlocks in the sockhash and sockmap
| * cfc7ee210f wifi: ath11k: fix writing to unintended memory region
| * f43744872a net: ethernet: stmmac: dwmac-rk: fix optional phy regulator handling
| * c649bf43a2 net: ethernet: stmmac: dwmac-rk: rework optional clock handling
| * e6f1ef4a53 scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()
| * 52c3d68d99 bpf/btf: Fix is_int_ptr()
| * 1f1267ce0b wifi: iwlwifi: fix duplicate entry in iwl_dev_info_table
| * 7d058f0ab1 f2fs: fix to avoid use-after-free for cached IPU bio
| * 3ee343914c xsk: Fix unaligned descriptor validation
| * 8bc8e34e80 crypto: drbg - Only fail when jent is unavailable in FIPS mode
| * 81366e333c bpftool: Fix bug for long instructions in program CFG dumps
| * d199c2b394 selftests/bpf: Wait for receive in cg_storage_multi test
| * 751168d0d2 selftests: xsk: Deflakify STATS_RX_DROPPED test
| * 0ea59567d0 selftests: xsk: Disable IPv6 on VETH1
| * 30a4ff7eb4 selftests: xsk: Use correct UMEM size in testapp_invalid_desc
| * 90d2f5225d net: qrtr: correct types of trace event parameters
| * a7f5be2ac0 f2fs: fix iostat lock protection
| * bea3f8aa99 wifi: rt2x00: Fix memory leak when handling surveys
| * 828439964f scsi: hisi_sas: Handle NCQ error when IPTT is valid
| * cd94f74888 scsi: libsas: Add sas_ata_device_link_abort()
| * f7871c9df1 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_reg()
| * 4eb666646c wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_rfreg()
| * 7f6714fc2a crypto: sa2ul - Select CRYPTO_DES
| * be42155499 crypto: caam - Clear some memory in instantiate_rng
| * 74f74c8b84 f2fs: fix scheduling while atomic in decompression path
| * 6604df2a9d f2fs: compress: fix to call f2fs_wait_on_page_writeback() in f2fs_write_raw_pages()
| * 88fccb8d0c f2fs: apply zone capacity to all zone type
| * d9e30b8ed4 f2fs: fix uninitialized skipped_gc_rwsem
| * 61fbf097b7 f2fs: handle dqget error in f2fs_transfer_project_quota()
| * 10f7b4975b net: sunhme: Fix uninitialized return code
| * e3e55385fa scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS
| * 770c3fd4d7 scsi: target: iscsit: Fix TAS handling during conn cleanup
| * eacfe32c36 scsi: target: Fix multiple LUN_RESET handling
| * cc84bbdde9 scsi: target: iscsit: Stop/wait on cmds during conn close
| * edd9002071 scsi: target: iscsit: isert: Alloc per conn cmd counter
| * b7ca8ded37 scsi: target: Pass in cmd counter to use during cmd setup
| * 741443436e scsi: target: Move cmd counter allocation
| * 76b77646f1 scsi: target: Move sess cmd counter to new struct
| * 87ee7227cc scsi: target: core: Change the way target_xcopy_do_work() sets restiction on max I/O
| * f9361cf40b bpf: Fix __reg_bound_offset 64->32 var_off subreg propagation
| * 2361aee1c5 netfilter: keep conntrack reference until IPsecv6 policy checks are done
| * 8d05f25475 net: dsa: qca8k: remove assignment of an_enabled in pcs_get_state()
| * c997f28917 libbpf: Fix ld_imm64 copy logic for ksym in light skeleton.
| * 382310d9c8 net/packet: convert po->auxdata to an atomic flag
| * 3eae0f4c31 net/packet: convert po->origdev to an atomic flag
| * f2d971608a net/packet: annotate accesses to po->xmit
| * c3ee3540a1 vlan: partially enable SIOCSHWTSTAMP in container
| * 07782db81e net: pcs: xpcs: remove double-read of link state when using AN
| * 157c84b793 bpf: Remove misleading spec_v1 check on var-offset stack read
| * b73438a4a6 selftests/bpf: Fix a fd leak in an error path in network_helpers.c
| * 0324300dce wifi: ath11k: fix deinitialization of firmware resources
| * af5265c64d scm: fix MSG_CTRUNC setting condition for SO_PASSSEC
| * 1f1fba8b3a crypto: qat - fix concurrency issue when device state changes
| * a62ba7e0d2 bpf: fix precision propagation verbose logging
| * 0049d2edda bpf: take into account liveness when propagating precision
| * 78eee85913 wifi: rtw88: mac: Return the original error from rtw_mac_power_switch()
| * 154d4d630e wifi: rtw88: mac: Return the original error from rtw_pwr_seq_parser()
| * 1c8f46578d tools: bpftool: Remove invalid \' json escape
| * 644df7e865 wifi: ath6kl: reduce WARN to dev_dbg() in callback
| * 0022a3936e wifi: brcmfmac: support CQM RSSI notification with older firmware
| * 9354826c02 wifi: ath11k: fix SAC bug on peer addition with sta band migration
| * 76f9b0d6f0 wifi: ath5k: fix an off by one check in ath5k_eeprom_read_freq_list()
| * 7e5f42abfc wifi: ath5k: Use platform_get_irq() to get the interrupt
| * 7d3fd8da72 wifi: ath11k: Use platform_get_irq() to get the interrupt
| * 9b9356a301 wifi: ath9k: hif_usb: fix memory leak of remain_skbs
| * 1a59067bde wifi: ath6kl: minor fix for allocation size
| * 830d79af9e platform/chrome: cros_typec_switch: Add missing fwnode_handle_put()
| * aefea3016a hwmon: (pmbus/fsp-3y) Fix functionality bitmask in FSP-3Y YM-2151E
| * d29faefa8d rpmsg: glink: Propagate TX failures in intentless mode as well
| * 2f51bac276 cpufreq: use correct unit when verify cur freq
| * 0985838a9c ACPI: bus: Ensure that notify handlers are not running after removal
| * 290e26ec0d tick/common: Align tick period with the HZ tick.
| * 0fe6ef82e4 drm/i915: Make intel_get_crtc_new_encoder() less oopsy
| * fc2b20c092 debugobject: Prevent init race with static objects
| * 1d1735c6fb media: mediatek: vcodec: add remove function for decoder platform driver
| * c692a44bc5 media: mediatek: vcodec: fix decoder disable pm crash
| * 54e85ee2b4 perf/arm-cmn: Fix port detection for CMN-700
| * a8897bffca arm64: kgdb: Set PSTATE.SS to 1 to re-enable single-step
| * 3df8a87394 x86/ioapic: Don't return 0 from arch_dynirq_lower_bound()
| * f25994f7a9 regulator: stm32-pwr: fix of_iomap leak
| * 16c7fcbfe0 media: venus: dec: Fix capture formats enumeration order
| * 1e229899e3 media: venus: dec: Fix handling of the start cmd
| * b21a9a57c7 media: rc: gpio-ir-recv: Fix support for wake-up
| * b75aaebac2 drm/amd/display: Fix potential null dereference
| * fd22e8c8c3 media: hi846: Fix memleak in hi846_init_controls()
| * 893b267ccc media: v4l: async: Return async sub-devices to subnotifier list
| * 45b7461d91 media: rcar_fdp1: Fix refcount leak in probe and remove function
| * affad9e791 media: platform: mtk-mdp3: fix potential frame size overflow in mdp_try_fmt_mplane()
| * 5a72aea9ac media: saa7134: fix use after free bug in saa7134_finidev due to race condition
| * 305262a23c media: dm1105: Fix use after free bug in dm1105_remove due to race condition
| * 1495945f7c platform/x86/amd: pmc: Move out of BIOS SMN pair for STB init
| * 1603a098b4 platform/x86/amd: pmc: Utilize SMN index 0 for driver probe
| * f82af0dd22 platform/x86/amd: pmc: Move idlemask check into `amd_pmc_idlemask_read`
| * 4e6c35193a platform/x86/amd: pmc: Don't dump data after resume from s0i3 on picasso
| * abfb0ff870 platform/x86/amd: pmc: Hide SMU version and program attributes for Picasso
| * d1dbf5b7ea platform/x86/amd: pmc: Don't try to read SMU version on Picasso
| * 1c1798c45b platform/x86/amd/pmf: Move out of BIOS SMN pair for driver probe
| * 6a17add9c6 media: rkvdec: fix use after free bug in rkvdec_remove
| * 2cdc8f729d media: cedrus: fix use after free bug in cedrus_remove due to race condition
| * 231a6947ff media: mediatek: vcodec: change lat thread decode error condition
| * b02cd74741 media: mediatek: vcodec: making sure queue_work successfully
| * 60fe2a3d6d media: mediatek: vcodec: remove unused lat_buf
| * 8be5ead0b3 media: mediatek: vcodec: add core decode done event
| * 894278b772 media: mediatek: vcodec: move lat_buf to the top of core list
| * f08900ca36 media: mediatek: vcodec: using each instance lat_buf count replace core ready list
| * 8aae2e6444 media: mediatek: vcodec: add params to record lat and core lat_buf count
| * 01dc8f41fc media: mediatek: vcodec: Force capture queue format to MM21
| * 4d5c8a8916 media: mediatek: vcodec: Make MM21 the default capture format
| * 5c4cc91b77 media: mediatek: vcodec: Use 4K frame size when supported by stateful decoder
| * 0333177548 arm64: dts: sc7280: Rename qspi data12 as data23
| * edbbd78148 arm64: dts: sc7180: Rename qspi data12 as data23
| * 39f6de10df arm64: dts: qcom: msm8994-angler: removed clash with smem_region
| * 57aa05d59b arm64: dts: qcom: msm8994-angler: Fix cont_splash_mem mapping
| * 7eaa457d1e x86/apic: Fix atomic update of offset in reserve_eilvt_offset()
| * 849ab4cf18 regulator: core: Avoid lockdep reports when resolving supplies
| * fd092b355a regulator: core: Consistently set mutex_owner when using ww_mutex_lock_slow()
| * d2151c5d9d drm/ttm/pool: Fix ttm_pool_alloc error path
| * 5e5a4185c6 drm/ttm: optimize pool allocations a bit v2
| * dfd1c26e40 arm64: dts: qcom: apq8096-db820c: drop unit address from PMI8994 regulator
| * 3a0c0f7c2f arm64: dts: qcom: msm8994-msft-lumia-octagon: drop unit address from PMI8994 regulator
| * 3c8cb6155a arm64: dts: qcom: msm8994-kitakami: drop unit address from PMI8994 regulator
| * f3694202d9 arm64: dts: qcom: sc7180-trogdor-pazquel: correct trackpad supply
| * f89b2591bb arm64: dts: qcom: sc7180-trogdor-lazor: correct trackpad supply
| * d7d13d353a arm64: dts: qcom: sc7280-herobrine-villager: correct trackpad supply
| * 958c6cbc32 gpu: host1x: Fix memory leak of device names
| * b81cfee967 gpu: host1x: Fix potential double free if IOMMU is disabled
| * 62cb9c468d soc: renesas: renesas-soc: Release 'chipid' from ioremap()
| * 724911eeae soc: bcm: brcmstb: biuctrl: fix of_iomap leak
| * 4cf71779ea mailbox: mpfs: switch to txdone_poll
| * 41a51318ab drm/mediatek: dp: Change the aux retries times when receiving AUX_DEFER
| * e80c69eb79 drm/lima/lima_drv: Add missing unwind goto in lima_pdev_probe()
| * a260921b81 ACPI: VIOT: Initialize the correct IOMMU fwspec
| * 1a258bfa00 arm64: dts: mediatek: mt8192-asurada: Fix voltage constraint for Vgpu
| * 82f6ffb8e0 cpufreq: qcom-cpufreq-hw: Revert adding cpufreq qos
| * 2e8aad9cd5 cpufreq: mediatek: Raise proc and sram max voltage for MT7622/7623
| * 9a5fa6333f cpufreq: mediatek: raise proc/sram max voltage for MT8516
| * 4bacdbd7d9 cpufreq: mediatek: fix KP caused by handler usage after regulator_put/clk_put
| * bd1c006872 cpufreq: mediatek: fix passing zero to 'PTR_ERR'
| * f977dbefea arm64: dts: apple: t8103: Disable unused PCIe ports
| * eb617ab023 ARM: dts: stm32: fix spi1 pin assignment on stm32mp15
| * 7ff92db0dd perf/arm-cmn: Move overlapping wp_combine field
| * 198ca89dea firmware: arm_scmi: Fix xfers allocation on Rx channel
| * da3babe96b ARM: dts: gta04: fix excess dma channel usage
| * fd67875eba drm: rcar-du: Fix a NULL vs IS_ERR() bug
| * 46a1c9ba90 arm64: dts: qcom: sm8450: fix pcie1 gpios properties name
| * 98893ae40b mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data
| * 1975bf0259 ACPI: processor: Fix evaluating _PDC method when running as Xen dom0
| * a24194121e drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings
| * acd8f2efa2 arm64: dts: qcom: sm8350-microsoft-surface: fix USB dual-role mode property
| * 577a64725b virt/coco/sev-guest: Double-buffer messages
| * 0289170151 drm: msm: adreno: Disable preemption on Adreno 510
| * a8d2b46954 drm/msm/adreno: drop bogus pm_runtime_set_active()
| * a9b3ef13eb arm64: dts: ti: k3-am62a7: Correct L2 cache size to 512KB
| * fe9dc0a264 arm64: dts: ti: k3-am625: Correct L2 cache size to 512KB
| * 1e9fc6c473 media: max9286: Free control handler
| * 052d22acd7 drm/bridge: adv7533: Fix adv7533_mode_valid for adv7533 and adv7535
| * 1f141fe515 firmware: qcom_scm: Clear download bit during reboot
| * 423350af9e media: av7110: prevent underflow in write_ts_to_decoder()
| * 0883003ffb media: amphion: decoder implement display delay enable
| * 51fc1880e4 media: platform: mtk-mdp3: Add missing check and free for ida_alloc
| * c2e5548173 media: bdisp: Add missing check for create_workqueue
| * ba8ffb1251 x86/MCE/AMD: Use an u64 for bank_map
| * c0a8025c74 ARM: dts: qcom: sdx55: Fix the unit address of PCIe EP node
| * 2b5325f9cc ARM: dts: qcom: ipq8064: Fix the PCI I/O port range
| * 2ebb3f120e ARM: dts: qcom: ipq4019: Fix the PCI I/O port range
| * 671c3a4d7d arm64: dts: qcom: sm8450: Fix the PCI I/O port range
| * 5334324f09 arm64: dts: qcom: sm8150: Fix the PCI I/O port range
| * be81014936 arm64: dts: qcom: sm8250: Fix the PCI I/O port range
| * 87397ffbc9 arm64: dts: qcom: msm8996: Fix the PCI I/O port range
| * c8178285ba arm64: dts: qcom: ipq6018: Fix the PCI I/O port range
| * 7803b357d9 arm64: dts: qcom: ipq8074: Fix the PCI I/O port range
| * ec67a4ef28 arm64: dts: qcom: sc7280: Fix the PCI I/O port range
| * a35d6fdd7f arm64: dts: qcom: msm8998: Fix the PCI I/O port range
| * 6035794dd2 arm64: dts: qcom: sdm845: Fix the PCI I/O port range
| * 44018ad5f2 arm64: dts: qcom: sdm845: correct dynamic power coefficients
| * 7cb0802954 arm64: dts: qcom: sc7280: fix EUD port properties
| * bd90d249bc arm64: dts: qcom: msm8998: Fix stm-stimulus-base reg name
| * 6c6a69f822 arm64: dts: broadcom: bcmbca: bcm4908: fix procmon nodename
| * 1be866857a arm64: dts: broadcom: bcmbca: bcm4908: fix LED nodenames
| * c0454f814b arm64: dts: broadcom: bcmbca: bcm4908: fix NAND interrupt name
| * 93c22d107a arm64: dts: ti: k3-j721e-main: Remove ti,strobe-sel property
| * 5ea54b26d6 arm64: dts: ti: k3-am62a7-sk: Fix DDR size to full 4GB
| * 5d77e665ee arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT
| * d585d1072e regulator: core: Shorten off-on-delay-us for always-on/boot-on by time since booted
| * 36ecd6c6ed ARM: dts: qcom-apq8064: Fix opp table child name
| * 6006310a47 EDAC/skx: Fix overflows on the DRAM row address mapping arrays
| * 2c8c8398e1 drm/msm/disp/dpu: check for crtc enable rather than crtc active to release shared resources
| * 6524d3d587 drm/mediatek: dp: Only trigger DRM HPD events if bridge is attached
| * 6fcfd2861f arm64: dts: renesas: r9a07g043: Update IRQ numbers for SSI channels
| * 14c480b2f3 arm64: dts: renesas: r9a07g043: Introduce SOC_PERIPHERAL_IRQ() macro to specify interrupt property
| * e83e635bec arm64: dts: renesas: r9a07g054: Update IRQ numbers for SSI channels
| * 684fecd4f3 arm64: dts: renesas: r9a07g044: Update IRQ numbers for SSI channels
| * dc062516db arm64: dts: renesas: r8a774c0: Remove bogus voltages from OPP table
| * c82f50e55f arm64: dts: renesas: r8a77990: Remove bogus voltages from OPP table
| * 6dbcc493a1 soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe
| * f5222fbd79 tools/x86/kcpuid: Fix avx512bw and avx512lvl fields in Fn00000007
| * 78e32896ec drm/amdgpu: register a vga_switcheroo client for MacBooks with apple-gmux
| * 809a3fb8d8 drm/probe-helper: Cancel previous job before starting new one
| * 6bd38a1454 drm/vgem: add missing mutex_destroy
| * 46473f3bd1 drm/i915/dg2: Drop one PCI ID
| * 86a77cef09 drm/rockchip: Drop unbalanced obj unref
| * 0955b8eac3 erofs: fix potential overflow calculating xattr_isize
| * 50f1c1fba0 erofs: initialize packed inode after root inode is assigned
| * 7ee7a86e28 erofs: stop parsing non-compact HEAD index if clusterofs is invalid
| * fe2f093b05 tpm, tpm_tis: Claim locality when interrupts are reenabled on resume
| * 380f9f79b4 tpm, tpm: Implement usage counter for locality
| * 71becf3ffe tpm, tpm_tis: Claim locality before writing interrupt registers
| * 0085052a2c tpm, tpm_tis: Disable interrupts if tpm_tis_probe_irq() failed
| * 10eea3cfda tpm, tpm_tis: Claim locality before writing TPM_INT_ENABLE register
| * 12839c326a tpm, tpm_tis: Do not skip reset of original interrupt vector
| * 784c206c66 selinux: ensure av_permissions.h is built when needed
| * 5453f22911 selinux: fix Makefile dependencies of flask.h
| * 74f77a799d selftests/resctrl: Check for return value after write_schemata()
| * bceef0c7f6 selftests/resctrl: Allow ->setup() to return errors
| * 7a570dda1d selftests/resctrl: Move ->setup() call outside of test specific branches
| * 0bf90aac43 selftests/resctrl: Return NULL if malloc_and_init_memory() did not alloc mem
| * ae6803b663 rcu: Fix missing TICK_DEP_MASK_RCU_EXP dependency check
| * 05f437eba0 kunit: fix bug in the order of lines in debugfs logs
| * 9ad3b38677 kunit: improve KTAP compliance of KUnit test output
| * d0e2f01b53 ASoC: dt-bindings: qcom,lpass-rx-macro: correct minItems for clocks
| * a2cbb1a45a bus: mhi: host: Range check CHDBOFF and ERDBOFF
| * 4afe300afb bus: mhi: host: Use mhi_tryset_pm_state() for setting fw error state
| * cc3e7c0333 bus: mhi: host: Remove duplicate ee check for syserr
| * a6f5c84b41 cxl/hdm: Fail upon detecting 0-sized decoders
| * 0ae98a8b4f xfs: don't consider future format versions valid
| * 2b2515b809 ceph: fix potential use-after-free bug when trimming caps
| * 9f565752b3 ubifs: Fix memory leak in do_rename
| * 29738e1bcc ubifs: Free memory for tmpfile name
| * 884e961674 ubi: Fix return value overwrite issue in try_write_vid_and_data()
| * ef9aac6036 ubifs: Fix memleak when insert_old_idx() failed
| * 18c2346856 Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
| * ccfe866220 RISC-V: Align SBI probe implementation with spec
| * f8076d2a7f iommu/amd: Fix "Guest Virtual APIC Table Root Pointer" configuration in IRTE
| * f455c9cb9e drm/amd/pm: re-enable the gfx imu when smu resume
| * d78777c1d4 swsmu/amdgpu_smu: Fix the wrong if-condition
| * d79d3430e1 tracing: Fix permissions for the buffer_percent file
| * 339dd534f2 riscv: mm: remove redundant parameter of create_fdt_early_page_table
| * 3c96dd239a i2c: omap: Fix standard mode false ACK readings
| * 142a975738 ACPI: video: Remove acpi_backlight=video quirk for Lenovo ThinkPad W530
| * 18973b73fa ksmbd: fix deadlock in ksmbd_find_crypto_ctx()
| * 1f04905865 ksmbd: not allow guest user on multichannel
| * c3a3259675 ksmbd: fix memleak in session setup
| * a70751dd7b ksmbd: fix NULL pointer dereference in smb2_get_info_filesystem()
| * b80422474f ksmbd: call rcu_barrier() in ksmbd_server_exit()
| * bd80d35725 ksmbd: fix racy issue under cocurrent smb2 tree disconnect
| * cec378687a KVM: RISC-V: Retry fault if vma_lookup() results become invalid
| * e43cf7abec drm/amd/display: fix a divided-by-zero error
| * 09c41688b6 drm/amd/display: fix PSR-SU/DSC interoperability support
| * 2abff94db2 drm/amd/display: limit timing for single dimm memory
| * 5e1574aa06 drm/amd/display: Remove stutter only configurations
| * f6ee841ff2 relayfs: fix out-of-bounds access in relay_file_read
| * 5bd77c2393 KVM: arm64: vgic: Don't acquire its_lock before config_lock
| * 569f33c3c2 KVM: arm64: Use config_lock to protect vgic state
| * 2b57af7bb9 KVM: arm64: Use config_lock to protect data ordered against KVM_RUN
| * 6c9d3f2a5e KVM: arm64: Avoid lock inversion when setting the VM register width
| * 36e0c405b8 KVM: arm64: Avoid vcpu->mutex v. kvm->lock inversion in CPU_ON
| * f01c5f1ae9 KVM: nVMX: Emulate NOPs in L2, and PAUSE if it's not intercepted
| * eae127cd2c reiserfs: Add security prefix to xattr name in reiserfs_security_write()
| * c8a3341b33 rcu: Avoid stack overflow due to __rcu_irq_enter_check_tick() being kprobe-ed
| * c0bf94154c crypto: ccp - Don't initialize CCP for PSP 0x1649
| * b952a9cf3d crypto: arm64/aes-neonbs - fix crash with CFI enabled
| * 4d9d2fd867 crypto: safexcel - Cleanup ring IRQ workqueues on load failure
| * 42ca037d0c crypto: api - Demote BUG_ON() in crypto_unregister_alg() to a WARN_ON()
| * d9834abd8b ring-buffer: Sync IRQ works before buffer destruction
| * ad7cc2a29e ring-buffer: Ensure proper resetting of atomic variables in ring_buffer_reset_online_cpus
| * cb99866895 pinctrl: qcom: lpass-lpi: set output value before enabling output
| * 956bbf1871 soundwire: qcom: correct setting ignore bit on v1.5.1
| * c2c563c137 pwm: meson: Fix g12a ao clk81 name
| * f7e930b179 pwm: meson: Fix axg ao mux parents
| * 1b0341e8fb wifi: mt76: add missing locking to protect against concurrent rx/status calls
| * b9f6845a49 kheaders: Use array declaration instead of char
| * 9fd4768b09 iio: addac: stx104: Fix race condition for stx104_write_raw()
| * c38a4eb8aa iio: addac: stx104: Fix race condition when converting analog-to-digital
| * 44847a506e ipmi: fix SSIF not responding under certain cond.
| * aeff5808f1 ipmi:ssif: Add send_retries increment
| * a6b54af407 MIPS: fw: Allow firmware to pass a empty env
| * 7f3340bf06 fs: fix sysctls.c built
| * 3e7b8a723b tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem
| * c94e5baa98 serial: max310x: fix IO data corruption in batched operations
| * 65fdabefd9 serial: 8250: Fix serial8250_tx_empty() race with DMA Tx
| * 719a2f969b serial: fix TIOCSRS485 locking
| * 27df5bca96 xhci: fix debugfs register accesses while suspended
| * 7fb0b81e85 tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH
| * ad44530d46 staging: iio: resolver: ads1210: fix config mode
| * 64ef787bb1 blk-crypto: make blk_crypto_evict_key() more robust
| * 26632a5382 blk-crypto: make blk_crypto_evict_key() return void
| * 7d206ec7a0 blk-mq: release crypto keyslot before reporting I/O complete
| * 3b5fbb8219 blk-crypto: Add a missing include directive
| * 5ca1668a9f blk-crypto: move internal only declarations to blk-crypto-internal.h
| * 3aab3abb85 blk-crypto: add a blk_crypto_config_supported_natively helper
| * f0efb23651 blk-crypto: don't use struct request_queue for public interfaces
| * 316ad076e0 blk-stat: fix QUEUE_FLAG_STATS clear
| * 3285613127 media: ov8856: Do not check for for module version
| * bccf9fe296 posix-cpu-timers: Implement the missing timer_wait_running callback
| * 1408d27f25 tpm: Add !tpm_amd_is_rng_defective() to the hwrng_unregister() call site
| * ee508dfbaf hwmon: (adt7475) Use device_property APIs when configuring polarity
| * d899ae3e76 hwmon: (k10temp) Check range scale when CUR_TEMP register is read-write
| * 986bd947bc USB: dwc3: fix runtime pm imbalance on unbind
| * d4b1e04d27 USB: dwc3: fix runtime pm imbalance on probe errors
| * befdcb8e88 usb: dwc3: gadget: Stall and restart EP0 if host is unresponsive
| * 491d32c896 usb: gadget: udc: core: Prevent redundant calls to pullup
| * f6aaeacf05 usb: gadget: udc: core: Invoke usb_gadget_connect only when started
| * 5b6c295947 IMA: allow/fix UML builds
| * 38a42842a6 phy: qcom-qmp-pcie: sc8180x PCIe PHY has 2 lanes
| * 5c274804e2 PCI: qcom: Fix the incorrect register usage in v2.7.0 config
| * 58e56aa838 PCI: pciehp: Fix AB-BA deadlock between reset_lock and device_lock
| * a071769560 PCI: kirin: Select REGMAP_MMIO
| * 6e5bf8c9f7 powerpc/boot: Fix boot wrapper code generation with CONFIG_POWER10_CPU
| * 4403c7b7e5 arm64: Stash shadow stack pointer in the task struct on interrupt
| * 2dd0f8994d arm64: Always load shadow stack pointer directly from the task struct
| * 06003e3975 ASoC: amd: ps: update the acp clock source.
| * f9dc736e68 ASoC: amd: fix ACP version typo mistake
| * f66cd99959 wifi: mt76: mt7921e: Set memory space enable in PCI_COMMAND if unset
| * 24d158856c wireguard: timers: cast enum limits members to int in prints
| * 103f618cee x86/cpu: Add model number for Intel Arrow Lake processor
| * 88b9e97c14 asm-generic/io.h: suppress endianness warnings for readq() and writeq()
| * 5ded8299b7 tracing: Error if a trace event has an array for a __field()
| * 324b854ce4 wifi: ath11k: reduce the MHI timeout to 20s
| * cde9040428 platform/x86: thinkpad_acpi: Add missing T14s Gen1 type to s2idle quirk list
| * 7e26bfb49d net: sfp: add quirk enabling 2500Base-x for HG MXPD-483II
| * 388764ea64 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
| * 0ac10535ae selftests mount: Fix mount_setattr_test builds failed
| * ec6f22171d net: wwan: t7xx: do not compile with -Werror
| * c58f26bdee ASoC: da7213.c: add missing pm_runtime_disable()
| * e373f76e20 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer Iconia One 7 B1-750
| * 372bec6747 iio: adc: palmas_gpadc: fix NULL dereference on rmmod
| * c81f5c8b8c ASoC: amd: yc: Add DMI entries to support Victus by HP Laptop 16-e1xxx (8A22)
| * 32aae78314 x86/hyperv: Block root partition functionality in a Confidential VM
| * 5c7648e96d ASoC: soc-pcm: fix hw->formats cleared by soc_pcm_hw_init() for dpcm
| * a89c7b86b5 ASoC: Intel: soc-acpi: add table for Intel 'Rooks County' NUC M15
| * 4f7b42a9bf ASOC: Intel: sof_sdw: add quirk for Intel 'Rooks County' NUC M15
* | 473e97f66c ANDROID: add Android KABI build files to root .gitignore file
* | db91e7bd8c ANDROID: add more gki_module headers to .gitignore file
* | 9fcc8018f0 Merge 6.1.27 into android14-6.1-lts
|\|
| * ca48fc16c4 Linux 6.1.27
| * 0bbec73fdd riscv: No need to relocate the dtb as it lies in the fixmap region
| * 17509e73ac riscv: Do not set initial_boot_params to the linear address of the dtb
| * ed96b31435 riscv: Move early dtb mapping into the fixmap region
| * 7cb8c95c0a driver core: Don't require dynamic_debug for initcall_debug probe timing
| * ce0555352a USB: serial: option: add UNISOC vendor and TOZED LT70C product
| * 17e5ce4d89 btrfs: fix uninitialized variable warnings
| * 47e6893a5b bluetooth: Perform careful capability checks in hci_sock_ioctl()
| * c4acbf3761 gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU
| * d27acf15c8 drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
| * e29661611e wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()
| * 34cec5cd7a mptcp: fix accept vs worker race
| * b45d8f5375 mptcp: stops worker on unaccepted sockets at listener close
| * 862ea63fad mm/mempolicy: fix use-after-free of VMA iterator
| * e1562cc202 KVM: arm64: Retry fault if vma_lookup() results become invalid
| * d70f63be62 phy: phy-brcm-usb: Utilize platform_get_irq_byname_optional()
| * 7d057bf201 um: Only disable SSE on clang to work around old GCC bugs
* | da95c44967 Merge branch android14-6.1 into android14-6.1-lts
* | b6c9bd5fa6 Merge 6.1.26 into android14-6.1-lts
|/
* ca1c9012c9 Linux 6.1.26
* ab91b09f39 ASN.1: Fix check for strdup() success
* 1831d8cbae ASoC: fsl_sai: Fix pins setting for i.MX8QM platform
* 6cb818ed5f ASoC: fsl_asrc_dma: fix potential null-ptr-deref
* 7a6593b5d7 ASoC: SOF: pm: Tear down pipelines only if DSP was active
* b528537d13 mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock
* 71b6df69f1 fpga: bridge: properly initialize bridge device before populating children
* f8c3eb751a iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
* 342c1db4fa Input: pegasus-notetaker - check pipe type when probing
* a93c20f583 gcc: disable '-Warray-bounds' for gcc-13 too
* a09b9383b7 sctp: Call inet6_destroy_sock() via sk->sk_destruct().
* a530b33fe9 dccp: Call inet6_destroy_sock() via sk->sk_destruct().
* a8cf114105 inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().
* 588d682251 purgatory: fix disabling debug info
* 7ca973d830 fuse: always revalidate rename target dentry
* f9a20ef5e8 MIPS: Define RUNTIME_DISCARD_EXIT in LD script
* 8d6a870a42 KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()
* 9e7976c0cd KVM: arm64: Make vcpu flag updates non-preemptible
* d362a03d92 sched/fair: Fixes for capacity inversion detection
* 799c7301de sched/fair: Consider capacity inversion in util_fits_cpu()
* fe1c982958 sched/fair: Detect capacity inversion
* 7e6631f782 mm/mmap: regression fix for unmapped_area{_topdown}
* 059f24aff6 mm: page_alloc: skip regions with hugetlbfs pages when allocating 1G pages
* bd6f3421a5 mm: kmsan: handle alloc failures in kmsan_vmap_pages_range_noflush()
* 433a7ecaed mm: kmsan: handle alloc failures in kmsan_ioremap_page_range()
* e8a7bdb6f7 mm/huge_memory.c: warn with pr_warn_ratelimited instead of VM_WARN_ON_ONCE_FOLIO
* 519dbe737f mm/khugepaged: check again on anon uffd-wp during isolation
* cc647e05db mm/userfaultfd: fix uffd-wp handling for THP migration entries

Change-Id: I350bd9237fc904298f9b2c6756a227389bcf722e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-10-26 17:34:36 +00:00
Sean Christopherson
ea0e047309 KVM: x86/mmu: Stop zapping invalidated TDP MMU roots asynchronously
commit 0df9dab891ff0d9b646d82e4fe038229e4c02451 upstream.

Stop zapping invalidate TDP MMU roots via work queue now that KVM
preserves TDP MMU roots until they are explicitly invalidated.  Zapping
roots asynchronously was effectively a workaround to avoid stalling a vCPU
for an extended during if a vCPU unloaded a root, which at the time
happened whenever the guest toggled CR0.WP (a frequent operation for some
guest kernels).

While a clever hack, zapping roots via an unbound worker had subtle,
unintended consequences on host scheduling, especially when zapping
multiple roots, e.g. as part of a memslot.  Because the work of zapping a
root is no longer bound to the task that initiated the zap, things like
the CPU affinity and priority of the original task get lost.  Losing the
affinity and priority can be especially problematic if unbound workqueues
aren't affined to a small number of CPUs, as zapping multiple roots can
cause KVM to heavily utilize the majority of CPUs in the system, *beyond*
the CPUs KVM is already using to run vCPUs.

When deleting a memslot via KVM_SET_USER_MEMORY_REGION, the async root
zap can result in KVM occupying all logical CPUs for ~8ms, and result in
high priority tasks not being scheduled in in a timely manner.  In v5.15,
which doesn't preserve unloaded roots, the issues were even more noticeable
as KVM would zap roots more frequently and could occupy all CPUs for 50ms+.

Consuming all CPUs for an extended duration can lead to significant jitter
throughout the system, e.g. on ChromeOS with virtio-gpu, deleting memslots
is a semi-frequent operation as memslots are deleted and recreated with
different host virtual addresses to react to host GPU drivers allocating
and freeing GPU blobs.  On ChromeOS, the jitter manifests as audio blips
during games due to the audio server's tasks not getting scheduled in
promptly, despite the tasks having a high realtime priority.

Deleting memslots isn't exactly a fast path and should be avoided when
possible, and ChromeOS is working towards utilizing MAP_FIXED to avoid the
memslot shenanigans, but KVM is squarely in the wrong.  Not to mention
that removing the async zapping eliminates a non-trivial amount of
complexity.

Note, one of the subtle behaviors hidden behind the async zapping is that
KVM would zap invalidated roots only once (ignoring partial zaps from
things like mmu_notifier events).  Preserve this behavior by adding a flag
to identify roots that are scheduled to be zapped versus roots that have
already been zapped but not yet freed.

Add a comment calling out why kvm_tdp_mmu_invalidate_all_roots() can
encounter invalid roots, as it's not at all obvious why zapping
invalidated roots shouldn't simply zap all invalid roots.

Reported-by: Pattara Teerapong <pteerapong@google.com>
Cc: David Stevens <stevensd@google.com>
Cc: Yiwei Zhang<zzyiwei@google.com>
Cc: Paul Hsia <paulhsia@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230916003916.2545000-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: David Matlack <dmatlack@google.com>
Tested-by: David Matlack <dmatlack@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 12:03:14 +02:00
Maxim Levitsky
a556a0df8d x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
commit 3fdc6087df3be73a212a81ce5dd6516638568806 upstream.

svm_leave_nested() similar to a nested VM exit, get the vCPU out of nested
mode and thus should end the local inhibition of AVIC on this vCPU.

Failure to do so, can lead to hangs on guest reboot.

Raise the KVM_REQ_APICV_UPDATE request to refresh the AVIC state of the
current vCPU in this case.

Fixes: f44509f849 ("KVM: x86: SVM: allow AVIC to co-exist with a nested guest running")
Cc: stable@vger.kernel.org
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230928173354.217464-4-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 12:03:04 +02:00
Maxim Levitsky
54f030271d x86: KVM: SVM: add support for Invalid IPI Vector interception
commit 2dcf37abf9d3aab7f975002d29fc7c17272def38 upstream.

In later revisions of AMD's APM, there is a new 'incomplete IPI' exit code:

"Invalid IPI Vector - The vector for the specified IPI was set to an
illegal value (VEC < 16)"

Note that tests on Zen2 machine show that this VM exit doesn't happen and
instead AVIC just does nothing.

Add support for this exit code by doing nothing, instead of filling
the kernel log with errors.

Also replace an unthrottled 'pr_err()' if another unknown incomplete
IPI exit happens with vcpu_unimpl()

(e.g in case AMD adds yet another 'Invalid IPI' exit reason)

Cc: <stable@vger.kernel.org>
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230928173354.217464-3-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 12:03:04 +02:00
Sean Christopherson
482565df35 KVM: x86: Constrain guest-supported xfeatures only at KVM_GET_XSAVE{2}
commit 8647c52e9504c99752a39f1d44f6268f82c40a5c upstream.

Mask off xfeatures that aren't exposed to the guest only when saving guest
state via KVM_GET_XSAVE{2} instead of modifying user_xfeatures directly.
Preserving the maximal set of xfeatures in user_xfeatures restores KVM's
ABI for KVM_SET_XSAVE, which prior to commit ad856280dd ("x86/kvm/fpu:
Limit guest user_xfeatures to supported bits of XCR0") allowed userspace
to load xfeatures that are supported by the host, irrespective of what
xfeatures are exposed to the guest.

There is no known use case where userspace *intentionally* loads xfeatures
that aren't exposed to the guest, but the bug fixed by commit ad856280dd
was specifically that KVM_GET_SAVE{2} would save xfeatures that weren't
exposed to the guest, e.g. would lead to userspace unintentionally loading
guest-unsupported xfeatures when live migrating a VM.

Restricting KVM_SET_XSAVE to guest-supported xfeatures is especially
problematic for QEMU-based setups, as QEMU has a bug where instead of
terminating the VM if KVM_SET_XSAVE fails, QEMU instead simply stops
loading guest state, i.e. resumes the guest after live migration with
incomplete guest state, and ultimately results in guest data corruption.

Note, letting userspace restore all host-supported xfeatures does not fix
setups where a VM is migrated from a host *without* commit ad856280dd,
to a target with a subset of host-supported xfeatures.  However there is
no way to safely address that scenario, e.g. KVM could silently drop the
unsupported features, but that would be a clear violation of KVM's ABI and
so would require userspace to opt-in, at which point userspace could
simply be updated to sanitize the to-be-loaded XSAVE state.

Reported-by: Tyler Stachecki <stachecki.tyler@gmail.com>
Closes: https://lore.kernel.org/all/20230914010003.358162-1-tstachecki@bloomberg.net
Fixes: ad856280dd ("x86/kvm/fpu: Limit guest user_xfeatures to supported bits of XCR0")
Cc: stable@vger.kernel.org
Cc: Leonardo Bras <leobras@redhat.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Message-Id: <20230928001956.924301-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 12:03:04 +02:00
Sean Christopherson
20695711e2 x86/fpu: Allow caller to constrain xfeatures when copying to uabi buffer
commit 18164f66e6c59fda15c198b371fa008431efdb22 upstream.

Plumb an xfeatures mask into __copy_xstate_to_uabi_buf() so that KVM can
constrain which xfeatures are saved into the userspace buffer without
having to modify the user_xfeatures field in KVM's guest_fpu state.

KVM's ABI for KVM_GET_XSAVE{2} is that features that are not exposed to
guest must not show up in the effective xstate_bv field of the buffer.
Saving only the guest-supported xfeatures allows userspace to load the
saved state on a different host with a fewer xfeatures, so long as the
target host supports the xfeatures that are exposed to the guest.

KVM currently sets user_xfeatures directly to restrict KVM_GET_XSAVE{2} to
the set of guest-supported xfeatures, but doing so broke KVM's historical
ABI for KVM_SET_XSAVE, which allows userspace to load any xfeatures that
are supported by the *host*.

Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230928001956.924301-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 12:03:04 +02:00
Joerg Roedel
57d0639f60 x86/sev: Check for user-space IOIO pointing to kernel space
Upstream commit: 63e44bc52047f182601e7817da969a105aa1f721

Check the memory operand of INS/OUTS before emulating the instruction.
The #VC exception can get raised from user-space, but the memory operand
can be manipulated to access kernel memory before the emulation actually
begins and after the exception handler has run.

  [ bp: Massage commit message. ]

Fixes: 597cfe4821 ("x86/boot/compressed/64: Setup a GHCB-based VC Exception handler")
Reported-by: Tom Dohrmann <erbse.13@gmx.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 12:03:04 +02:00
Joerg Roedel
def94eb9a8 x86/sev: Check IOBM for IOIO exceptions from user-space
Upstream commit: b9cb9c45583b911e0db71d09caa6b56469eb2bdf

Check the IO permission bitmap (if present) before emulating IOIO #VC
exceptions for user-space. These permissions are checked by hardware
already before the #VC is raised, but due to the VC-handler decoding
race it needs to be checked again in software.

Fixes: 25189d08e5 ("x86/sev-es: Add support for handling IOIO exceptions")
Reported-by: Tom Dohrmann <erbse.13@gmx.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Tom Dohrmann <erbse.13@gmx.de>
Cc: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 12:03:04 +02:00
Borislav Petkov (AMD)
95ff590b80 x86/sev: Disable MMIO emulation from user mode
Upstream commit: a37cd2a59d0cb270b1bba568fd3a3b8668b9d3ba

A virt scenario can be constructed where MMIO memory can be user memory.
When that happens, a race condition opens between when the hardware
raises the #VC and when the #VC handler gets to emulate the instruction.

If the MOVS is replaced with a MOVS accessing kernel memory in that
small race window, then write to kernel memory happens as the access
checks are not done at emulation time.

Disable MMIO emulation in user mode temporarily until a sensible use
case appears and justifies properly handling the race window.

Fixes: 0118b604c2 ("x86/sev-es: Handle MMIO String Instructions")
Reported-by: Tom Dohrmann <erbse.13@gmx.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Tom Dohrmann <erbse.13@gmx.de>
Cc: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 12:03:04 +02:00
Jim Mattson
19ffa9b251 KVM: x86: Mask LVTPC when handling a PMI
commit a16eb25b09c02a54c1c1b449d4b6cfa2cf3f013a upstream.

Per the SDM, "When the local APIC handles a performance-monitoring
counters interrupt, it automatically sets the mask flag in the LVT
performance counter register."  Add this behavior to KVM's local APIC
emulation.

Failure to mask the LVTPC entry results in spurious PMIs, e.g. when
running Linux as a guest, PMI handlers that do a "late_ack" spew a large
number of "dazed and confused" spurious NMI warnings.

Fixes: f5132b0138 ("KVM: Expose a version 2 architectural PMU to a guests")
Cc: stable@vger.kernel.org
Signed-off-by: Jim Mattson <jmattson@google.com>
Tested-by: Mingwei Zhang <mizhang@google.com>
Signed-off-by: Mingwei Zhang <mizhang@google.com>
Link: https://lore.kernel.org/r/20230925173448.3518223-3-mizhang@google.com
[sean: massage changelog, correct Fixes]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-25 12:03:04 +02:00
Kirill A. Shutemov
5b784489c8 x86/alternatives: Disable KASAN in apply_alternatives()
commit d35652a5fc9944784f6f50a5c979518ff8dacf61 upstream.

Fei has reported that KASAN triggers during apply_alternatives() on
a 5-level paging machine:

	BUG: KASAN: out-of-bounds in rcu_is_watching()
	Read of size 4 at addr ff110003ee6419a0 by task swapper/0/0
	...
	__asan_load4()
	rcu_is_watching()
	trace_hardirqs_on()
	text_poke_early()
	apply_alternatives()
	...

On machines with 5-level paging, cpu_feature_enabled(X86_FEATURE_LA57)
gets patched. It includes KASAN code, where KASAN_SHADOW_START depends on
__VIRTUAL_MASK_SHIFT, which is defined with cpu_feature_enabled().

KASAN gets confused when apply_alternatives() patches the
KASAN_SHADOW_START users. A test patch that makes KASAN_SHADOW_START
static, by replacing __VIRTUAL_MASK_SHIFT with 56, works around the issue.

Fix it for real by disabling KASAN while the kernel is patching alternatives.

[ mingo: updated the changelog ]

Fixes: 6657fca06e ("x86/mm: Allow to boot without LA57 if CONFIG_X86_5LEVEL=y")
Reported-by: Fei Yang <fei.yang@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20231012100424.1456-1-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-19 23:08:58 +02:00
Borislav Petkov (AMD)
125f495fa6 x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
commit f454b18e07f518bcd0c05af17a2239138bff52de upstream.

Fix erratum #1485 on Zen4 parts where running with STIBP disabled can
cause an #UD exception. The performance impact of the fix is negligible.

Reported-by: René Rebe <rene@exactcode.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: René Rebe <rene@exactcode.de>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/r/D99589F4-BC5D-430B-87B2-72C20370CF57@exactcode.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-19 23:08:56 +02:00
JP Kobryn
3863989497 perf/x86/lbr: Filter vsyscall addresses
commit e53899771a02f798d436655efbd9d4b46c0f9265 upstream.

We found that a panic can occur when a vsyscall is made while LBR sampling
is active. If the vsyscall is interrupted (NMI) for perf sampling, this
call sequence can occur (most recent at top):

    __insn_get_emulate_prefix()
    insn_get_emulate_prefix()
    insn_get_prefixes()
    insn_get_opcode()
    decode_branch_type()
    get_branch_type()
    intel_pmu_lbr_filter()
    intel_pmu_handle_irq()
    perf_event_nmi_handler()

Within __insn_get_emulate_prefix() at frame 0, a macro is called:

    peek_nbyte_next(insn_byte_t, insn, i)

Within this macro, this dereference occurs:

    (insn)->next_byte

Inspecting registers at this point, the value of the next_byte field is the
address of the vsyscall made, for example the location of the vsyscall
version of gettimeofday() at 0xffffffffff600000. The access to an address
in the vsyscall region will trigger an oops due to an unhandled page fault.

To fix the bug, filtering for vsyscalls can be done when
determining the branch type. This patch will return
a "none" branch if a kernel address if found to lie in the
vsyscall region.

Suggested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: JP Kobryn <inwardvessel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-19 23:08:56 +02:00
Greg Kroah-Hartman
4f94769349 This is the 6.1.54 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmUJd8EACgkQONu9yGCS
 aT7crQ//ZsUDeoTMsQBU6lB2g32LODO3jVPXdGdRjLvpLVMMnKXXwl3uTC20CQ23
 mtlN1mku6OtyPHgorKK9nJoNVTG78v0wXL8iCe5GHEKri45FwmcKlCxtIqboGCcg
 bpRkLqfZ/cNVFeV/81n7kMFI/GHST2qym/lJfUkK0BIewXOrJozHMyCriLhG5uc/
 XPmXN3LlGmT7Gb2KwJeAgJ9IWrVu5ZEWH6CnpjnLPXMA3FGJiBiYPeGaWRsrdjth
 MvACPXKPu5tKAmEs6eyAhB1YbXbswKviDuY+YHeTMoOVYCfJY29VQTI16F6HBGeM
 XVCo1AovZV+B9OrgnzYA8x5iZIKCdk/PzUhBi+uUb3nLJhGpD8ha7wOuBjehINeo
 22YY+7fmB7lZVSAe14hDH7GjKNdYpxntPVpWCMa1yoCUtqKB1O44/10mj0OjZ5j4
 EXKXIe6ho+0Uatubd+3hWRXimz4jzlp7UY1QM9ge5MGp0wOmdLu5Q91T70CrCEJO
 RxXZSkHDKGxokXubl4oF0bYYpB1kRVgsNEc4H5i2k+OheyDBmVv3vRPMzT/2yim/
 BEqwX6x2sE7kvbsyCO5VxIIVsnAystJEKzdVlRxmrcqkV0FCdqHjwZ9cr0mpqOse
 ogdnQgXQpaGUyhdYcpo4U9f+WGi5AHXs3IMbKQN4SDZGDgJHrss=
 =XhWe
 -----END PGP SIGNATURE-----

Merge 6.1.54 into android14-6.1-lts

Changes in 6.1.54
	net/ipv6: SKB symmetric hash should incorporate transport ports
	mm: multi-gen LRU: rename lrugen->lists[] to lrugen->folios[]
	Multi-gen LRU: fix per-zone reclaim
	io_uring: always lock in io_apoll_task_func
	io_uring: revert "io_uring fix multishot accept ordering"
	io_uring/net: don't overflow multishot accept
	io_uring: break out of iowq iopoll on teardown
	io_uring/sqpoll: fix io-wq affinity when IORING_SETUP_SQPOLL is used
	io_uring: Don't set affinity on a dying sqpoll thread
	drm/virtio: Conditionally allocate virtio_gpu_fence
	scsi: qla2xxx: Adjust IOCB resource on qpair create
	scsi: qla2xxx: Limit TMF to 8 per function
	scsi: qla2xxx: Fix deletion race condition
	scsi: qla2xxx: fix inconsistent TMF timeout
	scsi: qla2xxx: Fix command flush during TMF
	scsi: qla2xxx: Fix erroneous link up failure
	scsi: qla2xxx: Turn off noisy message log
	scsi: qla2xxx: Fix session hang in gnl
	scsi: qla2xxx: Fix TMF leak through
	scsi: qla2xxx: Remove unsupported ql2xenabledif option
	scsi: qla2xxx: Flush mailbox commands on chip reset
	scsi: qla2xxx: Fix smatch warn for qla_init_iocb_limit()
	scsi: qla2xxx: Error code did not return to upper layer
	scsi: qla2xxx: Fix firmware resource tracking
	null_blk: fix poll request timeout handling
	fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
	clk: qcom: camcc-sc7180: fix async resume during probe
	drm/ast: Fix DRAM init on AST2200
	ASoC: tegra: Fix SFC conversion for few rates
	clk: qcom: turingcc-qcs404: fix missing resume during probe
	arm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos
	send channel sequence number in SMB3 requests after reconnects
	memcg: drop kmem.limit_in_bytes
	mm: hugetlb_vmemmap: fix a race between vmemmap pmd split
	lib/test_meminit: allocate pages up to order MAX_ORDER
	parisc: led: Fix LAN receive and transmit LEDs
	parisc: led: Reduce CPU overhead for disk & lan LED computation
	cifs: update desired access while requesting for directory lease
	pinctrl: cherryview: fix address_space_handler() argument
	dt-bindings: clock: xlnx,versal-clk: drop select:false
	clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz
	clk: imx: pll14xx: align pdiv with reference manual
	clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
	soc: qcom: qmi_encdec: Restrict string length in decode
	clk: qcom: dispcc-sm8450: fix runtime PM imbalance on probe errors
	clk: qcom: lpasscc-sc7280: fix missing resume during probe
	clk: qcom: q6sstop-qcs404: fix missing resume during probe
	clk: qcom: mss-sc7180: fix missing resume during probe
	NFS: Fix a potential data corruption
	NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
	bus: mhi: host: Skip MHI reset if device is in RDDM
	net: add SKB_HEAD_ALIGN() helper
	net: remove osize variable in __alloc_skb()
	net: factorize code in kmalloc_reserve()
	net: deal with integer overflows in kmalloc_reserve()
	kbuild: rpm-pkg: define _arch conditionally
	kbuild: do not run depmod for 'make modules_sign'
	tpm_crb: Fix an error handling path in crb_acpi_add()
	gfs2: Switch to wait_event in gfs2_logd
	gfs2: low-memory forced flush fixes
	mailbox: qcom-ipcc: fix incorrect num_chans counting
	kconfig: fix possible buffer overflow
	Input: iqs7222 - configure power mode before triggering ATI
	perf trace: Use zfree() to reduce chances of use after free
	perf trace: Really free the evsel->priv area
	pwm: atmel-tcb: Convert to platform remove callback returning void
	pwm: atmel-tcb: Harmonize resource allocation order
	pwm: atmel-tcb: Fix resource freeing in error path and remove
	backlight: gpio_backlight: Drop output GPIO direction check for initial power state
	Input: tca6416-keypad - always expect proper IRQ number in i2c client
	Input: tca6416-keypad - fix interrupt enable disbalance
	perf annotate bpf: Don't enclose non-debug code with an assert()
	x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
	perf vendor events: Update the JSON/events descriptions for power10 platform
	perf vendor events: Drop some of the JSON/events for power10 platform
	perf vendor events: Drop STORES_PER_INST metric event for power10 platform
	perf top: Don't pass an ERR_PTR() directly to perf_session__delete()
	watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
	pwm: lpc32xx: Remove handling of PWM channels
	perf test stat_bpf_counters_cgrp: Fix shellcheck issue about logical operators
	perf test stat_bpf_counters_cgrp: Enhance perf stat cgroup BPF counter test
	drm/i915: mark requests for GuC virtual engines to avoid use-after-free
	blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()
	blk-throttle: consider 'carryover_ios/bytes' in throtl_trim_slice()
	cifs: use fs_context for automounts
	smb: propagate error code of extract_sharename()
	net/sched: fq_pie: avoid stalls in fq_pie_timer()
	sctp: annotate data-races around sk->sk_wmem_queued
	ipv4: annotate data-races around fi->fib_dead
	net: read sk->sk_family once in sk_mc_loop()
	net: fib: avoid warn splat in flow dissector
	xsk: Fix xsk_diag use-after-free error during socket cleanup
	drm/i915/gvt: Verify pfn is "valid" before dereferencing "struct page"
	drm/i915/gvt: Put the page reference obtained by KVM's gfn_to_pfn()
	drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
	net: use sk_forward_alloc_get() in sk_get_meminfo()
	net: annotate data-races around sk->sk_forward_alloc
	mptcp: annotate data-races around msk->rmem_fwd_alloc
	ipv4: ignore dst hint for multipath routes
	ipv6: ignore dst hint for multipath routes
	igb: disable virtualization features on 82580
	gve: fix frag_list chaining
	veth: Fixing transmit return status for dropped packets
	net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
	net: phy: micrel: Correct bit assignments for phy_device flags
	bpf, sockmap: Fix skb refcnt race after locking changes
	af_unix: Fix data-races around user->unix_inflight.
	af_unix: Fix data-race around unix_tot_inflight.
	af_unix: Fix data-races around sk->sk_shutdown.
	af_unix: Fix data race around sk->sk_err.
	net: sched: sch_qfq: Fix UAF in qfq_dequeue()
	kcm: Destroy mutex in kcm_exit_net()
	octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler
	igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
	igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
	igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
	s390/zcrypt: don't leak memory if dev_set_name() fails
	idr: fix param name in idr_alloc_cyclic() doc
	ip_tunnels: use DEV_STATS_INC()
	net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
	net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
	net: dsa: sja1105: complete tc-cbs offload support on SJA1110
	bpf: Remove prog->active check for bpf_lsm and bpf_iter
	bpf: Invoke __bpf_prog_exit_sleepable_recur() on recursion in kern_sys_bpf().
	bpf: Assign bpf_tramp_run_ctx::saved_run_ctx before recursion check.
	netfilter: nftables: exthdr: fix 4-byte stack OOB write
	netfilter: nfnetlink_osf: avoid OOB read
	net: hns3: fix tx timeout issue
	net: hns3: fix byte order conversion issue in hclge_dbg_fd_tcam_read()
	net: hns3: fix debugfs concurrency issue between kfree buffer and read
	net: hns3: fix invalid mutex between tc qdisc and dcb ets command issue
	net: hns3: fix the port information display when sfp is absent
	net: hns3: remove GSO partial feature bit
	sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
	Multi-gen LRU: avoid race in inc_min_seq()
	net/mlx5: Free IRQ rmap and notifier on kernel shutdown
	ARC: atomics: Add compiler barrier to atomic operations...
	clocksource/drivers/arm_arch_timer: Disable timer before programming CVAL
	dmaengine: sh: rz-dmac: Fix destination and source data size setting
	jbd2: fix checkpoint cleanup performance regression
	jbd2: check 'jh->b_transaction' before removing it from checkpoint
	jbd2: correct the end of the journal recovery scan range
	ext4: add correct group descriptors and reserved GDT blocks to system zone
	ext4: fix memory leaks in ext4_fname_{setup_filename,prepare_lookup}
	f2fs: flush inode if atomic file is aborted
	f2fs: avoid false alarm of circular locking
	lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix()
	hwspinlock: qcom: add missing regmap config for SFPB MMIO implementation
	ata: ahci: Add Elkhart Lake AHCI controller
	ata: pata_falcon: fix IO base selection for Q40
	ata: sata_gemini: Add missing MODULE_DESCRIPTION
	ata: pata_ftide010: Add missing MODULE_DESCRIPTION
	fuse: nlookup missing decrement in fuse_direntplus_link
	btrfs: zoned: do not zone finish data relocation block group
	btrfs: fix start transaction qgroup rsv double free
	btrfs: free qgroup rsv on io failure
	btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
	btrfs: set page extent mapped after read_folio in relocate_one_page
	btrfs: zoned: re-enable metadata over-commit for zoned mode
	btrfs: use the correct superblock to compare fsid in btrfs_validate_super
	drm/mxsfb: Disable overlay plane in mxsfb_plane_overlay_atomic_disable()
	mtd: rawnand: brcmnand: Fix crash during the panic_write
	mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
	mtd: spi-nor: Correct flags for Winbond w25q128
	mtd: rawnand: brcmnand: Fix potential false time out warning
	mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
	drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
	drm/amd/display: prevent potential division by zero errors
	KVM: SVM: Take and hold ir_list_lock when updating vCPU's Physical ID entry
	KVM: SVM: Don't inject #UD if KVM attempts to skip SEV guest insn
	KVM: SVM: Get source vCPUs from source VM for SEV-ES intrahost migration
	KVM: nSVM: Check instead of asserting on nested TSC scaling support
	KVM: nSVM: Load L1's TSC multiplier based on L1 state, not L2 state
	KVM: SVM: Set target pCPU during IRTE update if target vCPU is running
	KVM: SVM: Skip VMSA init in sev_es_init_vmcb() if pointer is NULL
	MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression
	perf hists browser: Fix hierarchy mode header
	perf test shell stat_bpf_counters: Fix test on Intel
	perf tools: Handle old data in PERF_RECORD_ATTR
	perf hists browser: Fix the number of entries for 'e' key
	drm/amd/display: always switch off ODM before committing more streams
	drm/amd/display: Remove wait while locked
	drm/amdgpu: register a dirty framebuffer callback for fbcon
	kunit: Fix wild-memory-access bug in kunit_free_suite_set()
	net: ipv4: fix one memleak in __inet_del_ifa()
	kselftest/runner.sh: Propagate SIGTERM to runner child
	selftests: Keep symlinks, when possible
	net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
	net: stmmac: fix handling of zero coalescing tx-usecs
	net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
	net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
	hsr: Fix uninit-value access in fill_frame_info()
	net: ethernet: adi: adin1110: use eth_broadcast_addr() to assign broadcast address
	net:ethernet:adi:adin1110: Fix forwarding offload
	net: dsa: sja1105: hide all multicast addresses from "bridge fdb show"
	net: dsa: sja1105: propagate exact error code from sja1105_dynamic_config_poll_valid()
	net: dsa: sja1105: fix multicast forwarding working only for last added mdb entry
	net: dsa: sja1105: serialize sja1105_port_mcast_flood() with other FDB accesses
	net: dsa: sja1105: block FDB accesses that are concurrent with a switch reset
	r8152: check budget for r8152_poll()
	kcm: Fix memory leak in error path of kcm_sendmsg()
	platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors
	platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
	platform/mellanox: mlxbf-pmc: Fix potential buffer overflows
	platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events
	platform/mellanox: NVSW_SN2201 should depend on ACPI
	net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
	net: macb: Enable PTP unicast
	net: macb: fix sleep inside spinlock
	ipv6: fix ip6_sock_set_addr_preferences() typo
	ipv6: Remove in6addr_any alternatives.
	tcp: Factorise sk_family-independent comparison in inet_bind2_bucket_match(_addr_any).
	tcp: Fix bind() regression for v4-mapped-v6 wildcard address.
	tcp: Fix bind() regression for v4-mapped-v6 non-wildcard address.
	ixgbe: fix timestamp configuration code
	kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
	MIPS: Only fiddle with CHECKFLAGS if `need-compiler'
	drm/amd/display: Fix a bug when searching for insert_above_mpcc
	Linux 6.1.54

Change-Id: I42dc80e7b812eb2bdd28575280b7b88169eb6d58
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-10-17 12:03:09 +00:00
Matthias Männich
7732c16f40 Merge changes Ib5bb4a55,I5ad48ff8,I2b41b3ba,Ib36deff9,Ib271c569, ... into android14-6.1-lts
* changes:
  ANDROID: GKI: update .stg due to internal zswap and tracing changes
  ANDROID: GKI: db845c: add pcie_capability_clear_and_set_word to the symbol list
  ANDROID: GKI: sched: put back the cpu_capacity_inverted variable
  Revert "ipv4: fix data-races around inet->inet_id"
  Revert "usb: typec: bus: verify partner exists in typec_altmode_attention"
  Revert "scsi: core: Use 32-bit hostnum in scsi_host_lookup()"
  Revert "media: cec: core: add adap_nb_transmit_canceled() callback"
  Revert "media: cec: core: add adap_unconfigured() callback"
  Revert "tracing: Introduce pipe_cpumask to avoid race on trace_pipes"
  Revert "tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY"
  Revert "PCI: Allow drivers to request exclusive config regions"
  Revert "PCI: Add locking to RMW PCI Express Capability Register accessors"
  Revert "crypto: api - Use work queue in crypto_destroy_instance"
  Revert "media: uapi: HEVC: Add num_delta_pocs_of_ref_rps_idx field"
  ANDROID: GKI: Fix firmware: smccc build error
  ANDROID: GKI: fix up merge issue in drivers/scsi/storvsc_drv.c
  Merge 6.1.53 into android14-6.1-lts
  Merge 6.1.52 into android14-6.1-lts
  Merge 6.1.51 into android14-6.1-lts
  Merge 6.1.50 into android14-6.1-lts
  Merge 6.1.49 into android14-6.1-lts
  Merge 6.1.48 into android14-6.1-lts
  Merge 6.1.47 into android14-6.1-lts
  Merge 6.1.46 into android14-6.1-lts
  Merge 6.1.45 into android14-6.1-lts
  Merge 6.1.44 into android14-6.1-lts
2023-10-17 09:02:16 +00:00
Tom Lendacky
64301a9354 x86/sev: Use the GHCB protocol when available for SNP CPUID requests
commit 6bc6f7d9d7ac3cdbe9e8b0495538b4a0cc11f032 upstream.

SNP retrieves the majority of CPUID information from the SNP CPUID page.
But there are times when that information needs to be supplemented by the
hypervisor, for example, obtaining the initial APIC ID of the vCPU from
leaf 1.

The current implementation uses the MSR protocol to retrieve the data from
the hypervisor, even when a GHCB exists. The problem arises when an NMI
arrives on return from the VMGEXIT. The NMI will be immediately serviced
and may generate a #VC requiring communication with the hypervisor.

Since a GHCB exists in this case, it will be used. As part of using the
GHCB, the #VC handler will write the GHCB physical address into the GHCB
MSR and the #VC will be handled.

When the NMI completes, processing resumes at the site of the VMGEXIT
which is expecting to read the GHCB MSR and find a CPUID MSR protocol
response. Since the NMI handling overwrote the GHCB MSR response, the
guest will see an invalid reply from the hypervisor and self-terminate.

Fix this problem by using the GHCB when it is available. Any NMI
received is properly handled because the GHCB contents are copied into
a backup page and restored on NMI exit, thus preserving the active GHCB
request or result.

  [ bp: Touchups. ]

Fixes: ee0bfa08a3 ("x86/compressed/64: Add support for SEV-SNP CPUID table in #VC handlers")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/r/a5856fa1ebe3879de91a8f6298b6bbd901c61881.1690578565.git.thomas.lendacky@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-10 22:00:45 +02:00
Breno Leitao
183e0f9da6 perf/x86/amd: Do not WARN() on every IRQ
[ Upstream commit 599522d9d2e19d6240e4312577f1c5f3ffca22f6 ]

Zen 4 systems running buggy microcode can hit a WARN_ON() in the PMI
handler, as shown below, several times while perf runs. A simple
`perf top` run is enough to render the system unusable:

  WARNING: CPU: 18 PID: 20608 at arch/x86/events/amd/core.c:944 amd_pmu_v2_handle_irq+0x1be/0x2b0

This happens because the Performance Counter Global Status Register
(PerfCntGlobalStatus) has one or more bits set which are considered
reserved according to the "AMD64 Architecture Programmer’s Manual,
Volume 2: System Programming, 24593":

  https://www.amd.com/system/files/TechDocs/24593.pdf

To make this less intrusive, warn just once if any reserved bit is set
and prompt the user to update the microcode. Also sanitize the value to
what the code is handling, so that the overflow events continue to be
handled for the number of counters that are known to be sane.

Going forward, the following microcode patch levels are recommended
for Zen 4 processors in order to avoid such issues with reserved bits:

  Family=0x19 Model=0x11 Stepping=0x01: Patch=0x0a10113e
  Family=0x19 Model=0x11 Stepping=0x02: Patch=0x0a10123e
  Family=0x19 Model=0xa0 Stepping=0x01: Patch=0x0aa00116
  Family=0x19 Model=0xa0 Stepping=0x02: Patch=0x0aa00212

Commit f2eb058afc57 ("linux-firmware: Update AMD cpu microcode") from
the linux-firmware tree has binaries that meet the minimum required
patch levels.

  [ sandipan: - add message to prompt users to update microcode
              - rework commit message and call out required microcode levels ]

Fixes: 7685665c39 ("perf/x86/amd/core: Add PerfMonV2 overflow handling")
Reported-by: Jirka Hladky <jhladky@redhat.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/all/3540f985652f41041e54ee82aa53e7dbd55739ae.1694696888.git.sandipan.das@amd.com/
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-10 22:00:41 +02:00
Sandipan Das
e485a69d9b perf/x86/amd/core: Fix overflow reset on hotplug
[ Upstream commit 23d2626b841c2adccdeb477665313c02dff02dc3 ]

Kernels older than v5.19 do not support PerfMonV2 and the PMI handler
does not clear the overflow bits of the PerfCntrGlobalStatus register.
Because of this, loading a recent kernel using kexec from an older
kernel can result in inconsistent register states on Zen 4 systems.

The PMI handler of the new kernel gets confused and shows a warning when
an overflow occurs because some of the overflow bits are set even if the
corresponding counters are inactive. These are remnants from overflows
that were handled by the older kernel.

During CPU hotplug, the PerfCntrGlobalCtl and PerfCntrGlobalStatus
registers should always be cleared for PerfMonV2-capable processors.
However, a condition used for NB event constaints applicable only to
older processors currently prevents this from happening. Move the reset
sequence to an appropriate place and also clear the LBR Freeze bit.

Fixes: 21d59e3e2c ("perf/x86/amd/core: Detect PerfMonV2 support")
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/882a87511af40792ba69bb0e9026f19a2e71e8a3.1694696888.git.sandipan.das@amd.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-10 22:00:41 +02:00
Paolo Bonzini
00c27bffdb KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe()
commit 441a5dfcd96854cbcb625709e2694a9c60adfaab upstream.

All callers except the MMU notifier want to process all address spaces.
Remove the address space ID argument of for_each_tdp_mmu_root_yield_safe()
and switch the MMU notifier to use __for_each_tdp_mmu_root_yield_safe().

Extracted out of a patch by Sean Christopherson <seanjc@google.com>

Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-06 14:57:00 +02:00
Sean Christopherson
cd41db6cb2 KVM: x86/mmu: Open code leaf invalidation from mmu_notifier
commit 50107e8b2a8a59d8cec7e8454e27c1f8e365acdb upstream.

The mmu_notifier path is a bit of a special snowflake, e.g. it zaps only a
single address space (because it's per-slot), and can't always yield.
Because of this, it calls kvm_tdp_mmu_zap_leafs() in ways that no one
else does.

Iterate manually over the leafs in response to an mmu_notifier
invalidation, instead of invoking kvm_tdp_mmu_zap_leafs().  Drop the
@can_yield param from kvm_tdp_mmu_zap_leafs() as its sole remaining
caller unconditionally passes "true".

Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230916003916.2545000-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-06 14:57:00 +02:00
Tom Lendacky
733d7a5451 KVM: SVM: Fix TSC_AUX virtualization setup
commit e0096d01c4fcb8c96c05643cfc2c20ab78eae4da upstream.

The checks for virtualizing TSC_AUX occur during the vCPU reset processing
path. However, at the time of initial vCPU reset processing, when the vCPU
is first created, not all of the guest CPUID information has been set. In
this case the RDTSCP and RDPID feature support for the guest is not in
place and so TSC_AUX virtualization is not established.

This continues for each vCPU created for the guest. On the first boot of
an AP, vCPU reset processing is executed as a result of an APIC INIT
event, this time with all of the guest CPUID information set, resulting
in TSC_AUX virtualization being enabled, but only for the APs. The BSP
always sees a TSC_AUX value of 0 which probably went unnoticed because,
at least for Linux, the BSP TSC_AUX value is 0.

Move the TSC_AUX virtualization enablement out of the init_vmcb() path and
into the vcpu_after_set_cpuid() path to allow for proper initialization of
the support after the guest CPUID information has been set.

With the TSC_AUX virtualization support now in the vcpu_set_after_cpuid()
path, the intercepts must be either cleared or set based on the guest
CPUID input.

Fixes: 296d5a17e7 ("KVM: SEV-ES: Use V_TSC_AUX if available instead of RDTSC/MSR_TSC_AUX intercepts")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <4137fbcb9008951ab5f0befa74a0399d2cce809a.1694811272.git.thomas.lendacky@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-06 14:57:00 +02:00
Paolo Bonzini
e86a3a6226 KVM: SVM: INTERCEPT_RDTSCP is never intercepted anyway
commit e8d93d5d93f85949e7299be289c6e7e1154b2f78 upstream.

svm_recalc_instruction_intercepts() is always called at least once
before the vCPU is started, so the setting or clearing of the RDTSCP
intercept can be dropped from the TSC_AUX virtualization support.

Extracted from a patch by Tom Lendacky.

Cc: stable@vger.kernel.org
Fixes: 296d5a17e7 ("KVM: SEV-ES: Use V_TSC_AUX if available instead of RDTSC/MSR_TSC_AUX intercepts")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-06 14:57:00 +02:00
Pu Wen
6ce2f297a7 x86/srso: Add SRSO mitigation for Hygon processors
commit a5ef7d68cea1344cf524f04981c2b3f80bedbb0d upstream.

Add mitigation for the speculative return stack overflow vulnerability
which exists on Hygon processors too.

Signed-off-by: Pu Wen <puwen@hygon.cn>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/tencent_4A14812842F104E93AA722EC939483CEFF05@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-06 14:56:59 +02:00
Haitao Huang
811ba2ef0c x86/sgx: Resolves SECS reclaim vs. page fault for EAUG race
commit c6c2adcba50c2622ed25ba5d5e7f05f584711358 upstream.

The SGX EPC reclaimer (ksgxd) may reclaim the SECS EPC page for an
enclave and set secs.epc_page to NULL. The SECS page is used for EAUG
and ELDU in the SGX page fault handler. However, the NULL check for
secs.epc_page is only done for ELDU, not EAUG before being used.

Fix this by doing the same NULL check and reloading of the SECS page as
needed for both EAUG and ELDU.

The SECS page holds global enclave metadata. It can only be reclaimed
when there are no other enclave pages remaining. At that point,
virtually nothing can be done with the enclave until the SECS page is
paged back in.

An enclave can not run nor generate page faults without a resident SECS
page. But it is still possible for a #PF for a non-SECS page to race
with paging out the SECS page: when the last resident non-SECS page A
triggers a #PF in a non-resident page B, and then page A and the SECS
both are paged out before the #PF on B is handled.

Hitting this bug requires that race triggered with a #PF for EAUG.
Following is a trace when it happens.

BUG: kernel NULL pointer dereference, address: 0000000000000000
RIP: 0010:sgx_encl_eaug_page+0xc7/0x210
Call Trace:
 ? __kmem_cache_alloc_node+0x16a/0x440
 ? xa_load+0x6e/0xa0
 sgx_vma_fault+0x119/0x230
 __do_fault+0x36/0x140
 do_fault+0x12f/0x400
 __handle_mm_fault+0x728/0x1110
 handle_mm_fault+0x105/0x310
 do_user_addr_fault+0x1ee/0x750
 ? __this_cpu_preempt_check+0x13/0x20
 exc_page_fault+0x76/0x180
 asm_exc_page_fault+0x27/0x30

Fixes: 5a90d2c3f5 ("x86/sgx: Support adding of pages to an initialized enclave")
Signed-off-by: Haitao Huang <haitao.huang@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Cc:stable@vger.kernel.org
Link: https://lore.kernel.org/all/20230728051024.33063-1-haitao.huang%40linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-06 14:56:59 +02:00
Sean Christopherson
1375d9600c x86/reboot: VMCLEAR active VMCSes before emergency reboot
[ Upstream commit b23c83ad2c638420ec0608a9de354507c41bec29 ]

VMCLEAR active VMCSes before any emergency reboot, not just if the kernel
may kexec into a new kernel after a crash.  Per Intel's SDM, the VMX
architecture doesn't require the CPU to flush the VMCS cache on INIT.  If
an emergency reboot doesn't RESET CPUs, cached VMCSes could theoretically
be kept and only be written back to memory after the new kernel is booted,
i.e. could effectively corrupt memory after reboot.

Opportunistically remove the setting of the global pointer to NULL to make
checkpatch happy.

Cc: Andrew Cooper <Andrew.Cooper3@citrix.com>
Link: https://lore.kernel.org/r/20230721201859.2307736-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-06 14:56:50 +02:00
Josh Poimboeuf
adbcec23c8 x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
[ Upstream commit 01b057b2f4cc2d905a0bd92195657dbd9a7005ab ]

If the user has requested no SRSO mitigation, other mitigations can use
the lighter-weight SBPB instead of IBPB.

Fixes: fb3bd914b3ec ("x86/srso: Add a Speculative RAS Overflow mitigation")
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/b20820c3cfd1003171135ec8d762a0b957348497.1693889988.git.jpoimboe@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-06 14:56:40 +02:00
Josh Poimboeuf
755195b2d2 x86/srso: Fix srso_show_state() side effect
[ Upstream commit a8cf700c17d9ca6cb8ee7dc5c9330dbac3948237 ]

Reading the 'spec_rstack_overflow' sysfs file can trigger an unnecessary
MSR write, and possibly even a (handled) exception if the microcode
hasn't been updated.

Avoid all that by just checking X86_FEATURE_IBPB_BRTYPE instead, which
gets set by srso_select_mitigation() if the updated microcode exists.

Fixes: fb3bd914b3ec ("x86/srso: Add a Speculative RAS Overflow mitigation")
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/27d128899cb8aee9eb2b57ddc996742b0c1d776b.1693889988.git.jpoimboe@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-06 14:56:40 +02:00
Rik van Riel
eef16bfdb2 x86/mm, kexec, ima: Use memblock_free_late() from ima_free_kexec_buffer()
[ Upstream commit 34cf99c250d5cd2530b93a57b0de31d3aaf8685b ]

The code calling ima_free_kexec_buffer() runs long after the memblock
allocator has already been torn down, potentially resulting in a use
after free in memblock_isolate_range().

With KASAN or KFENCE, this use after free will result in a BUG
from the idle task, and a subsequent kernel panic.

Switch ima_free_kexec_buffer() over to memblock_free_late() to avoid
that bug.

Fixes: fee3ff99bc ("powerpc: Move arch independent ima kexec functions to drivers/of/kexec.c")
Suggested-by: Mike Rappoport <rppt@kernel.org>
Signed-off-by: Rik van Riel <riel@surriel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230817135558.67274c83@imladris.surriel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-06 14:56:39 +02:00
Bart Van Assche
45fe413fdf ANDROID: gki_defconfig: Enable CONFIG_BLK_CGROUP_IOPRIO
Prepare for supporting I/O priority in the storage stack.

Bug: 186902601
Change-Id: I387ac4792c89d88d131c5146b116a0393c01b096
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2023-09-28 11:30:27 -07:00
Jiyong Park
dbe0f49aaf ANDROID: Move microdroid and crashdump defconfigs to common
They don't have device-specific modules. They are just generic configs
that are different from GKI.

Bug: 301852599
Bug: 302301911
Test: run following commands
tools/bazel run //common:kernel_aarch64_microdroid_dist
tools/bazel run //common:kernel_x86_64_microdroid_dist
tools/bazel run //common:kernel_aarch64_microdroid_config -- menuconfig
tools/bazel run //common:kernel_x86_64_microdroid_config -- menuconfig
tools/bazel run //common:kernel_aarch64_crashdump_dist
tools/bazel run //common:kernel_x86_64_crashdump_dist
tools/bazel run //common:kernel_aarch64_crashdump_config -- menuconfig
tools/bazel run //common:kernel_x86_64_crashdump_config -- menuconfig

Change-Id: I8908a7499451ace0740979b694eb5fcc68398c61
Signed-off-by: Jiyong Park <jiyong@google.com>
(cherry picked from commit ae5ea9043d)
2023-09-27 15:30:26 +00:00
Jiyong Park
ae5ea9043d ANDROID: Move microdroid and crashdump defconfigs to common
They don't have device-specific modules. They are just generic configs
that are different from GKI.

Bug: 301852599
Test: run following commands
tools/bazel run //common:kernel_aarch64_microdroid_dist
tools/bazel run //common:kernel_x86_64_microdroid_dist
tools/bazel run //common:kernel_aarch64_microdroid_config -- menuconfig
tools/bazel run //common:kernel_x86_64_microdroid_config -- menuconfig
tools/bazel run //common:kernel_aarch64_crashdump_dist
tools/bazel run //common:kernel_x86_64_crashdump_dist
tools/bazel run //common:kernel_aarch64_crashdump_config -- menuconfig
tools/bazel run //common:kernel_x86_64_crashdump_config -- menuconfig

Change-Id: I8908a7499451ace0740979b694eb5fcc68398c61
Signed-off-by: Jiyong Park <jiyong@google.com>
2023-09-26 16:18:51 +00:00
Song Liu
0dea068499 x86/purgatory: Remove LTO flags
[ Upstream commit 75b2f7e4c9e0fd750a5a27ca9736d1daa7a3762a ]

-flto* implies -ffunction-sections. With LTO enabled, ld.lld generates
multiple .text sections for purgatory.ro:

  $ readelf -S purgatory.ro  | grep " .text"
    [ 1] .text             PROGBITS         0000000000000000  00000040
    [ 7] .text.purgatory   PROGBITS         0000000000000000  000020e0
    [ 9] .text.warn        PROGBITS         0000000000000000  000021c0
    [13] .text.sha256_upda PROGBITS         0000000000000000  000022f0
    [15] .text.sha224_upda PROGBITS         0000000000000000  00002be0
    [17] .text.sha256_fina PROGBITS         0000000000000000  00002bf0
    [19] .text.sha224_fina PROGBITS         0000000000000000  00002cc0

This causes WARNING from kexec_purgatory_setup_sechdrs():

  WARNING: CPU: 26 PID: 110894 at kernel/kexec_file.c:919
  kexec_load_purgatory+0x37f/0x390

Fix this by disabling LTO for purgatory.

[ AFAICT, x86 is the only arch that supports LTO and purgatory. ]

We could also fix this with an explicit linker script to rejoin .text.*
sections back into .text. However, given the benefit of LTOing purgatory
is small, simply disable the production of more .text.* sections for now.

Fixes: b33fff07e3 ("x86, build: allow LTO to be selected")
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lore.kernel.org/r/20230914170138.995606-1-song@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:11:09 +02:00
Kirill A. Shutemov
2074cb608c x86/boot/compressed: Reserve more memory for page tables
[ Upstream commit f530ee95b72e77b09c141c4b1a4b94d1199ffbd9 ]

The decompressor has a hard limit on the number of page tables it can
allocate. This limit is defined at compile-time and will cause boot
failure if it is reached.

The kernel is very strict and calculates the limit precisely for the
worst-case scenario based on the current configuration. However, it is
easy to forget to adjust the limit when a new use-case arises. The
worst-case scenario is rarely encountered during sanity checks.

In the case of enabling 5-level paging, a use-case was overlooked. The
limit needs to be increased by one to accommodate the additional level.
This oversight went unnoticed until Aaron attempted to run the kernel
via kexec with 5-level paging and unaccepted memory enabled.

Update wost-case calculations to include 5-level paging.

To address this issue, let's allocate some extra space for page tables.
128K should be sufficient for any use-case. The logic can be simplified
by using a single value for all kernel configurations.

[ Also add a warning, should this memory run low - by Dave Hansen. ]

Fixes: 34bbb0009f ("x86/boot/compressed: Enable 5-level paging during decompression stage")
Reported-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230915070221.10266-1-kirill.shutemov@linux.intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:11:09 +02:00
Peter Zijlstra
e9b8e26610 x86/ibt: Suppress spurious ENDBR
[ Upstream commit 25e73b7e3f72a25aa30cbb2eecb49036e0acf066 ]

It was reported that under certain circumstances GCC emits ENDBR
instructions for _THIS_IP_ usage. Specifically, when it appears at the
start of a basic block -- but not elsewhere.

Since _THIS_IP_ is never used for control flow, these ENDBR
instructions are completely superfluous. Override the _THIS_IP_
definition for x86_64 to avoid this.

Less ENDBR instructions is better.

Fixes: 156ff4a544 ("x86/ibt: Base IBT bits")
Reported-by: David Kaplan <David.Kaplan@amd.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230802110323.016197440@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:11:09 +02:00
Sean Christopherson
60b5ef4cf8 KVM: SVM: Skip VMSA init in sev_es_init_vmcb() if pointer is NULL
commit 1952e74da96fb3e48b72a2d0ece78c688a5848c1 upstream.

Skip initializing the VMSA physical address in the VMCB if the VMSA is
NULL, which occurs during intrahost migration as KVM initializes the VMCB
before copying over state from the source to the destination (including
the VMSA and its physical address).

In normal builds, __pa() is just math, so the bug isn't fatal, but with
CONFIG_DEBUG_VIRTUAL=y, the validity of the virtual address is verified
and passing in NULL will make the kernel unhappy.

Fixes: 6defa24d3b ("KVM: SEV: Init target VMCBs in sev_migrate_from")
Cc: stable@vger.kernel.org
Cc: Peter Gonda <pgonda@google.com>
Reviewed-by: Peter Gonda <pgonda@google.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Link: https://lore.kernel.org/r/20230825022357.2852133-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:28:07 +02:00
Sean Christopherson
12645e623f KVM: SVM: Set target pCPU during IRTE update if target vCPU is running
commit f3cebc75e7425d6949d726bb8e937095b0aef025 upstream.

Update the target pCPU for IOMMU doorbells when updating IRTE routing if
KVM is actively running the associated vCPU.  KVM currently only updates
the pCPU when loading the vCPU (via avic_vcpu_load()), and so doorbell
events will be delayed until the vCPU goes through a put+load cycle (which
might very well "never" happen for the lifetime of the VM).

To avoid inserting a stale pCPU, e.g. due to racing between updating IRTE
routing and vCPU load/put, get the pCPU information from the vCPU's
Physical APIC ID table entry (a.k.a. avic_physical_id_cache in KVM) and
update the IRTE while holding ir_list_lock.  Add comments with --verbose
enabled to explain exactly what is and isn't protected by ir_list_lock.

Fixes: 411b44ba80 ("svm: Implements update_pi_irte hook to setup posted interrupt")
Reported-by: dengqiao.joey <dengqiao.joey@bytedance.com>
Cc: stable@vger.kernel.org
Cc: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Cc: Joao Martins <joao.m.martins@oracle.com>
Cc: Maxim Levitsky <mlevitsk@redhat.com>
Cc: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Tested-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Link: https://lore.kernel.org/r/20230808233132.2499764-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:28:07 +02:00
Sean Christopherson
5b2b0535fa KVM: nSVM: Load L1's TSC multiplier based on L1 state, not L2 state
commit 0c94e2468491cbf0754f49a5136ab51294a96b69 upstream.

When emulating nested VM-Exit, load L1's TSC multiplier if L1's desired
ratio doesn't match the current ratio, not if the ratio L1 is using for
L2 diverges from the default.  Functionally, the end result is the same
as KVM will run L2 with L1's multiplier if L2's multiplier is the default,
i.e. checking that L1's multiplier is loaded is equivalent to checking if
L2 has a non-default multiplier.

However, the assertion that TSC scaling is exposed to L1 is flawed, as
userspace can trigger the WARN at will by writing the MSR and then
updating guest CPUID to hide the feature (modifying guest CPUID is
allowed anytime before KVM_RUN).  E.g. hacking KVM's state_test
selftest to do

                vcpu_set_msr(vcpu, MSR_AMD64_TSC_RATIO, 0);
                vcpu_clear_cpuid_feature(vcpu, X86_FEATURE_TSCRATEMSR);

after restoring state in a new VM+vCPU yields an endless supply of:

  ------------[ cut here ]------------
  WARNING: CPU: 10 PID: 206939 at arch/x86/kvm/svm/nested.c:1105
           nested_svm_vmexit+0x6af/0x720 [kvm_amd]
  Call Trace:
   nested_svm_exit_handled+0x102/0x1f0 [kvm_amd]
   svm_handle_exit+0xb9/0x180 [kvm_amd]
   kvm_arch_vcpu_ioctl_run+0x1eab/0x2570 [kvm]
   kvm_vcpu_ioctl+0x4c9/0x5b0 [kvm]
   ? trace_hardirqs_off+0x4d/0xa0
   __se_sys_ioctl+0x7a/0xc0
   __x64_sys_ioctl+0x21/0x30
   do_syscall_64+0x41/0x90
   entry_SYSCALL_64_after_hwframe+0x63/0xcd

Unlike the nested VMRUN path, hoisting the svm->tsc_scaling_enabled check
into the if-statement is wrong as KVM needs to ensure L1's multiplier is
loaded in the above scenario.   Alternatively, the WARN_ON() could simply
be deleted, but that would make KVM's behavior even more subtle, e.g. it's
not immediately obvious why it's safe to write MSR_AMD64_TSC_RATIO when
checking only tsc_ratio_msr.

Fixes: 5228eb96a4 ("KVM: x86: nSVM: implement nested TSC scaling")
Cc: Maxim Levitsky <mlevitsk@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230729011608.1065019-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:28:07 +02:00
Sean Christopherson
6c1ecfea1d KVM: nSVM: Check instead of asserting on nested TSC scaling support
commit 7cafe9b8e22bb3d77f130c461aedf6868c4aaf58 upstream.

Check for nested TSC scaling support on nested SVM VMRUN instead of
asserting that TSC scaling is exposed to L1 if L1's MSR_AMD64_TSC_RATIO
has diverged from KVM's default.  Userspace can trigger the WARN at will
by writing the MSR and then updating guest CPUID to hide the feature
(modifying guest CPUID is allowed anytime before KVM_RUN).  E.g. hacking
KVM's state_test selftest to do

		vcpu_set_msr(vcpu, MSR_AMD64_TSC_RATIO, 0);
		vcpu_clear_cpuid_feature(vcpu, X86_FEATURE_TSCRATEMSR);

after restoring state in a new VM+vCPU yields an endless supply of:

  ------------[ cut here ]------------
  WARNING: CPU: 164 PID: 62565 at arch/x86/kvm/svm/nested.c:699
           nested_vmcb02_prepare_control+0x3d6/0x3f0 [kvm_amd]
  Call Trace:
   <TASK>
   enter_svm_guest_mode+0x114/0x560 [kvm_amd]
   nested_svm_vmrun+0x260/0x330 [kvm_amd]
   vmrun_interception+0x29/0x30 [kvm_amd]
   svm_invoke_exit_handler+0x35/0x100 [kvm_amd]
   svm_handle_exit+0xe7/0x180 [kvm_amd]
   kvm_arch_vcpu_ioctl_run+0x1eab/0x2570 [kvm]
   kvm_vcpu_ioctl+0x4c9/0x5b0 [kvm]
   __se_sys_ioctl+0x7a/0xc0
   __x64_sys_ioctl+0x21/0x30
   do_syscall_64+0x41/0x90
   entry_SYSCALL_64_after_hwframe+0x63/0xcd
  RIP: 0033:0x45ca1b

Note, the nested #VMEXIT path has the same flaw, but needs a different
fix and will be handled separately.

Fixes: 5228eb96a4 ("KVM: x86: nSVM: implement nested TSC scaling")
Cc: Maxim Levitsky <mlevitsk@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230729011608.1065019-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:28:07 +02:00
Sean Christopherson
5c18ace750 KVM: SVM: Get source vCPUs from source VM for SEV-ES intrahost migration
commit f1187ef24eb8f36e8ad8106d22615ceddeea6097 upstream.

Fix a goof where KVM tries to grab source vCPUs from the destination VM
when doing intrahost migration.  Grabbing the wrong vCPU not only hoses
the guest, it also crashes the host due to the VMSA pointer being left
NULL.

  BUG: unable to handle page fault for address: ffffe38687000000
  #PF: supervisor read access in kernel mode
  #PF: error_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: 0000 [#1] SMP NOPTI
  CPU: 39 PID: 17143 Comm: sev_migrate_tes Tainted: GO       6.5.0-smp--fff2e47e6c3b-next #151
  Hardware name: Google, Inc. Arcadia_IT_80/Arcadia_IT_80, BIOS 34.28.0 07/10/2023
  RIP: 0010:__free_pages+0x15/0xd0
  RSP: 0018:ffff923fcf6e3c78 EFLAGS: 00010246
  RAX: 0000000000000000 RBX: ffffe38687000000 RCX: 0000000000000100
  RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffffe38687000000
  RBP: ffff923fcf6e3c88 R08: ffff923fcafb0000 R09: 0000000000000000
  R10: 0000000000000000 R11: ffffffff83619b90 R12: ffff923fa9540000
  R13: 0000000000080007 R14: ffff923f6d35d000 R15: 0000000000000000
  FS:  0000000000000000(0000) GS:ffff929d0d7c0000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: ffffe38687000000 CR3: 0000005224c34005 CR4: 0000000000770ee0
  PKRU: 55555554
  Call Trace:
   <TASK>
   sev_free_vcpu+0xcb/0x110 [kvm_amd]
   svm_vcpu_free+0x75/0xf0 [kvm_amd]
   kvm_arch_vcpu_destroy+0x36/0x140 [kvm]
   kvm_destroy_vcpus+0x67/0x100 [kvm]
   kvm_arch_destroy_vm+0x161/0x1d0 [kvm]
   kvm_put_kvm+0x276/0x560 [kvm]
   kvm_vm_release+0x25/0x30 [kvm]
   __fput+0x106/0x280
   ____fput+0x12/0x20
   task_work_run+0x86/0xb0
   do_exit+0x2e3/0x9c0
   do_group_exit+0xb1/0xc0
   __x64_sys_exit_group+0x1b/0x20
   do_syscall_64+0x41/0x90
   entry_SYSCALL_64_after_hwframe+0x63/0xcd
   </TASK>
  CR2: ffffe38687000000

Fixes: 6defa24d3b ("KVM: SEV: Init target VMCBs in sev_migrate_from")
Cc: stable@vger.kernel.org
Cc: Peter Gonda <pgonda@google.com>
Reviewed-by: Peter Gonda <pgonda@google.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Link: https://lore.kernel.org/r/20230825022357.2852133-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:28:07 +02:00
Sean Christopherson
ba82001e41 KVM: SVM: Don't inject #UD if KVM attempts to skip SEV guest insn
commit cb49631ad111570f1bad37702c11c2ae07fa2e3c upstream.

Don't inject a #UD if KVM attempts to "emulate" to skip an instruction
for an SEV guest, and instead resume the guest and hope that it can make
forward progress.  When commit 04c40f344d ("KVM: SVM: Inject #UD on
attempted emulation for SEV guest w/o insn buffer") added the completely
arbitrary #UD behavior, there were no known scenarios where a well-behaved
guest would induce a VM-Exit that triggered emulation, i.e. it was thought
that injecting #UD would be helpful.

However, now that KVM (correctly) attempts to re-inject INT3/INTO, e.g. if
a #NPF is encountered when attempting to deliver the INT3/INTO, an SEV
guest can trigger emulation without a buffer, through no fault of its own.
Resuming the guest and retrying the INT3/INTO is architecturally wrong,
e.g. the vCPU will incorrectly re-hit code #DBs, but for SEV guests there
is literally no other option that has a chance of making forward progress.

Drop the #UD injection for all "skip" emulation, not just those related to
INT3/INTO, even though that means that the guest will likely end up in an
infinite loop instead of getting a #UD (the vCPU may also crash, e.g. if
KVM emulated everything about an instruction except for advancing RIP).
There's no evidence that suggests that an unexpected #UD is actually
better than hanging the vCPU, e.g. a soft-hung vCPU can still respond to
IRQs and NMIs to generate a backtrace.

Reported-by: Wu Zongyo <wuzongyo@mail.ustc.edu.cn>
Closes: https://lore.kernel.org/all/8eb933fd-2cf3-d7a9-32fe-2a1d82eac42a@mail.ustc.edu.cn
Fixes: 6ef88d6e36 ("KVM: SVM: Re-inject INT3/INTO instead of retrying the instruction")
Cc: stable@vger.kernel.org
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20230825013621.2845700-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:28:07 +02:00
Sean Christopherson
3988692acc KVM: SVM: Take and hold ir_list_lock when updating vCPU's Physical ID entry
commit 4c08e737f056fec930b416a2bd37ed266d724f95 upstream.

Hoist the acquisition of ir_list_lock from avic_update_iommu_vcpu_affinity()
to its two callers, avic_vcpu_load() and avic_vcpu_put(), specifically to
encapsulate the write to the vCPU's entry in the AVIC Physical ID table.
This will allow a future fix to pull information from the Physical ID entry
when updating the IRTE, without potentially consuming stale information,
i.e. without racing with the vCPU being (un)loaded.

Add a comment to call out that ir_list_lock does NOT protect against
multiple writers, specifically that reading the Physical ID entry in
avic_vcpu_put() outside of the lock is safe.

To preserve some semblance of independence from ir_list_lock, keep the
READ_ONCE() in avic_vcpu_load() even though acuiring the spinlock
effectively ensures the load(s) will be generated after acquiring the
lock.

Cc: stable@vger.kernel.org
Tested-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Link: https://lore.kernel.org/r/20230808233132.2499764-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:28:07 +02:00
Martin KaFai Lau
a12f15d1f8 bpf: Remove prog->active check for bpf_lsm and bpf_iter
[ Upstream commit 271de525e1d7f564e88a9d212c50998b49a54476 ]

The commit 64696c40d0 ("bpf: Add __bpf_prog_{enter,exit}_struct_ops for struct_ops trampoline")
removed prog->active check for struct_ops prog.  The bpf_lsm
and bpf_iter is also using trampoline.  Like struct_ops, the bpf_lsm
and bpf_iter have fixed hooks for the prog to attach.  The
kernel does not call the same hook in a recursive way.
This patch also removes the prog->active check for
bpf_lsm and bpf_iter.

A later patch has a test to reproduce the recursion issue
for a sleepable bpf_lsm program.

This patch appends the '_recur' naming to the existing
enter and exit functions that track the prog->active counter.
New __bpf_prog_{enter,exit}[_sleepable] function are
added to skip the prog->active tracking. The '_struct_ops'
version is also removed.

It also moves the decision on picking the enter and exit function to
the new bpf_trampoline_{enter,exit}().  It returns the '_recur' ones
for all tracing progs to use.  For bpf_lsm, bpf_iter,
struct_ops (no prog->active tracking after 64696c40d0), and
bpf_lsm_cgroup (no prog->active tracking after 69fd337a97),
it will return the functions that don't track the prog->active.

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20221025184524.3526117-2-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Stable-dep-of: 7645629f7dc8 ("bpf: Invoke __bpf_prog_exit_sleepable_recur() on recursion in kern_sys_bpf().")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:28:03 +02:00
Sean Christopherson
6a43e0d623 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
[ Upstream commit 5df8ecfe3632d5879d1f154f7aa8de441b5d1c89 ]

Drop the explicit check on the extended CPUID level in cpu_has_svm(), the
kernel's cached CPUID info will leave the entire SVM leaf unset if said
leaf is not supported by hardware.  Prior to using cached information,
the check was needed to avoid false positives due to Intel's rather crazy
CPUID behavior of returning the values of the maximum supported leaf if
the specified leaf is unsupported.

Fixes: 682a810887 ("x86/kvm/svm: Simplify cpu_has_svm()")
Link: https://lore.kernel.org/r/20230721201859.2307736-13-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:27:59 +02:00
Greg Kroah-Hartman
dbb69752f7 This is the 6.1.53 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmUBaBUACgkQONu9yGCS
 aT6OkBAArqBSUyCYQJrhoUlFYBnBqF7BLSkj0GwINGSUOlt5ilJ3kZwH9ftjvpWp
 ZtO0Rp/1yH2H5PpcsaLljPl055Sf30e0oCkz6vX16vy17NGnzI4rJi55+nRZbFRH
 tBMhMjblgIJoTiTPEQPSGghENok+QzJ9Imffo4/Wru3w5ytkBnGcPPXreHJw+8V5
 Pjhzg5tcjhz23rk2wzVtR4VfEqWaHQaapv49rKB1Yls578WYn4QXl4jgUyB7rCo7
 9vBB7xy77H1hr9m8ifB/9v1ToV/vw6L1xGPWWWbhsSikFAMBoq34SCsq+6RdeURo
 43CCcFsx1s5acM7NQWvxkoV5Hgl8Hc3WgFsx5eVBlNd+vS6ezkgdYuGmN76t+dF/
 hZ7XGEoEFuoz9NKQC/5rKjdBd2p/IQYx6vf8EpK0IxFPD4h+DY9pn0FvwuAmxAcA
 M41xLYGbXX5l/QJR016B1AYiB3DqVxRRRyQT0yNip+PDAh2N06MOJ84KgMSR9lg7
 jyeFKZM2vQ619RopMIspuHTWxNiMw7x94aUhBnY1oD+fDzaRn+VNL8po6QYHLK8U
 QTDhrWplTbTuGIF72h+1IyX1aUj6ozoCewl9Y9ry1u9jBb7LZoupVd0s1dwqORIk
 2OSo74pDu5F2BT+4hEcCpDRcYvWlfKbZWBunRrMqvHN8BON0Mks=
 =aFyS
 -----END PGP SIGNATURE-----

Merge 6.1.53 into android14-6.1-lts

Changes in 6.1.53
	Revert "bridge: Add extack warning when enabling STP in netns."
	Partially revert "drm/amd/display: Fix possible underflow for displays with large vblank"
	scsi: ufs: Try harder to change the power mode
	Revert "Revert drm/amd/display: Enable Freesync Video Mode by default"
	ARM: dts: imx: Set default tuning step for imx7d usdhc
	ALSA: hda/realtek: Enable 4 amplifiers instead of 2 on a HP platform
	powerpc/boot: Disable power10 features after BOOTAFLAGS assignment
	media: uapi: HEVC: Add num_delta_pocs_of_ref_rps_idx field
	Revert "MIPS: unhide PATA_PLATFORM"
	phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code
	media: amphion: use dev_err_probe
	media: pulse8-cec: handle possible ping error
	media: pci: cx23885: fix error handling for cx23885 ATSC boards
	9p: virtio: fix unlikely null pointer deref in handle_rerror
	9p: virtio: make sure 'offs' is initialized in zc_request
	ksmbd: fix out of bounds in smb3_decrypt_req()
	ksmbd: validate session id and tree id in compound request
	ksmbd: no response from compound read
	ksmbd: fix out of bounds in init_smb2_rsp_hdr()
	ASoC: da7219: Flush pending AAD IRQ when suspending
	ASoC: da7219: Check for failure reading AAD IRQ events
	ASoC: nau8821: Add DMI quirk mechanism for active-high jack-detect
	ethernet: atheros: fix return value check in atl1c_tso_csum()
	m68k: Fix invalid .section syntax
	s390/dasd: use correct number of retries for ERP requests
	s390/dasd: fix hanging device after request requeue
	fs/nls: make load_nls() take a const parameter
	ASoC: rt5682-sdw: fix for JD event handling in ClockStop Mode0
	ASoc: codecs: ES8316: Fix DMIC config
	ASoC: rt711: fix for JD event handling in ClockStop Mode0
	ASoC: rt711-sdca: fix for JD event handling in ClockStop Mode0
	ASoC: atmel: Fix the 8K sample parameter in I2SC master
	ALSA: usb-audio: Add quirk for Microsoft Modern Wireless Headset
	platform/x86: intel: hid: Always call BTNL ACPI method
	platform/x86/intel/hid: Add HP Dragonfly G2 to VGBS DMI quirks
	platform/x86: think-lmi: Use kfree_sensitive instead of kfree
	platform/x86: asus-wmi: Fix setting RGB mode on some TUF laptops
	platform/x86: huawei-wmi: Silence ambient light sensor
	drm/amd/smu: use AverageGfxclkFrequency* to replace previous GFX Curr Clock
	drm/amd/display: Guard DCN31 PHYD32CLK logic against chip family
	drm/amd/display: Exit idle optimizations before attempt to access PHY
	ovl: Always reevaluate the file signature for IMA
	ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()
	ALSA: usb-audio: Update for native DSD support quirks
	staging: fbtft: ili9341: use macro FBTFT_REGISTER_SPI_DRIVER
	security: keys: perform capable check only on privileged operations
	kprobes: Prohibit probing on CFI preamble symbol
	clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
	vmbus_testing: fix wrong python syntax for integer value comparison
	Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
	net: dsa: microchip: KSZ9477 register regmap alignment to 32 bit boundaries
	net: annotate data-races around sk->sk_{rcv|snd}timeo
	net: usb: qmi_wwan: add Quectel EM05GV2
	wifi: brcmfmac: Fix field-spanning write in brcmf_scan_params_v2_to_v1()
	powerpc/powermac: Use early_* IO variants in via_calibrate_decr()
	idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
	platform/x86/amd/pmf: Fix unsigned comparison with less than zero
	scsi: lpfc: Remove reftag check in DIF paths
	scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
	net: hns3: restore user pause configure when disable autoneg
	drm/amdgpu: Match against exact bootloader status
	wifi: cfg80211: remove links only on AP
	wifi: mac80211: Use active_links instead of valid_links in Tx
	netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
	bnx2x: fix page fault following EEH recovery
	cifs: fix sockaddr comparison in iface_cmp
	cifs: fix max_credits implementation
	sctp: handle invalid error codes without calling BUG()
	scsi: aacraid: Reply queue mapping to CPUs based on IRQ affinity
	scsi: storvsc: Always set no_report_opcodes
	scsi: lpfc: Fix incorrect big endian type assignment in bsg loopback path
	LoongArch: Let pmd_present() return true when splitting pmd
	LoongArch: Fix the write_fcsr() macro
	ALSA: seq: oss: Fix racy open/close of MIDI devices
	net: sfp: handle 100G/25G active optical cables in sfp_parse_support
	tracing: Introduce pipe_cpumask to avoid race on trace_pipes
	platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
	of: property: Simplify of_link_to_phandle()
	cpufreq: intel_pstate: set stale CPU frequency to minimum
	crypto: rsa-pkcs1pad - Use helper to set reqsize
	tpm: Enable hwrng only for Pluton on AMD CPUs
	KVM: x86/mmu: Use kstrtobool() instead of strtobool()
	KVM: x86/mmu: Add "never" option to allow sticky disabling of nx_huge_pages
	net: Avoid address overwrite in kernel_connect
	drm/amd/display: ensure async flips are only accepted for fast updates
	udf: Check consistency of Space Bitmap Descriptor
	udf: Handle error when adding extent to a file
	Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN
	Revert "PCI: tegra194: Enable support for 256 Byte payload"
	Revert "net: macsec: preserve ingress frame ordering"
	tools lib subcmd: Add install target
	tools lib subcmd: Make install_headers clearer
	tools lib subcmd: Add dependency test to install_headers
	tools/resolve_btfids: Use pkg-config to locate libelf
	tools/resolve_btfids: Install subcmd headers
	tools/resolve_btfids: Alter how HOSTCC is forced
	tools/resolve_btfids: Compile resolve_btfids as host program
	tools/resolve_btfids: Tidy HOST_OVERRIDES
	tools/resolve_btfids: Pass HOSTCFLAGS as EXTRA_CFLAGS to prepare targets
	tools/resolve_btfids: Fix setting HOSTCFLAGS
	reiserfs: Check the return value from __getblk()
	eventfd: prevent underflow for eventfd semaphores
	fs: Fix error checking for d_hash_and_lookup()
	iomap: Remove large folio handling in iomap_invalidate_folio()
	tmpfs: verify {g,u}id mount options correctly
	selftests/harness: Actually report SKIP for signal tests
	vfs, security: Fix automount superblock LSM init problem, preventing NFS sb sharing
	ARM: ptrace: Restore syscall restart tracing
	ARM: ptrace: Restore syscall skipping for tracers
	refscale: Fix uninitalized use of wait_queue_head_t
	OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
	selftests/resctrl: Add resctrl.h into build deps
	selftests/resctrl: Don't leak buffer in fill_cache()
	selftests/resctrl: Unmount resctrl FS if child fails to run benchmark
	selftests/resctrl: Close perf value read fd on errors
	arm64/ptrace: Clean up error handling path in sve_set_common()
	sched/psi: Select KERNFS as needed
	x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
	arm64/sme: Don't use streaming mode to probe the maximum SME VL
	arm64/fpsimd: Only provide the length to cpufeature for xCR registers
	sched/rt: Fix sysctl_sched_rr_timeslice intial value
	perf/imx_ddr: don't enable counter0 if none of 4 counters are used
	selftests/futex: Order calls to futex_lock_pi
	s390/pkey: fix/harmonize internal keyblob headers
	s390/pkey: fix PKEY_TYPE_EP11_AES handling in PKEY_GENSECK2 IOCTL
	s390/pkey: fix PKEY_TYPE_EP11_AES handling for sysfs attributes
	s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
	irqchip/loongson-eiointc: Fix return value checking of eiointc_index
	ACPI: x86: s2idle: Post-increment variables when getting constraints
	ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
	thermal/of: Fix potential uninitialized value access
	cpufreq: amd-pstate-ut: Remove module parameter access
	cpufreq: amd-pstate-ut: Fix kernel panic when loading the driver
	x86/efistub: Fix PCI ROM preservation in mixed mode
	cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
	selftests/bpf: Fix bpf_nf failure upon test rerun
	bpftool: use a local copy of perf_event to fix accessing :: Bpf_cookie
	bpftool: Define a local bpf_perf_link to fix accessing its fields
	bpftool: Use a local copy of BPF_LINK_TYPE_PERF_EVENT in pid_iter.bpf.c
	bpftool: Use a local bpf_perf_event_value to fix accessing its fields
	libbpf: Fix realloc API handling in zero-sized edge cases
	bpf: Clear the probe_addr for uprobe
	bpf: Fix an error in verifying a field in a union
	crypto: qat - change value of default idle filter
	tcp: tcp_enter_quickack_mode() should be static
	hwrng: nomadik - keep clock enabled while hwrng is registered
	hwrng: pic32 - use devm_clk_get_enabled
	regmap: rbtree: Use alloc_flags for memory allocations
	wifi: rtw89: debug: Fix error handling in rtw89_debug_priv_btc_manual_set()
	wifi: mt76: mt7921: fix non-PSC channel scan fail
	udp: re-score reuseport groups when connected sockets are present
	bpf: reject unhashed sockets in bpf_sk_assign
	wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
	spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
	can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
	wifi: mt76: mt7915: fix power-limits while chan_switch
	wifi: mwifiex: Fix OOB and integer underflow when rx packets
	wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
	selftests/bpf: fix static assert compilation issue for test_cls_*.c
	kbuild: rust_is_available: remove -v option
	kbuild: rust_is_available: fix version check when CC has multiple arguments
	kbuild: rust_is_available: add check for `bindgen` invocation
	kbuild: rust_is_available: fix confusion when a version appears in the path
	crypto: stm32 - Properly handle pm_runtime_get failing
	crypto: api - Use work queue in crypto_destroy_instance
	Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
	Bluetooth: Fix potential use-after-free when clear keys
	Bluetooth: hci_sync: Don't double print name in add/remove adv_monitor
	Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor()
	net: tcp: fix unexcepted socket die when snd_wnd is 0
	selftests/bpf: Fix repeat option when kfunc_call verification fails
	selftests/bpf: Clean up fmod_ret in bench_rename test script
	net-memcg: Fix scope of sockmem pressure indicators
	ice: ice_aq_check_events: fix off-by-one check when filling buffer
	crypto: caam - fix unchecked return value error
	hwrng: iproc-rng200 - Implement suspend and resume calls
	lwt: Fix return values of BPF xmit ops
	lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
	fs: ocfs2: namei: check return value of ocfs2_add_entry()
	net: annotate data-races around sk->sk_lingertime
	wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
	wifi: mwifiex: Fix missed return in oob checks failed path
	ARM: dts: Add .dts files missing from the build
	samples/bpf: fix bio latency check with tracepoint
	samples/bpf: fix broken map lookup probe
	wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
	wifi: ath9k: protect WMI command response buffer replacement with a lock
	wifi: nl80211/cfg80211: add forgotten nla_policy for BSS color attribute
	mac80211: make ieee80211_tx_info padding explicit
	wifi: mwifiex: avoid possible NULL skb pointer dereference
	Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()
	arm64: mm: use ptep_clear() instead of pte_clear() in clear_flush()
	wifi: ath9k: use IS_ERR() with debugfs_create_dir()
	ice: avoid executing commands on other ports when driving sync
	net: arcnet: Do not call kfree_skb() under local_irq_disable()
	mlxsw: i2c: Fix chunk size setting in output mailbox buffer
	mlxsw: i2c: Limit single transaction buffer size
	mlxsw: core_hwmon: Adjust module label names based on MTCAP sensor counter
	hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
	octeontx2-pf: Refactor schedular queue alloc/free calls
	octeontx2-pf: Fix PFC TX scheduler free
	cteonxt2-pf: Fix backpressure config for multiple PFC priorities to work simultaneously
	sfc: Check firmware supports Ethernet PTP filter
	net/sched: sch_hfsc: Ensure inner classes have fsc curve
	netrom: Deny concurrent connect().
	drm/bridge: tc358764: Fix debug print parameter order
	ASoC: cs43130: Fix numerator/denominator mixup
	quota: factor out dquot_write_dquot()
	quota: rename dquot_active() to inode_quota_active()
	quota: add new helper dquot_active()
	quota: fix dqput() to follow the guarantees dquot_srcu should provide
	drm/amd/display: Do not set drr on pipe commit
	drm/hyperv: Fix a compilation issue because of not including screen_info.h
	ASoC: stac9766: fix build errors with REGMAP_AC97
	soc: qcom: ocmem: Add OCMEM hardware version print
	soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
	arm64: dts: qcom: sm6350: Fix ZAP region
	arm64: dts: qcom: sm8250: correct dynamic power coefficients
	arm64: dts: qcom: msm8916-l8150: correct light sensor VDDIO supply
	arm64: dts: qcom: sm8250-edo: Add gpio line names for TLMM
	arm64: dts: qcom: sm8250-edo: Add GPIO line names for PMIC GPIOs
	arm64: dts: qcom: sm8250-edo: Rectify gpio-keys
	arm64: dts: qcom: sc8280xp-crd: Correct vreg_misc_3p3 GPIO
	arm64: dts: qcom: sc8280xp: Add missing SCM interconnect
	arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller
	arm64: dts: qcom: sdm845-tama: Set serial indices and stdout-path
	arm64: dts: qcom: sm8350: Fix CPU idle state residency times
	arm64: dts: qcom: sm8350: Add missing LMH interrupts to cpufreq
	arm64: dts: qcom: sm8350: Use proper CPU compatibles
	arm64: dts: qcom: pm8350: fix thermal zone name
	arm64: dts: qcom: pm8350b: fix thermal zone name
	arm64: dts: qcom: pmr735b: fix thermal zone name
	arm64: dts: qcom: pmk8350: fix ADC-TM compatible string
	arm64: dts: qcom: sm8250: Mark PCIe hosts as DMA coherent
	ARM: dts: stm32: Rename mdio0 to mdio
	ARM: dts: stm32: YAML validation fails for Argon Boards
	ARM: dts: stm32: adopt generic iio bindings for adc channels on emstamp-argon
	ARM: dts: stm32: Add missing detach mailbox for emtrion emSBC-Argon
	ARM: dts: stm32: YAML validation fails for Odyssey Boards
	ARM: dts: stm32: Add missing detach mailbox for Odyssey SoM
	ARM: dts: stm32: Update to generic ADC channel binding on DHSOM systems
	ARM: dts: stm32: Add missing detach mailbox for DHCOM SoM
	firmware: ti_sci: Use system_state to determine polling
	drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
	ARM: dts: BCM53573: Drop nonexistent #usb-cells
	ARM: dts: BCM53573: Add cells sizes to PCIe node
	ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
	arm64: tegra: Fix HSUART for Jetson AGX Orin
	arm64: dts: qcom: sm8250-sony-xperia: correct GPIO keys wakeup again
	arm64: dts: qcom: pm6150l: Add missing short interrupt
	arm64: dts: qcom: pm660l: Add missing short interrupt
	arm64: dts: qcom: pmi8994: Add missing OVP interrupt
	arm64: tegra: Fix HSUART for Smaug
	drm/etnaviv: fix dumping of active MMU context
	block: cleanup queue_wc_store
	block: don't allow enabling a cache on devices that don't support it
	x86/mm: Fix PAT bit missing from page protection modify mask
	drm/bridge: anx7625: Use common macros for DP power sequencing commands
	drm/bridge: anx7625: Use common macros for HDCP capabilities
	ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
	ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
	ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
	drm: adv7511: Fix low refresh rate register for ADV7533/5
	ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
	arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
	arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
	arm64: dts: qcom: msm8996-gemini: fix touchscreen VIO supply
	drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
	md: Factor out is_md_suspended helper
	md: Change active_io to percpu
	md: restore 'noio_flag' for the last mddev_resume()
	md/raid10: factor out dereference_rdev_and_rrdev()
	md/raid10: use dereference_rdev_and_rrdev() to get devices
	md/md-bitmap: remove unnecessary local variable in backlog_store()
	md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
	drm/msm: Update dev core dump to not print backwards
	drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
	of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
	arm64: dts: qcom: sm8150: Fix the I2C7 interrupt
	ARM: dts: BCM53573: Fix Tenda AC9 switch CPU port
	drm/armada: Fix off-by-one error in armada_overlay_get_property()
	drm/repaper: Reduce temporary buffer size in repaper_fb_dirty()
	drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
	ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
	drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
	soc: qcom: smem: Fix incompatible types in comparison
	drm/msm/mdp5: Don't leak some plane state
	firmware: meson_sm: fix to avoid potential NULL pointer dereference
	drm/msm/dpu: fix the irq index in dpu_encoder_phys_wb_wait_for_commit_done
	smackfs: Prevent underflow in smk_set_cipso()
	drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
	drm/msm/a2xx: Call adreno_gpu_init() earlier
	audit: fix possible soft lockup in __audit_inode_child()
	block/mq-deadline: use correct way to throttling write requests
	io_uring: fix drain stalls by invalid SQE
	drm/mediatek: dp: Add missing error checks in mtk_dp_parse_capabilities
	bus: ti-sysc: Fix build warning for 64-bit build
	drm/mediatek: Remove freeing not dynamic allocated memory
	ARM: dts: qcom: ipq4019: correct SDHCI XO clock
	drm/mediatek: Fix potential memory leak if vmap() fail
	arm64: dts: qcom: apq8016-sbc: Fix ov5640 regulator supply names
	arm64: dts: qcom: msm8998: Drop bus clock reference from MMSS SMMU
	arm64: dts: qcom: msm8998: Add missing power domain to MMSS SMMU
	arm64: dts: qcom: msm8996: Fix dsi1 interrupts
	arm64: dts: qcom: sc8280xp-x13s: Unreserve NC pins
	bus: ti-sysc: Fix cast to enum warning
	md/raid5-cache: fix a deadlock in r5l_exit_log()
	md/raid5-cache: fix null-ptr-deref for r5l_flush_stripe_to_raid()
	firmware: cs_dsp: Fix new control name check
	md: add error_handlers for raid0 and linear
	md/raid0: Factor out helper for mapping and submitting a bio
	md/raid0: Fix performance regression for large sequential writes
	md: raid0: account for split bio in iostat accounting
	ASoC: SOF: amd: clear dsp to host interrupt status
	of: overlay: Call of_changeset_init() early
	of: unittest: Fix overlay type in apply/revert check
	ALSA: ac97: Fix possible error value of *rac97
	ipmi:ssif: Add check for kstrdup
	ipmi:ssif: Fix a memory leak when scanning for an adapter
	clk: qcom: gpucc-sm6350: Introduce index-based clk lookup
	clk: qcom: gpucc-sm6350: Fix clock source names
	clk: qcom: gcc-sc8280xp: Add EMAC GDSCs
	clk: qcom: gcc-sc8280xp: Add missing GDSC flags
	dt-bindings: clock: qcom,gcc-sc8280xp: Add missing GDSCs
	clk: qcom: gcc-sc8280xp: Add missing GDSCs
	clk: rockchip: rk3568: Fix PLL rate setting for 78.75MHz
	PCI: apple: Initialize pcie->nvecs before use
	PCI: qcom-ep: Switch MHI bus master clock off during L1SS
	drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
	PCI/DOE: Fix destroy_work_on_stack() race
	clk: sunxi-ng: Modify mismatched function name
	clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
	EDAC/igen6: Fix the issue of no error events
	ext4: correct grp validation in ext4_mb_good_group
	ext4: avoid potential data overflow in next_linear_group
	clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
	kvm/vfio: Prepare for accepting vfio device fd
	kvm/vfio: ensure kvg instance stays around in kvm_vfio_group_add()
	clk: qcom: reset: Use the correct type of sleep/delay based on length
	clk: qcom: gcc-sm6350: Fix gcc_sdcc2_apps_clk_src
	PCI: microchip: Correct the DED and SEC interrupt bit offsets
	PCI: Mark NVIDIA T4 GPUs to avoid bus reset
	pinctrl: mcp23s08: check return value of devm_kasprintf()
	PCI: Allow drivers to request exclusive config regions
	PCI: Add locking to RMW PCI Express Capability Register accessors
	PCI: pciehp: Use RMW accessors for changing LNKCTL
	PCI/ASPM: Use RMW accessors for changing LNKCTL
	clk: qcom: gcc-sm8450: Use floor ops for SDCC RCGs
	clk: imx: pllv4: Fix SPLL2 MULT range
	clk: imx: imx8ulp: update SPLL2 type
	clk: imx8mp: fix sai4 clock
	clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
	powerpc/radix: Move some functions into #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
	vfio/type1: fix cap_migration information leak
	nvdimm: Fix memleak of pmu attr_groups in unregister_nvdimm_pmu()
	nvdimm: Fix dereference after free in register_nvdimm_pmu()
	powerpc/fadump: reset dump area size if fadump memory reserve fails
	powerpc/perf: Convert fsl_emb notifier to state machine callbacks
	drm/amdgpu: Use RMW accessors for changing LNKCTL
	drm/radeon: Use RMW accessors for changing LNKCTL
	net/mlx5: Use RMW accessors for changing LNKCTL
	wifi: ath11k: Use RMW accessors for changing LNKCTL
	wifi: ath10k: Use RMW accessors for changing LNKCTL
	NFSv4.2: Rework scratch handling for READ_PLUS
	NFSv4.2: Fix READ_PLUS smatch warnings
	NFSv4.2: Fix up READ_PLUS alignment
	NFSv4.2: Fix READ_PLUS size calculations
	powerpc: Don't include lppaca.h in paca.h
	powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT
	nfs/blocklayout: Use the passed in gfp flags
	powerpc/pseries: Fix hcall tracepoints with JUMP_LABEL=n
	powerpc/mpc5xxx: Add missing fwnode_handle_put()
	powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
	ext4: fix unttached inode after power cut with orphan file feature enabled
	jfs: validate max amount of blocks before allocation.
	fs: lockd: avoid possible wrong NULL parameter
	NFSD: da_addr_body field missing in some GETDEVICEINFO replies
	NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
	NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
	pNFS: Fix assignment of xprtdata.cred
	cgroup/cpuset: Inherit parent's load balance state in v2
	RDMA/qedr: Remove a duplicate assignment in irdma_query_ah()
	media: ov5640: fix low resolution image abnormal issue
	media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables
	media: i2c: tvp5150: check return value of devm_kasprintf()
	media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
	iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind
	iommu: rockchip: Fix directory table address encoding
	drivers: usb: smsusb: fix error handling code in smsusb_init_device
	media: dib7000p: Fix potential division by zero
	media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
	media: cx24120: Add retval check for cx24120_message_send()
	RDMA/siw: Fabricate a GID on tun and loopback devices
	scsi: hisi_sas: Fix warnings detected by sparse
	scsi: hisi_sas: Fix normally completed I/O analysed as failed
	dt-bindings: extcon: maxim,max77843: restrict connector properties
	media: amphion: reinit vpu if reqbufs output 0
	media: amphion: add helper function to get id name
	media: mtk-jpeg: Fix use after free bug due to uncanceled work
	media: rkvdec: increase max supported height for H.264
	media: amphion: fix CHECKED_RETURN issues reported by coverity
	media: amphion: fix REVERSE_INULL issues reported by coverity
	media: amphion: fix UNINIT issues reported by coverity
	media: amphion: fix UNUSED_VALUE issue reported by coverity
	media: amphion: ensure the bitops don't cross boundaries
	media: mediatek: vcodec: Return NULL if no vdec_fb is found
	media: mediatek: vcodec: fix potential double free
	media: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init()
	usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
	scsi: RDMA/srp: Fix residual handling
	scsi: iscsi: Rename iscsi_set_param() to iscsi_if_set_param()
	scsi: iscsi: Add length check for nlattr payload
	scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
	scsi: be2iscsi: Add length check when parsing nlattrs
	scsi: qla4xxx: Add length check when parsing nlattrs
	iio: accel: adxl313: Fix adxl313_i2c_id[] table
	serial: sprd: Assign sprd_port after initialized to avoid wrong access
	serial: sprd: Fix DMA buffer leak issue
	x86/APM: drop the duplicate APM_MINOR_DEV macro
	RDMA/rxe: Split rxe_run_task() into two subroutines
	RDMA/rxe: Fix incomplete state save in rxe_requester
	scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
	scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
	scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
	RDMA/irdma: Replace one-element array with flexible-array member
	coresight: tmc: Explicit type conversions to prevent integer overflow
	interconnect: qcom: qcm2290: Enable sync state
	dma-buf/sync_file: Fix docs syntax
	driver core: test_async: fix an error code
	driver core: Call dma_cleanup() on the test_remove path
	kernfs: add stub helper for kernfs_generic_poll()
	extcon: cht_wc: add POWER_SUPPLY dependency
	iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data
	iommu/mediatek: Fix two IOMMU share pagetable issue
	iommu/sprd: Add missing force_aperture
	RDMA/hns: Fix port active speed
	RDMA/hns: Fix incorrect post-send with direct wqe of wr-list
	RDMA/hns: Fix inaccurate error label name in init instance
	RDMA/hns: Fix CQ and QP cache affinity
	IB/uverbs: Fix an potential error pointer dereference
	fsi: aspeed: Reset master errors after CFAM reset
	iommu/qcom: Disable and reset context bank before programming
	iommu/vt-d: Fix to flush cache of PASID directory table
	platform/x86: dell-sysman: Fix reference leak
	media: cec: core: add adap_nb_transmit_canceled() callback
	media: cec: core: add adap_unconfigured() callback
	media: go7007: Remove redundant if statement
	media: venus: hfi_venus: Only consider sys_idle_indicator on V1
	docs: ABI: fix spelling/grammar in SBEFIFO timeout interface
	USB: gadget: core: Add missing kerneldoc for vbus_work
	USB: gadget: f_mass_storage: Fix unused variable warning
	drivers: base: Free devm resources when unregistering a device
	HID: input: Support devices sending Eraser without Invert
	media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
	media: ov5640: Fix initial RESETB state and annotate timings
	media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
	media: ov2680: Remove auto-gain and auto-exposure controls
	media: ov2680: Fix ov2680_bayer_order()
	media: ov2680: Fix vflip / hflip set functions
	media: ov2680: Remove VIDEO_V4L2_SUBDEV_API ifdef-s
	media: ov2680: Don't take the lock for try_fmt calls
	media: ov2680: Add ov2680_fill_format() helper function
	media: ov2680: Fix ov2680_set_fmt() which == V4L2_SUBDEV_FORMAT_TRY not working
	media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
	media: i2c: rdacm21: Fix uninitialized value
	f2fs: fix to avoid mmap vs set_compress_option case
	f2fs: judge whether discard_unit is section only when have CONFIG_BLK_DEV_ZONED
	f2fs: Only lfs mode is allowed with zoned block device feature
	Revert "f2fs: fix to do sanity check on extent cache correctly"
	cgroup:namespace: Remove unused cgroup_namespaces_init()
	coresight: trbe: Fix TRBE potential sleep in atomic context
	RDMA/irdma: Prevent zero-length STAG registration
	scsi: core: Use 32-bit hostnum in scsi_host_lookup()
	scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
	interconnect: qcom: sm8450: Enable sync_state
	interconnect: qcom: bcm-voter: Improve enable_mask handling
	interconnect: qcom: bcm-voter: Use enable_maks for keepalive voting
	serial: tegra: handle clk prepare error in tegra_uart_hw_init()
	amba: bus: fix refcount leak
	Revert "IB/isert: Fix incorrect release of isert connection"
	RDMA/siw: Balance the reference of cep->kref in the error path
	RDMA/siw: Correct wrong debug message
	RDMA/efa: Fix wrong resources deallocation order
	HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
	HID: uclogic: Correct devm device reference for hidinput input_dev name
	HID: multitouch: Correct devm device reference for hidinput input_dev name
	platform/x86/amd/pmf: Fix a missing cleanup path
	tick/rcu: Fix false positive "softirq work is pending" messages
	x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
	tracing: Remove extra space at the end of hwlat_detector/mode
	tracing: Fix race issue between cpu buffer write and swap
	mtd: rawnand: brcmnand: Fix mtd oobsize
	dmaengine: idxd: Modify the dependence of attribute pasid_enabled
	phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
	phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
	phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
	rpmsg: glink: Add check for kstrdup
	leds: pwm: Fix error code in led_pwm_create_fwnode()
	leds: multicolor: Use rounded division when calculating color components
	leds: Fix BUG_ON check for LED_COLOR_ID_MULTI that is always false
	leds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead
	mtd: spi-nor: Check bus width while setting QE bit
	mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
	um: Fix hostaudio build errors
	dmaengine: ste_dma40: Add missing IRQ check in d40_probe
	Drivers: hv: vmbus: Don't dereference ACPI root object handle
	cpufreq: Fix the race condition while updating the transition_task of policy
	virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
	igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
	netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
	netfilter: nft_exthdr: Fix non-linear header modification
	netfilter: xt_u32: validate user space input
	netfilter: xt_sctp: validate the flag_info count
	skbuff: skb_segment, Call zero copy functions before using skbuff frags
	igb: set max size RX buffer when store bad packet is enabled
	PM / devfreq: Fix leak in devfreq_dev_release()
	ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
	rcu: dump vmalloc memory info safely
	printk: ringbuffer: Fix truncating buffer size min_t cast
	scsi: core: Fix the scsi_set_resid() documentation
	mm/vmalloc: add a safer version of find_vm_area() for debug
	cpu/hotplug: Prevent self deadlock on CPU hot-unplug
	media: i2c: ccs: Check rules is non-NULL
	media: i2c: Add a camera sensor top level menu
	PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address
	ipmi_si: fix a memleak in try_smi_init()
	ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
	XArray: Do not return sibling entries from xa_load()
	io_uring: break iopolling on signal
	backlight/gpio_backlight: Compare against struct fb_info.device
	backlight/bd6107: Compare against struct fb_info.device
	backlight/lv5207lp: Compare against struct fb_info.device
	drm/amd/display: register edp_backlight_control() for DCN301
	xtensa: PMU: fix base address for the newer hardware
	LoongArch: mm: Add p?d_leaf() definitions
	i3c: master: svc: fix probe failure when no i3c device exist
	arm64: csum: Fix OoB access in IP checksum code for negative lengths
	ALSA: hda/cirrus: Fix broken audio on hardware with two CS42L42 codecs.
	media: dvb: symbol fixup for dvb_attach()
	media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts
	Revert "scsi: qla2xxx: Fix buffer overrun"
	scsi: mpt3sas: Perform additional retries if doorbell read returns 0
	PCI: Free released resource after coalescing
	PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation
	PCI/PM: Only read PCI_PM_CTRL register when available
	ntb: Drop packets when qp link is down
	ntb: Clean up tx tail index on link down
	ntb: Fix calculation ntb_transport_tx_free_entry()
	Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
	block: don't add or resize partition on the disk with GENHD_FL_NO_PART
	procfs: block chmod on /proc/thread-self/comm
	parisc: Fix /proc/cpuinfo output for lscpu
	drm/amd/display: Add smu write msg id fail retry process
	bpf: Fix issue in verifying allow_ptr_leaks
	dlm: fix plock lookup when using multiple lockspaces
	dccp: Fix out of bounds access in DCCP error handler
	x86/sev: Make enc_dec_hypercall() accept a size instead of npages
	r8169: fix ASPM-related issues on a number of systems with NIC version from RTL8168h
	X.509: if signature is unsupported skip validation
	net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
	fsverity: skip PKCS#7 parser when keyring is empty
	x86/MCE: Always save CS register on AMD Zen IF Poison errors
	platform/chrome: chromeos_acpi: print hex string for ACPI_TYPE_BUFFER
	mmc: renesas_sdhi: register irqs before registering controller
	pstore/ram: Check start of empty przs during init
	arm64: sdei: abort running SDEI handlers during crash
	s390/dcssblk: fix kernel crash with list_add corruption
	s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
	s390/dasd: fix string length handling
	crypto: stm32 - fix loop iterating through scatterlist for DMA
	cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
	of: property: fw_devlink: Add a devlink for panel followers
	usb: typec: tcpm: set initial svdm version based on pd revision
	usb: typec: bus: verify partner exists in typec_altmode_attention
	USB: core: Unite old scheme and new scheme descriptor reads
	USB: core: Change usb_get_device_descriptor() API
	USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()
	USB: core: Fix oversight in SuperSpeed initialization
	x86/sgx: Break up long non-preemptible delays in sgx_vepc_release()
	perf/x86/uncore: Correct the number of CHAs on EMR
	serial: sc16is7xx: remove obsolete out_thread label
	serial: sc16is7xx: fix regression with GPIO configuration
	tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY
	Revert "drm/amd/display: Do not set drr on pipe commit"
	md: Free resources in __md_stop
	NFSv4.2: Fix a potential double free with READ_PLUS
	NFSv4.2: Rework scratch handling for READ_PLUS (again)
	md: fix regression for null-ptr-deference in __md_stop()
	clk: Mark a fwnode as initialized when using CLK_OF_DECLARE() macro
	treewide: Fix probing of devices in DT overlays
	clk: Avoid invalid function names in CLK_OF_DECLARE()
	udf: initialize newblock to 0
	Linux 6.1.53

Change-Id: I6f5858bce0f20963ae42515eac36ac14cb686f24
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-09-18 09:57:37 +00:00
Greg Kroah-Hartman
b92d1cb293 Merge 6.1.51 into android14-6.1-lts
Changes in 6.1.51
	ACPI: thermal: Drop nocrt parameter
	module: Expose module_init_layout_section()
	arm64: module-plts: inline linux/moduleloader.h
	arm64: module: Use module_init_layout_section() to spot init sections
	ARM: module: Use module_init_layout_section() to spot init sections
	lockdep: fix static memory detection even more
	parisc: Cleanup mmap implementation regarding color alignment
	parisc: sys_parisc: parisc_personality() is called from asm code
	io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc
	kallsyms: Fix kallsyms_selftest failure
	thunderbolt: Fix a backport error for display flickering issue
	Linux 6.1.51

Change-Id: I8bc79fc29ebf10ba654c16b771af1519eea39b38
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-09-18 09:53:20 +00:00
Greg Kroah-Hartman
0910193fd6 Merge 6.1.50 into android14-6.1-lts
Changes in 6.1.50
	NFSv4.2: fix error handling in nfs42_proc_getxattr
	NFSv4: fix out path in __nfs4_get_acl_uncached
	xprtrdma: Remap Receive buffers after a reconnect
	drm/ast: Use drm_aperture_remove_conflicting_pci_framebuffers
	fbdev/radeon: use pci aperture helpers
	drm/gma500: Use drm_aperture_remove_conflicting_pci_framebuffers
	drm/aperture: Remove primary argument
	video/aperture: Only kick vgacon when the pdev is decoding vga
	video/aperture: Move vga handling to pci function
	PCI: acpiphp: Reassign resources on bridge if necessary
	MIPS: cpu-features: Enable octeon_cache by cpu_type
	MIPS: cpu-features: Use boot_cpu_type for CPU type based features
	jbd2: remove t_checkpoint_io_list
	jbd2: remove journal_clean_one_cp_list()
	jbd2: fix a race when checking checkpoint buffer busy
	can: raw: fix receiver memory leak
	can: raw: fix lockdep issue in raw_release()
	s390/zcrypt: remove unnecessary (void *) conversions
	s390/zcrypt: fix reply buffer calculations for CCA replies
	drm/i915: Add the gen12_needs_ccs_aux_inv helper
	drm/i915/gt: Ensure memory quiesced before invalidation
	drm/i915/gt: Poll aux invalidation register bit on invalidation
	drm/i915/gt: Support aux invalidation on all engines
	tracing: Fix cpu buffers unavailable due to 'record_disabled' missed
	tracing: Fix memleak due to race between current_tracer and trace
	octeontx2-af: SDP: fix receive link config
	devlink: move code to a dedicated directory
	devlink: add missing unregister linecard notification
	net: dsa: felix: fix oversize frame dropping for always closed tc-taprio gates
	sock: annotate data-races around prot->memory_pressure
	dccp: annotate data-races in dccp_poll()
	ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
	mlxsw: pci: Set time stamp fields also when its type is MIRROR_UTC
	mlxsw: reg: Fix SSPR register layout
	mlxsw: Fix the size of 'VIRT_ROUTER_MSB'
	selftests: mlxsw: Fix test failure on Spectrum-4
	net: dsa: mt7530: fix handling of 802.1X PAE frames
	net: bgmac: Fix return value check for fixed_phy_register()
	net: bcmgenet: Fix return value check for fixed_phy_register()
	net: validate veth and vxcan peer ifindexes
	ipv4: fix data-races around inet->inet_id
	ice: fix receive buffer size miscalculation
	Revert "ice: Fix ice VF reset during iavf initialization"
	ice: Fix NULL pointer deref during VF reset
	selftests: bonding: do not set port down before adding to bond
	can: isotp: fix support for transmission of SF without flow control
	igb: Avoid starting unnecessary workqueues
	igc: Fix the typo in the PTM Control macro
	net/sched: fix a qdisc modification with ambiguous command request
	i40e: fix potential NULL pointer dereferencing of pf->vf i40e_sync_vsi_filters()
	netfilter: nf_tables: flush pending destroy work before netlink notifier
	netfilter: nf_tables: fix out of memory error handling
	rtnetlink: Reject negative ifindexes in RTM_NEWLINK
	bonding: fix macvlan over alb bond support
	KVM: x86: Preserve TDP MMU roots until they are explicitly invalidated
	KVM: x86/mmu: Fix an sign-extension bug with mmu_seq that hangs vCPUs
	io_uring: get rid of double locking
	io_uring: extract a io_msg_install_complete helper
	io_uring/msg_ring: move double lock/unlock helpers higher up
	io_uring/msg_ring: fix missing lock on overflow for IOPOLL
	ASoC: amd: yc: Add VivoBook Pro 15 to quirks list for acp6x
	ASoC: cs35l41: Correct amp_gain_tlv values
	ibmveth: Use dcbf rather than dcbfl
	wifi: mac80211: limit reorder_buf_filtered to avoid UBSAN warning
	platform/x86: ideapad-laptop: Add support for new hotkeys found on ThinkBook 14s Yoga ITL
	NFSv4: Fix dropped lock for racing OPEN and delegation return
	clk: Fix slab-out-of-bounds error in devm_clk_release()
	mm,ima,kexec,of: use memblock_free_late from ima_free_kexec_buffer
	shmem: fix smaps BUG sleeping while atomic
	ALSA: ymfpci: Fix the missing snd_card_free() call at probe error
	mm/gup: handle cont-PTE hugetlb pages correctly in gup_must_unshare() via GUP-fast
	mm: add a call to flush_cache_vmap() in vmap_pfn()
	mm: memory-failure: fix unexpected return value in soft_offline_page()
	NFS: Fix a use after free in nfs_direct_join_group()
	nfsd: Fix race to FREE_STATEID and cl_revoked
	selinux: set next pointer before attaching to list
	batman-adv: Trigger events for auto adjusted MTU
	batman-adv: Don't increase MTU when set by user
	batman-adv: Do not get eth header before batadv_check_management_packet
	batman-adv: Fix TT global entry leak when client roamed back
	batman-adv: Fix batadv_v_ogm_aggr_send memory leak
	batman-adv: Hold rtnl lock during MTU update via netlink
	lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
	riscv: Handle zicsr/zifencei issue between gcc and binutils
	riscv: Fix build errors using binutils2.37 toolchains
	radix tree: remove unused variable
	of: unittest: Fix EXPECT for parse_phandle_with_args_map() test
	of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
	pinctrl: amd: Mask wake bits on probe again
	media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
	PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
	drm/vmwgfx: Fix shader stage validation
	drm/i915/dgfx: Enable d3cold at s2idle
	drm/display/dp: Fix the DP DSC Receiver cap size
	x86/fpu: Invalidate FPU state correctly on exec()
	x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
	hwmon: (aquacomputer_d5next) Add selective 200ms delay after sending ctrl report
	selftests/net: mv bpf/nat6to4.c to net folder
	nfs: use vfs setgid helper
	nfsd: use vfs setgid helper
	cgroup/cpuset: Rename functions dealing with DEADLINE accounting
	sched/cpuset: Bring back cpuset_mutex
	sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
	cgroup/cpuset: Iterate only if DEADLINE tasks are present
	sched/deadline: Create DL BW alloc, free & check overflow interface
	cgroup/cpuset: Free DL BW in case can_attach() fails
	thunderbolt: Fix Thunderbolt 3 display flickering issue on 2nd hot plug onwards
	ublk: remove check IO_URING_F_SQE128 in ublk_ch_uring_cmd
	can: raw: add missing refcount for memory leak fix
	madvise:madvise_free_pte_range(): don't use mapcount() against large folio for sharing check
	scsi: snic: Fix double free in snic_tgt_create()
	scsi: core: raid_class: Remove raid_component_add()
	clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
	pinctrl: renesas: rzg2l: Fix NULL pointer dereference in rzg2l_dt_subnode_to_map()
	pinctrl: renesas: rzv2m: Fix NULL pointer dereference in rzv2m_dt_subnode_to_map()
	pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
	dma-buf/sw_sync: Avoid recursive lock during fence signal
	gpio: sim: dispose of irq mappings before destroying the irq_sim domain
	gpio: sim: pass the GPIO device's software node to irq domain
	ASoC: amd: yc: Fix a non-functional mic on Lenovo 82SJ
	maple_tree: disable mas_wr_append() when other readers are possible
	ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
	Linux 6.1.50

Change-Id: I9b8e3da5baa106b08b2b90974c19128141817580
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-09-18 09:52:46 +00:00
Greg Kroah-Hartman
13f6afea0c Merge 6.1.48 into android14-6.1-lts
Changes in 6.1.48
	x86/cpu: Fix __x86_return_thunk symbol type
	x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
	x86/alternative: Make custom return thunk unconditional
	x86/cpu: Clean up SRSO return thunk mess
	x86/cpu: Rename original retbleed methods
	x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
	x86/cpu: Cleanup the untrain mess
	x86/srso: Explain the untraining sequences a bit more
	x86/static_call: Fix __static_call_fixup()
	x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
	x86/CPU/AMD: Fix the DIV(0) initial fix attempt
	x86/srso: Disable the mitigation on unaffected configurations
	x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
	objtool/x86: Fixup frame-pointer vs rethunk
	x86/srso: Correct the mitigation status when SMT is disabled
	Linux 6.1.48

Change-Id: I9e2a6d887a9041b0203fdf8ad3d3ebc8177e2d24
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-09-18 09:49:18 +00:00
Greg Kroah-Hartman
094c282d92 Merge 6.1.46 into android14-6.1-lts
Changes in 6.1.46
	gcc-plugins: Reorganize gimple includes for GCC 13
	Revert "loongarch/cpu: Switch to arch_cpu_finalize_init()"
	tpm: Disable RNG for all AMD fTPMs
	tpm: Add a helper for checking hwrng enabled
	ksmbd: validate command request size
	ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
	KVM: SEV: snapshot the GHCB before accessing it
	KVM: SEV: only access GHCB fields once
	wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()
	wifi: rtw89: fix 8852AE disconnection caused by RX full flags
	selftests: forwarding: Set default IPv6 traceroute utility
	wireguard: allowedips: expand maximum node depth
	mmc: moxart: read scr register without changing byte order
	ipv6: adjust ndisc_is_useropt() to also return true for PIO
	selftests: mptcp: join: fix 'delete and re-add' test
	selftests: mptcp: join: fix 'implicit EP' test
	mptcp: avoid bogus reset on fallback close
	mptcp: fix disconnect vs accept race
	dmaengine: pl330: Return DMA_PAUSED when transaction is paused
	net: mana: Fix MANA VF unload when hardware is unresponsive
	riscv/kexec: load initrd high in available memory
	riscv,mmio: Fix readX()-to-delay() ordering
	riscv/kexec: handle R_RISCV_CALL_PLT relocation type
	nvme-pci: add NVME_QUIRK_BOGUS_NID for Samsung PM9B1 256G and 512G
	drm/nouveau/gr: enable memory loads on helper invocation on all channels
	drm/nouveau/nvkm/dp: Add workaround to fix DP 1.3+ DPCD issues
	drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
	drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
	drm/amd/display: check attr flag before set cursor degamma on DCN3+
	drm/amdgpu: add S/G display parameter
	drm/amd: Disable S/G for APUs when 64GB or more host memory
	drm/amd/display: limit DPIA link rate to HBR3
	cpuidle: dt_idle_genpd: Add helper function to remove genpd topology
	hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
	radix tree test suite: fix incorrect allocation size for pthreads
	nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
	drm/amd/pm: fulfill swsmu peak profiling mode shader/memory clock settings
	drm/amd/pm: expose swctf threshold setting for legacy powerplay
	drm/amd/pm: fulfill powerplay peak profiling mode shader/memory clock settings
	drm/amd/pm: avoid unintentional shutdown due to temperature momentary fluctuation
	drm/amd/display: Handle virtual hardware detect
	drm/amd/display: Add function for validate and update new stream
	drm/amd/display: Handle seamless boot stream
	drm/amd/display: Update OTG instance in the commit stream
	drm/amd/display: Avoid ABM when ODM combine is enabled for eDP
	drm/amd/display: Use update plane and stream routine for DCN32x
	drm/amd/display: Disable phantom OTG after enable for plane disable
	drm/amd/display: Retain phantom plane/stream if validation fails
	drm/amd/display: fix the build when DRM_AMD_DC_DCN is not set
	drm/amd/display: trigger timing sync only if TG is running
	io_uring: correct check for O_TMPFILE
	iio: cros_ec: Fix the allocation size for cros_ec_command
	iio: frequency: admv1013: propagate errors from regulator_get_voltage()
	iio: adc: ad7192: Fix ac excitation feature
	iio: adc: ina2xx: avoid NULL pointer dereference on OF device match
	binder: fix memory leak in binder_init()
	misc: rtsx: judge ASPM Mode to set PETXCFG Reg
	usb-storage: alauda: Fix uninit-value in alauda_check_media()
	usb: dwc3: Properly handle processing of pending events
	USB: Gadget: core: Help prevent panic during UVC unconfigure
	usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
	usb: typec: tcpm: Fix response to vsafe0V event
	usb: typec: altmodes/displayport: Signal hpd when configuring pin assignment
	x86/srso: Fix build breakage with the LLVM linker
	x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
	x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
	x86/sev: Do not try to parse for the CC blob on non-AMD hardware
	x86/speculation: Add cpu_show_gds() prototype
	x86: Move gds_ucode_mitigated() declaration to header
	drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
	iio: core: Prevent invalid memory access when there is no parent
	interconnect: qcom: Add support for mask-based BCMs
	interconnect: qcom: sm8450: add enable_mask for bcm nodes
	selftests/rseq: Fix build with undefined __weak
	selftests: forwarding: Add a helper to skip test when using veth pairs
	selftests: forwarding: ethtool: Skip when using veth pairs
	selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
	selftests: forwarding: hw_stats_l3_gre: Skip when using veth pairs
	selftests: forwarding: Skip test when no interfaces are specified
	selftests: forwarding: Switch off timeout
	selftests: forwarding: tc_flower: Relax success criterion
	net: core: remove unnecessary frame_sz check in bpf_xdp_adjust_tail()
	bpf, sockmap: Fix map type error in sock_map_del_link
	bpf, sockmap: Fix bug that strp_done cannot be called
	mISDN: Update parameter type of dsp_cmx_send()
	macsec: use DEV_STATS_INC()
	mptcp: fix the incorrect judgment for msk->cb_flags
	net/packet: annotate data-races around tp->status
	net/smc: Use correct buffer sizes when switching between TCP and SMC
	tcp: add missing family to tcp_set_ca_state() tracepoint
	tunnels: fix kasan splat when generating ipv4 pmtu error
	xsk: fix refcount underflow in error path
	bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
	dccp: fix data-race around dp->dccps_mss_cache
	drivers: net: prevent tun_build_skb() to exceed the packet size limit
	drivers: vxlan: vnifilter: free percpu vni stats on error path
	iavf: fix potential races for FDIR filters
	IB/hfi1: Fix possible panic during hotplug remove
	drm/rockchip: Don't spam logs in atomic check
	wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
	RDMA/umem: Set iova in ODP flow
	net: tls: avoid discarding data on record close
	net: marvell: prestera: fix handling IPv4 routes with nhid
	net: phy: at803x: remove set/get wol callbacks for AR8032
	net: dsa: ocelot: call dsa_tag_8021q_unregister() under rtnl_lock() on driver remove
	net: hns3: refactor hclge_mac_link_status_wait for interface reuse
	net: hns3: add wait until mac link down
	net: hns3: fix deadlock issue when externel_lb and reset are executed together
	nexthop: Fix infinite nexthop dump when using maximum nexthop ID
	nexthop: Make nexthop bucket dump more efficient
	nexthop: Fix infinite nexthop bucket dump when using maximum nexthop ID
	net: hns3: fix strscpy causing content truncation issue
	dmaengine: mcf-edma: Fix a potential un-allocated memory access
	dmaengine: owl-dma: Modify mismatched function name
	net/mlx5: Allow 0 for total host VFs
	net/mlx5: LAG, Check correct bucket when modifying LAG
	net/mlx5: Skip clock update work when device is in error state
	net/mlx5: Reload auxiliary devices in pci error handlers
	ibmvnic: Enforce stronger sanity checks on login response
	ibmvnic: Unmap DMA login rsp buffer on send login fail
	ibmvnic: Handle DMA unmapping of login buffs in release functions
	ibmvnic: Do partial reset on login failure
	ibmvnic: Ensure login failure recovery is safe from other resets
	gpio: ws16c48: Fix off-by-one error in WS16C48 resource region extent
	gpio: sim: mark the GPIO chip as a one that can sleep
	btrfs: wait for actual caching progress during allocation
	btrfs: don't stop integrity writeback too early
	btrfs: properly clear end of the unreserved range in cow_file_range
	btrfs: exit gracefully if reloc roots don't match
	btrfs: reject invalid reloc tree root keys with stack dump
	btrfs: set cache_block_group_error if we find an error
	nvme-tcp: fix potential unbalanced freeze & unfreeze
	nvme-rdma: fix potential unbalanced freeze & unfreeze
	netfilter: nf_tables: report use refcount overflow
	scsi: core: Fix legacy /proc parsing buffer overflow
	scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
	scsi: ufs: renesas: Fix private allocation
	scsi: 53c700: Check that command slot is not NULL
	scsi: snic: Fix possible memory leak if device_add() fails
	scsi: core: Fix possible memory leak if device_add() fails
	scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
	scsi: qedi: Fix firmware halt over suspend and resume
	scsi: qedf: Fix firmware halt over suspend and resume
	platform/x86: serial-multi-instantiate: Auto detect IRQ resource for CSC3551
	ACPI: scan: Create platform device for CS35L56
	alpha: remove __init annotation from exported page_is_ram()
	sch_netem: fix issues in netem_change() vs get_dist_table()
	drm/amd/pm/smu7: move variables to where they are used
	Linux 6.1.46

Change-Id: I679c85c2fa9609364ba40c4d6e665447a67a87fd
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-09-13 19:34:21 +00:00
Greg Kroah-Hartman
706ba4ef8d Merge 6.1.45 into android14-6.1-lts
Changes in 6.1.45
	io_uring: gate iowait schedule on having pending requests
	perf: Fix function pointer case
	net/mlx5: Free irqs only on shutdown callback
	net: ipa: only reset hashed tables when supported
	iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
	iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
	iommu/arm-smmu-v3: Add explicit feature for nesting
	iommu/arm-smmu-v3: Document nesting-related errata
	arm64: dts: imx8mm-venice-gw7903: disable disp_blk_ctrl
	arm64: dts: imx8mm-venice-gw7904: disable disp_blk_ctrl
	arm64: dts: phycore-imx8mm: Label typo-fix of VPU
	arm64: dts: phycore-imx8mm: Correction in gpio-line-names
	arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
	arm64: dts: freescale: Fix VPU G2 clock
	firmware: smccc: Fix use of uninitialised results structure
	lib/bitmap: workaround const_eval test build failure
	firmware: arm_scmi: Fix chan_free cleanup on SMC
	word-at-a-time: use the same return type for has_zero regardless of endianness
	KVM: s390: fix sthyi error handling
	erofs: fix wrong primary bvec selection on deduplicated extents
	wifi: cfg80211: Fix return value in scan logic
	net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups
	net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
	net/mlx5: fix potential memory leak in mlx5e_init_rep_rx
	net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
	net/mlx5e: Fix crash moving to switchdev mode when ntuple offload is set
	net/mlx5e: Move representor neigh cleanup to profile cleanup_tx
	bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
	rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
	net: dsa: fix value check in bcm_sf2_sw_probe()
	perf test uprobe_from_different_cu: Skip if there is no gcc
	net: sched: cls_u32: Fix match key mis-addressing
	mISDN: hfcpci: Fix potential deadlock on &hc->lock
	qed: Fix scheduling in a tasklet while getting stats
	net: annotate data-races around sk->sk_reserved_mem
	net: annotate data-race around sk->sk_txrehash
	net: annotate data-races around sk->sk_max_pacing_rate
	net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
	net: add missing READ_ONCE(sk->sk_sndbuf) annotation
	net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
	net: annotate data-races around sk->sk_mark
	net: add missing data-race annotations around sk->sk_peek_off
	net: add missing data-race annotation for sk_ll_usec
	net: annotate data-races around sk->sk_priority
	net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
	ice: Fix RDMA VSI removal during queue rebuild
	bpf, cpumap: Handle skb as well when clean up ptr_ring
	net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
	net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
	net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
	bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
	net: ll_temac: fix error checking of irq_of_parse_and_map()
	net: korina: handle clk prepare error in korina_probe()
	net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
	bnxt_en: Fix page pool logic for page size >= 64K
	bnxt_en: Fix max_mtu setting for multi-buf XDP
	net: dcb: choose correct policy to parse DCB_ATTR_BCN
	s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
	ip6mr: Fix skb_under_panic in ip6mr_cache_report()
	vxlan: Fix nexthop hash size
	net/mlx5: fs_core: Make find_closest_ft more generic
	net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
	prestera: fix fallback to previous version on same major version
	tcp_metrics: fix addr_same() helper
	tcp_metrics: annotate data-races around tm->tcpm_stamp
	tcp_metrics: annotate data-races around tm->tcpm_lock
	tcp_metrics: annotate data-races around tm->tcpm_vals[]
	tcp_metrics: annotate data-races around tm->tcpm_net
	tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
	rust: allocator: Prevent mis-aligned allocation
	scsi: zfcp: Defer fc_rport blocking until after ADISC response
	scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
	libceph: fix potential hang in ceph_osdc_notify()
	USB: zaurus: Add ID for A-300/B-500/C-700
	ceph: defer stopping mdsc delayed_work
	firmware: arm_scmi: Drop OF node reference in the transport channel setup
	exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
	exfat: release s_lock before calling dir_emit()
	mtd: spinand: toshiba: Fix ecc_get_status
	mtd: rawnand: meson: fix OOB available bytes for ECC
	bpf: Disable preemption in bpf_perf_event_output
	arm64: dts: stratix10: fix incorrect I2C property for SCL signal
	net: tun_chr_open(): set sk_uid from current_fsuid()
	net: tap_open(): set sk_uid from current_fsuid()
	wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
	x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction
	rbd: prevent busy loop when requesting exclusive lock
	bpf: Disable preemption in bpf_event_output
	powerpc/ftrace: Create a dummy stackframe to fix stack unwind
	arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE
	arm64/fpsimd: Clear SME state in the target task when setting the VL
	arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
	open: make RESOLVE_CACHED correctly test for O_TMPFILE
	drm/ttm: check null pointer before accessing when swapping
	drm/i915: Fix premature release of request's reusable memory
	drm/i915/gt: Cleanup aux invalidation registers
	clk: imx93: Propagate correct error in imx93_clocks_probe()
	bpf, cpumap: Make sure kthread is running before map update returns
	file: reinstate f_pos locking optimization for regular files
	mm: kmem: fix a NULL pointer dereference in obj_stock_flush_required()
	fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
	fs/sysv: Null check to prevent null-ptr-deref bug
	Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
	debugobjects: Recheck debug_objects_enabled before reporting
	net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
	fs: Protect reconfiguration of sb read-write from racing writes
	ext2: Drop fragment support
	btrfs: remove BUG_ON()'s in add_new_free_space()
	f2fs: fix to do sanity check on direct node in truncate_dnode()
	io_uring: annotate offset timeout races
	mtd: rawnand: omap_elm: Fix incorrect type in assignment
	mtd: rawnand: rockchip: fix oobfree offset and description
	mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts
	mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
	powerpc/mm/altmap: Fix altmap boundary check
	drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning
	drm/amd/display: Ensure that planes are in the same order
	drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en is 0
	selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
	f2fs: fix to set flush_merge opt and show noflush_merge
	f2fs: don't reset unchangable mount option in f2fs_remount()
	exfat: check if filename entries exceeds max filename length
	arm64/ptrace: Don't enable SVE when setting streaming SVE
	drm/amdgpu: add vram reservation based on vram_usagebyfirmware_v2_2
	drm/amdgpu: Remove unnecessary domain argument
	drm/amdgpu: Use apt name for FW reserved region
	Revert "drm/i915: Disable DC states for all commits"
	x86/CPU/AMD: Do not leak quotient data after a division by 0
	Linux 6.1.45

Change-Id: Ic63af3f07f26c867c9fc361b2f7055dbc04143d2
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-09-13 19:32:45 +00:00
Kan Liang
cc8a853c2d perf/x86/uncore: Correct the number of CHAs on EMR
commit 6f7f984fa85b305799076a1bcec941b9377587de upstream.

Starting from SPR, the basic uncore PMON information is retrieved from
the discovery table (resides in an MMIO space populated by BIOS). It is
called the discovery method. The existing value of the type->num_boxes
is from the discovery table.

On some SPR variants, there is a firmware bug that makes the value from the
discovery table incorrect. We use the value from the
SPR_MSR_UNC_CBO_CONFIG MSR to replace the one from the discovery table:

   38776cc45eb7 ("perf/x86/uncore: Correct the number of CHAs on SPR")

Unfortunately, the SPR_MSR_UNC_CBO_CONFIG isn't available for the EMR
XCC (Always returns 0), but the above firmware bug doesn't impact the
EMR XCC.

Don't let the value from the MSR replace the existing value from the
discovery table.

Fixes: 38776cc45eb7 ("perf/x86/uncore: Correct the number of CHAs on SPR")
Reported-by: Stephane Eranian <eranian@google.com>
Reported-by: Yunying Sun <yunying.sun@intel.com>
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Yunying Sun <yunying.sun@intel.com>
Link: https://lore.kernel.org/r/20230905134248.496114-1-kan.liang@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-13 09:43:04 +02:00
Jack Wang
e1eb041912 x86/sgx: Break up long non-preemptible delays in sgx_vepc_release()
commit 3d7d72a34e05b23e21bafc8bfb861e73c86b31f3 upstream.

On large enclaves we hit the softlockup warning with following call trace:

	xa_erase()
	sgx_vepc_release()
	__fput()
	task_work_run()
	do_exit()

The latency issue is similar to the one fixed in:

  8795359e35 ("x86/sgx: Silence softlockup detection when releasing large enclaves")

The test system has 64GB of enclave memory, and all is assigned to a single VM.
Release of 'vepc' takes a longer time and causes long latencies, which triggers
the softlockup warning.

Add cond_resched() to give other tasks a chance to run and reduce
latencies, which also avoids the softlockup detector.

[ mingo: Rewrote the changelog. ]

Fixes: 540745ddbc ("x86/sgx: Introduce virtual EPC for use by KVM guests")
Reported-by: Yu Zhang <yu.zhang@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Yu Zhang <yu.zhang@ionos.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Acked-by: Haitao Huang <haitao.huang@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-13 09:43:04 +02:00
Yazen Ghannam
e6e6a5f50f x86/MCE: Always save CS register on AMD Zen IF Poison errors
commit 4240e2ebe67941ce2c4f5c866c3af4b5ac7a0c67 upstream.

The Instruction Fetch (IF) units on current AMD Zen-based systems do not
guarantee a synchronous #MC is delivered for poison consumption errors.
Therefore, MCG_STATUS[EIPV|RIPV] will not be set. However, the
microarchitecture does guarantee that the exception is delivered within
the same context. In other words, the exact rIP is not known, but the
context is known to not have changed.

There is no architecturally-defined method to determine this behavior.

The Code Segment (CS) register is always valid on such IF unit poison
errors regardless of the value of MCG_STATUS[EIPV|RIPV].

Add a quirk to save the CS register for poison consumption from the IF
unit banks.

This is needed to properly determine the context of the error.
Otherwise, the severity grading function will assume the context is
IN_KERNEL due to the m->cs value being 0 (the initialized value). This
leads to unnecessary kernel panics on data poison errors due to the
kernel believing the poison consumption occurred in kernel context.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230814200853.29258-1-yazen.ghannam@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-13 09:43:03 +02:00
Steve Rutherford
ba50e7773a x86/sev: Make enc_dec_hypercall() accept a size instead of npages
commit ac3f9c9f1b37edaa7d1a9b908bc79d843955a1a2 upstream.

enc_dec_hypercall() accepted a page count instead of a size, which
forced its callers to round up. As a result, non-page aligned
vaddrs caused pages to be spuriously marked as decrypted via the
encryption status hypercall, which in turn caused consistent
corruption of pages during live migration. Live migration requires
accurate encryption status information to avoid migrating pages
from the wrong perspective.

Fixes: 064ce6c550 ("mm: x86: Invoke hypercall when page encryption status is changed")
Signed-off-by: Steve Rutherford <srutherford@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Tested-by: Ben Hillier <bhillier@google.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230824223731.2055016-1-srutherford@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-13 09:43:03 +02:00
Dave Hansen
ca5e8427e2 x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
[ Upstream commit c9f4c45c8ec3f07f4f083f9750032a1ec3eab6b2 ]

The Gather Data Sampling (GDS) vulnerability is common to all Skylake
processors.  However, the "client" Skylakes* are now in this list:

	https://www.intel.com/content/www/us/en/support/articles/000022396/processors.html

which means they are no longer included for new vulnerabilities here:

	https://www.intel.com/content/www/us/en/developer/topic-technology/software-security-guidance/processors-affected-consolidated-product-cpu-model.html

or in other GDS documentation.  Thus, they were not included in the
original GDS mitigation patches.

Mark SKYLAKE and SKYLAKE_L as vulnerable to GDS to match all the
other Skylake CPUs (which include Kaby Lake).  Also group the CPUs
so that the ones that share the exact same vulnerabilities are next
to each other.

Last, move SRBDS to the end of each line.  This makes it clear at a
glance that SKYLAKE_X is unique.  Of the five Skylakes, it is the
only "server" CPU and has a different implementation from the
clients of the "special register" hardware, making it immune to SRBDS.

This makes the diff much harder to read, but the resulting table is
worth it.

I very much appreciate the report from Michael Zhivich about this
issue.  Despite what level of support a hardware vendor is providing,
the kernel very much needs an accurate and up-to-date list of
vulnerable CPUs.  More reports like this are very welcome.

* Client Skylakes are CPUID 406E3/506E3 which is family 6, models
  0x4E and 0x5E, aka INTEL_FAM6_SKYLAKE and INTEL_FAM6_SKYLAKE_L.

Reported-by: Michael Zhivich <mzhivich@akamai.com>
Fixes: 8974eb588283 ("x86/speculation: Add Gather Data Sampling mitigation")
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:57 +02:00
Randy Dunlap
0ad56bf59d x86/APM: drop the duplicate APM_MINOR_DEV macro
[ Upstream commit 4ba2909638a29630a346d6c4907a3105409bee7d ]

This source file already includes <linux/miscdevice.h>, which contains
the same macro. It doesn't need to be defined here again.

Fixes: 874bcd00f5 ("apm-emulation: move APM_MINOR_DEV to include/linux/miscdevice.h")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: x86@kernel.org
Cc: Sohil Mehta <sohil.mehta@intel.com>
Cc: Corentin Labbe <clabbe.montjoie@gmail.com>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20230728011120.759-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-13 09:42:52 +02:00