Commit Graph

1160882 Commits

Author SHA1 Message Date
Greg Kroah-Hartman
2b84f5edda Revert "media: mc: Expand MUST_CONNECT flag to always require an enabled link"
This reverts commit e2c545b841 which is
commit b3decc5ce7d778224d266423b542326ad469cb5f upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I94f10b3fe86210799b5697259e32114f00f080f0
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-20 10:34:50 +00:00
Greg Kroah-Hartman
2b530e8f5d Merge 6.1.84 into android14-6.1-lts
Changes in 6.1.84
	x86/cpu: Support AMD Automatic IBRS
	x86/bugs: Use sysfs_emit()
	KVM: x86: Update KVM-only leaf handling to allow for 100% KVM-only leafs
	KVM: x86: Advertise CPUID.(EAX=7,ECX=2):EDX[5:0] to userspace
	KVM: x86: Use a switch statement and macros in __feature_translate()
	timers: Update kernel-doc for various functions
	timers: Use del_timer_sync() even on UP
	timers: Rename del_timer_sync() to timer_delete_sync()
	wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach
	media: staging: ipu3-imgu: Set fields before media_entity_pads_init()
	arm64: dts: qcom: sc7280: Add additional MSI interrupts
	remoteproc: virtio: Fix wdg cannot recovery remote processor
	clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd
	smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()
	smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()
	arm: dts: marvell: Fix maxium->maxim typo in brownstone dts
	drm/vmwgfx: Fix possible null pointer derefence with invalid contexts
	serial: max310x: fix NULL pointer dereference in I2C instantiation
	pci_iounmap(): Fix MMIO mapping leak
	media: xc4000: Fix atomicity violation in xc4000_get_frequency
	media: mc: Add local pad to pipeline regardless of the link state
	media: mc: Fix flags handling when creating pad links
	media: mc: Add num_links flag to media_pad
	media: mc: Rename pad variable to clarify intent
	media: mc: Expand MUST_CONNECT flag to always require an enabled link
	KVM: Always flush async #PF workqueue when vCPU is being destroyed
	cpufreq: amd-pstate: Fix min_perf assignment in amd_pstate_adjust_perf()
	powerpc/smp: Adjust nr_cpu_ids to cover all threads of a core
	powerpc/smp: Increase nr_cpu_ids to include the boot CPU
	sparc64: NMI watchdog: fix return value of __setup handler
	sparc: vDSO: fix return value of __setup handler
	crypto: qat - fix double free during reset
	crypto: qat - resolve race condition during AER recovery
	selftests/mqueue: Set timeout to 180 seconds
	ext4: correct best extent lstart adjustment logic
	block: Clear zone limits for a non-zoned stacked queue
	kasan/test: avoid gcc warning for intentional overflow
	bounds: support non-power-of-two CONFIG_NR_CPUS
	fat: fix uninitialized field in nostale filehandles
	ubifs: Set page uptodate in the correct place
	ubi: Check for too small LEB size in VTBL code
	ubi: correct the calculation of fastmap size
	mtd: rawnand: meson: fix scrambling mode value in command macro
	parisc/unaligned: Rewrite 64-bit inline assembly of emulate_ldd()
	parisc: Avoid clobbering the C/B bits in the PSW with tophys and tovirt macros
	parisc: Fix ip_fast_csum
	parisc: Fix csum_ipv6_magic on 32-bit systems
	parisc: Fix csum_ipv6_magic on 64-bit systems
	parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds
	md/raid5: fix atomicity violation in raid5_cache_count
	cpufreq: Limit resolving a frequency to policy min/max
	PM: suspend: Set mem_sleep_current during kernel command line setup
	clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays
	clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays
	clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
	clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays
	usb: xhci: Add error handling in xhci_map_urb_for_dma
	powerpc/fsl: Fix mfpmr build errors with newer binutils
	USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB
	USB: serial: add device ID for VeriFone adapter
	USB: serial: cp210x: add ID for MGP Instruments PDS100
	USB: serial: option: add MeiG Smart SLM320 product
	KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled
	USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M
	PM: sleep: wakeirq: fix wake irq warning in system suspend
	mmc: tmio: avoid concurrent runs of mmc_request_done()
	fuse: fix root lookup with nonzero generation
	fuse: don't unhash root
	usb: typec: ucsi: Clean up UCSI_CABLE_PROP macros
	serial: Lock console when calling into driver before registration
	btrfs: qgroup: always free reserved space for extent records
	btrfs: fix off-by-one chunk length calculation at contains_pending_extent()
	PCI/PM: Drain runtime-idle callbacks before driver removal
	PCI/DPC: Quirk PIO log size for Intel Raptor Lake Root Ports
	dm-raid: fix lockdep waring in "pers->hot_add_disk"
	powerpc: xor_vmx: Add '-mhard-float' to CFLAGS
	mac802154: fix llsec key resources release in mac802154_llsec_key_del
	swap: comments get_swap_device() with usage rule
	mm: swap: fix race between free_swap_and_cache() and swapoff()
	mmc: core: Fix switch on gp3 partition
	drm/etnaviv: Restore some id values
	landlock: Warn once if a Landlock action is requested while disabled
	hwmon: (amc6821) add of_match table
	ext4: fix corruption during on-line resize
	nvmem: meson-efuse: fix function pointer type mismatch
	slimbus: core: Remove usage of the deprecated ida_simple_xx() API
	phy: tegra: xusb: Add API to retrieve the port number of phy
	usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic
	speakup: Fix 8bit characters from direct synth
	PCI/AER: Block runtime suspend when handling errors
	io_uring/net: correctly handle multishot recvmsg retry setup
	sparc: Explicitly include correct DT includes
	sparc32: Fix parport build with sparc32
	nfs: fix UAF in direct writes
	kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1
	PCI: qcom: Rename qcom_pcie_config_sid_sm8250() to reflect IP version
	PCI: qcom: Enable BDF to SID translation properly
	PCI: dwc: endpoint: Fix advertised resizable BAR size
	PCI: hv: Fix ring buffer size calculation
	vfio: Use GFP_KERNEL_ACCOUNT for userspace persistent allocations
	vfio/pci: Consolidate irq cleanup on MSI/MSI-X disable
	vfio/pci: Remove negative check on unsigned vector
	vfio/pci: Lock external INTx masking ops
	vfio/platform: Disable virqfds on cleanup
	ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info
	ring-buffer: Fix waking up ring buffer readers
	ring-buffer: Do not set shortest_full when full target is hit
	ring-buffer: Fix resetting of shortest_full
	ring-buffer: Fix full_waiters_pending in poll
	ring-buffer: Use wait_event_interruptible() in ring_buffer_wait()
	soc: fsl: qbman: Always disable interrupts when taking cgr_lock
	soc: fsl: qbman: Use raw spinlock for cgr_lock
	s390/zcrypt: fix reference counting on zcrypt card objects
	drm/probe-helper: warn about negative .get_modes()
	drm/panel: do not return negative error codes from drm_panel_get_modes()
	drm/exynos: do not return negative values from .get_modes()
	drm/imx/ipuv3: do not return negative values from .get_modes()
	drm/vc4: hdmi: do not return negative values from .get_modes()
	memtest: use {READ,WRITE}_ONCE in memory scanning
	Revert "block/mq-deadline: use correct way to throttling write requests"
	f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag
	f2fs: truncate page cache before clearing flags when aborting atomic write
	nilfs2: fix failure to detect DAT corruption in btree and direct mappings
	nilfs2: prevent kernel bug at submit_bh_wbc()
	cifs: open_cached_dir(): add FILE_READ_EA to desired access
	cpufreq: dt: always allocate zeroed cpumask
	x86/CPU/AMD: Update the Zenbleed microcode revisions
	NFSD: Fix nfsd_clid_class use of __string_len() macro
	net: hns3: tracing: fix hclgevf trace event strings
	LoongArch: Change __my_cpu_offset definition to avoid mis-optimization
	LoongArch: Define the __io_aw() hook as mmiowb()
	wireguard: netlink: check for dangling peer via is_dead instead of empty list
	wireguard: netlink: access device through ctx instead of peer
	ahci: asm1064: correct count of reported ports
	ahci: asm1064: asm1166: don't limit reported ports
	drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag
	drm/amd/display: Return the correct HDCP error code
	drm/amd/display: Fix noise issue on HDMI AV mute
	dm snapshot: fix lockup in dm_exception_table_exit
	x86/pm: Work around false positive kmemleak report in msr_build_context()
	cpufreq: brcmstb-avs-cpufreq: fix up "add check for cpufreq_cpu_get's return value"
	platform/x86: p2sb: On Goldmont only cache P2SB and SPI devfn BAR
	tls: fix race between tx work scheduling and socket close
	netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
	netfilter: nf_tables: disallow anonymous set with timeout flag
	netfilter: nf_tables: reject constant set with timeout
	Drivers: hv: vmbus: Calculate ring buffer size for more efficient use of memory
	xfrm: Avoid clang fortify warning in copy_to_user_tmpl()
	init/Kconfig: lower GCC version check for -Warray-bounds
	KVM: x86: Mark target gfn of emulated atomic instruction as dirty
	KVM: SVM: Flush pages under kvm->lock to fix UAF in svm_register_enc_region()
	tracing: Use .flush() call to wake up readers
	drm/amdgpu/pm: Fix the error of pwm1_enable setting
	drm/i915: Check before removing mm notifier
	ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform
	USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command
	usb: gadget: ncm: Fix handling of zero block length packets
	usb: port: Don't try to peer unused USB ports based on location
	tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled
	misc: lis3lv02d_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume
	mei: me: add arrow lake point S DID
	mei: me: add arrow lake point H DID
	vt: fix unicode buffer corruption when deleting characters
	fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion
	ALSA: hda/realtek - Add Headset Mic supported Acer NB platform
	ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook
	tee: optee: Fix kernel panic caused by incorrect error handling
	mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations
	iio: accel: adxl367: fix DEVID read after reset
	iio: accel: adxl367: fix I2C FIFO data register
	i2c: i801: Avoid potential double call to gpiod_remove_lookup_table
	drm/amd/display: handle range offsets in VRR ranges
	x86/efistub: Call mixed mode boot services on the firmware's stack
	net: tls: handle backlogging of crypto requests
	ASoC: amd: yc: Revert "Fix non-functional mic on Lenovo 21J2"
	iommu: Avoid races around default domain allocations
	clocksource/drivers/arm_global_timer: Fix maximum prescaler value
	entry: Respect changes to system call number by trace_sys_enter()
	minmax: add umin(a, b) and umax(a, b)
	swiotlb: Fix alignment checks when both allocation and DMA masks are present
	iommu/dma: Force swiotlb_max_mapping_size on an untrusted device
	printk: Update @console_may_schedule in console_trylock_spinning()
	irqchip/renesas-rzg2l: Implement restriction when writing ISCR register
	irqchip/renesas-rzg2l: Flush posted write in irq_eoi()
	irqchip/renesas-rzg2l: Add macro to retrieve TITSR register offset based on register's index
	irqchip/renesas-rzg2l: Rename rzg2l_tint_eoi()
	irqchip/renesas-rzg2l: Rename rzg2l_irq_eoi()
	irqchip/renesas-rzg2l: Prevent spurious interrupts when setting trigger type
	kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address
	efi/libstub: fix efi_random_alloc() to allocate memory at alloc_min or higher address
	x86/fpu: Keep xfd_state in sync with MSR_IA32_XFD
	efi: fix panic in kdump kernel
	pwm: img: fix pwm clock lookup
	tty: serial: imx: Fix broken RS485
	block: Fix page refcounts for unaligned buffers in __bio_release_pages()
	blk-mq: release scheduler resource when request completes
	selftests: mptcp: diag: return KSFT_FAIL not test_cnt
	vfio/pci: Disable auto-enable of exclusive INTx IRQ
	vfio: Introduce interface to flush virqfd inject workqueue
	vfio/pci: Create persistent INTx handler
	vfio/platform: Create persistent IRQ handlers
	vfio/fsl-mc: Block calling interrupt handler without trigger
	x86/coco: Export cc_vendor
	x86/coco: Get rid of accessor functions
	x86/Kconfig: Remove CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
	x86/sev: Fix position dependent variable references in startup code
	mm/migrate: set swap entry values of THP tail pages properly.
	init: open /initrd.image with O_LARGEFILE
	x86/efistub: Add missing boot_params for mixed mode compat entry
	efi/libstub: Cast away type warning in use of max()
	btrfs: zoned: don't skip block groups with 100% zone unusable
	btrfs: zoned: use zone aware sb location for scrub
	wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes
	wifi: iwlwifi: fw: don't always use FW dump trig
	exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()
	hexagon: vmlinux.lds.S: handle attributes section
	mmc: sdhci-omap: re-tuning is needed after a pm transition to support emmc HS200 mode
	mmc: core: Initialize mmc_blk_ioc_data
	mmc: core: Avoid negative index with array access
	block: Do not force full zone append completion in req_bio_endio()
	thermal: devfreq_cooling: Fix perf state when calculate dfc res_util
	nouveau/dmem: handle kcalloc() allocation failure
	net: ll_temac: platform_get_resource replaced by wrong function
	drm/vmwgfx: Create debugfs ttm_resource_manager entry only if needed
	drm/amdkfd: fix TLB flush after unmap for GFX9.4.2
	drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()
	drm/i915/gt: Reset queue_priority_hint on parking
	Bluetooth: hci_sync: Fix not checking error on hci_cmd_sync_cancel_sync
	Revert "usb: phy: generic: Get the vbus supply"
	usb: cdc-wdm: close race between read and workqueue
	USB: UAS: return ENODEV when submit urbs fail with device not attached
	usb: dwc3-am62: Rename private data
	usb: dwc3-am62: fix module unload/reload behavior
	ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs
	scsi: core: Fix unremoved procfs host directory regression
	staging: vc04_services: changen strncpy() to strscpy_pad()
	staging: vc04_services: fix information leak in create_component()
	USB: core: Add hub_get() and hub_put() routines
	USB: core: Fix deadlock in port "disable" sysfs attribute
	scsi: sd: Fix TCG OPAL unlock on system resume
	usb: dwc2: host: Fix remote wakeup from hibernation
	usb: dwc2: host: Fix hibernation flow
	usb: dwc2: host: Fix ISOC flow in DDMA mode
	usb: dwc2: gadget: Fix exiting from clock gating
	usb: dwc2: gadget: LPM flow fix
	usb: udc: remove warning when queue disabled ep
	usb: typec: Return size of buffer if pd_set operation succeeds
	usb: typec: ucsi: Clear EVENT_PENDING under PPM lock
	usb: typec: ucsi: Ack unsupported commands
	usb: typec: ucsi_acpi: Refactor and fix DELL quirk
	usb: typec: ucsi: Clear UCSI_CCI_RESET_COMPLETE before reset
	scsi: qla2xxx: Prevent command send on chip reset
	scsi: qla2xxx: Fix N2N stuck connection
	scsi: qla2xxx: Split FCE|EFT trace control
	scsi: qla2xxx: Update manufacturer detail
	scsi: qla2xxx: NVME|FCP prefer flag not being honored
	scsi: qla2xxx: Fix command flush on cable pull
	scsi: qla2xxx: Fix double free of fcport
	scsi: qla2xxx: Change debug message during driver unload
	scsi: qla2xxx: Delay I/O Abort on PCI error
	x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled
	tls: fix use-after-free on failed backlog decryption
	scsi: lpfc: Correct size for cmdwqe/rspwqe for memset()
	scsi: lpfc: Correct size for wqe for memset()
	scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()
	scsi: libsas: Fix disk not being scanned in after being removed
	x86/sev: Skip ROM range scans and validation for SEV-SNP guests
	USB: core: Fix deadlock in usb_deauthorize_interface()
	tools/resolve_btfids: fix build with musl libc
	Linux 6.1.84

Change-Id: I2aa458588d512ce908a9b087cdc66b345cef83a9
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-16 17:29:02 +00:00
Greg Kroah-Hartman
81cc178d7c Revert "io_uring: drop any code related to SCM_RIGHTS"
This reverts commit a3812a47a3 which is
commit 6e5e6d274956305f1fc0340522b38f5f5be74bdb upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I84857293b288c8a160b2567d4018568c36893eff
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-16 14:12:37 +00:00
Greg Kroah-Hartman
229c1b5f61 Revert "Bluetooth: hci_conn: Consolidate code for aborting connections"
This reverts commit 6083089ab0 which is
commit a13f316e90 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Ic482b9be644466e06baa4bc0f01a7cbf63b905fb
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-16 14:12:36 +00:00
Greg Kroah-Hartman
50619421ea Revert "Bluetooth: hci_core: Cancel request on command timeout"
This reverts commit 1b6cfa4c76 which is
commit 63298d6e752fc0ec7f5093860af8bc9f047b30c8 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I63e22487a918e73d667b231128efcfceb48f528b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-16 14:12:33 +00:00
Greg Kroah-Hartman
6147e04a86 Revert "Bluetooth: hci_sync: Fix overwriting request callback"
This reverts commit da77c1d39b which is
commit 2615fd9a7c2507eb3be3fbe49dcec88a2f56454a upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I4250b5552873f25a1a0dec32159511eeb96aac9a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-16 13:44:35 +00:00
Greg Kroah-Hartman
c0dded0f8b Revert "Bluetooth: fix use-after-free in accessing skb after sending it"
This reverts commit 715264ad09 which is
commit 947ec0d002dce8577b655793dcc6fc78d67b7cb6 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Icc979230a67566ee6a64cee43c91ec710c53c019
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-16 13:44:02 +00:00
Greg Kroah-Hartman
7386876ffd Revert "Bluetooth: hci_core: Fix missing instances using HCI_MAX_AD_LENGTH"
This reverts commit 99f30e12e5 which is
commit db08722fc7 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I8de43981e4a64a6484e85d0e2f3ad77f0dd11f23
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-16 13:41:48 +00:00
Greg Kroah-Hartman
0ba60e394b Revert "Bluetooth: Fix eir name length"
This reverts commit 262a77d85e which is
commit 2ab3e8d67fc1d4a7638b769cf83023ec209fc0a9 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Iaeeb3fa9c2f11e4e24d212a7c703cda24c01fa65
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-16 13:41:21 +00:00
Natanael Copa
ff903561b7 UPSTREAM: tools/resolve_btfids: fix build with musl libc
commit 62248b22d01e96a4d669cde0d7005bd51ebf9e76 upstream.

Include the header that defines u32.
This fixes build of 6.6.23 and 6.1.83 kernels for Alpine Linux, which
uses musl libc. I assume that GNU libc indirecly pulls in linux/types.h.

Fixes: 9707ac4fe2f5 ("tools/resolve_btfids: Refactor set sorting with types from btf_ids.h")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218647
Cc: stable@vger.kernel.org
Change-Id: I34cd9d80bc1623c0caa1c2f894710e6640b4c0bc
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Tested-by: Greg Thelen <gthelen@google.com>
Link: https://lore.kernel.org/r/20240328110103.28734-1-ncopa@alpinelinux.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 7b970a145c)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-16 09:35:28 +00:00
Greg Kroah-Hartman
0328f7d241 Merge 6.1.83 into android14-6.1-lts
Changes in 6.1.83
	md: fix data corruption for raid456 when reshape restart while grow up
	md/raid10: prevent soft lockup while flush writes
	io_uring/unix: drop usage of io_uring socket
	io_uring: drop any code related to SCM_RIGHTS
	nfsd: allow nfsd_file_get to sanely handle a NULL pointer
	nfsd: don't open-code clear_and_wake_up_bit
	nfsd: NFSD_FILE_KEY_INODE only needs to find GC'ed entries
	nfsd: simplify test_bit return in NFSD_FILE_KEY_FULL comparator
	nfsd: don't kill nfsd_files because of lease break error
	nfsd: add some comments to nfsd_file_do_acquire
	nfsd: don't take/put an extra reference when putting a file
	nfsd: update comment over __nfsd_file_cache_purge
	nfsd: allow reaping files still under writeback
	NFSD: Convert filecache to rhltable
	nfsd: simplify the delayed disposal list code
	NFSD: Fix problem of COMMIT and NFS4ERR_DELAY in infinite loop
	NFSD: Add an nfsd4_encode_nfstime4() helper
	nfsd: Fix creation time serialization order
	media: rkisp1: Fix IRQ handling due to shared interrupts
	perf/arm-cmn: Workaround AmpereOneX errata AC04_MESH_1 (incorrect child count)
	selftests: tls: use exact comparison in recv_partial
	ASoC: rt5645: Make LattePanda board DMI match more precise
	ASoC: amd: yc: Fix non-functional mic on Lenovo 82UU
	x86/xen: Add some null pointer checking to smp.c
	MIPS: Clear Cause.BD in instruction_pointer_set
	HID: multitouch: Add required quirk for Synaptics 0xcddc device
	gen_compile_commands: fix invalid escape sequence warning
	arm64/sve: Lower the maximum allocation for the SVE ptrace regset
	soc: microchip: Fix POLARFIRE_SOC_SYS_CTRL input prompt
	RDMA/mlx5: Fix fortify source warning while accessing Eth segment
	RDMA/mlx5: Relax DEVX access upon modify commands
	riscv: dts: sifive: add missing #interrupt-cells to pmic
	x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.h
	x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault()
	net/iucv: fix the allocation size of iucv_path_table array
	parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check
	block: sed-opal: handle empty atoms when parsing response
	dm-verity, dm-crypt: align "struct bvec_iter" correctly
	arm64: dts: Fix dtc interrupt_provider warnings
	btrfs: fix data races when accessing the reserved amount of block reserves
	btrfs: fix data race at btrfs_use_block_rsv() when accessing block reserve
	net: smsc95xx: add support for SYS TEC USB-SPEmodule1
	wifi: mac80211: only call drv_sta_rc_update for uploaded stations
	ASoC: amd: yc: Add Lenovo ThinkBook 21J0 into DMI quirk table
	scsi: mpt3sas: Prevent sending diag_reset when the controller is ready
	ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port
	drm/amdgpu: Enable gpu reset for S3 abort cases on Raven series
	ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2
	Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security
	Bluetooth: mgmt: Fix limited discoverable off timeout
	firewire: core: use long bus reset on gap count error
	arm64: tegra: Set the correct PHY mode for MGBE
	ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet
	Input: gpio_keys_polled - suppress deferred probe error for gpio
	ASoC: wm8962: Enable oscillator if selecting WM8962_FLL_OSC
	ASoC: wm8962: Enable both SPKOUTR_ENA and SPKOUTL_ENA in mono mode
	ASoC: wm8962: Fix up incorrect error message in wm8962_set_fll
	do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak
	fs: Fix rw_hint validation
	s390/dasd: add autoquiesce feature
	s390/dasd: Use dev_*() for device log messages
	s390/dasd: fix double module refcount decrement
	rcu/exp: Fix RCU expedited parallel grace period kworker allocation failure recovery
	rcu/exp: Handle RCU expedited grace period kworker allocation failure
	nbd: null check for nla_nest_start
	fs/select: rework stack allocation hack for clang
	md: Don't clear MD_CLOSING when the raid is about to stop
	lib/cmdline: Fix an invalid format specifier in an assertion msg
	lib: memcpy_kunit: Fix an invalid format specifier in an assertion msg
	time: test: Fix incorrect format specifier
	rtc: test: Fix invalid format specifier.
	io_uring/net: unify how recvmsg and sendmsg copy in the msghdr
	io_uring/net: move receive multishot out of the generic msghdr path
	io_uring/net: fix overflow check in io_recvmsg_mshot_prep()
	aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts
	x86/resctrl: Implement new mba_MBps throttling heuristic
	x86/sme: Fix memory encryption setting if enabled by default and not overridden
	timekeeping: Fix cross-timestamp interpolation on counter wrap
	timekeeping: Fix cross-timestamp interpolation corner case decision
	timekeeping: Fix cross-timestamp interpolation for non-x86
	sched/fair: Take the scheduling domain into account in select_idle_smt()
	sched/fair: Take the scheduling domain into account in select_idle_core()
	wifi: ath10k: fix NULL pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev()
	wifi: b43: Stop/wake correct queue in DMA Tx path when QoS is disabled
	wifi: b43: Stop/wake correct queue in PIO Tx path when QoS is disabled
	wifi: b43: Stop correct queue in DMA worker when QoS is disabled
	wifi: b43: Disable QoS for bcm4331
	wifi: wilc1000: fix declarations ordering
	wifi: wilc1000: fix RCU usage in connect path
	wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work
	wifi: wilc1000: do not realloc workqueue everytime an interface is added
	wifi: wilc1000: fix multi-vif management when deleting a vif
	wifi: mwifiex: debugfs: Drop unnecessary error check for debugfs_create_dir()
	ARM: dts: renesas: r8a73a4: Fix external clocks and clock rate
	cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return value
	cpufreq: Explicitly include correct DT includes
	cpufreq: mediatek-hw: Wait for CPU supplies before probing
	sock_diag: annotate data-races around sock_diag_handlers[family]
	inet_diag: annotate data-races around inet_diag_table[]
	bpftool: Silence build warning about calloc()
	libbpf: Apply map_set_def_max_entries() for inner_maps on creation
	selftest/bpf: Add map_in_maps with BPF_MAP_TYPE_PERF_EVENT_ARRAY values
	af_unix: Annotate data-race of gc_in_progress in wait_for_unix_gc().
	cpufreq: mediatek-hw: Don't error out if supply is not found
	libbpf: Fix faccessat() usage on Android
	pmdomain: qcom: rpmhpd: Drop SA8540P gfx.lvl
	arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on OSM-S i.MX8MM
	arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on SL/BL i.MX8MM
	arm64: dts: imx8mm-kontron: Disable pullups for onboard UART signals on BL OSM-S board
	arm64: dts: imx8mm-kontron: Disable pullups for onboard UART signals on BL board
	arm64: dts: imx8mm-kontron: Disable pull resistors for SD card signals on BL OSM-S board
	arm64: dts: imx8mm-kontron: Disable pull resistors for SD card signals on BL board
	arm64: dts: imx8mm-kontron: Fix interrupt for RTC on OSM-S i.MX8MM module
	libbpf: Add missing LIBBPF_API annotation to libbpf_set_memlock_rlim API
	wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete
	wifi: iwlwifi: mvm: report beacon protection failures
	wifi: iwlwifi: dbg-tlv: ensure NUL termination
	wifi: iwlwifi: fix EWRD table validity check
	gpio: vf610: allow disabling the vf610 driver
	arm64: dts: imx8mm-venice-gw71xx: fix USB OTG VBUS
	pwm: atmel-hlcdc: Convert to platform remove callback returning void
	pwm: atmel-hlcdc: Use consistent variable naming
	pwm: atmel-hlcdc: Fix clock imbalance related to suspend support
	net: blackhole_dev: fix build warning for ethh set but not used
	wifi: ath11k: initialize rx_mcs_80 and rx_mcs_160 before use
	wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()
	wifi: wfx: fix memory leak when starting AP
	printk: Disable passing console lock owner completely during panic()
	pwm: sti: Fix capture for st,pwm-num-chan < st,capture-num-chan
	tools/resolve_btfids: Refactor set sorting with types from btf_ids.h
	tools/resolve_btfids: Fix cross-compilation to non-host endianness
	wifi: iwlwifi: mvm: don't set replay counters to 0xff
	s390/pai: fix attr_event_free upper limit for pai device drivers
	s390/vdso: drop '-fPIC' from LDFLAGS
	selftests: forwarding: Add missing config entries
	selftests: forwarding: Add missing multicast routing config entries
	ipv6: mcast: remove one synchronize_net() barrier in ipv6_mc_down()
	arm64: dts: mt8183: kukui: Split out keyboard node and describe detachables
	arm64: dts: mt8183: Move CrosEC base detection node to kukui-based DTs
	arm64: dts: mediatek: mt7986: add "#reset-cells" to infracfg
	arm64: dts: mediatek: mt8192-asurada: Remove CrosEC base detection node
	arm64: dts: mediatek: mt8192: fix vencoder clock name
	arm64: dts: mediatek: mt7622: add missing "device_type" to memory nodes
	bpf: Mark bpf_spin_{lock,unlock}() helpers with notrace correctly
	ARM: dts: qcom: msm8974: correct qfprom node size
	wifi: wilc1000: prevent use-after-free on vif when cleaning up all interfaces
	ACPI: processor_idle: Fix memory leak in acpi_processor_power_exit()
	bus: tegra-aconnect: Update dependency to ARCH_TEGRA
	iommu/amd: Mark interrupt as managed
	wifi: brcmsmac: avoid function pointer casts
	arm64: dts: qcom: sdm845-db845c: correct PCIe wake-gpios
	arm64: dts: qcom: sm8150: use 'gpios' suffix for PCI GPIOs
	arm64: dts: qcom: sm8150: correct PCIe wake-gpios
	powercap: dtpm_cpu: Fix error check against freq_qos_add_request()
	net: ena: Remove ena_select_queue
	arm64: dts: mt8195-cherry-tomato: change watchdog reset boot flow
	firmware: arm_scmi: Fix double free in SMC transport cleanup path
	wifi: wilc1000: revert reset line logic flip
	ARM: dts: arm: realview: Fix development chip ROM compatible value
	arm64: dts: renesas: r9a07g043: Split out RZ/G2UL SoC specific parts
	arm64: dts: renesas: r9a07g043u: Add IRQC node
	arm64: dts: renesas: rzg2l: Add missing interrupts to IRQC nodes
	arm64: dts: renesas: r8a779a0: Update to R-Car Gen4 compatible values
	arm64: dts: renesas: r8a779a0: Correct avb[01] reg sizes
	arm64: dts: renesas: r8a779g0: Correct avb[01] reg sizes
	net: mctp: copy skb ext data when fragmenting
	pstore: inode: Convert mutex usage to guard(mutex)
	pstore: inode: Only d_invalidate() is needed
	arm64: dts: allwinner: h6: Add RX DMA channel for SPDIF
	ARM: dts: imx6dl-yapp4: Move phy reset into switch node
	ARM: dts: imx6dl-yapp4: Fix typo in the QCA switch register address
	ARM: dts: imx6dl-yapp4: Move the internal switch PHYs under the switch node
	arm64: dts: marvell: reorder crypto interrupts on Armada SoCs
	ACPI: resource: Add Infinity laptops to irq1_edge_low_force_override
	ACPI: resource: Do IRQ override on Lunnen Ground laptops
	ACPI: resource: Add MAIBENBEN X577 to irq1_edge_low_force_override
	ACPI: scan: Fix device check notification handling
	arm64: dts: rockchip: add missing interrupt-names for rk356x vdpu
	x86, relocs: Ignore relocations in .notes section
	SUNRPC: fix some memleaks in gssx_dec_option_array
	mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function
	ACPI: CPPC: enable AMD CPPC V2 support for family 17h processors
	wifi: rtw88: 8821c: Fix beacon loss and disconnect
	wifi: rtw88: 8821c: Fix false alarm count
	PCI: Make pci_dev_is_disconnected() helper public for other drivers
	iommu/vt-d: Don't issue ATS Invalidation request when device is disconnected
	igb: Fix missing time sync events
	Bluetooth: Remove HCI_POWER_OFF_TIMEOUT
	Bluetooth: mgmt: Remove leftover queuing of power_off work
	Bluetooth: Remove superfluous call to hci_conn_check_pending()
	Bluetooth: hci_qca: don't use IS_ERR_OR_NULL() with gpiod_get_optional()
	Bluetooth: Cancel sync command before suspend and power off
	Bluetooth: hci_sync: Only allow hci_cmd_sync_queue if running
	Bluetooth: hci_conn: Consolidate code for aborting connections
	Bluetooth: hci_core: Cancel request on command timeout
	Bluetooth: hci_sync: Fix overwriting request callback
	Bluetooth: hci_core: Fix possible buffer overflow
	Bluetooth: af_bluetooth: Fix deadlock
	Bluetooth: fix use-after-free in accessing skb after sending it
	sr9800: Add check for usbnet_get_endpoints
	s390/cache: prevent rebuild of shared_cpu_list
	bpf: Fix DEVMAP_HASH overflow check on 32-bit arches
	bpf: Fix hashtab overflow check on 32-bit arches
	bpf: Fix stackmap overflow check on 32-bit arches
	iommu/vt-d: Retrieve IOMMU perfmon capability information
	iommu: Fix compilation without CONFIG_IOMMU_INTEL
	ipv6: fib6_rules: flush route cache when rule is changed
	net: ip_tunnel: make sure to pull inner header in ip_tunnel_rcv()
	net: phy: fix phy_get_internal_delay accessing an empty array
	net: hns3: fix wrong judgment condition issue
	net: hns3: fix kernel crash when 1588 is received on HIP08 devices
	net: hns3: fix port duplex configure error in IMP reset
	Bluetooth: MGMT: Fix always using HCI_MAX_AD_LENGTH
	Bluetooth: hci_core: Fix missing instances using HCI_MAX_AD_LENGTH
	Bluetooth: Fix eir name length
	net: phy: dp83822: Fix RGMII TX delay configuration
	OPP: debugfs: Fix warning around icc_get_name()
	tcp: fix incorrect parameter validation in the do_tcp_getsockopt() function
	ipmr: fix incorrect parameter validation in the ip_mroute_getsockopt() function
	l2tp: fix incorrect parameter validation in the pppol2tp_getsockopt() function
	udp: fix incorrect parameter validation in the udp_lib_getsockopt() function
	net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function
	net/x25: fix incorrect parameter validation in the x25_getsockopt() function
	nfp: flower: handle acti_netdevs allocation failure
	bpf: hardcode BPF_PROG_PACK_SIZE to 2MB * num_possible_nodes()
	dm raid: fix false positive for requeue needed during reshape
	dm: call the resume method on internal suspend
	drm/tegra: dsi: Add missing check for of_find_device_by_node
	drm/tegra: dpaux: Fix PM disable depth imbalance in tegra_dpaux_probe
	drm/tegra: dsi: Make use of the helper function dev_err_probe()
	drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()
	drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_dsi_probe()
	drm/tegra: hdmi: Convert to devm_platform_ioremap_resource()
	drm/tegra: hdmi: Fix some error handling paths in tegra_hdmi_probe()
	drm/tegra: rgb: Fix some error handling paths in tegra_dc_rgb_probe()
	drm/tegra: rgb: Fix missing clk_put() in the error handling paths of tegra_dc_rgb_probe()
	drm/tegra: output: Fix missing i2c_put_adapter() in the error handling paths of tegra_output_probe()
	drm/rockchip: inno_hdmi: Fix video timing
	drm: Don't treat 0 as -1 in drm_fixp2int_ceil
	drm/vmwgfx: fix a memleak in vmw_gmrid_man_get_node
	drm/rockchip: lvds: do not overwrite error code
	drm/rockchip: lvds: do not print scary message when probing defer
	drm/panel-edp: use put_sync in unprepare
	drm/lima: fix a memleak in lima_heap_alloc
	ASoC: amd: acp: Add missing error handling in sof-mach
	dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA
	media: tc358743: register v4l2 async device only after successful setup
	PCI/DPC: Print all TLP Prefixes, not just the first
	perf record: Fix possible incorrect free in record__switch_output()
	HID: lenovo: Add middleclick_workaround sysfs knob for cptkbd
	drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'
	drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'
	pinctrl: renesas: r8a779g0: Add Audio SSI pins, groups, and functions
	pinctrl: renesas: r8a779g0: Add missing SCIF_CLK2 pin group/function
	clk: samsung: exynos850: Propagate SPI IPCLK rate change
	perf evsel: Fix duplicate initialization of data->id in evsel__parse_sample()
	clk: meson: Add missing clocks to axg_clk_regmaps
	media: em28xx: annotate unchecked call to media_device_register()
	media: v4l2-tpg: fix some memleaks in tpg_alloc
	media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity
	media: edia: dvbdev: fix a use-after-free
	pinctrl: mediatek: Drop bogus slew rate register range for MT8186
	pinctrl: mediatek: Drop bogus slew rate register range for MT8192
	clk: qcom: reset: Commonize the de/assert functions
	clk: qcom: reset: Ensure write completion on reset de/assertion
	quota: simplify drop_dquot_ref()
	quota: Fix potential NULL pointer dereference
	quota: Fix rcu annotations of inode dquot pointers
	PCI: switchtec: Fix an error handling path in switchtec_pci_probe()
	crypto: xilinx - call finalize with bh disabled
	perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str()
	drm/msm/dpu: fix the programming of INTF_CFG2_DATA_HCTL_EN
	drm/msm/dpu: Only enable DSC_MODE_MULTIPLEX if dsc_merge is enabled
	drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode()
	clk: renesas: r8a779g0: Add CMT clocks
	clk: renesas: r8a779g0: Add Audio clocks
	clk: renesas: r8a779g0: Add thermal clock
	clk: renesas: r8a779g0: Correct PFC/GPIO parent clocks
	clk: renesas: r8a779f0: Correct PFC/GPIO parent clock
	ALSA: seq: fix function cast warnings
	perf stat: Avoid metric-only segv
	ASoC: meson: aiu: fix function pointer type mismatch
	ASoC: meson: t9015: fix function pointer type mismatch
	powerpc: Force inlining of arch_vmap_p{u/m}d_supported()
	ASoC: SOF: Introduce container struct for SOF firmware
	ASoC: SOF: Add some bounds checking to firmware data
	NTB: EPF: fix possible memory leak in pci_vntb_probe()
	NTB: fix possible name leak in ntb_register_device()
	media: cedrus: h265: Associate mv col buffers with buffer
	media: cedrus: h265: Fix configuring bitstream size
	media: sun8i-di: Fix coefficient writes
	media: sun8i-di: Fix power on/off sequences
	media: sun8i-di: Fix chroma difference threshold
	media: imx: csc/scaler: fix v4l2_ctrl_handler memory leak
	media: go7007: add check of return value of go7007_read_addr()
	media: pvrusb2: remove redundant NULL check
	media: pvrusb2: fix pvr2_stream_callback casts
	clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times
	drm/mediatek: dsi: Fix DSI RGB666 formats and definitions
	PCI: Mark 3ware-9650SE Root Port Extended Tags as broken
	clk: hisilicon: hi3519: Release the correct number of gates in hi3519_clk_unregister()
	clk: hisilicon: hi3559a: Fix an erroneous devm_kfree()
	drm/tegra: put drm_gem_object ref on error in tegra_fb_create
	mfd: syscon: Call of_node_put() only when of_parse_phandle() takes a ref
	mfd: altera-sysmgr: Call of_node_put() only when of_parse_phandle() takes a ref
	crypto: arm/sha - fix function cast warnings
	crypto: jitter - fix CRYPTO_JITTERENTROPY help text
	drm/tidss: Fix initial plane zpos values
	drm/tidss: Fix sync-lost issue with two displays
	mtd: maps: physmap-core: fix flash size larger than 32-bit
	mtd: rawnand: lpc32xx_mlc: fix irq handler prototype
	ASoC: meson: axg-tdm-interface: fix mclk setup without mclk-fs
	ASoC: meson: axg-tdm-interface: add frame rate constraint
	HID: amd_sfh: Update HPD sensor structure elements
	HID: amd_sfh: Avoid disabling the interrupt
	drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int()
	media: pvrusb2: fix uaf in pvr2_context_set_notify
	media: dvb-frontends: avoid stack overflow warnings with clang
	media: go7007: fix a memleak in go7007_load_encoder
	media: ttpci: fix two memleaks in budget_av_attach
	media: mediatek: vcodec: avoid -Wcast-function-type-strict warning
	gpio: nomadik: fix offset bug in nmk_pmx_set()
	drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip
	powerpc/pseries: Fix potential memleak in papr_get_attr()
	powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks
	drm/msm/dpu: add division of drm_display_mode's hskew parameter
	modules: wait do_free_init correctly
	powerpc/embedded6xx: Fix no previous prototype for avr_uart_send() etc.
	leds: aw2013: Unlock mutex before destroying it
	leds: sgm3140: Add missing timer cleanup and flash gpio control
	backlight: lm3630a: Initialize backlight_properties on init
	backlight: lm3630a: Don't set bl->props.brightness in get_brightness
	backlight: da9052: Fully initialize backlight_properties during probe
	backlight: lm3639: Fully initialize backlight_properties during probe
	backlight: lp8788: Fully initialize backlight_properties during probe
	sparc32: Fix section mismatch in leon_pci_grpci
	clk: Fix clk_core_get NULL dereference
	clk: zynq: Prevent null pointer dereference caused by kmalloc failure
	ALSA: hda/realtek: fix ALC285 issues on HP Envy x360 laptops
	ALSA: usb-audio: Stop parsing channels bits when all channels are found.
	RDMA/irdma: Allow accurate reporting on QP max send/recv WR
	RDMA/irdma: Remove duplicate assignment
	RDMA/srpt: Do not register event handler until srpt device is fully setup
	f2fs: reduce stack memory cost by using bitfield in struct f2fs_io_info
	f2fs: compress: fix to guarantee persisting compressed blocks by CP
	f2fs: compress: fix to cover normal cluster write with cp_rwsem
	f2fs: compress: fix to check unreleased compressed cluster
	f2fs: simplify __allocate_data_block
	f2fs: delete obsolete FI_FIRST_BLOCK_WRITTEN
	f2fs: delete obsolete FI_DROP_CACHE
	f2fs: introduce get_dnode_addr() to clean up codes
	f2fs: update blkaddr in __set_data_blkaddr() for cleanup
	f2fs: compress: fix to avoid inconsistence bewteen i_blocks and dnode
	f2fs: compress: fix to cover f2fs_disable_compressed_file() w/ i_sem
	f2fs: fix to avoid potential panic during recovery
	scsi: csiostor: Avoid function pointer casts
	RDMA/hns: Fix mis-modifying default congestion control algorithm
	RDMA/device: Fix a race between mad_client and cm_client init
	RDMA/rtrs-clt: Check strnlen return len in sysfs mpath_policy_store()
	scsi: bfa: Fix function pointer type mismatch for hcb_qe->cbfn
	f2fs: compress: fix to check zstd compress level correctly in mount option
	net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr()
	NFSv4.2: fix nfs4_listxattr kernel BUG at mm/usercopy.c:102
	NFSv4.2: fix listxattr maximum XDR buffer size
	f2fs: compress: fix to check compress flag w/ .i_sem lock
	f2fs: check number of blocks in a current section
	watchdog: stm32_iwdg: initialize default timeout
	f2fs: ro: compress: fix to avoid caching unaligned extent
	NFS: Fix an off by one in root_nfs_cat()
	f2fs: convert to use sbi directly
	f2fs: compress: relocate some judgments in f2fs_reserve_compress_blocks
	f2fs: compress: fix reserve_cblocks counting error when out of space
	perf/x86/amd/core: Avoid register reset when CPU is dead
	afs: Revert "afs: Hide silly-rename files from userspace"
	nfs: fix panic when nfs4_ff_layout_prepare_ds() fails
	io_uring/net: correct the type of variable
	comedi: comedi_test: Prevent timers rescheduling during deletion
	remoteproc: stm32: use correct format strings on 64-bit
	remoteproc: stm32: Fix incorrect type in assignment for va
	remoteproc: stm32: Fix incorrect type assignment returned by stm32_rproc_get_loaded_rsc_tablef
	usb: phy: generic: Get the vbus supply
	tty: vt: fix 20 vs 0x20 typo in EScsiignore
	serial: max310x: fix syntax error in IRQ error message
	tty: serial: samsung: fix tx_empty() to return TIOCSER_TEMT
	arm64: dts: broadcom: bcmbca: bcm4908: drop invalid switch cells
	kconfig: fix infinite loop when expanding a macro at the end of file
	hwtracing: hisi_ptt: Move type check to the beginning of hisi_ptt_pmu_event_init()
	rtc: mt6397: select IRQ_DOMAIN instead of depending on it
	serial: 8250_exar: Don't remove GPIO device on suspend
	staging: greybus: fix get_channel_from_mode() failure path
	usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin
	ASoC: rockchip: i2s-tdm: Fix inaccurate sampling rates
	nouveau: reset the bo resource bus info after an eviction
	tcp: Fix NEW_SYN_RECV handling in inet_twsk_purge()
	rds: tcp: Fix use-after-free of net in reqsk_timer_handler().
	octeontx2-af: Use matching wake_up API variant in CGX command interface
	s390/vtime: fix average steal time calculation
	net/sched: taprio: proper TCA_TAPRIO_TC_ENTRY_INDEX check
	soc: fsl: dpio: fix kcalloc() argument order
	tcp: Fix refcnt handling in __inet_hash_connect().
	hsr: Fix uninit-value access in hsr_get_node()
	nvme: only set reserved_tags in nvme_alloc_io_tag_set for fabrics controllers
	nvme: add the Apple shared tag workaround to nvme_alloc_io_tag_set
	nvme: fix reconnection fail due to reserved tag allocation
	net: mediatek: mtk_eth_soc: clear MAC_MCR_FORCE_LINK only when MAC is up
	net: ethernet: mtk_eth_soc: fix PPE hanging issue
	packet: annotate data-races around ignore_outgoing
	net: veth: do not manipulate GRO when using XDP
	net: dsa: mt7530: prevent possible incorrect XTAL frequency selection
	drm: Fix drm_fixp2int_round() making it add 0.5
	vdpa_sim: reset must not run
	vdpa/mlx5: Allow CVQ size changes
	wireguard: receive: annotate data-race around receiving_counter.counter
	rds: introduce acquire/release ordering in acquire/release_in_xmit()
	hsr: Handle failures in module init
	ipv4: raw: Fix sending packets from raw sockets via IPsec tunnels
	net: phy: fix phy_read_poll_timeout argument type in genphy_loopback
	dm-integrity: fix a memory leak when rechecking the data
	net/bnx2x: Prevent access to a freed page in page_pool
	octeontx2-af: recover CPT engine when it gets fault
	octeontx2-af: add mbox for CPT LF reset
	octeontx2-af: optimize cpt pf identification
	octeontx2-af: add mbox to return CPT_AF_FLT_INT info
	octeontx2: Detect the mbox up or down message via register
	net: octeontx2: Use alloc_ordered_workqueue() to create ordered workqueues
	octeontx2-pf: Use default max_active works instead of one
	octeontx2-pf: Send UP messages to VF only when VF is up.
	octeontx2-af: Use separate handlers for interrupts
	netfilter: nft_set_pipapo: release elements in clone only from destroy path
	netfilter: nf_tables: do not compare internal table flags on updates
	rcu: add a helper to report consolidated flavor QS
	net: report RCU QS on threaded NAPI repolling
	bpf: report RCU QS in cpumap kthread
	net: dsa: mt7530: fix link-local frames that ingress vlan filtering ports
	net: dsa: mt7530: fix handling of all link-local frames
	spi: spi-mt65xx: Fix NULL pointer access in interrupt handler
	selftests: forwarding: Fix ping failure due to short timeout
	dm: address indent/space issues
	dm io: Support IO priority
	dm-integrity: align the outgoing bio in integrity_recheck
	x86/efistub: Clear decompressor BSS in native EFI entrypoint
	x86/efistub: Don't clear BSS twice in mixed mode
	remoteproc: stm32: fix incorrect optional pointers
	Linux 6.1.83

Change-Id: I621b271ff4a4603b0a348b64edc9c942bf050047
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-15 12:13:59 +00:00
Greg Kroah-Hartman
96cbfc5879 Merge 6.1.82 into android14-6.1-lts
Changes in 6.1.82
	ceph: switch to corrected encoding of max_xattr_size in mdsmap
	net: lan78xx: fix runtime PM count underflow on link stop
	ixgbe: {dis, en}able irqs in ixgbe_txrx_ring_{dis, en}able
	i40e: disable NAPI right after disabling irqs when handling xsk_pool
	ice: reorder disabling IRQ and NAPI in ice_qp_dis
	tracing/net_sched: Fix tracepoints that save qdisc_dev() as a string
	geneve: make sure to pull inner header in geneve_rx()
	net: sparx5: Fix use after free inside sparx5_del_mact_entry
	ice: virtchnl: stop pretending to support RSS over AQ or registers
	net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink()
	igc: avoid returning frame twice in XDP_REDIRECT
	net/ipv6: avoid possible UAF in ip6_route_mpath_notify()
	cpumap: Zero-initialise xdp_rxq_info struct before running XDP program
	net: dsa: microchip: fix register write order in ksz8_ind_write8()
	net/rds: fix WARNING in rds_conn_connect_if_down
	netfilter: nft_ct: fix l3num expectations with inet pseudo family
	netfilter: nf_conntrack_h323: Add protection for bmp length out of range
	erofs: apply proper VMA alignment for memory mapped files on THP
	netrom: Fix a data-race around sysctl_netrom_default_path_quality
	netrom: Fix a data-race around sysctl_netrom_obsolescence_count_initialiser
	netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser
	netrom: Fix a data-race around sysctl_netrom_transport_timeout
	netrom: Fix a data-race around sysctl_netrom_transport_maximum_tries
	netrom: Fix a data-race around sysctl_netrom_transport_acknowledge_delay
	netrom: Fix a data-race around sysctl_netrom_transport_busy_delay
	netrom: Fix a data-race around sysctl_netrom_transport_requested_window_size
	netrom: Fix a data-race around sysctl_netrom_transport_no_activity_timeout
	netrom: Fix a data-race around sysctl_netrom_routing_control
	netrom: Fix a data-race around sysctl_netrom_link_fails_count
	netrom: Fix data-races around sysctl_net_busy_read
	KVM: s390: add stat counter for shadow gmap events
	KVM: s390: vsie: fix race during shadow creation
	ASoC: codecs: wcd938x: fix headphones volume controls
	drm/amd/display: Fix uninitialized variable usage in core_link_ 'read_dpcd() & write_dpcd()' functions
	nfp: flower: add goto_chain_index for ct entry
	nfp: flower: add hardware offload check for post ct entry
	readahead: avoid multiple marked readahead pages
	selftests/mm: switch to bash from sh
	selftests: mm: fix map_hugetlb failure on 64K page size systems
	xhci: process isoc TD properly when there was a transaction error mid TD.
	xhci: handle isoc Babble and Buffer Overrun events properly
	drm/amdgpu: Reset IH OVERFLOW_CLEAR bit
	x86/mmio: Disable KVM mitigation when X86_FEATURE_CLEAR_CPU_BUF is set
	Documentation/hw-vuln: Add documentation for RFDS
	x86/rfds: Mitigate Register File Data Sampling (RFDS)
	KVM/x86: Export RFDS_NO and RFDS_CLEAR to guests
	selftests: mptcp: decrease BW in simult flows
	drm/amd/display: Wrong colorimetry workaround
	drm/amd/display: Fix MST Null Ptr for RV
	getrusage: add the "signal_struct *sig" local variable
	getrusage: move thread_group_cputime_adjusted() outside of lock_task_sighand()
	getrusage: use __for_each_thread()
	getrusage: use sig->stats_lock rather than lock_task_sighand()
	fs/proc: do_task_stat: use __for_each_thread()
	fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats
	Linux 6.1.82

Change-Id: I8d895a098144f39d40badf314fbb4a632c5ace49
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-15 11:51:24 +00:00
Greg Kroah-Hartman
045f29a0bd Revert "usb: gadget: Properly configure the device for remote wakeup"
This reverts commit ed9fdc82ca which is
commit b93c2a68f3 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Ib55f9062147895c79170426d3455dcef12d0f25f
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-14 12:49:37 +00:00
Greg Kroah-Hartman
2e193db1b4 Revert "scsi: sd: usb_storage: uas: Access media prior to querying device properties"
This reverts commit b73dd5f999 which is
commit 321da3dc1f3c92a12e3c5da934090d2992a8814c upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I54aee6b89e0350b57183b081535ccc4f6d0a8638
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-14 12:48:35 +00:00
Greg Kroah-Hartman
3011e898b2 Revert "Bluetooth: hci_qca: mark OF related data as maybe unused"
This reverts commit eb7b5777d3 which is
commit 44fac8a2fd upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I02cc1a461bc2e554cd4aa435a6b3bf25dfcfcfd8
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-14 12:47:10 +00:00
Greg Kroah-Hartman
a3778f3e13 Revert "Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6855"
This reverts commit e5383662fd which is
commit 095327fede upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I705d791c9553d22c3c1d286c6c77ead07e0b1428
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-14 12:47:09 +00:00
Greg Kroah-Hartman
d9340ec8dd Revert "Bluetooth: btqca: use le32_to_cpu for ver.soc_id"
This reverts commit 29059d0f3b which is
commit 8153b738bc upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I8399038f8d89a402d22d1071e4a503eab05d6174
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-14 12:47:08 +00:00
Greg Kroah-Hartman
b904eebfd4 Revert "Bluetooth: btqca: Add WCN3988 support"
This reverts commit 9409636132 which is
commit f904feefe6 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I1ca051a8ba0f510b7c48a13856ed54859d09f67c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-14 12:47:06 +00:00
Greg Kroah-Hartman
55a316da31 Revert "Bluetooth: qca: use switch case for soc type behavior"
This reverts commit fc47ed389a which is
commit 691d54d0f7 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I0b3cbead808d92dc25ae36021fd853ed197f15ef
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-14 12:47:05 +00:00
Greg Kroah-Hartman
360b41bc65 Revert "Bluetooth: qca: add support for WCN7850"
This reverts commit 67ffc334b9 which is
commit 67ffc334b9 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I62f7e652e6cd20291b5897431865e8a3ebbacb4d
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-14 12:47:04 +00:00
Greg Kroah-Hartman
e075d7f47a Revert "Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT"
This reverts commit 92b8a3273f which is
commit 7dcd3e014aa7faeeaf4047190b22d8a19a0db696 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I652f40ab304425a2c5418431515df4e1afa3193e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-14 12:47:03 +00:00
Greg Kroah-Hartman
f741d67ced Merge 6.1.81 into android14-6.1-lts
Changes in 6.1.81
	netfilter: nf_tables: disallow timeout for anonymous sets
	drm/meson: fix unbind path if HDMI fails to bind
	drm/meson: Don't remove bridges which are created by other drivers
	scsi: core: Add struct for args to execution functions
	scsi: sd: usb_storage: uas: Access media prior to querying device properties
	af_unix: Fix task hung while purging oob_skb in GC.
	of: overlay: Reorder struct fragment fields kerneldoc
	net: restore alpha order to Ethernet devices in config
	mlxsw: spectrum_acl_tcam: Make fini symmetric to init
	mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
	PCI: layerscape: Add the endpoint linkup notifier support
	PCI: layerscape: Add workaround for lost link capabilities during reset
	ARM: dts: imx: Adjust dma-apbh node name
	ARM: dts: imx7s: Drop dma-apb interrupt-names
	usb: gadget: Properly configure the device for remote wakeup
	Input: xpad - add constants for GIP interface numbers
	iommu/sprd: Release dma buffer to avoid memory leak
	iommu/arm-smmu-v3: Acknowledge pri/event queue overflow if any
	fs/ntfs3: Fix a possible null-pointer dereference in ni_clear()
	clk: tegra20: fix gcc-7 constant overflow warning
	fs/ntfs3: Add length check in indx_get_root
	fs/ntfs3: Fix NULL dereference in ni_write_inode
	fs/ntfs3: Fix NULL pointer dereference in 'ni_write_inode'
	iommu/arm-smmu-qcom: Limit the SMR groups to 128
	RDMA/core: Fix multiple -Warray-bounds warnings
	mm: huge_memory: don't force huge page alignment on 32 bit
	mtd: spinand: gigadevice: Fix the get ecc status issue
	netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter
	netlink: add nla be16/32 types to minlen array
	net: ip_tunnel: prevent perpetual headroom growth
	net: mctp: take ownership of skb in mctp_local_output
	tun: Fix xdp_rxq_info's queue_index when detaching
	cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf call back
	net: veth: clear GRO when clearing XDP even when down
	ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
	lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected
	veth: try harder when allocating queue memory
	net: usb: dm9601: fix wrong return value in dm9601_mdio_read
	net: lan78xx: fix "softirq work is pending" error
	uapi: in6: replace temporary label with rfc9486
	stmmac: Clear variable when destroying workqueue
	Bluetooth: hci_sync: Check the correct flag before starting a scan
	Bluetooth: Avoid potential use-after-free in hci_error_reset
	Bluetooth: hci_sync: Fix accept_list when attempting to suspend
	Bluetooth: hci_event: Fix wrongly recorded wakeup BD_ADDR
	Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST
	Bluetooth: Enforce validation on max value of connection interval
	Bluetooth: qca: Fix wrong event type for patch config command
	Bluetooth: hci_qca: mark OF related data as maybe unused
	Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6855
	Bluetooth: btqca: use le32_to_cpu for ver.soc_id
	Bluetooth: btqca: Add WCN3988 support
	Bluetooth: qca: use switch case for soc type behavior
	Bluetooth: qca: add support for WCN7850
	Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT
	netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate()
	netfilter: let reset rules clean out conntrack entries
	netfilter: bridge: confirm multicast packets before passing them up the stack
	rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back
	igb: extend PTP timestamp adjustments to i211
	net: hsr: Use correct offset for HSR TLV values in supervisory HSR frames
	tls: decrement decrypt_pending if no async completion will be called
	tls: fix peeking with sync+async decryption
	efi/capsule-loader: fix incorrect allocation size
	power: supply: bq27xxx-i2c: Do not free non existing IRQ
	ALSA: Drop leftover snd-rtctimer stuff from Makefile
	drm/tegra: Remove existing framebuffer only if we support display
	fbcon: always restore the old font data in fbcon_do_set_font()
	afs: Fix endless loop in directory parsing
	riscv: Sparse-Memory/vmemmap out-of-bounds fix
	of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing
	tomoyo: fix UAF write bug in tomoyo_write_control()
	ALSA: firewire-lib: fix to check cycle continuity
	ALSA: hda/realtek: Enable Mute LED on HP 840 G8 (MB 8AB8)
	ALSA: hda/realtek: fix mute/micmute LED For HP mt440
	landlock: Fix asymmetric private inodes referring
	gtp: fix use-after-free and null-ptr-deref in gtp_newlink()
	wifi: nl80211: reject iftype change with mesh ID change
	btrfs: fix double free of anonymous device after snapshot creation failure
	btrfs: dev-replace: properly validate device names
	btrfs: send: don't issue unnecessary zero writes for trailing hole
	Revert "drm/amd/pm: resolve reboot exception for si oland"
	drm/buddy: fix range bias
	dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
	crypto: arm64/neonbs - fix out-of-bounds access on short input
	dmaengine: ptdma: use consistent DMA masks
	dmaengine: fsl-qdma: init irq after reg initialization
	mmc: mmci: stm32: fix DMA API overlapping mappings warning
	mmc: core: Fix eMMC initialization with 1-bit bus connection
	mmc: sdhci-xenon: add timeout for PHY init complete
	mmc: sdhci-xenon: fix PHY init clock stability
	riscv: add CALLER_ADDRx support
	efivarfs: Request at most 512 bytes for variable names
	pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation
	x86/e820: Don't reserve SETUP_RNG_SEED in e820
	x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
	mptcp: fix data races on local_id
	mptcp: fix data races on remote_id
	mptcp: fix duplicate subflow creation
	mptcp: continue marking the first subflow as UNCONNECTED
	mptcp: map v4 address to v6 when destroying subflow
	mptcp: push at DSS boundaries
	selftests: mptcp: join: add ss mptcp support check
	mptcp: fix snd_wnd initialization for passive socket
	mptcp: fix double-free on socket dismantle
	mptcp: fix possible deadlock in subflow diag
	RDMA/core: Refactor rdma_bind_addr
	RDMA/core: Update CMA destination address on rdma_resolve_addr
	efi: libstub: use EFI_LOADER_CODE region when moving the kernel in memory
	x86/boot/compressed: Rename efi_thunk_64.S to efi-mixed.S
	x86/boot/compressed: Move 32-bit entrypoint code into .text section
	x86/boot/compressed: Move bootargs parsing out of 32-bit startup code
	x86/boot/compressed: Move efi32_pe_entry into .text section
	x86/boot/compressed: Move efi32_entry out of head_64.S
	x86/boot/compressed: Move efi32_pe_entry() out of head_64.S
	x86/boot/compressed, efi: Merge multiple definitions of image_offset into one
	x86/boot/compressed: Simplify IDT/GDT preserve/restore in the EFI thunk
	x86/boot/compressed: Avoid touching ECX in startup32_set_idt_entry()
	x86/boot/compressed: Pull global variable reference into startup32_load_idt()
	x86/boot/compressed: Move startup32_load_idt() into .text section
	x86/boot/compressed: Move startup32_load_idt() out of head_64.S
	x86/boot/compressed: Move startup32_check_sev_cbit() into .text
	x86/boot/compressed: Move startup32_check_sev_cbit() out of head_64.S
	x86/boot/compressed: Adhere to calling convention in get_sev_encryption_bit()
	x86/boot/compressed: Only build mem_encrypt.S if AMD_MEM_ENCRYPT=y
	efi: verify that variable services are supported
	x86/efi: Make the deprecated EFI handover protocol optional
	x86/boot: Robustify calling startup_{32,64}() from the decompressor code
	x86/efistub: Branch straight to kernel entry point from C code
	x86/decompressor: Store boot_params pointer in callee save register
	x86/decompressor: Assign paging related global variables earlier
	x86/decompressor: Call trampoline as a normal function
	x86/decompressor: Use standard calling convention for trampoline
	x86/decompressor: Avoid the need for a stack in the 32-bit trampoline
	x86/decompressor: Call trampoline directly from C code
	x86/decompressor: Only call the trampoline when changing paging levels
	x86/decompressor: Pass pgtable address to trampoline directly
	x86/decompressor: Merge trampoline cleanup with switching code
	x86/decompressor: Move global symbol references to C code
	decompress: Use 8 byte alignment
	drm/amd/display: Increase frame warning limit with KASAN or KCSAN in dml
	NFS: Fix data corruption caused by congestion.
	NFSD: Simplify READ_PLUS
	NFSD: Remove redundant assignment to variable host_err
	nfsd: ignore requests to disable unsupported versions
	nfsd: move nfserrno() to vfs.c
	nfsd: allow disabling NFSv2 at compile time
	exportfs: use pr_debug for unreachable debug statements
	NFSD: Flesh out a documenting comment for filecache.c
	NFSD: Clean up nfs4_preprocess_stateid_op() call sites
	NFSD: Trace stateids returned via DELEGRETURN
	NFSD: Trace delegation revocations
	NFSD: Use const pointers as parameters to fh_ helpers
	NFSD: Update file_hashtbl() helpers
	NFSD: Clean up nfsd4_init_file()
	NFSD: Add a nfsd4_file_hash_remove() helper
	NFSD: Clean up find_or_add_file()
	NFSD: Refactor find_file()
	NFSD: Use rhashtable for managing nfs4_file objects
	NFSD: Fix licensing header in filecache.c
	filelock: add a new locks_inode_context accessor function
	lockd: use locks_inode_context helper
	nfsd: use locks_inode_context helper
	nfsd: fix up the filecache laundrette scheduling
	NFSD: Use struct_size() helper in alloc_session()
	lockd: set missing fl_flags field when retrieving args
	lockd: ensure we use the correct file descriptor when unlocking
	lockd: fix file selection in nlmsvc_cancel_blocked
	trace: Relocate event helper files
	NFSD: refactoring courtesy_client_reaper to a generic low memory shrinker
	NFSD: add support for sending CB_RECALL_ANY
	NFSD: add delegation reaper to react to low memory condition
	NFSD: add CB_RECALL_ANY tracepoints
	NFSD: Use only RQ_DROPME to signal the need to drop a reply
	NFSD: Avoid clashing function prototypes
	NFSD: Use set_bit(RQ_DROPME)
	NFSD: register/unregister of nfsd-client shrinker at nfsd startup/shutdown time
	NFSD: replace delayed_work with work_struct for nfsd_client_shrinker
	nfsd: don't destroy global nfs4_file table in per-net shutdown
	arm64: efi: Limit allocations to 48-bit addressable physical region
	efi: efivars: prevent double registration
	x86/efistub: Simplify and clean up handover entry code
	x86/decompressor: Avoid magic offsets for EFI handover entrypoint
	x86/efistub: Clear BSS in EFI handover protocol entrypoint
	efi/libstub: Add memory attribute protocol definitions
	efi/libstub: Add limit argument to efi_random_alloc()
	x86/efistub: Perform 4/5 level paging switch from the stub
	x86/decompressor: Factor out kernel decompression and relocation
	x86/efistub: Prefer EFI memory attributes protocol over DXE services
	x86/efistub: Perform SNP feature test while running in the firmware
	x86/efistub: Avoid legacy decompressor when doing EFI boot
	efi/x86: Avoid physical KASLR on older Dell systems
	x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR
	x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr'
	x86/boot: efistub: Assign global boot_params variable
	efi/x86: Fix the missing KASLR_FLAG bit in boot_params->hdr.loadflags
	af_unix: Drop oob_skb ref before purging queue in GC.
	phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
	powerpc/pseries/iommu: IOMMU table is not initialized for kdump over SR-IOV
	gpio: 74x164: Enable output pins after registers are reset
	gpiolib: Fix the error path order in gpiochip_add_data_with_key()
	gpio: fix resource unwinding order in error path
	block: define bvec_iter as __packed __aligned(4)
	Revert "interconnect: Fix locking for runpm vs reclaim"
	Revert "interconnect: Teach lockdep about icc_bw_lock order"
	x86/bugs: Add asm helpers for executing VERW
	x86/entry_64: Add VERW just before userspace transition
	x86/entry_32: Add VERW just before userspace transition
	x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key
	KVM/VMX: Use BT+JNC, i.e. EFLAGS.CF to select VMRESUME vs. VMLAUNCH
	KVM/VMX: Move VERW closer to VMentry for MDS mitigation
	bpf: Add table ID to bpf_fib_lookup BPF helper
	bpf: Derive source IP addr via bpf_*_fib_lookup()
	x86/efistub: Give up if memory attribute protocol returns an error
	xen/events: close evtchn after mapping cleanup
	Linux 6.1.81

Change-Id: Id2814e1ef05ebf9675015dd24d3eece1176fe9cd
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-02 11:36:38 +00:00
Greg Kroah-Hartman
1c7c998232 ANDROID: add blk_mq_freeze_queue and blk_mq_unfreeze_queue to virtual device symbol list
In commit 2a52590ac5 ("virtio-blk: Ensure no requests in virtqueues
before deleting vqs.") the virtio_blk driver adds calls to
blk_mq_freeze_queue and blk_mq_unfreeze_queue, so add them to the
virtual device symbol list so that that target will build properly.

Fixes: 2a52590ac5 ("virtio-blk: Ensure no requests in virtqueues before deleting vqs.")
Change-Id: Iaf7ef825414a5bc3db36cd9479acb0c1a7435e11
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-02 08:17:15 +00:00
Greg Kroah-Hartman
d8fcb4c06b Revert "mptcp: fix lockless access in subflow ULP diag"
This reverts commit 71787c665d which is
commit b8adb69a7d29c2d33eb327bca66476fb6066516b upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I18ef204d3c165adca98146fa07d2fd25671d7b42
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-02 07:47:15 +00:00
Greg Kroah-Hartman
290b1bfd85 Revert "net: dev: Convert sa_data to flexible array in struct sockaddr"
This reverts commit fd84a5fae0 which is
commit b5f0de6df6 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Iecd4acaa6f3d416b1fe7b928d3b4f069bf61861e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-02 07:46:28 +00:00
Greg Kroah-Hartman
9006fc45ee Revert "arp: Prevent overflow in arp_req_get()."
This reverts commit f119f2325b which is
commit a7d6027790acea24446ddd6632d394096c0f4667 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I97be23b4073709843571e5b5d05903fda4121870
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-02 07:45:59 +00:00
Greg Kroah-Hartman
601ccd855a Revert "usb: roles: fix NULL pointer issue when put module's reference"
This reverts commit 0158216805 which is
commit 1c9be13846c0b2abc2480602f8ef421360e1ad9e upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I092d81a7ad00ebe0d0c16509b5789ea0b7de29e4
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-02 07:44:11 +00:00
Greg Kroah-Hartman
706f6a46d8 Revert "usb: roles: don't get/set_role() when usb_role_switch is unregistered"
This reverts commit 2f414a56b3 which is
commit b787a3e781759026a6212736ef8e52cf83d1821a upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Ia72bbe97772c8e65c2dfe2835b00a49414702dbb
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-02 07:43:43 +00:00
Greg Kroah-Hartman
563b8244db Merge 6.1.80 into android14-6.1-lts
Changes in 6.1.80
        net/sched: Retire CBQ qdisc
        net/sched: Retire ATM qdisc
        net/sched: Retire dsmark qdisc
        sched/rt: Disallow writing invalid values to sched_rt_period_us
        sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset
        PCI: dwc: Fix a 64bit bug in dw_pcie_ep_raise_msix_irq()
        riscv/efistub: Ensure GP-relative addressing is not used
        dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH
        scsi: target: core: Add TMF to tmr_list handling
        cifs: open_cached_dir should not rely on primary channel
        dmaengine: shdma: increase size of 'dev_id'
        dmaengine: fsl-qdma: increase size of 'irq_name'
        wifi: cfg80211: fix missing interfaces when dumping
        wifi: mac80211: fix race condition on enabling fast-xmit
        fbdev: savage: Error out if pixclock equals zero
        fbdev: sis: Error out if pixclock equals zero
        spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected
        block: Fix WARNING in _copy_from_iter
        smb: Work around Clang __bdos() type confusion
        cifs: translate network errors on send to -ECONNABORTED
        ahci: asm1166: correct count of reported ports
        aoe: avoid potential deadlock at set_capacity
        ahci: add 43-bit DMA address quirk for ASMedia ASM1061 controllers
        MIPS: reserve exception vector space ONLY ONCE
        platform/x86: touchscreen_dmi: Add info for the TECLAST X16 Plus tablet
        ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt
        ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()
        ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal()
        Input: goodix - accept ACPI resources with gpio_count == 3 && gpio_int_idx == 0
        dmaengine: ti: edma: Add some null pointer checks to the edma_probe
        regulator: pwm-regulator: Add validity checks in continuous .get_voltage
        nvmet-tcp: fix nvme tcp ida memory leak
        usb: ucsi_acpi: Quirk to ack a connector change ack cmd
        ALSA: usb-audio: Check presence of valid altsetting control
        ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616
        spi: sh-msiof: avoid integer overflow in constants
        Input: xpad - add Lenovo Legion Go controllers
        misc: open-dice: Fix spurious lockdep warning
        netfilter: conntrack: check SCTP_CID_SHUTDOWN_ACK for vtag setting in sctp_new
        drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz
        ASoC: wm_adsp: Don't overwrite fwf_name with the default
        ALSA: usb-audio: Ignore clock selector errors for single connection
        nvme-fc: do not wait in vain when unloading module
        nvmet-fcloop: swap the list_add_tail arguments
        nvmet-fc: release reference on target port
        nvmet-fc: defer cleanup using RCU properly
        nvmet-fc: hold reference on hostport match
        nvmet-fc: abort command when there is no binding
        nvmet-fc: avoid deadlock on delete association path
        nvmet-fc: take ref count on tgtport before delete assoc
        smb: client: increase number of PDUs allowed in a compound request
        ext4: correct the hole length returned by ext4_map_blocks()
        Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table
        fs/ntfs3: Modified fix directory element type detection
        fs/ntfs3: Improve ntfs_dir_count
        fs/ntfs3: Correct hard links updating when dealing with DOS names
        fs/ntfs3: Print warning while fixing hard links count
        fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"
        fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame()
        fs/ntfs3: Disable ATTR_LIST_ENTRY size check
        fs/ntfs3: use non-movable memory for ntfs3 MFT buffer cache
        fs/ntfs3: Prevent generic message "attempt to access beyond end of device"
        fs/ntfs3: Correct function is_rst_area_valid
        fs/ntfs3: Update inode->i_size after success write into compressed file
        fs/ntfs3: Fix oob in ntfs_listxattr
        wifi: mac80211: set station RX-NSS on reconfig
        wifi: mac80211: adding missing drv_mgd_complete_tx() call
        efi: runtime: Fix potential overflow of soft-reserved region size
        efi: Don't add memblocks for soft-reserved memory
        hwmon: (coretemp) Enlarge per package core count limit
        scsi: lpfc: Use unsigned type for num_sge
        scsi: ufs: core: Remove the ufshcd_release() in ufshcd_err_handling_prepare()
        LoongArch: Select ARCH_ENABLE_THP_MIGRATION instead of redefining it
        LoongArch: Select HAVE_ARCH_SECCOMP to use the common SECCOMP menu
        firewire: core: send bus reset promptly on gap count error
        drm/amdgpu: skip to program GFXDEC registers for suspend abort
        drm/amdgpu: reset gpu for s3 suspend abort case
        smb: client: set correct d_type for reparse points under DFS mounts
        virtio-blk: Ensure no requests in virtqueues before deleting vqs.
        smb3: clarify mount warning
        pmdomain: mediatek: fix race conditions with genpd
        pmdomain: renesas: r8a77980-sysc: CR7 must be always on
        IB/hfi1: Fix sdma.h tx->num_descs off-by-one error
        LoongArch: Disable IRQ before init_fn() for nonboot CPUs
        drm/ttm: Fix an invalid freeing on already freed page in error path
        s390/cio: fix invalid -EBUSY on ccw_device_start
        ata: libata-core: Do not try to set sleeping devices to standby
        dm-crypt: recheck the integrity tag after a failure
        Revert "parisc: Only list existing CPUs in cpu_possible_mask"
        dm-integrity: recheck the integrity tag after a failure
        dm-crypt: don't modify the data when using authenticated encryption
        dm-verity: recheck the hash after a failure
        cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window
        scsi: target: pscsi: Fix bio_put() for error case
        scsi: core: Consult supported VPD page list prior to fetching page
        mm/swap: fix race when skipping swapcache
        mm/damon/lru_sort: fix quota status loss due to online tunings
        mm: memcontrol: clarify swapaccount=0 deprecation warning
        platform/x86: intel-vbtn: Stop calling "VBDL" from notify_handler
        platform/x86: touchscreen_dmi: Allow partial (prefix) matches for ACPI names
        cachefiles: fix memory leak in cachefiles_add_cache()
        md: Fix missing release of 'active_io' for flush
        KVM: arm64: vgic-its: Test for valid IRQ in MOVALL handler
        KVM: arm64: vgic-its: Test for valid IRQ in its_sync_lpi_pending_table()
        gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()
        crypto: virtio/akcipher - Fix stack overflow on memcpy
        irqchip/gic-v3-its: Do not assume vPE tables are preallocated
        irqchip/sifive-plic: Enable interrupt if needed before EOI
        PCI/MSI: Prevent MSI hardware interrupt number truncation
        l2tp: pass correct message length to ip6_append_data
        ARM: ep93xx: Add terminator to gpiod_lookup_table
        x86/returnthunk: Allow different return thunks
        Revert "x86/alternative: Make custom return thunk unconditional"
        x86/alternative: Make custom return thunk unconditional
        dm-integrity, dm-verity: reduce stack usage for recheck
        erofs: fix refcount on the metabuf used for inode lookup
        serial: amba-pl011: Fix DMA transmission in RS485 mode
        usb: dwc3: gadget: Don't disconnect if not started
        usb: cdnsp: blocked some cdns3 specific code
        usb: cdnsp: fixed issue with incorrect detecting CDNSP family controllers
        usb: cdns3: fixed memory use after free at cdns3_gadget_ep_disable()
        usb: cdns3: fix memory double free when handle zero packet
        usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs
        usb: roles: fix NULL pointer issue when put module's reference
        usb: roles: don't get/set_role() when usb_role_switch is unregistered
        mptcp: make userspace_pm_append_new_local_addr static
        mptcp: add needs_id for userspace appending addr
        mptcp: fix lockless access in subflow ULP diag
        Revert "drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz"
        IB/hfi1: Fix a memleak in init_credit_return
        RDMA/bnxt_re: Return error for SRQ resize
        RDMA/irdma: Fix KASAN issue with tasklet
        RDMA/irdma: Validate max_send_wr and max_recv_wr
        RDMA/irdma: Set the CQ read threshold for GEN 1
        RDMA/irdma: Add AE for too many RNRS
        RDMA/srpt: Support specifying the srpt_service_guid parameter
        iommufd/iova_bitmap: Bounds check mapped::pages access
        iommufd/iova_bitmap: Switch iova_bitmap::bitmap to an u8 array
        iommufd/iova_bitmap: Consider page offset for the pages to be pinned
        RDMA/qedr: Fix qedr_create_user_qp error flow
        arm64: dts: rockchip: set num-cs property for spi on px30
        RDMA/srpt: fix function pointer cast warnings
        bpf, scripts: Correct GPL license name
        scsi: smartpqi: Fix disable_managed_interrupts
        scsi: jazz_esp: Only build if SCSI core is builtin
        net: bridge: switchdev: Skip MDB replays of deferred events on offload
        net: bridge: switchdev: Ensure deferred event delivery on unoffload
        dccp/tcp: Unhash sk from ehash for tb2 alloc failure after check_estalblished().
        nouveau: fix function cast warnings
        x86/numa: Fix the address overlap check in numa_fill_memblks()
        x86/numa: Fix the sort compare func used in numa_fill_memblks()
        net: stmmac: Fix incorrect dereference in interrupt handlers
        ipv4: properly combine dev_base_seq and ipv4.dev_addr_genid
        ipv6: properly combine dev_base_seq and ipv6.dev_addr_genid
        ata: ahci_ceva: fix error handling for Xilinx GT PHY support
        bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancel
        afs: Increase buffer size in afs_update_volume_status()
        ipv6: sr: fix possible use-after-free and null-ptr-deref
        net: dev: Convert sa_data to flexible array in struct sockaddr
        arm64/sme: Restore SME registers on exit from suspend
        platform/x86: thinkpad_acpi: Only update profile if successfully converted
        octeontx2-af: Consider the action set by PF
        s390: use the correct count for __iowrite64_copy()
        bpf, sockmap: Fix NULL pointer dereference in sk_psock_verdict_data_ready()
        tls: break out of main loop when PEEK gets a non-data record
        tls: stop recv() if initial process_rx_list gave us non-DATA
        tls: don't skip over different type records from the rx_list
        netfilter: nf_tables: set dormant flag on hook register failure
        netfilter: flowtable: simplify route logic
        netfilter: nft_flow_offload: reset dst in route object after setting up flow
        netfilter: nft_flow_offload: release dst in case direct xmit path is used
        netfilter: nf_tables: rename function to destroy hook list
        netfilter: nf_tables: register hooks last when adding new chain/flowtable
        netfilter: nf_tables: use kzalloc for hook allocation
        net: mctp: put sock on tag allocation failure
        net: sparx5: Add spinlock for frame transmission from CPU
        phonet: take correct lock to peek at the RX queue
        phonet/pep: fix racy skb_queue_empty() use
        Fix write to cloned skb in ipv6_hop_ioam()
        net: phy: realtek: Fix rtl8211f_config_init() for RTL8211F(D)(I)-VD-CG PHY
        drm/syncobj: call drm_syncobj_fence_add_wait when WAIT_AVAILABLE flag is set
        drm/amd/display: Fix memory leak in dm_sw_fini()
        i2c: imx: when being a target, mark the last read as processed
        erofs: simplify compression configuration parser
        erofs: fix inconsistent per-file compression format
        mm/damon/reclaim: fix quota stauts loss due to online tunings
        fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
        mm: zswap: fix missing folio cleanup in writeback race path
        mptcp: userspace pm send RM_ADDR for ID 0
        mptcp: add needs_id for netlink appending addr
        ata: ahci: add identifiers for ASM2116 series adapters
        ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x parts
        arp: Prevent overflow in arp_req_get().
        fs/ntfs3: Enhance the attribute size check
        Linux 6.1.80

Change-Id: If7ea9da891b2f34cf97bc5f656e00be8f361cc65
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-01 17:35:36 +00:00
Greg Kroah-Hartman
5b066041f2 ANDROID: add dma_max_mapping_size to virtual_device symbol list.
In commit dc3890441c ("drm/virtio: Set segment size for virtio_gpu
device"), dma_max_mapping_size() is added to the virtio-gpu driver, but
it was not exported, so export it now to allow the driver to build
properly.

Fixes: dc3890441c ("drm/virtio: Set segment size for virtio_gpu device")
Change-Id: I80fc4e9ee3ccc809f89d223736564f2bb5123250
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-01 08:49:07 +00:00
Greg Kroah-Hartman
3de5fca057 ANDROID: add pm_runtime_get_if_active to db845 symbol list
In the 6.1.79 merge, the msm.ko module now needs to use the
pm_runtime_get_if_active symbol for the db845 target, so properly add it
to the symbol list so that the build will work properly.

Fixes: ff43d92a56 ("Merge 6.1.79 into android14-6.1-lts")
Change-Id: Ic6fcfbe271d1df06cfde11d7a285752073bd8f36
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-01 06:08:09 +00:00
Greg Kroah-Hartman
ff43d92a56 Merge 6.1.79 into android14-6.1-lts
Changes in 6.1.79
	work around gcc bugs with 'asm goto' with outputs
	update workarounds for gcc "asm goto" issue
	btrfs: add and use helper to check if block group is used
	btrfs: do not delete unused block group if it may be used soon
	btrfs: forbid creating subvol qgroups
	btrfs: do not ASSERT() if the newly created subvolume already got read
	btrfs: forbid deleting live subvol qgroup
	btrfs: send: return EOPNOTSUPP on unknown flags
	btrfs: don't reserve space for checksums when writing to nocow files
	btrfs: reject encoded write if inode has nodatasum flag set
	btrfs: don't drop extent_map for free space inode on write error
	driver core: Fix device_link_flag_is_sync_state_only()
	of: unittest: Fix compile in the non-dynamic case
	KVM: selftests: Clear dirty ring states between two modes in dirty_log_test
	KVM: selftests: Fix a semaphore imbalance in the dirty ring logging test
	wifi: iwlwifi: Fix some error codes
	wifi: iwlwifi: uninitialized variable in iwl_acpi_get_ppag_table()
	of: property: Improve finding the supplier of a remote-endpoint property
	net: openvswitch: limit the number of recursions from action sets
	lan966x: Fix crash when adding interface under a lag
	tls/sw: Use splice_eof() to flush
	tls: extract context alloc/initialization out of tls_set_sw_offload
	net: tls: factor out tls_*crypt_async_wait()
	tls: fix race between async notify and socket close
	net: tls: fix use-after-free with partial reads and async decrypt
	net: tls: fix returned read length with async decrypt
	spi: ppc4xx: Drop write-only variable
	ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()
	net: sysfs: Fix /sys/class/net/<iface> path for statistics
	nouveau/svm: fix kvcalloc() argument order
	MIPS: Add 'memory' clobber to csum_ipv6_magic() inline assembler
	i40e: Do not allow untrusted VF to remove administratively set MAC
	i40e: Fix waiting for queues of all VSIs to be disabled
	scs: add CONFIG_MMU dependency for vfree_atomic()
	tracing/trigger: Fix to return error if failed to alloc snapshot
	mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again
	scsi: storvsc: Fix ring buffer size calculation
	dm-crypt, dm-verity: disable tasklets
	ASoC: amd: yc: Add DMI quirk for MSI Bravo 15 C7VF
	parisc: Prevent hung tasks when printing inventory on serial console
	ALSA: hda/realtek: Fix the external mic not being recognised for Acer Swift 1 SF114-32
	ALSA: hda/realtek: Enable Mute LED on HP Laptop 14-fq0xxx
	HID: i2c-hid-of: fix NULL-deref on failed power up
	HID: wacom: generic: Avoid reporting a serial of '0' to userspace
	HID: wacom: Do not register input devices until after hid_hw_start
	iio: hid-sensor-als: Return 0 for HID_USAGE_SENSOR_TIME_TIMESTAMP
	usb: ucsi: Add missing ppm_lock
	usb: ulpi: Fix debugfs directory leak
	usb: ucsi_acpi: Fix command completion handling
	USB: hub: check for alternate port before enabling A_ALT_HNP_SUPPORT
	usb: f_mass_storage: forbid async queue when shutdown happen
	usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend
	interconnect: qcom: sc8180x: Mark CO0 BCM keepalive
	media: ir_toy: fix a memleak in irtoy_tx
	driver core: fw_devlink: Improve detection of overlapping cycles
	powerpc/kasan: Fix addr error caused by page alignment
	cifs: fix underflow in parse_server_interfaces()
	i2c: qcom-geni: Correct I2C TRE sequence
	irqchip/loongson-eiointc: Use correct struct type in eiointc_domain_alloc()
	powerpc/kasan: Limit KASAN thread size increase to 32KB
	i2c: pasemi: split driver into two separate modules
	i2c: i801: Fix block process call transactions
	modpost: trim leading spaces when processing source files list
	mptcp: get rid of msk->subflow
	mptcp: fix data re-injection from stale subflow
	selftests: mptcp: add missing kconfig for NF Filter
	selftests: mptcp: add missing kconfig for NF Filter in v6
	selftests: mptcp: add missing kconfig for NF Mangle
	selftests: mptcp: increase timeout to 30 min
	mptcp: drop the push_pending field
	mptcp: check addrs list in userspace_pm_get_local_id
	media: Revert "media: rkisp1: Drop IRQF_SHARED"
	scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock"
	Revert "drm/amd: flush any delayed gfxoff on suspend entry"
	drm/virtio: Set segment size for virtio_gpu device
	lsm: fix the logic in security_inode_getsecctx()
	firewire: core: correct documentation of fw_csr_string() kernel API
	ALSA: hda/realtek: Apply headset jack quirk for non-bass alc287 thinkpads
	kbuild: Fix changing ELF file type for output of gen_btf for big endian
	nfc: nci: free rx_data_reassembly skb on NCI device cleanup
	net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()
	net: stmmac: do not clear TBS enable bit on link up/down
	xen-netback: properly sync TX responses
	modpost: propagate W=1 build option to modpost
	modpost: Don't let "driver"s reference .exit.*
	linux/init: remove __memexit* annotations
	modpost: Include '.text.*' in TEXT_SECTIONS
	um: Fix adding '-no-pie' for clang
	modpost: Add '.ltext' and '.ltext.*' to TEXT_SECTIONS
	ALSA: hda/realtek: Enable headset mic on Vaio VJFE-ADL
	ASoC: codecs: wcd938x: handle deferred probe
	ALSA: hda/cs8409: Suppress vmaster control for Dolphin models
	ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power
	binder: signal epoll threads of self-work
	misc: fastrpc: Mark all sessions as invalid in cb_remove
	ext4: fix double-free of blocks due to wrong extents moved_len
	ext4: avoid bb_free and bb_fragments inconsistency in mb_free_blocks()
	tracing: Fix wasted memory in saved_cmdlines logic
	staging: iio: ad5933: fix type mismatch regression
	iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC
	iio: core: fix memleak in iio_device_register_sysfs
	iio: commom: st_sensors: ensure proper DMA alignment
	iio: accel: bma400: Fix a compilation problem
	iio: adc: ad_sigma_delta: ensure proper DMA alignment
	iio: imu: adis: ensure proper DMA alignment
	iio: imu: bno055: serdev requires REGMAP
	media: rc: bpf attach/detach requires write permission
	ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails
	xfrm: Remove inner/outer modes from output path
	xfrm: Remove inner/outer modes from input path
	drm/msm: Wire up tlb ops
	drm/prime: Support page array >= 4GB
	drm/amd/display: Increase frame-larger-than for all display_mode_vba files
	drm/amd/display: Preserve original aspect ratio in create stream
	hv_netvsc: Fix race condition between netvsc_probe and netvsc_remove
	ring-buffer: Clean ring_buffer_poll_wait() error return
	nfp: flower: fix hardware offload for the transfer layer port
	serial: max310x: set default value when reading clock ready bit
	serial: max310x: improve crystal stable clock detection
	serial: max310x: fail probe if clock crystal is unstable
	serial: max310x: prevent infinite while() loop in port startup
	powerpc/64: Set task pt_regs->link to the LR value on scv entry
	powerpc/cputable: Add missing PPC_FEATURE_BOOKE on PPC64 Book-E
	powerpc/pseries: fix accuracy of stolen time
	x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6
	x86/fpu: Stop relying on userspace for info to fault in xsave buffer
	KVM: x86/pmu: Fix type length error when reading pmu->fixed_ctr_ctrl
	x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
	io_uring/net: fix multishot accept overflow handling
	mmc: slot-gpio: Allow non-sleeping GPIO ro
	ALSA: hda/realtek: fix mute/micmute LED For HP mt645
	ALSA: hda/conexant: Add quirk for SWS JS201D
	nilfs2: fix data corruption in dsync block recovery for small block sizes
	nilfs2: fix hang in nilfs_lookup_dirty_data_buffers()
	crypto: ccp - Fix null pointer dereference in __sev_platform_shutdown_locked
	nfp: use correct macro for LengthSelect in BAR config
	nfp: flower: prevent re-adding mac index for bonded port
	wifi: cfg80211: fix wiphy delayed work queueing
	wifi: mac80211: reload info pointer in ieee80211_tx_dequeue()
	irqchip/irq-brcmstb-l2: Add write memory barrier before exit
	irqchip/gic-v3-its: Fix GICv4.1 VPE affinity update
	zonefs: Improve error handling
	mmc: sdhci-pci-o2micro: Fix a warm reboot issue that disk can't be detected by BIOS
	ASoC: amd: yc: Add DMI quirk for Lenovo Ideapad Pro 5 16ARP8
	tools/rtla: Remove unused sched_getattr() function
	tools/rtla: Replace setting prio with nice for SCHED_OTHER
	tools/rtla: Exit with EXIT_SUCCESS when help is invoked
	tools/rtla: Fix uninitialized bucket/data->bucket_size warning
	tools/rtla: Fix Makefile compiler options for clang
	fs: relax mount_setattr() permission checks
	net: ethernet: ti: cpsw: enable mac_managed_pm to fix mdio
	s390/qeth: Fix potential loss of L3-IP@ in case of network issues
	net: ethernet: ti: cpsw_new: enable mac_managed_pm to fix mdio
	hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed
	ceph: prevent use-after-free in encode_cap_msg()
	fs,hugetlb: fix NULL pointer dereference in hugetlbs_fill_super
	mm: hugetlb pages should not be reserved by shmat() if SHM_NORESERVE
	of: property: fix typo in io-channels
	can: netlink: Fix TDCO calculation using the old data bittiming
	can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock
	can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER)
	pmdomain: core: Move the unused cleanup to a _sync initcall
	fs/proc: do_task_stat: move thread_group_cputime_adjusted() outside of lock_task_sighand()
	tracing: Inform kmemleak of saved_cmdlines allocation
	xfrm: Use xfrm_state selector for BEET input
	xfrm: Silence warnings triggerable by bad packets
	tls: fix NULL deref on tls_sw_splice_eof() with empty record
	selftests/mm: ksm_tests should only MADV_HUGEPAGE valid memory
	selftests/mm: Update va_high_addr_switch.sh to check CPU for la57 flag
	md: bypass block throttle for superblock update
	ARM: dts: imx6q-apalis: add can power-up delay on ixora board
	wifi: mwifiex: Support SD8978 chipset
	wifi: mwifiex: add extra delay for firmware ready
	bus: moxtet: Add spi device table
	arm64: dts: qcom: msm8916: Enable blsp_dma by default
	arm64: dts: qcom: msm8916: Make blsp_dma controlled-remotely
	arm64: dts: qcom: sdm845: fix USB SS wakeup
	arm64: dts: qcom: sm8150: fix USB SS wakeup
	wifi: mwifiex: fix uninitialized firmware_stat
	crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
	block: fix partial zone append completion handling in req_bio_endio()
	netfilter: ipset: fix performance regression in swap operation
	netfilter: ipset: Missing gc cancellations fixed
	parisc: Fix random data corruption from exception handler
	nfsd: fix RELEASE_LOCKOWNER
	nfsd: don't take fi_lock in nfsd_break_deleg_cb()
	hrtimer: Ignore slack time for RT tasks in schedule_hrtimeout_range()
	RDMA/irdma: Ensure iWarp QP queue memory is OS paged aligned
	smb: client: fix potential OOBs in smb2_parse_contexts()
	smb: client: fix parsing of SMB3.1.1 POSIX create context
	net: prevent mss overflow in skb_segment()
	bpf: Add struct for bin_args arg in bpf_bprintf_prepare
	bpf: Do cleanup in bpf_bprintf_cleanup only when needed
	bpf: Remove trace_printk_lock
	userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
	dmaengine: ioat: Free up __cleanup() name
	apparmor: Free up __cleanup() name
	locking: Introduce __cleanup() based infrastructure
	kbuild: Drop -Wdeclaration-after-statement
	sched/membarrier: reduce the ability to hammer on sys_membarrier
	of: property: Add in-ports/out-ports support to of_graph_get_port_parent()
	nilfs2: fix potential bug in end_buffer_async_write
	nilfs2: replace WARN_ONs for invalid DAT metadata block requests
	dm: limit the number of targets and parameter size area
	arm64: Subscribe Microsoft Azure Cobalt 100 to ARM Neoverse N2 errata
	fs/ntfs3: Add null pointer checks
	mlxsw: spectrum_acl_tcam: Fix stack corruption
	Linux 6.1.79

Change-Id: I7051a7a0b0aae8ff6503314e4999e561e713769a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-19 13:12:45 +00:00
Greg Kroah-Hartman
4b97573495 Revert "hrtimer: Report offline hrtimer enqueue"
This reverts commit a94d303bea which is
commit dad6a09f3148257ac1773cd90934d721d68ab595 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I3946038162ecfa5fafc8721ac4aaa8545ed540e2
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-19 12:47:22 +00:00
Greg Kroah-Hartman
0e5af42a0a Merge 6.1.78 into android14-6.1-lts
Changes in 6.1.78
	ext4: regenerate buddy after block freeing failed if under fc replay
	dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools
	dmaengine: ti: k3-udma: Report short packet errors
	dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA
	dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA
	phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
	dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV
	phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
	cifs: failure to add channel on iface should bump up weight
	drm/msms/dp: fixed link clock divider bits be over written in BPC unknown case
	drm/msm/dp: return correct Colorimetry for DP_TEST_DYNAMIC_RANGE_CEA case
	drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup
	net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
	wifi: mac80211: fix waiting for beacons logic
	netdevsim: avoid potential loop in nsim_dev_trap_report_work()
	net: atlantic: Fix DMA mapping for PTP hwts ring
	selftests: net: cut more slack for gro fwd tests.
	selftests: net: avoid just another constant wait
	tunnels: fix out of bounds access when building IPv6 PMTU error
	atm: idt77252: fix a memleak in open_card_ubr0
	octeontx2-pf: Fix a memleak otx2_sq_init
	hwmon: (aspeed-pwm-tacho) mutex for tach reading
	hwmon: (coretemp) Fix out-of-bounds memory access
	hwmon: (coretemp) Fix bogus core_id to attr name mapping
	inet: read sk->sk_family once in inet_recv_error()
	drm/i915/gvt: Fix uninitialized variable in handle_mmio()
	rxrpc: Fix response to PING RESPONSE ACKs to a dead call
	tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()
	af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
	ppp_async: limit MRU to 64K
	selftests: cmsg_ipv6: repeat the exact packet
	netfilter: nft_compat: narrow down revision to unsigned 8-bits
	netfilter: nft_compat: reject unused compat flag
	netfilter: nft_compat: restrict match/target protocol to u16
	drm/amd/display: Implement bounds check for stream encoder creation in DCN301
	netfilter: nft_ct: reject direction for ct id
	netfilter: nft_set_pipapo: store index in scratch maps
	netfilter: nft_set_pipapo: add helper to release pcpu scratch area
	netfilter: nft_set_pipapo: remove scratch_aligned pointer
	fs/ntfs3: Fix an NULL dereference bug
	scsi: core: Move scsi_host_busy() out of host lock if it is for per-command
	blk-iocost: Fix an UBSAN shift-out-of-bounds warning
	fs: dlm: don't put dlm_local_addrs on heap
	mtd: parsers: ofpart: add workaround for #size-cells 0
	ALSA: usb-audio: Add delay quirk for MOTU M Series 2nd revision
	ALSA: usb-audio: Add a quirk for Yamaha YIT-W12TX transmitter
	ALSA: usb-audio: add quirk for RODE NT-USB+
	USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e
	USB: serial: option: add Fibocom FM101-GL variant
	USB: serial: cp210x: add ID for IMST iM871A-USB
	usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
	usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK
	hrtimer: Report offline hrtimer enqueue
	Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU
	Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID
	io_uring/net: fix sr->len for IORING_OP_RECV with MSG_WAITALL and buffers
	Revert "ASoC: amd: Add new dmi entries for acp5x platform"
	vhost: use kzalloc() instead of kmalloc() followed by memset()
	RDMA/irdma: Fix support for 64k pages
	f2fs: add helper to check compression level
	block: treat poll queue enter similarly to timeouts
	clocksource: Skip watchdog check for large watchdog intervals
	net: stmmac: xgmac: use #define for string constants
	ALSA: usb-audio: Sort quirk table entries
	net: stmmac: xgmac: fix a typo of register name in DPP safety handling
	netfilter: nft_set_rbtree: skip end interval element from gc
	Linux 6.1.78

Change-Id: Iba16875d4cb88deffea077cf69495f9fe447ea23
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-19 12:19:39 +00:00
Greg Kroah-Hartman
19c319d14d Revert "drm/mipi-dsi: Fix detach call without attach"
This reverts commit 25eaa9f999 which is
commit 90d50b8d85834e73536fdccd5aa913b30494fef0 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I7d11b085bf6cbe0d7eb1c0d87f5dc5c3cb88e323
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-18 11:52:41 +00:00
Greg Kroah-Hartman
20b90d46a0 Merge 6.1.77 into android14-6.1-lts
Changes in 6.1.77
	asm-generic: make sparse happy with odd-sized put_unaligned_*()
	powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
	arm64: irq: set the correct node for VMAP stack
	drivers/perf: pmuv3: don't expose SW_INCR event in sysfs
	powerpc: Fix build error due to is_valid_bugaddr()
	powerpc/mm: Fix build failures due to arch_reserved_kernel_pages()
	powerpc/64s: Fix CONFIG_NUMA=n build due to create_section_mapping()
	x86/boot: Ignore NMIs during very early boot
	powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE
	powerpc/lib: Validate size for vector operations
	x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel
	perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file
	debugobjects: Stop accessing objects after releasing hash bucket lock
	regulator: core: Only increment use_count when enable_count changes
	audit: Send netlink ACK before setting connection in auditd_set
	ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
	PNP: ACPI: fix fortify warning
	ACPI: extlog: fix NULL pointer dereference check
	ACPI: NUMA: Fix the logic of getting the fake_pxm value
	PM / devfreq: Synchronize devfreq_monitor_[start/stop]
	ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on synchronous events
	FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
	UBSAN: array-index-out-of-bounds in dtSplitRoot
	jfs: fix slab-out-of-bounds Read in dtSearch
	jfs: fix array-index-out-of-bounds in dbAdjTree
	jfs: fix uaf in jfs_evict_inode
	pstore/ram: Fix crash when setting number of cpus to an odd number
	crypto: octeontx2 - Fix cptvf driver cleanup
	erofs: fix ztailpacking for subpage compressed blocks
	crypto: stm32/crc32 - fix parsing list of devices
	afs: fix the usage of read_seqbegin_or_lock() in afs_lookup_volume_rcu()
	afs: fix the usage of read_seqbegin_or_lock() in afs_find_server*()
	rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()
	jfs: fix array-index-out-of-bounds in diNewExt
	arch: consolidate arch_irq_work_raise prototypes
	s390/vfio-ap: fix sysfs status attribute for AP queue devices
	s390/ptrace: handle setting of fpc register correctly
	KVM: s390: fix setting of fpc register
	SUNRPC: Fix a suspicious RCU usage warning
	ecryptfs: Reject casefold directory inodes
	ext4: fix inconsistent between segment fstrim and full fstrim
	ext4: unify the type of flexbg_size to unsigned int
	ext4: remove unnecessary check from alloc_flex_gd()
	ext4: avoid online resizing failures due to oversized flex bg
	wifi: rt2x00: restart beacon queue when hardware reset
	selftests/bpf: satisfy compiler by having explicit return in btf test
	selftests/bpf: Fix pyperf180 compilation failure with clang18
	wifi: rt2x00: correct wrong BBP register in RxDCOC calibration
	selftests/bpf: Fix issues in setup_classid_environment()
	soc: xilinx: Fix for call trace due to the usage of smp_processor_id()
	soc: xilinx: fix unhandled SGI warning message
	scsi: lpfc: Fix possible file string name overflow when updating firmware
	PCI: Add no PM reset quirk for NVIDIA Spectrum devices
	bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk
	net: usb: ax88179_178a: avoid two consecutive device resets
	scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
	scsi: arcmsr: Support new PCI device IDs 1883 and 1886
	ARM: dts: imx7d: Fix coresight funnel ports
	ARM: dts: imx7s: Fix lcdif compatible
	ARM: dts: imx7s: Fix nand-controller #size-cells
	wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
	wifi: ath11k: fix race due to setting ATH11K_FLAG_EXT_IRQ_ENABLED too early
	bpf: Check rcu_read_lock_trace_held() before calling bpf map helpers
	scsi: libfc: Don't schedule abort twice
	scsi: libfc: Fix up timeout error in fc_fcp_rec_error()
	bpf: Set uattr->batch.count as zero before batched update or deletion
	wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap()
	ARM: dts: rockchip: fix rk3036 hdmi ports node
	ARM: dts: imx25/27-eukrea: Fix RTC node name
	ARM: dts: imx: Use flash@0,0 pattern
	ARM: dts: imx27: Fix sram node
	ARM: dts: imx1: Fix sram node
	net: phy: at803x: fix passing the wrong reference for config_intr
	ionic: pass opcode to devcmd_wait
	ionic: bypass firmware cmds when stuck in reset
	block/rnbd-srv: Check for unlikely string overflow
	ARM: dts: imx25: Fix the iim compatible string
	ARM: dts: imx25/27: Pass timing0
	ARM: dts: imx27-apf27dev: Fix LED name
	ARM: dts: imx23-sansa: Use preferred i2c-gpios properties
	ARM: dts: imx23/28: Fix the DMA controller node name
	scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM
	ice: fix ICE_AQ_VSI_Q_OPT_RSS_* register values
	net: atlantic: eliminate double free in error handling logic
	net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path
	block: prevent an integer overflow in bvec_try_merge_hw_page
	md: Whenassemble the array, consult the superblock of the freshest device
	arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property
	arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property
	ice: fix pre-shifted bit usage
	arm64: dts: amlogic: fix format for s4 uart node
	wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices
	libbpf: Fix NULL pointer dereference in bpf_object__collect_prog_relos
	wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift()
	wifi: cfg80211: free beacon_ies when overridden from hidden BSS
	Bluetooth: qca: Set both WIDEBAND_SPEECH and LE_STATES quirks for QCA2066
	Bluetooth: hci_sync: fix BR/EDR wakeup bug
	Bluetooth: L2CAP: Fix possible multiple reject send
	net/smc: disable SEID on non-s390 archs where virtual ISM may be used
	bridge: cfm: fix enum typo in br_cc_ccm_tx_parse
	i40e: Fix VF disable behavior to block all traffic
	octeontx2-af: Fix max NPC MCAM entry check while validating ref_entry
	net: dsa: qca8k: put MDIO bus OF node on qca8k_mdio_register() failure
	f2fs: fix to check return value of f2fs_reserve_new_block()
	ALSA: hda: Refer to correct stream index at loops
	ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument
	fast_dput(): handle underflows gracefully
	RDMA/IPoIB: Fix error code return in ipoib_mcast_join
	drm/panel-edp: Add override_edid_mode quirk for generic edp
	drm/bridge: anx7625: Fix Set HPD irq detect window to 2ms
	drm/amd/display: Fix tiled display misalignment
	f2fs: fix write pointers on zoned device after roll forward
	ASoC: amd: Add new dmi entries for acp5x platform
	drm/drm_file: fix use of uninitialized variable
	drm/framebuffer: Fix use of uninitialized variable
	drm/mipi-dsi: Fix detach call without attach
	media: stk1160: Fixed high volume of stk1160_dbg messages
	media: rockchip: rga: fix swizzling for RGB formats
	PCI: add INTEL_HDA_ARL to pci_ids.h
	ALSA: hda: Intel: add HDA_ARL PCI ID support
	media: rkisp1: Drop IRQF_SHARED
	media: rkisp1: Fix IRQ handler return values
	media: rkisp1: Store IRQ lines
	media: rkisp1: Fix IRQ disable race issue
	hwmon: (nct6775) Fix fan speed set failure in automatic mode
	f2fs: fix to tag gcing flag on page during block migration
	drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time
	IB/ipoib: Fix mcast list locking
	media: amphion: remove mutext lock in condition of wait_event
	media: ddbridge: fix an error code problem in ddb_probe
	media: i2c: imx335: Fix hblank min/max values
	drm/amd/display: For prefetch mode > 0, extend prefetch if possible
	drm/msm/dpu: Ratelimit framedone timeout msgs
	drm/msm/dpu: fix writeback programming for YUV cases
	drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap
	clk: hi3620: Fix memory leak in hi3620_mmc_clk_init()
	clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()
	watchdog: it87_wdt: Keep WDTCTRL bit 3 unmodified for IT8784/IT8786
	drm/amd/display: make flip_timestamp_in_us a 64-bit variable
	clk: imx: clk-imx8qxp: fix LVDS bypass, pixel and phy clocks
	drm/amdgpu: Fix ecc irq enable/disable unpaired
	drm/amdgpu: Let KFD sync with VM fences
	drm/amdgpu: Fix '*fw' from request_firmware() not released in 'amdgpu_ucode_request()'
	drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'
	drm/amdkfd: Fix iterator used outside loop in 'kfd_add_peer_prop()'
	ALSA: hda/conexant: Fix headset auto detect fail in cx8070 and SN6140
	leds: trigger: panic: Don't register panic notifier if creating the trigger failed
	um: Fix naming clash between UML and scheduler
	um: Don't use vfprintf() for os_info()
	um: net: Fix return type of uml_net_start_xmit()
	um: time-travel: fix time corruption
	i3c: master: cdns: Update maximum prescaler value for i2c clock
	xen/gntdev: Fix the abuse of underlying struct page in DMA-buf import
	mfd: ti_am335x_tscadc: Fix TI SoC dependencies
	mailbox: arm_mhuv2: Fix a bug for mhuv2_sender_interrupt
	PCI: Only override AMD USB controller if required
	PCI: switchtec: Fix stdev_release() crash after surprise hot remove
	perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present
	usb: hub: Replace hardcoded quirk value with BIT() macro
	usb: hub: Add quirk to decrease IN-ep poll interval for Microchip USB491x hub
	selftests/sgx: Fix linker script asserts
	tty: allow TIOCSLCKTRMIOS with CAP_CHECKPOINT_RESTORE
	fs/kernfs/dir: obey S_ISGID
	spmi: mediatek: Fix UAF on device remove
	PCI: Fix 64GT/s effective data rate calculation
	PCI/AER: Decode Requester ID when no error info found
	9p: Fix initialisation of netfs_inode for 9p
	misc: lis3lv02d_i2c: Add missing setting of the reg_ctrl callback
	libsubcmd: Fix memory leak in uniq()
	drm/amdkfd: Fix lock dependency warning
	drm/amdkfd: Fix lock dependency warning with srcu
	virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings
	blk-mq: fix IO hang from sbitmap wakeup race
	ceph: reinitialize mds feature bit even when session in open
	ceph: fix deadlock or deadcode of misusing dget()
	ceph: fix invalid pointer access if get_quota_realm return ERR_PTR
	drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()'
	drm/amdgpu: Fix with right return code '-EIO' in 'amdgpu_gmc_vram_checking()'
	drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()'
	drm/amdkfd: Fix 'node' NULL check in 'svm_range_get_range_boundaries()'
	perf: Fix the nr_addr_filters fix
	wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update
	drm: using mul_u32_u32() requires linux/math64.h
	scsi: isci: Fix an error code problem in isci_io_request_build()
	regulator: ti-abb: don't use devm_platform_ioremap_resource_byname for shared interrupt register
	scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler
	HID: hidraw: fix a problem of memory leak in hidraw_release()
	selftests: net: give more time for GRO aggregation
	ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()
	ipv4: raw: add drop reasons
	ipmr: fix kernel panic when forwarding mcast packets
	net: lan966x: Fix port configuration when using SGMII interface
	tcp: add sanity checks to rx zerocopy
	ixgbe: Refactor returning internal error codes
	ixgbe: Refactor overtemp event handling
	ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()
	net: dsa: qca8k: fix illegal usage of GPIO
	ipv6: Ensure natural alignment of const ipv6 loopback and router addresses
	llc: call sock_orphan() at release time
	bridge: mcast: fix disabled snooping after long uptime
	selftests: net: add missing config for GENEVE
	netfilter: conntrack: correct window scaling with retransmitted SYN
	netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV
	netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger
	netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
	net: ipv4: fix a memleak in ip_setup_cork
	af_unix: fix lockdep positive in sk_diag_dump_icons()
	selftests: net: fix available tunnels detection
	net: sysfs: Fix /sys/class/net/<iface> path
	selftests: team: Add missing config options
	selftests: bonding: Check initial state
	arm64: irq: set the correct node for shadow call stack
	mm, kmsan: fix infinite recursion due to RCU critical section
	Revert "drm/amd/display: Disable PSR-SU on Parade 0803 TCON again"
	drm/msm/dsi: Enable runtime PM
	LoongArch/smp: Call rcutree_report_cpu_starting() at tlb_init()
	gve: Fix use-after-free vulnerability
	bonding: remove print in bond_verify_device_path
	ASoC: codecs: lpass-wsa-macro: fix compander volume hack
	ASoC: codecs: wsa883x: fix PA volume control
	drm/amdgpu: Fix missing error code in 'gmc_v6/7/8/9_0_hw_init()'
	Linux 6.1.77

Change-Id: I8d69fc7831db64d8a0fad88a318f03052f8bbf69
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-17 08:34:35 +00:00
Greg Kroah-Hartman
f28d3f0d96 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
We need the abi updates to be merged to the -lts branch so we can
properly track the new symbols.  This includes the following commit:

089d1b8f6d ANDROID: Add known structs used by modules to KMI

Change-Id: Ie1915aedf85ab42761c27cfb63283be675f11c86
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-17 08:27:28 +00:00
Will McVicker
089d1b8f6d ANDROID: Add known structs used by modules to KMI
This adds `struct dwc3` and `struct kernel_all_info` to the KMI via fake
GKI symbols as we know some partners are using these in their
out-of-tree drivers. This ensures that future changes to these structs
will not break partner builds.

Bug: 332277393
Bug: 236036821
Change-Id: Ifa1ac6b71d58415339a63f16a79c1f713dda789f
Signed-off-by: Will McVicker <willmcvicker@google.com>
2024-04-16 13:49:35 -07:00
Greg Kroah-Hartman
7a8376be74 ANDROID: use reserved cpucaps for new capability
In commit 2b1dc0666e ("arm64: Rename ARM64_WORKAROUND_2966298"), a new
quirk is added to the tree, which breaks the Android ABI.  Fix this up
by using the space reserved for this for the new capability

Fixes: 2b1dc0666e ("arm64: Rename ARM64_WORKAROUND_2966298")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic3a9d32d85eaf86eef77593dc150bb566600cea7
2024-04-16 15:02:32 +00:00
Greg Kroah-Hartman
c801066eca Revert "mm/sparsemem: fix race in accessing memory_section->usage"
This reverts commit 68ed9e3332 which is
commit 5ec8e8ea8b7783fab150cf86404fc38cb4db8800 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Id78d131f9d910aa331832fb9b7cda4088e37d5f2
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-16 15:02:32 +00:00
Greg Kroah-Hartman
2dbddbe358 Merge 6.1.76 into android-6.1
Changes in 6.1.76
	usb: dwc3: gadget: Refactor EP0 forced stall/restart into a separate API
	usb: dwc3: gadget: Queue PM runtime idle on disconnect event
	usb: dwc3: gadget: Handle EP0 request dequeuing properly
	Revert "nSVM: Check for reserved encodings of TLB_CONTROL in nested VMCB"
	iio: adc: ad7091r: Set alert bit in config register
	iio: adc: ad7091r: Allow users to configure device events
	ext4: allow for the last group to be marked as trimmed
	arm64: properly install vmlinuz.efi
	OPP: Pass rounded rate to _set_opp()
	btrfs: sysfs: validate scrub_speed_max value
	crypto: api - Disallow identical driver names
	PM: hibernate: Enforce ordering during image compression/decompression
	hwrng: core - Fix page fault dead lock on mmap-ed hwrng
	crypto: s390/aes - Fix buffer overread in CTR mode
	s390/vfio-ap: unpin pages on gisc registration failure
	PM / devfreq: Fix buffer overflow in trans_stat_show
	media: imx355: Enable runtime PM before registering async sub-device
	rpmsg: virtio: Free driver_override when rpmsg_remove()
	media: ov9734: Enable runtime PM before registering async sub-device
	s390/vfio-ap: always filter entire AP matrix
	s390/vfio-ap: loop over the shadow APCB when filtering guest's AP configuration
	s390/vfio-ap: let on_scan_complete() callback filter matrix and update guest's APCB
	mips: Fix max_mapnr being uninitialized on early stages
	bus: mhi: host: Add alignment check for event ring read pointer
	bus: mhi: host: Drop chan lock before queuing buffers
	bus: mhi: host: Add spinlock to protect WP access when queueing TREs
	parisc/firmware: Fix F-extend for PDC addresses
	parisc/power: Fix power soft-off button emulation on qemu
	async: Split async_schedule_node_domain()
	async: Introduce async_schedule_dev_nocall()
	iio: adc: ad7091r: Enable internal vref if external vref is not supplied
	dmaengine: fix NULL pointer in channel unregistration function
	scsi: ufs: core: Remove the ufshcd_hba_exit() call from ufshcd_async_scan()
	arm64: dts: qcom: sc7180: fix USB wakeup interrupt types
	arm64: dts: qcom: sdm845: fix USB wakeup interrupt types
	arm64: dts: qcom: sm8150: fix USB wakeup interrupt types
	arm64: dts: qcom: sc7280: fix usb_1 wakeup interrupt types
	arm64: dts: qcom: sdm845: fix USB DP/DM HS PHY interrupts
	arm64: dts: qcom: sm8150: fix USB DP/DM HS PHY interrupts
	lsm: new security_file_ioctl_compat() hook
	docs: kernel_abi.py: fix command injection
	scripts/get_abi: fix source path leak
	media: videobuf2-dma-sg: fix vmap callback
	mmc: core: Use mrq.sbc in close-ended ffu
	mmc: mmc_spi: remove custom DMA mapped buffers
	media: mtk-jpeg: Fix use after free bug due to error path handling in mtk_jpeg_dec_device_run
	arm64: Rename ARM64_WORKAROUND_2966298
	rtc: cmos: Use ACPI alarm for non-Intel x86 systems too
	rtc: Adjust failure return code for cmos_set_alarm()
	rtc: mc146818-lib: Adjust failure return code for mc146818_get_time()
	rtc: Add support for configuring the UIP timeout for RTC reads
	rtc: Extend timeout for waiting for UIP to clear to 1s
	nouveau/vmm: don't set addr on the fail path to avoid warning
	ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
	mm/rmap: fix misplaced parenthesis of a likely()
	mm/sparsemem: fix race in accessing memory_section->usage
	rename(): fix the locking of subdirectories
	serial: sc16is7xx: improve regmap debugfs by using one regmap per port
	serial: sc16is7xx: remove wasteful static buffer in sc16is7xx_regmap_name()
	serial: sc16is7xx: remove global regmap from struct sc16is7xx_port
	serial: sc16is7xx: remove unused line structure member
	serial: sc16is7xx: change EFR lock to operate on each channels
	serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO
	serial: sc16is7xx: fix invalid sc16is7xx_lines bitfield in case of probe error
	serial: sc16is7xx: remove obsolete loop in sc16is7xx_port_irq()
	serial: sc16is7xx: improve do/while loop in sc16is7xx_irq()
	LoongArch/smp: Call rcutree_report_cpu_starting() earlier
	mm: page_alloc: unreserve highatomic page blocks before oom
	ksmbd: set v2 lease version on lease upgrade
	ksmbd: fix potential circular locking issue in smb2_set_ea()
	ksmbd: don't increment epoch if current state and request state are same
	ksmbd: send lease break notification on FILE_RENAME_INFORMATION
	ksmbd: Add missing set_freezable() for freezable kthread
	Revert "drm/amd: Enable PCIe PME from D3"
	drm/amd/display: pbn_div need be updated for hotplug event
	wifi: mac80211: fix potential sta-link leak
	net/smc: fix illegal rmb_desc access in SMC-D connection dump
	tcp: make sure init the accept_queue's spinlocks once
	bnxt_en: Wait for FLR to complete during probe
	vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING
	llc: make llc_ui_sendmsg() more robust against bonding changes
	llc: Drop support for ETH_P_TR_802_2.
	udp: fix busy polling
	net: fix removing a namespace with conflicting altnames
	tun: fix missing dropped counter in tun_xdp_act
	tun: add missing rx stats accounting in tun_xdp_act
	net: micrel: Fix PTP frame parsing for lan8814
	net/rds: Fix UBSAN: array-index-out-of-bounds in rds_cmsg_recv
	netfs, fscache: Prevent Oops in fscache_put_cache()
	tracing: Ensure visibility when inserting an element into tracing_map
	afs: Hide silly-rename files from userspace
	tcp: Add memory barrier to tcp_push()
	netlink: fix potential sleeping issue in mqueue_flush_file
	ipv6: init the accept_queue's spinlocks in inet6_create
	net/mlx5: DR, Use the right GVMI number for drop action
	net/mlx5: DR, Can't go to uplink vport on RX rule
	net/mlx5: Use mlx5 device constant for selecting CQ period mode for ASO
	net/mlx5e: Allow software parsing when IPsec crypto is enabled
	net/mlx5e: fix a double-free in arfs_create_groups
	net/mlx5e: fix a potential double-free in fs_any_create_groups
	rcu: Defer RCU kthreads wakeup when CPU is dying
	netfilter: nft_limit: reject configurations that cause integer overflow
	btrfs: fix infinite directory reads
	btrfs: set last dir index to the current last index when opening dir
	btrfs: refresh dir last index during a rewinddir(3) call
	btrfs: fix race between reading a directory and adding entries to it
	netfilter: nf_tables: restrict anonymous set and map names to 16 bytes
	netfilter: nf_tables: validate NFPROTO_* family
	net: stmmac: Wait a bit for the reset to take effect
	net: mvpp2: clear BM pool before initialization
	selftests: netdevsim: fix the udp_tunnel_nic test
	fjes: fix memleaks in fjes_hw_setup
	net: fec: fix the unhandled context fault from smmu
	nbd: always initialize struct msghdr completely
	btrfs: avoid copying BTRFS_ROOT_SUBVOL_DEAD flag to snapshot of subvolume being deleted
	btrfs: ref-verify: free ref cache before clearing mount opt
	btrfs: tree-checker: fix inline ref size in error messages
	btrfs: don't warn if discard range is not aligned to sector
	btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args
	btrfs: don't abort filesystem when attempting to snapshot deleted subvolume
	rbd: don't move requests to the running list on errors
	exec: Fix error handling in begin_new_exec()
	wifi: iwlwifi: fix a memory corruption
	hv_netvsc: Calculate correct ring size when PAGE_SIZE is not 4 Kbytes
	netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain
	netfilter: nf_tables: reject QUEUE/DROP verdict parameters
	platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
	ksmbd: fix global oob in ksmbd_nl_policy
	firmware: arm_scmi: Check mailbox/SMT channel for consistency
	xfs: read only mounts with fsopen mount API are busted
	gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04
	cpufreq: intel_pstate: Refine computation of P-state for given frequency
	drm: Don't unref the same fb many times by mistake due to deadlock handling
	drm/bridge: nxp-ptn3460: fix i2c_master_send() error checking
	drm/tidss: Fix atomic_flush check
	drm/amd/display: Disable PSR-SU on Parade 0803 TCON again
	platform/x86: intel-uncore-freq: Fix types in sysfs callbacks
	drm/bridge: nxp-ptn3460: simplify some error checking
	drm/amd/display: Port DENTIST hang and TDR fixes to OTG disable W/A
	drm/amdgpu/pm: Fix the power source flag error
	erofs: get rid of the remaining kmap_atomic()
	erofs: fix lz4 inplace decompression
	media: ov13b10: Support device probe in non-zero ACPI D state
	media: ov13b10: Enable runtime PM before registering async sub-device
	bus: mhi: ep: Do not allocate event ring element on stack
	PM: core: Remove unnecessary (void *) conversions
	PM: sleep: Fix possible deadlocks in core system-wide PM code
	thermal: intel: hfi: Refactor enabling code into helper functions
	thermal: intel: hfi: Disable an HFI instance when all its CPUs go offline
	thermal: intel: hfi: Add syscore callbacks for system-wide PM
	fs/pipe: move check to pipe_has_watch_queue()
	pipe: wakeup wr_wait after setting max_usage
	ARM: dts: qcom: sdx55: fix USB wakeup interrupt types
	ARM: dts: samsung: exynos4210-i9100: Unconditionally enable LDO12
	ARM: dts: qcom: sdx55: fix pdc '#interrupt-cells'
	ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts
	ARM: dts: qcom: sdx55: fix USB SS wakeup
	dlm: use kernel_connect() and kernel_bind()
	serial: core: Provide port lock wrappers
	serial: sc16is7xx: Use port lock wrappers
	serial: sc16is7xx: fix unconditional activation of THRI interrupt
	btrfs: zoned: factor out prepare_allocation_zoned()
	btrfs: zoned: optimize hint byte for zoned allocator
	drm/panel-edp: drm/panel-edp: Fix AUO B116XAK01 name and timing
	Revert "powerpc/64s: Increase default stack size to 32KB"
	drm/bridge: parade-ps8640: Wait for HPD when doing an AUX transfer
	drm: panel-simple: add missing bus flags for Tianma tm070jvhg[30/33]
	drm/bridge: sii902x: Use devm_regulator_bulk_get_enable()
	drm/bridge: sii902x: Fix probing race issue
	drm/bridge: sii902x: Fix audio codec unregistration
	drm/bridge: parade-ps8640: Ensure bridge is suspended in .post_disable()
	drm/bridge: parade-ps8640: Make sure we drop the AUX mutex in the error case
	drm/exynos: fix accidental on-stack copy of exynos_drm_plane
	drm/exynos: gsc: minor fix for loop iteration in gsc_runtime_resume
	gpio: eic-sprd: Clear interrupt after set the interrupt type
	block: Move checking GENHD_FL_NO_PART to bdev_add_partition()
	drm/bridge: anx7625: Ensure bridge is suspended in disable()
	spi: bcm-qspi: fix SFDP BFPT read by usig mspi read
	spi: fix finalize message on error return
	MIPS: lantiq: register smp_ops on non-smp platforms
	cxl/region:Fix overflow issue in alloc_hpa()
	mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan
	tick/sched: Preserve number of idle sleeps across CPU hotplug events
	x86/entry/ia32: Ensure s32 is sign extended to s64
	serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
	net/mlx5e: Handle hardware IPsec limits events
	Linux 6.1.76

Change-Id: I4725561e2ca5df042a1fe307af701e7d5e2d06c8
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-16 15:01:11 +00:00
Greg Kroah-Hartman
0eac7b614d Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
Catch up on some ABI updates from the non-lts branch.  This includes the
following commits:

* 77fec6cefe UPSTREAM: netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path
* e27468009d UPSTREAM: netfilter: nf_tables: release batch on table validation from abort path
* 26f2c9be9e UPSTREAM: netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
* 99aea323a3 UPSTREAM: netfilter: nft_set_pipapo: release elements in clone only from destroy path
* b76ed11859 ANDROID: GKI: Add symbol list for Nothing
* cfa154389a ANDROID: GKI: Update honda symbol list for asound
* 9be03f0456 ANDROID: GKI: Update honda symbol list for xt_LOG
* a6cb9e0acf ANDROID: GKI: Update honda symbol list for ebtables
* e6dcd23df8 ANDROID: GKI: Update honda symbol list for net scheduler
* 3547821560 ANDROID: softirq: add tasklet to LONG_SOFTIRQ_MASK
* ca4095789f ANDROID: Update the ABI symbol list
* 59ef545736 ANDROID: vendor_hooks: add restricted vendor hook for meminfo
* be55946e20 ANDROID: Update the ABI symbol list
* 4b8e1f520a BACKPORT: cpufreq: Don't unregister cpufreq cooling on CPU hotplug
* 165b01710b FROMGIT: usb: typec: tcpm: Correct the PDO counting in pd_set
* 5dc2bc2966 UPSTREAM: tls: fix race between tx work scheduling and socket close
* cdc8aeb893 UPSTREAM: netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain
* 5b4439c0d7 UPSTREAM: tls: fix race between async notify and socket close
* fd16669b18 UPSTREAM: net: tls: factor out tls_*crypt_async_wait()
* 5cb88480ab UPSTREAM: tls: extract context alloc/initialization out of tls_set_sw_offload
* 338203a817 BACKPORT: mm: update mark_victim tracepoints fields
* 97808981ed Revert "FROMGIT: BACKPORT: mm: update mark_victim tracepoints fields"
* dfd2c809b9 ANDROID: Update the ABI symbol list
* babe7ef868 ANDROID: export two function to reclaim memory
* 66193f866d ANDROID: add reclaim tune parameter functions
* 27c443059c UPSTREAM: netfilter: nf_tables: disallow anonymous set with timeout flag
* 56ba301cac ANDROID: drop redundant OWNERS_DrNo file
* 60534eef47 UPSTREAM: ALSA: virtio: Fix "Coverity: virtsnd_kctl_tlv_op(): Uninitialized variables" warning.
* e7f7d55471 UPSTREAM: ALSA: virtio: add support for audio controls
* 0fd2018454 ANDROID: Update symbols list for virtio_snd.ko audio controls
* ebcdb9dc21 ANDROID: Move cpu_busy_with_softirqs() into sched.h
* 5dd0c4814f UPSTREAM: mm: page_alloc: unreserve highatomic page blocks before oom
* 6d3db504d1 UPSTREAM: mm: page_alloc: enforce minimum zone size to do high atomic reserves
* 58699757f4 UPSTREAM: mm: page_alloc: correct high atomic reserve calculations
* 9ce8f4d0bb ANDROID: Update the ABI symbol list
* dcdec80d6b ANDROID: Export cpu_busy_with_softirqs()
* baba019a00 ANDROID: GKI: update symbol list file for xiaomi
* 4747c75687 Reapply "ANDROID: null_blk: Support configuring the maximum segment size"

Change-Id: Idfcc657d09135269051426f9fa114465d2e53003
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-16 12:13:34 +00:00
Pablo Neira Ayuso
77fec6cefe UPSTREAM: netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path
commit 0d459e2ffb541841714839e8228b845458ed3b27 upstream.

The commit mutex should not be released during the critical section
between nft_gc_seq_begin() and nft_gc_seq_end(), otherwise, async GC
worker could collect expired objects and get the released commit lock
within the same GC sequence.

nf_tables_module_autoload() temporarily releases the mutex to load
module dependencies, then it goes back to replay the transaction again.
Move it at the end of the abort phase after nft_gc_seq_end() is called.

Bug: 332996726
Cc: stable@vger.kernel.org
Fixes: 720344340f ("netfilter: nf_tables: GC transaction race with abort path")
Reported-by: Kuan-Ting Chen <hexrabbit@devco.re>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 8038ee3c3e)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I637389421d8eca5ab59a41bd1a4b70432440034c
2024-04-15 11:20:28 +00:00
Pablo Neira Ayuso
e27468009d UPSTREAM: netfilter: nf_tables: release batch on table validation from abort path
commit a45e6889575c2067d3c0212b6bc1022891e65b91 upstream.

Unlike early commit path stage which triggers a call to abort, an
explicit release of the batch is required on abort, otherwise mutex is
released and commit_list remains in place.

Add WARN_ON_ONCE to ensure commit_list is empty from the abort path
before releasing the mutex.

After this patch, commit_list is always assumed to be empty before
grabbing the mutex, therefore

  03c1f1ef15 ("netfilter: Cleanup nft_net->module_list from nf_tables_exit_net()")

only needs to release the pending modules for registration.

Bug: 332996726
Cc: stable@vger.kernel.org
Fixes: c0391b6ab8 ("netfilter: nf_tables: missing validation from the abort path")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit b0b36dcbe0)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I38f9b05ac4eadd1d2b7b306cccaf0aeacb61b57a
2024-04-15 11:20:28 +00:00
Pablo Neira Ayuso
26f2c9be9e UPSTREAM: netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
commit 552705a3650bbf46a22b1adedc1b04181490fc36 upstream.

While the rhashtable set gc runs asynchronously, a race allows it to
collect elements from anonymous sets with timeouts while it is being
released from the commit path.

Mingi Cho originally reported this issue in a different path in 6.1.x
with a pipapo set with low timeouts which is not possible upstream since
7395dfacfff6 ("netfilter: nf_tables: use timestamp to check for set
element timeout").

Fix this by setting on the dead flag for anonymous sets to skip async gc
in this case.

According to 08e4c8c5919f ("netfilter: nf_tables: mark newset as dead on
transaction abort"), Florian plans to accelerate abort path by releasing
objects via workqueue, therefore, this sets on the dead flag for abort
path too.

Bug: 329205787
Cc: stable@vger.kernel.org
Fixes: 5f68718b34 ("netfilter: nf_tables: GC transaction API to avoid race with control plane")
Reported-by: Mingi Cho <mgcho.minic@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 406b0241d0)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I6170493c267e020c50a739150f8c421deb635b35
2024-04-15 10:33:08 +00:00
Pablo Neira Ayuso
99aea323a3 UPSTREAM: netfilter: nft_set_pipapo: release elements in clone only from destroy path
[ Upstream commit b0e256f3dd2ba6532f37c5c22e07cb07a36031ee ]

Clone already always provides a current view of the lookup table, use it
to destroy the set, otherwise it is possible to destroy elements twice.

This fix requires:

 212ed75dc5 ("netfilter: nf_tables: integrate pipapo into commit protocol")

which came after:

 9827a0e6e2 ("netfilter: nft_set_pipapo: release elements in clone from abort path").

Bug: 330876672
Fixes: 9827a0e6e2 ("netfilter: nft_set_pipapo: release elements in clone from abort path")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ff90050771)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I8c0811e69f82681c7fcfdca1111f1702e27bb80e
2024-04-15 10:17:49 +00:00
Dylan Chang
b76ed11859 ANDROID: GKI: Add symbol list for Nothing
2 function symbol(s) added
  'char* dentry_path_raw(const struct dentry*, char*, int)'
  'int fscrypt_file_open(struct inode*, struct file*)'

Bug: 334026503
Change-Id: I20b224d5336753a1fa8783178be60dbaae35b3ba
Signed-off-by: Dylan Chang <dylan.chang@nothing.tech>
2024-04-14 10:01:56 +00:00
Norihiko Hama
cfa154389a ANDROID: GKI: Update honda symbol list for asound
Additional missing symbols required for vendor audio module

1 function symbol(s) added
  'int snd_pcm_suspend_all(struct snd_pcm*)'

Bug: 333795249

Change-Id: I8bf2d33b407f76aa528c8160bde1f996e4927b57
Signed-off-by: Norihiko Hama <Norihiko.Hama@alpsalpine.com>
2024-04-12 12:59:04 +00:00
Norihiko Hama
9be03f0456 ANDROID: GKI: Update honda symbol list for xt_LOG
Add some missing symbols required for xt_LOG

2 function symbol(s) added
  'int xt_register_targets(struct xt_target*, unsigned int)'
  'void xt_unregister_targets(struct xt_target*, unsigned int)'

Bug: 333795249

Change-Id: Idb1f0a8028c822428da9fb1de2dd4b6b497c1f52
Signed-off-by: Norihiko Hama <Norihiko.Hama@alpsalpine.com>
2024-04-12 12:58:50 +00:00
Norihiko Hama
a6cb9e0acf ANDROID: GKI: Update honda symbol list for ebtables
Add some missing symbols required for ebtables

2 function symbol(s) added
  'int xt_register_target(struct xt_target*)'
  'void xt_unregister_target(struct xt_target*)'

Bug: 333795249

Change-Id: I8e80c481732ea07cc84c41bb70c18175fc5fd23b
Signed-off-by: Norihiko Hama <Norihiko.Hama@alpsalpine.com>
2024-04-12 12:58:38 +00:00