Commit Graph

9906 Commits

Author SHA1 Message Date
Greg Kroah-Hartman
c194212a03 Merge 5.10.101 into android12-5.10-lts
Changes in 5.10.101
	integrity: check the return value of audit_log_start()
	ima: Remove ima_policy file before directory
	ima: Allow template selection with ima_template[_fmt]= after ima_hash=
	ima: Do not print policy rule with inactive LSM labels
	mmc: sdhci-of-esdhc: Check for error num after setting mask
	can: isotp: fix potential CAN frame reception race in isotp_rcv()
	net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
	net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
	NFS: Fix initialisation of nfs_client cl_flags field
	NFSD: Clamp WRITE offsets
	NFSD: Fix offset type in I/O trace points
	drm/amdgpu: Set a suitable dev_info.gart_page_size
	tracing: Propagate is_signed to expression
	NFS: change nfs_access_get_cached to only report the mask
	NFSv4 only print the label when its queried
	nfs: nfs4clinet: check the return value of kstrdup()
	NFSv4.1: Fix uninitialised variable in devicenotify
	NFSv4 remove zero number of fs_locations entries error check
	NFSv4 expose nfs_parse_server_name function
	NFSv4 handle port presence in fs_location server string
	x86/perf: Avoid warning for Arch LBR without XSAVE
	drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
	net: sched: Clarify error message when qdisc kind is unknown
	powerpc/fixmap: Fix VM debug warning on unmap
	scsi: target: iscsi: Make sure the np under each tpg is unique
	scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup()
	scsi: qedf: Add stag_work to all the vports
	scsi: qedf: Fix refcount issue when LOGO is received during TMF
	scsi: pm8001: Fix bogus FW crash for maxcpus=1
	scsi: ufs: Treat link loss as fatal error
	scsi: myrs: Fix crash in error case
	PM: hibernate: Remove register_nosave_region_late()
	usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
	perf: Always wake the parent event
	nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs
	net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
	KVM: eventfd: Fix false positive RCU usage warning
	KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
	KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
	KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode
	KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow
	riscv: fix build with binutils 2.38
	ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
	ARM: dts: Fix boot regression on Skomer
	ARM: socfpga: fix missing RESET_CONTROLLER
	nvme-tcp: fix bogus request completion when failing to send AER
	ACPI/IORT: Check node revision for PMCG resources
	PM: s2idle: ACPI: Fix wakeup interrupts handling
	drm/rockchip: vop: Correct RK3399 VOP register fields
	ARM: dts: Fix timer regression for beagleboard revision c
	ARM: dts: meson: Fix the UART compatible strings
	ARM: dts: meson8: Fix the UART device-tree schema validation
	ARM: dts: meson8b: Fix the UART device-tree schema validation
	staging: fbtft: Fix error path in fbtft_driver_module_init()
	ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
	phy: xilinx: zynqmp: Fix bus width setting for SGMII
	ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo
	usb: f_fs: Fix use-after-free for epfile
	gpio: aggregator: Fix calling into sleeping GPIO controllers
	drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd.
	misc: fastrpc: avoid double fput() on failed usercopy
	netfilter: ctnetlink: disable helper autoassign
	arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133'
	ixgbevf: Require large buffers for build_skb on 82599VF
	drm/panel: simple: Assign data from panel_dpi_probe() correctly
	ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
	gpio: sifive: use the correct register to read output values
	bonding: pair enable_port with slave_arr_updates
	net: dsa: mv88e6xxx: don't use devres for mdiobus
	net: dsa: ar9331: register the mdiobus under devres
	net: dsa: bcm_sf2: don't use devres for mdiobus
	net: dsa: felix: don't use devres for mdiobus
	net: dsa: lantiq_gswip: don't use devres for mdiobus
	ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
	nfp: flower: fix ida_idx not being released
	net: do not keep the dst cache when uncloning an skb dst and its metadata
	net: fix a memleak when uncloning an skb dst and its metadata
	veth: fix races around rq->rx_notify_masked
	net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
	tipc: rate limit warning for received illegal binding update
	net: amd-xgbe: disable interrupts during pci removal
	dpaa2-eth: unregister the netdev before disconnecting from the PHY
	ice: fix an error code in ice_cfg_phy_fec()
	ice: fix IPIP and SIT TSO offload
	net: mscc: ocelot: fix mutex lock error during ethtool stats read
	net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
	vt_ioctl: fix array_index_nospec in vt_setactivate
	vt_ioctl: add array_index_nospec to VT_ACTIVATE
	n_tty: wake up poll(POLLRDNORM) on receiving data
	eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
	usb: dwc2: drd: fix soft connect when gadget is unconfigured
	Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured"
	net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
	usb: ulpi: Move of_node_put to ulpi_dev_release
	usb: ulpi: Call of_node_put correctly
	usb: dwc3: gadget: Prevent core from processing stale TRBs
	usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
	USB: gadget: validate interface OS descriptor requests
	usb: gadget: rndis: check size of RNDIS_MSG_SET command
	usb: gadget: f_uac2: Define specific wTerminalType
	usb: raw-gadget: fix handling of dual-direction-capable endpoints
	USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
	USB: serial: option: add ZTE MF286D modem
	USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
	USB: serial: cp210x: add NCR Retail IO box id
	USB: serial: cp210x: add CPI Bulk Coin Recycler id
	speakup-dectlk: Restore pitch setting
	phy: ti: Fix missing sentinel for clk_div_table
	hwmon: (dell-smm) Speed up setting of fan speed
	Makefile.extrawarn: Move -Wunaligned-access to W=1
	can: isotp: fix error path in isotp_sendmsg() to unlock wait queue
	scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
	scsi: lpfc: Reduce log messages seen after firmware download
	arm64: dts: imx8mq: fix lcdif port node
	perf: Fix list corruption in perf_cgroup_switch()
	iommu: Fix potential use-after-free during probe
	Linux 5.10.101

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic9c80389b155cf05bc1c6a64d0ca92837c83fbb1
2022-02-16 15:16:06 +01:00
Florian Westphal
04fe6569a7 netfilter: ctnetlink: disable helper autoassign
[ Upstream commit d1ca60efc5 ]

When userspace, e.g. conntrackd, inserts an entry with a specified helper,
its possible that the helper is lost immediately after its added:

ctnetlink_create_conntrack
  -> nf_ct_helper_ext_add + assign helper
    -> ctnetlink_setup_nat
      -> ctnetlink_parse_nat_setup
         -> parse_nat_setup -> nfnetlink_parse_nat_setup
	                       -> nf_nat_setup_info
                                 -> nf_conntrack_alter_reply
                                   -> __nf_ct_try_assign_helper

... and __nf_ct_try_assign_helper will zero the helper again.

Set IPS_HELPER bit to bypass auto-assign logic, its unwanted, just like
when helper is assigned via ruleset.

Dropped old 'not strictly necessary' comment, it referred to use of
rcu_assign_pointer() before it got replaced by RCU_INIT_POINTER().

NB: Fixes tag intentionally incorrect, this extends the referenced commit,
but this change won't build without IPS_HELPER introduced there.

Fixes: 6714cf5465 ("netfilter: nf_conntrack: fix explicit helper attachment and NAT")
Reported-by: Pham Thanh Tuyen <phamtyn@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-16 12:54:24 +01:00
Greg Kroah-Hartman
a50b069165 Revert "xfrm: rate limit SA mapping change message to user space"
This reverts commit a0b13335a3 which is
commit 4e484b3e96 upstream.

It breaks the Android kernel ABI and is not a problem for Android
systems, so revert it.

Bug: 161946584
Fixes: a0b13335a3 ("xfrm: rate limit SA mapping change message to user space")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I00273c8a02ac367e0b429d7d8793ea2686752f77
2022-02-01 10:11:27 +01:00
Greg Kroah-Hartman
4ec3c2eea5 Merge 5.10.94 into android12-5.10-lts
Changes in 5.10.94
	KVM: VMX: switch blocked_vcpu_on_cpu_lock to raw spinlock
	HID: uhid: Fix worker destroying device without any protection
	HID: wacom: Reset expected and received contact counts at the same time
	HID: wacom: Ignore the confidence flag when a touch is removed
	HID: wacom: Avoid using stale array indicies to read contact count
	f2fs: fix to do sanity check in is_alive()
	nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
	mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings
	mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
	mtd: Fixed breaking list in __mtd_del_partition.
	mtd: rawnand: davinci: Don't calculate ECC when reading page
	mtd: rawnand: davinci: Avoid duplicated page read
	mtd: rawnand: davinci: Rewrite function description
	x86/gpu: Reserve stolen memory for first integrated Intel GPU
	tools/nolibc: x86-64: Fix startup code bug
	tools/nolibc: i386: fix initial stack alignment
	tools/nolibc: fix incorrect truncation of exit code
	rtc: cmos: take rtc_lock while reading from CMOS
	media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
	media: flexcop-usb: fix control-message timeouts
	media: mceusb: fix control-message timeouts
	media: em28xx: fix control-message timeouts
	media: cpia2: fix control-message timeouts
	media: s2255: fix control-message timeouts
	media: dib0700: fix undefined behavior in tuner shutdown
	media: redrat3: fix control-message timeouts
	media: pvrusb2: fix control-message timeouts
	media: stk1160: fix control-message timeouts
	media: cec-pin: fix interrupt en/disable handling
	can: softing_cs: softingcs_probe(): fix memleak on registration failure
	iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs
	lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()
	iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
	gpu: host1x: Add back arm_iommu_detach_device()
	dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
	PCI: Add function 1 DMA alias quirk for Marvell 88SE9125 SATA controller
	mm_zone: add function to check if managed dma zone exists
	dma/pool: create dma atomic pool only if dma zone has managed pages
	mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pages
	shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode
	drm/ttm: Put BO in its memory manager's lru list
	Bluetooth: L2CAP: Fix not initializing sk_peer_pid
	drm/bridge: display-connector: fix an uninitialized pointer in probe()
	drm: fix null-ptr-deref in drm_dev_init_release()
	drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
	drm/panel: innolux-p079zca: Delete panel on attach() failure
	drm/rockchip: dsi: Fix unbalanced clock on probe error
	drm/rockchip: dsi: Hold pm-runtime across bind/unbind
	drm/rockchip: dsi: Disable PLL clock on bind error
	drm/rockchip: dsi: Reconfigure hardware on resume()
	Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails
	clk: bcm-2835: Pick the closest clock rate
	clk: bcm-2835: Remove rounding up the dividers
	drm/vc4: hdmi: Set a default HSM rate
	wcn36xx: ensure pairing of init_scan/finish_scan and start_scan/end_scan
	wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
	wcn36xx: Fix DMA channel enable/disable cycle
	wcn36xx: Release DMA channel descriptor allocations
	wcn36xx: Put DXE block into reset before freeing memory
	wcn36xx: populate band before determining rate on RX
	wcn36xx: fix RX BD rate mapping for 5GHz legacy rates
	ath11k: Send PPDU_STATS_CFG with proper pdev mask to firmware
	mtd: hyperbus: rpc-if: Check return value of rpcif_sw_init()
	media: videobuf2: Fix the size printk format
	media: atomisp: add missing media_device_cleanup() in atomisp_unregister_entities()
	media: atomisp: fix punit_ddr_dvfs_enable() argument for mrfld_power up case
	media: atomisp: fix inverted logic in buffers_needed()
	media: atomisp: do not use err var when checking port validity for ISP2400
	media: atomisp: fix inverted error check for ia_css_mipi_is_source_port_valid()
	media: atomisp: fix ifdefs in sh_css.c
	media: staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_cmd.c
	media: atomisp: add NULL check for asd obtained from atomisp_video_pipe
	media: atomisp: fix enum formats logic
	media: atomisp: fix uninitialized bug in gmin_get_pmic_id_and_addr()
	media: aspeed: fix mode-detect always time out at 2nd run
	media: em28xx: fix memory leak in em28xx_init_dev
	media: aspeed: Update signal status immediately to ensure sane hw state
	arm64: dts: amlogic: meson-g12: Fix GPU operating point table node name
	arm64: dts: amlogic: Fix SPI NOR flash node name for ODROID N2/N2+
	arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
	arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
	fs: dlm: use sk->sk_socket instead of con->sock
	fs: dlm: don't call kernel_getpeername() in error_report()
	memory: renesas-rpc-if: Return error in case devm_ioremap_resource() fails
	Bluetooth: stop proccessing malicious adv data
	ath11k: Fix ETSI regd with weather radar overlap
	ath11k: clear the keys properly via DISABLE_KEY
	ath11k: reset RSN/WPA present state for open BSS
	tee: fix put order in teedev_close_context()
	fs: dlm: fix build with CONFIG_IPV6 disabled
	drm/vboxvideo: fix a NULL vs IS_ERR() check
	arm64: dts: renesas: cat875: Add rx/tx delays
	media: dmxdev: fix UAF when dvb_register_device() fails
	crypto: qce - fix uaf on qce_ahash_register_one
	crypto: qce - fix uaf on qce_skcipher_register_one
	mtd: hyperbus: rpc-if: fix bug in rpcif_hb_remove
	ARM: dts: stm32: fix dtbs_check warning on ili9341 dts binding on stm32f429 disco
	crypto: qat - fix spelling mistake: "messge" -> "message"
	crypto: qat - remove unnecessary collision prevention step in PFVF
	crypto: qat - make pfvf send message direction agnostic
	crypto: qat - fix undetected PFVF timeout in ACK loop
	ath11k: Use host CE parameters for CE interrupts configuration
	arm64: dts: ti: k3-j721e: correct cache-sets info
	tty: serial: atmel: Check return code of dmaengine_submit()
	tty: serial: atmel: Call dma_async_issue_pending()
	mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP
	mfd: atmel-flexcom: Use .resume_noirq
	media: rcar-csi2: Correct the selection of hsfreqrange
	media: imx-pxp: Initialize the spinlock prior to using it
	media: si470x-i2c: fix possible memory leak in si470x_i2c_probe()
	media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released
	media: coda: fix CODA960 JPEG encoder buffer overflow
	media: venus: pm_helpers: Control core power domain manually
	media: venus: core, venc, vdec: Fix probe dependency error
	media: venus: core: Fix a potential NULL pointer dereference in an error handling path
	media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()'
	thermal/drivers/imx: Implement runtime PM support
	netfilter: bridge: add support for pppoe filtering
	arm64: dts: qcom: msm8916: fix MMC controller aliases
	cgroup: Trace event cgroup id fields should be u64
	ACPI: EC: Rework flushing of EC work while suspended to idle
	thermal/drivers/imx8mm: Enable ADC when enabling monitor
	drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()
	drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()
	arm64: dts: ti: k3-j7200: Fix the L2 cache sets
	arm64: dts: ti: k3-j721e: Fix the L2 cache sets
	arm64: dts: ti: k3-j7200: Correct the d-cache-sets info
	tty: serial: uartlite: allow 64 bit address
	serial: amba-pl011: do not request memory region twice
	floppy: Fix hang in watchdog when disk is ejected
	staging: rtl8192e: return error code from rtllib_softmac_init()
	staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib()
	Bluetooth: btmtksdio: fix resume failure
	sched/fair: Fix detection of per-CPU kthreads waking a task
	sched/fair: Fix per-CPU kthread and wakee stacking for asym CPU capacity
	bpf: Adjust BTF log size limit.
	bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD)
	bpf: Remove config check to enable bpf support for branch records
	arm64: lib: Annotate {clear, copy}_page() as position-independent
	arm64: clear_page() shouldn't use DC ZVA when DCZID_EL0.DZP == 1
	media: dib8000: Fix a memleak in dib8000_init()
	media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach()
	media: si2157: Fix "warm" tuner state detection
	wireless: iwlwifi: Fix a double free in iwl_txq_dyn_alloc_dma
	sched/rt: Try to restart rt period timer when rt runtime exceeded
	drm/msm/dp: displayPort driver need algorithm rational
	rcu/exp: Mark current CPU as exp-QS in IPI loop second pass
	mwifiex: Fix possible ABBA deadlock
	xfrm: fix a small bug in xfrm_sa_len()
	x86/uaccess: Move variable into switch case statement
	selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST
	selftests: harness: avoid false negatives if test has no ASSERTs
	crypto: stm32 - Fix last sparse warning in stm32_cryp_check_ctr_counter
	crypto: stm32/cryp - fix CTR counter carry
	crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
	crypto: stm32/cryp - check early input data
	crypto: stm32/cryp - fix double pm exit
	crypto: stm32/cryp - fix lrw chaining mode
	crypto: stm32/cryp - fix bugs and crash in tests
	crypto: stm32 - Revert broken pm_runtime_resume_and_get changes
	ath11k: Fix deleting uninitialized kernel timer during fragment cache flush
	ARM: dts: gemini: NAS4220-B: fis-index-block with 128 KiB sectors
	media: dw2102: Fix use after free
	media: msi001: fix possible null-ptr-deref in msi001_probe()
	media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
	ath11k: Fix a NULL pointer dereference in ath11k_mac_op_hw_scan()
	arm64: dts: qcom: c630: Fix soundcard setup
	arm64: dts: qcom: ipq6018: Fix gpio-ranges property
	drm/msm/dpu: fix safe status debugfs file
	drm/bridge: ti-sn65dsi86: Set max register for regmap
	drm/tegra: vic: Fix DMA API misuse
	media: hantro: Fix probe func error path
	xfrm: interface with if_id 0 should return error
	xfrm: state and policy should fail if XFRMA_IF_ID 0
	ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
	usb: ftdi-elan: fix memory leak on device disconnect
	arm64: dts: marvell: cn9130: add GPIO and SPI aliases
	arm64: dts: marvell: cn9130: enable CP0 GPIO controllers
	ARM: dts: armada-38x: Add generic compatible to UART nodes
	iwlwifi: mvm: fix 32-bit build in FTM
	iwlwifi: mvm: test roc running status bits before removing the sta
	mmc: meson-mx-sdhc: add IRQ check
	mmc: meson-mx-sdio: add IRQ check
	selinux: fix potential memleak in selinux_add_opt()
	um: fix ndelay/udelay defines
	um: virtio_uml: Fix time-travel external time propagation
	Bluetooth: L2CAP: Fix using wrong mode
	bpftool: Enable line buffering for stdout
	backlight: qcom-wled: Validate enabled string indices in DT
	backlight: qcom-wled: Pass number of elements to read to read_u32_array
	backlight: qcom-wled: Fix off-by-one maximum with default num_strings
	backlight: qcom-wled: Override default length with qcom,enabled-strings
	backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion
	backlight: qcom-wled: Respect enabled-strings in set_brightness
	software node: fix wrong node passed to find nargs_prop
	Bluetooth: hci_qca: Stop IBS timer during BT OFF
	x86/boot/compressed: Move CLANG_FLAGS to beginning of KBUILD_CFLAGS
	hwmon: (mr75203) fix wrong power-up delay value
	x86/mce/inject: Avoid out-of-bounds write when setting flags
	ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes
	pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
	pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
	power: reset: mt6397: Check for null res pointer
	netfilter: ipt_CLUSTERIP: fix refcount leak in clusterip_tg_check()
	bpf: Don't promote bogus looking registers after null check.
	bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
	netfilter: nft_set_pipapo: allocate pcpu scratch maps on clone
	ppp: ensure minimum packet size in ppp_write()
	rocker: fix a sleeping in atomic bug
	staging: greybus: audio: Check null pointer
	fsl/fman: Check for null pointer after calling devm_ioremap
	Bluetooth: hci_bcm: Check for error irq
	Bluetooth: hci_qca: Fix NULL vs IS_ERR_OR_NULL check in qca_serdev_probe
	usb: dwc3: qcom: Fix NULL vs IS_ERR checking in dwc3_qcom_probe
	HID: hid-uclogic-params: Invalid parameter check in uclogic_params_init
	HID: hid-uclogic-params: Invalid parameter check in uclogic_params_get_str_desc
	HID: hid-uclogic-params: Invalid parameter check in uclogic_params_huion_init
	HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
	debugfs: lockdown: Allow reading debugfs files that are not world readable
	net/mlx5e: Fix page DMA map/unmap attributes
	net/mlx5e: Don't block routes with nexthop objects in SW
	Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
	net/mlx5: Set command entry semaphore up once got index free
	lib/mpi: Add the return value check of kcalloc()
	Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt()
	spi: spi-meson-spifc: Add missing pm_runtime_disable() in meson_spifc_probe
	ax25: uninitialized variable in ax25_setsockopt()
	netrom: fix api breakage in nr_setsockopt()
	regmap: Call regmap_debugfs_exit() prior to _init()
	can: mcp251xfd: add missing newline to printed strings
	tpm: add request_locality before write TPM_INT_ENABLE
	tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'
	can: softing: softing_startstop(): fix set but not used variable warning
	can: xilinx_can: xcan_probe(): check for error irq
	pcmcia: fix setting of kthread task states
	iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing()
	net: mcs7830: handle usb read errors properly
	ext4: avoid trim error on fs with small groups
	ALSA: jack: Add missing rwsem around snd_ctl_remove() calls
	ALSA: PCM: Add missing rwsem around snd_ctl_remove() calls
	ALSA: hda: Add missing rwsem around snd_ctl_remove() calls
	RDMA/bnxt_re: Scan the whole bitmap when checking if "disabling RCFW with pending cmd-bit"
	RDMA/hns: Validate the pkey index
	scsi: pm80xx: Update WARN_ON check in pm8001_mpi_build_cmd()
	clk: imx8mn: Fix imx8mn_clko1_sels
	powerpc/prom_init: Fix improper check of prom_getprop()
	ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
	dt-bindings: thermal: Fix definition of cooling-maps contribution property
	powerpc/64s: Convert some cpu_setup() and cpu_restore() functions to C
	powerpc/perf: MMCR0 control for PMU registers under PMCC=00
	powerpc/perf: move perf irq/nmi handling details into traps.c
	powerpc/irq: Add helper to set regs->softe
	powerpc/perf: Fix PMU callbacks to clear pending PMI before resetting an overflown PMC
	powerpc/32s: Fix shift-out-of-bounds in KASAN init
	clocksource: Reduce clocksource-skew threshold
	clocksource: Avoid accidental unstable marking of clocksources
	ALSA: oss: fix compile error when OSS_DEBUG is enabled
	ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID
	char/mwave: Adjust io port register size
	binder: fix handling of error during copy
	openrisc: Add clone3 ABI wrapper
	iommu/io-pgtable-arm: Fix table descriptor paddr formatting
	scsi: ufs: Fix race conditions related to driver data
	RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
	PCI/MSI: Fix pci_irq_vector()/pci_irq_get_affinity()
	powerpc/powermac: Add additional missing lockdep_register_key()
	RDMA/core: Let ib_find_gid() continue search even after empty entry
	RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty entry
	ASoC: rt5663: Handle device_property_read_u32_array error codes
	of: unittest: fix warning on PowerPC frame size warning
	of: unittest: 64 bit dma address test requires arch support
	clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell
	mips: add SYS_HAS_CPU_MIPS64_R5 config for MIPS Release 5 support
	mips: fix Kconfig reference to PHYS_ADDR_T_64BIT
	dmaengine: pxa/mmp: stop referencing config->slave_id
	iommu/amd: Remove iommu_init_ga()
	iommu/amd: Restore GA log/tail pointer on host resume
	ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
	iommu/iova: Fix race between FQ timeout and teardown
	scsi: block: pm: Always set request queue runtime active in blk_post_runtime_resume()
	phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
	ASoC: mediatek: Check for error clk pointer
	ASoC: samsung: idma: Check of ioremap return value
	misc: lattice-ecp3-config: Fix task hung when firmware load failed
	counter: stm32-lptimer-cnt: remove iio counter abi
	arm64: tegra: Fix Tegra194 HDA {clock,reset}-names ordering
	arm64: tegra: Remove non existent Tegra194 reset
	mips: lantiq: add support for clk_set_parent()
	mips: bcm63xx: add support for clk_set_parent()
	powerpc/xive: Add missing null check after calling kmalloc
	ASoC: fsl_mqs: fix MODULE_ALIAS
	RDMA/cxgb4: Set queue pair state when being queried
	ASoC: fsl_asrc: refine the check of available clock divider
	clk: bm1880: remove kfrees on static allocations
	of: base: Fix phandle argument length mismatch error message
	ARM: dts: omap3-n900: Fix lp5523 for multi color
	Bluetooth: Fix debugfs entry leak in hci_register_dev()
	fs: dlm: filter user dlm messages for kernel locks
	drm/lima: fix warning when CONFIG_DEBUG_SG=y & CONFIG_DMA_API_DEBUG=y
	selftests/bpf: Fix bpf_object leak in skb_ctx selftest
	ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply
	drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR
	drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
	media: atomisp: fix try_fmt logic
	media: atomisp: set per-device's default mode
	media: atomisp-ov2680: Fix ov2680_set_fmt() clobbering the exposure
	ARM: shmobile: rcar-gen2: Add missing of_node_put()
	batman-adv: allow netlink usage in unprivileged containers
	media: atomisp: handle errors at sh_css_create_isp_params()
	ath11k: Fix crash caused by uninitialized TX ring
	usb: gadget: f_fs: Use stream_open() for endpoint files
	drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
	HID: apple: Do not reset quirks when the Fn key is not found
	media: b2c2: Add missing check in flexcop_pci_isr:
	EDAC/synopsys: Use the quirk for version instead of ddr version
	ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART
	drm/amd/display: check top_pipe_to_program pointer
	drm/amdgpu/display: set vblank_disable_immediate for DC
	soc: ti: pruss: fix referenced node in error message
	mlxsw: pci: Add shutdown method in PCI driver
	drm/bridge: megachips: Ensure both bridges are probed before registration
	tty: serial: imx: disable UCR4_OREN in .stop_rx() instead of .shutdown()
	gpiolib: acpi: Do not set the IRQ type if the IRQ is already in use
	HSI: core: Fix return freed object in hsi_new_client
	crypto: jitter - consider 32 LSB for APT
	mwifiex: Fix skb_over_panic in mwifiex_usb_recv()
	rsi: Fix use-after-free in rsi_rx_done_handler()
	rsi: Fix out-of-bounds read in rsi_read_pkt()
	ath11k: Avoid NULL ptr access during mgmt tx cleanup
	media: venus: avoid calling core_clk_setrate() concurrently during concurrent video sessions
	ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table
	ACPI: Change acpi_device_always_present() into acpi_device_override_status()
	ACPI / x86: Allow specifying acpi_device_override_status() quirks by path
	ACPI / x86: Add not-present quirk for the PCI0.SDHB.BRC1 device on the GPD win
	arm64: dts: ti: j7200-main: Fix 'dtbs_check' serdes_ln_ctrl node
	usb: uhci: add aspeed ast2600 uhci support
	floppy: Add max size check for user space request
	x86/mm: Flush global TLB when switching to trampoline page-table
	drm: rcar-du: Fix CRTC timings when CMM is used
	media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
	media: rcar-vin: Update format alignment constraints
	media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach()
	media: m920x: don't use stack on USB reads
	thunderbolt: Runtime PM activate both ends of the device link
	iwlwifi: mvm: synchronize with FW after multicast commands
	iwlwifi: mvm: avoid clearing a just saved session protection id
	ath11k: avoid deadlock by change ieee80211_queue_work for regd_update_work
	ath10k: Fix tx hanging
	net-sysfs: update the queue counts in the unregistration path
	net: phy: prefer 1000baseT over 1000baseKX
	gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
	selftests/ftrace: make kprobe profile testcase description unique
	ath11k: Avoid false DEADLOCK warning reported by lockdep
	x86/mce: Allow instrumentation during task work queueing
	x86/mce: Mark mce_panic() noinstr
	x86/mce: Mark mce_end() noinstr
	x86/mce: Mark mce_read_aux() noinstr
	net: bonding: debug: avoid printing debug logs when bond is not notifying peers
	bpf: Do not WARN in bpf_warn_invalid_xdp_action()
	HID: quirks: Allow inverting the absolute X/Y values
	media: igorplugusb: receiver overflow should be reported
	media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()
	mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
	audit: ensure userspace is penalized the same as the kernel when under pressure
	arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
	arm64: tegra: Adjust length of CCPLEX cluster MMIO region
	PM: runtime: Add safety net to supplier device release
	cpufreq: Fix initialization of min and max frequency QoS requests
	usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0
	ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream
	rtw88: 8822c: update rx settings to prevent potential hw deadlock
	PM: AVS: qcom-cpr: Use div64_ul instead of do_div
	iwlwifi: fix leaks/bad data after failed firmware load
	iwlwifi: remove module loading failure message
	iwlwifi: mvm: Fix calculation of frame length
	iwlwifi: pcie: make sure prph_info is set when treating wakeup IRQ
	um: registers: Rename function names to avoid conflicts and build problems
	ath11k: Fix napi related hang
	Bluetooth: vhci: Set HCI_QUIRK_VALID_LE_STATES
	xfrm: rate limit SA mapping change message to user space
	drm/etnaviv: consider completed fence seqno in hang check
	jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
	ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
	ACPICA: Utilities: Avoid deleting the same object twice in a row
	ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R()
	ACPICA: Fix wrong interpretation of PCC address
	ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5
	drm/amdgpu: fixup bad vram size on gmc v8
	amdgpu/pm: Make sysfs pm attributes as read-only for VFs
	ACPI: battery: Add the ThinkPad "Not Charging" quirk
	btrfs: remove BUG_ON() in find_parent_nodes()
	btrfs: remove BUG_ON(!eie) in find_parent_nodes
	net: mdio: Demote probed message to debug print
	mac80211: allow non-standard VHT MCS-10/11
	dm btree: add a defensive bounds check to insert_at()
	dm space map common: add bounds check to sm_ll_lookup_bitmap()
	mlxsw: pci: Avoid flow control for EMAD packets
	net: phy: marvell: configure RGMII delays for 88E1118
	net: gemini: allow any RGMII interface mode
	regulator: qcom_smd: Align probe function with rpmh-regulator
	serial: pl010: Drop CR register reset on set_termios
	serial: core: Keep mctrl register state and cached copy in sync
	random: do not throw away excess input to crng_fast_load
	parisc: Avoid calling faulthandler_disabled() twice
	x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs
	powerpc/6xx: add missing of_node_put
	powerpc/powernv: add missing of_node_put
	powerpc/cell: add missing of_node_put
	powerpc/btext: add missing of_node_put
	powerpc/watchdog: Fix missed watchdog reset due to memory ordering race
	i2c: i801: Don't silently correct invalid transfer size
	powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
	i2c: mpc: Correct I2C reset procedure
	clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB
	powerpc/powermac: Add missing lockdep_register_key()
	KVM: PPC: Book3S: Suppress warnings when allocating too big memory slots
	KVM: PPC: Book3S: Suppress failed alloc warning in H_COPY_TOFROM_GUEST
	w1: Misuse of get_user()/put_user() reported by sparse
	nvmem: core: set size for sysfs bin file
	dm: fix alloc_dax error handling in alloc_dev
	scsi: lpfc: Trigger SLI4 firmware dump before doing driver cleanup
	ALSA: seq: Set upper limit of processed events
	MIPS: Loongson64: Use three arguments for slti
	powerpc/40x: Map 32Mbytes of memory at startup
	selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
	powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
	powerpc/fadump: Fix inaccurate CPU state info in vmcore generated with panic
	udf: Fix error handling in udf_new_inode()
	MIPS: OCTEON: add put_device() after of_find_device_by_node()
	irqchip/gic-v4: Disable redistributors' view of the VPE table at boot time
	i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
	MIPS: Octeon: Fix build errors using clang
	scsi: sr: Don't use GFP_DMA
	ASoC: mediatek: mt8173: fix device_node leak
	ASoC: mediatek: mt8183: fix device_node leak
	phy: mediatek: Fix missing check in mtk_mipi_tx_probe
	rpmsg: core: Clean up resources on announce_create failure.
	crypto: omap-aes - Fix broken pm_runtime_and_get() usage
	crypto: stm32/crc32 - Fix kernel BUG triggered in probe()
	crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
	ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
	tpm: fix NPE on probe for missing device
	spi: uniphier: Fix a bug that doesn't point to private data correctly
	xen/gntdev: fix unmap notification order
	fuse: Pass correct lend value to filemap_write_and_wait_range()
	serial: Fix incorrect rs485 polarity on uart open
	cputime, cpuacct: Include guest time in user time in cpuacct.stat
	tracing/kprobes: 'nmissed' not showed correctly for kretprobe
	iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
	s390/mm: fix 2KB pgtable release race
	device property: Fix fwnode_graph_devcon_match() fwnode leak
	drm/etnaviv: limit submit sizes
	drm/nouveau/kms/nv04: use vzalloc for nv04_display
	drm/bridge: analogix_dp: Make PSR-exit block less
	parisc: Fix lpa and lpa_user defines
	powerpc/64s/radix: Fix huge vmap false positive
	PCI: xgene: Fix IB window setup
	PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors
	PCI: pci-bridge-emul: Make expansion ROM Base Address register read-only
	PCI: pci-bridge-emul: Properly mark reserved PCIe bits in PCI config space
	PCI: pci-bridge-emul: Fix definitions of reserved bits
	PCI: pci-bridge-emul: Correctly set PCIe capabilities
	PCI: pci-bridge-emul: Set PCI_STATUS_CAP_LIST for PCIe device
	xfrm: fix policy lookup for ipv6 gre packets
	btrfs: fix deadlock between quota enable and other quota operations
	btrfs: check the root node for uptodate before returning it
	btrfs: respect the max size in the header when activating swap file
	ext4: make sure to reset inode lockdep class when quota enabling fails
	ext4: make sure quota gets properly shutdown on error
	ext4: fix a possible ABBA deadlock due to busy PA
	ext4: initialize err_blk before calling __ext4_get_inode_loc
	ext4: fix fast commit may miss tracking range for FALLOC_FL_ZERO_RANGE
	ext4: set csum seed in tmp inode while migrating to extents
	ext4: Fix BUG_ON in ext4_bread when write quota data
	ext4: use ext4_ext_remove_space() for fast commit replay delete range
	ext4: fast commit may miss tracking unwritten range during ftruncate
	ext4: destroy ext4_fc_dentry_cachep kmemcache on module removal
	ext4: fix null-ptr-deref in '__ext4_journal_ensure_credits'
	ext4: don't use the orphan list when migrating an inode
	drm/radeon: fix error handling in radeon_driver_open_kms
	of: base: Improve argument length mismatch error
	firmware: Update Kconfig help text for Google firmware
	can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message
	media: rcar-csi2: Optimize the selection PHTW register
	drm/vc4: hdmi: Make sure the device is powered with CEC
	media: correct MEDIA_TEST_SUPPORT help text
	Documentation: dmaengine: Correctly describe dmatest with channel unset
	Documentation: ACPI: Fix data node reference documentation
	Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
	Documentation: fix firewire.rst ABI file path error
	Bluetooth: hci_sync: Fix not setting adv set duration
	scsi: core: Show SCMD_LAST in text form
	dmaengine: uniphier-xdmac: Fix type of address variables
	RDMA/hns: Modify the mapping attribute of doorbell to device
	RDMA/rxe: Fix a typo in opcode name
	dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK
	Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
	powerpc/cell: Fix clang -Wimplicit-fallthrough warning
	powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
	block: Fix fsync always failed if once failed
	bpftool: Remove inclusion of utilities.mak from Makefiles
	xdp: check prog type before updating BPF link
	perf evsel: Override attr->sample_period for non-libpfm4 events
	ipv4: update fib_info_cnt under spinlock protection
	ipv4: avoid quadratic behavior in netns dismantle
	net/fsl: xgmac_mdio: Add workaround for erratum A-009885
	net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
	parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
	f2fs: compress: fix potential deadlock of compress file
	f2fs: fix to reserve space for IO align feature
	af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress
	clk: Emit a stern warning with writable debugfs enabled
	clk: si5341: Fix clock HW provider cleanup
	net/smc: Fix hung_task when removing SMC-R devices
	net: axienet: increase reset timeout
	net: axienet: Wait for PhyRstCmplt after core reset
	net: axienet: reset core on initialization prior to MDIO access
	net: axienet: add missing memory barriers
	net: axienet: limit minimum TX ring size
	net: axienet: Fix TX ring slot available check
	net: axienet: fix number of TX ring slots for available check
	net: axienet: fix for TX busy handling
	net: axienet: increase default TX ring size to 128
	HID: vivaldi: fix handling devices not using numbered reports
	rtc: pxa: fix null pointer dereference
	vdpa/mlx5: Fix wrong configuration of virtio_version_1_0
	virtio_ring: mark ring unused on error
	taskstats: Cleanup the use of task->exit_code
	inet: frags: annotate races around fqdir->dead and fqdir->high_thresh
	netns: add schedule point in ops_exit_list()
	xfrm: Don't accidentally set RTO_ONLINK in decode_session4()
	gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
	libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
	perf script: Fix hex dump character output
	dmaengine: at_xdmac: Don't start transactions at tx_submit level
	dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
	dmaengine: at_xdmac: Print debug message after realeasing the lock
	dmaengine: at_xdmac: Fix concurrency over xfers_list
	dmaengine: at_xdmac: Fix lld view setting
	dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
	perf probe: Fix ppc64 'perf probe add events failed' case
	devlink: Remove misleading internal_flags from health reporter dump
	arm64: dts: qcom: msm8996: drop not documented adreno properties
	net: bonding: fix bond_xmit_broadcast return value error bug
	net_sched: restore "mpu xxx" handling
	bcmgenet: add WOL IRQ check
	net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
	net: sfp: fix high power modules without diagnostic monitoring
	net: mscc: ocelot: fix using match before it is set
	dt-bindings: display: meson-dw-hdmi: add missing sound-name-prefix property
	dt-bindings: display: meson-vpu: Add missing amlogic,canvas property
	dt-bindings: watchdog: Require samsung,syscon-phandle for Exynos7
	scripts/dtc: dtx_diff: remove broken example from help text
	lib82596: Fix IRQ check in sni_82596_probe
	mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_fault
	lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
	mtd: nand: bbt: Fix corner case in bad block table handling
	ath10k: Fix the MTU size on QCA9377 SDIO
	scripts: sphinx-pre-install: add required ctex dependency
	scripts: sphinx-pre-install: Fix ctex support on Debian
	Linux 5.10.94

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I857f2417c899508815a1ba13d1285fd400a1f133
2022-01-27 11:49:22 +01:00
Antony Antony
a0b13335a3 xfrm: rate limit SA mapping change message to user space
[ Upstream commit 4e484b3e96 ]

Kernel generates mapping change message, XFRM_MSG_MAPPING,
when a source port chage is detected on a input state with UDP
encapsulation set.  Kernel generates a message for each IPsec packet
with new source port.  For a high speed flow per packet mapping change
message can be excessive, and can overload the user space listener.

Introduce rate limiting for XFRM_MSG_MAPPING message to the user space.

The rate limiting is configurable via netlink, when adding a new SA or
updating it. Use the new attribute XFRMA_MTIMER_THRESH in seconds.

v1->v2 change:
	update xfrm_sa_len()

v2->v3 changes:
	use u32 insted unsigned long to reduce size of struct xfrm_state
	fix xfrm_ompat size Reported-by: kernel test robot <lkp@intel.com>
	accept XFRM_MSG_MAPPING only when XFRMA_ENCAP is present

Co-developed-by: Thomas Egerer <thomas.egerer@secunet.com>
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
Signed-off-by: Antony Antony <antony.antony@secunet.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 10:54:18 +01:00
Greg Kroah-Hartman
f45f895af5 Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

2c152aa329 UPSTREAM: f2fs: reduce the scope of setting fsck tag when de->name_len is zero
c29dd368ef ANDROID: GKI: Update symbols to abi_gki_aarch64_oplus
428d0bb762 ANDROID: Add initial ASUS symbol list
87a74496ed ANDROID: configfs: add proper module namespace marking
b7a6c15a6f ANDROID: Configure out the macros in android_kabi and android_vendor
bdc772adbd ANDROID: kernel: fix debug_kinfo set twice crash issue
d483eed85f ANDROID: GKI: set vfs-only exports into their own namespace
27fc5a7c69 UPSTREAM: net/packet: rx_owner_map depends on pg_vec
f70ea63f3b ANDROID: GKI: Update symbols to symbol list
a593acdae8 FROMLIST: module.h: allow #define strings to work with MODULE_IMPORT_NS
eb171b4cbe FROMLIST: export: fix string handling of namespace in EXPORT_SYMBOL_NS
05c23b7a50 ANDROID: vendor_hooks: Add hooks for binder
e99926fdfa ANDROID: mm/oom_kill: allow process_mrelease reclaim memory in parallel with exit_mmap
f4f2c619d5 FROMLIST: mm/oom_kill: allow process_mrelease to run under mmap_lock protection
2452622293 FROMLIST: mm: protect free_pgtables with mmap_lock write lock in exit_mmap
fd7af95538 UPSTREAM: mm/oom_kill.c: prevent a race between process_mrelease and exit_mmap
fe50dcab7a UPSTREAM: mm: wire up syscall process_mrelease
7fc3ac4968 UPSTREAM: mm: introduce process_mrelease system call
ac44888155 Revert "FROMGIT: mm: improve mprotect(R|W) efficiency on pages referenced once"
3a624c9ccd ANDROID: fips140: add show_invalid_inputs command to fips140_lab_util
a481d43521 ANDROID: fips140: refactor and rename fips140_lab_test
d4b5ca56b5 ANDROID: GKI: add lenovo symbol list
47874cc690 ANDROID: abi_gki_aarch64_qcom: Add rproc_set_firmware
c41767a8ec UPSTREAM: remoteproc: Add a rproc_set_firmware() API
28d62c68d1 FROMGIT: iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
99ad261273 UPSTREAM: sctp: add param size validation for SCTP_PARAM_SET_PRIMARY
282a4de8f0 UPSTREAM: sctp: validate chunk size in __rcv_asconf_lookup
fef7dba3a7 UPSTREAM: bpf: Fix integer overflow in prealloc_elems_and_freelist()
893425f545 ANDROID: GKI: Update symbol list
cef0df2218 ANDROID: ABI: update allowed list for galaxy
a7ab784f60 ANDROID: vendor_hooks: Add hooks for futex
84fc3abca0 ANDROID: dma-contiguous: Add tracehook to allow subpage allocations in dma_alloc_contiguous
d94655c43e ANDROID: Update the ABI xml and symbol list
414c32d38e UPSTREAM: ALSA: memalloc: Align buffer allocations in page size
75617df5b3 ANDROID: Fix mmu_notifier_trylock definition for !CONFIG_MMU_NOTIFIER config
7531e63661 FROMGIT: USB: gadget: bRequestType is a bitfield, not a enum
70c9301d9c ANDROID: qcom: Add flush_delayed_fput to ABI
5d8520b557 ANDROID: fix ABI breakage caused by mm_struct->mmu_notifier_lock addition
a4d26b9a4b ANDROID: fix ABI breakage caused by percpu_rw_semaphore changes
6971350406 ANDROID: fix mmu_notifier race caused by not taking mmap_lock during SPF
2fc2c66b9c ANDROID: percpu-rwsem: enable percpu_sem destruction in atomic context
f3f87608d8 FROMLIST: virtio_mmio: pm: Add notification handlers for restore and freeze
9180348b91 FROMLIST: virtio: do not reset stateful devices on resume
392cb940f6 FROMGIT: f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file
ddd9e01504 UPSTREAM: mm, slub: fix incorrect memcg slab count for bulk free
82ac5b0b1d UPSTREAM: mm, slub: fix potential use-after-free in slab_debugfs_fops
e07a663f5d UPSTREAM: mm, slub: fix potential memoryleak in kmem_cache_open()
cd02f347ab UPSTREAM: mm, slub: fix mismatch between reconstructed freelist depth and cnt
6b6725f77d UPSTREAM: mm, slub: fix two bugs in slab_debug_trace_open()
791f85d16d UPSTREAM: mm, slub: allocate private object map for debugfs listings
1260b47d4f FROMGIT: dma-buf: remove restriction of IOCTL:DMA_BUF_SET_NAME
e80be54e4b UPSTREAM: usb: dwc3: core: balance phy init and exit
89137e0047 UPSTREAM: xhci: Fix failure to give back some cached cancelled URBs.
f37b6d79f8 ANDROID: mm/memory_hotplug: Don't special case memory_block_size_bytes
8b7ffd60a5 UPSTREAM: usb: gadget: uvc: fix multiple opens
ae22ebebbb UPSTREAM: aio: fix use-after-free due to missing POLLFREE handling
b9c8788830 UPSTREAM: aio: keep poll requests on waitqueue until completed
f965176884 UPSTREAM: signalfd: use wake_up_pollfree()
49744a390d UPSTREAM: binder: use wake_up_pollfree()
e50fe1de2f UPSTREAM: wait: add wake_up_pollfree()
53afb231f5 UPSTREAM: USB: gadget: zero allocate endpoint 0 buffers
593309a377 BACKPORT: scsi: ufs: Improve SCSI abort handling further
21949c429a FROMGIT: scsi: ufs: Introduce ufshcd_release_scsi_cmd()
d600bdedac FROMGIT: scsi: ufs: Remove the 'update_scaling' local variable
5f9614157c UPSTREAM: scsi: ufs: core: Fix another task management completion race
76760a995c BACKPORT: scsi: ufs: core: Fix task management completion timeout race
dab2a8a288 ANDROID: qcom: Add android_rvh_do_ptrauth_fault to ABI
b4604acd52 UPSTREAM: USB: gadget: detect too-big endpoint 0 requests
2d6a43c036 ANDROID: ABI: Add symbols used by frame buffer driver
183905923f UPSTREAM: xhci: Add bus number to some debug messages
5b15c955a6 UPSTREAM: xhci: Add additional dynamic debug to follow URBs in cancel and error cases.
f4cbe34956 UPSTREAM: Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set"
c23b0e7c47 UPSTREAM: xhci: Fix failure to give back some cached cancelled URBs.
7320fb1abd UPSTREAM: HID: check for valid USB device for many HID drivers
e98c96b8b8 UPSTREAM: HID: wacom: fix problems when device is not a valid USB device
5a72ef56c8 UPSTREAM: HID: bigbenff: prevent null pointer dereference
7b8a19b917 UPSTREAM: HID: add USB_HID dependancy on some USB HID drivers
8219b106a3 UPSTREAM: HID: add USB_HID dependancy to hid-chicony
a4909c90b7 UPSTREAM: HID: add USB_HID dependancy to hid-prodikeys
ddea17081f UPSTREAM: HID: add hid_is_usb() function to make it simpler for USB detection
81b6ea435e FROMGIT: clk: Don't parent clks until the parent is fully registered
78ea29e570 UPSTREAM: mm/gup: remove the vma allocation from gup_longterm_locked()
709fde7c61 BACKPORT: usb: typec: tcpm: Wait in SNK_DEBOUNCED until disconnect
ea4a92c6af ANDROID: ABI: Add iio_write_channel_raw symbol
f803f248dd ANDROID: GKI: Update symbols to symbol list
672d51b2a7 UPSTREAM: ASoC: dapm: use component prefix when checking widget names
686cd3b2d8 ANDROID: ABI: Add symbols used by clocksource driver
80c1cef2d1 ANDROID: GKI: Export clocksource_mmio_init
84881c68b1 ANDROID: GKI: Export sched_clock_register
9e5446d7de FROMGIT: f2fs: show number of pending discard commands
28de741861 ANDROID: workqueue: export symbol of the function wq_worker_comm()
71f00d64c1 ANDROID: GKI: Update symbols to symbol list
05aa93d251 ANDROID: vendor_hooks: Add hooks for binder proc transaction

Also update the .xml file for the following new symbols that are now
being tracked:

Leaf changes summary: 165 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 154 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 11 Added variables

154 Added functions:

  [A] 'function void __bforget(buffer_head*)'
  [A] 'function ssize_t __blockdev_direct_IO(kiocb*, inode*, block_device*, iov_iter*, get_block_t*, dio_iodone_t*, dio_submit_t*, int)'
  [A] 'function buffer_head* __bread_gfp(block_device*, sector_t, unsigned int, gfp_t)'
  [A] 'function void __breadahead(block_device*, sector_t, unsigned int)'
  [A] 'function void __brelse(buffer_head*)'
  [A] 'function void __cancel_dirty_page(page*)'
  [A] 'function void __cleancache_invalidate_inode(address_space*)'
  [A] 'function void __filemap_set_wb_err(address_space*, int)'
  [A] 'function void __insert_inode_hash(inode*, unsigned long int)'
  [A] 'function void __mark_inode_dirty(inode*, int)'
  [A] 'function void __pagevec_release(pagevec*)'
  [A] 'function void __remove_inode_hash(inode*)'
  [A] 'function int __set_page_dirty_buffers(page*)'
  [A] 'function int __set_page_dirty_nobuffers(page*)'
  [A] 'function int __test_set_page_writeback(page*, bool)'
  [A] 'function int __traceiter_android_vh_binder_free_proc(void*, binder_proc*)'
  [A] 'function int __traceiter_android_vh_binder_has_work_ilocked(void*, binder_thread*, bool, int*)'
  [A] 'function int __traceiter_android_vh_binder_looper_state_registered(void*, binder_thread*, binder_proc*)'
  [A] 'function int __traceiter_android_vh_binder_proc_transaction_end(void*, task_struct*, task_struct*, task_struct*, unsigned int, bool, bool)'
  [A] 'function int __traceiter_android_vh_binder_read_done(void*, binder_proc*, binder_thread*)'
  [A] 'function int __traceiter_android_vh_binder_thread_read(void*, list_head**, binder_proc*, binder_thread*)'
  [A] 'function int __traceiter_android_vh_binder_thread_release(void*, binder_proc*, binder_thread*)'
  [A] 'function int __traceiter_android_vh_futex_sleep_start(void*, task_struct*)'
  [A] 'function int __traceiter_block_bio_remap(void*, request_queue*, bio*, dev_t, sector_t)'
  [A] 'function int add_to_page_cache_locked(page*, address_space*, unsigned long int, gfp_t)'
  [A] 'function bio* bio_split(bio*, int, gfp_t, bio_set*)'
  [A] 'function wait_queue_head* bit_waitqueue(void*, int)'
  [A] 'function blk_plug_cb* blk_check_plugged(blk_plug_cb_fn, void*, int)'
  [A] 'function void blk_queue_max_write_same_sectors(request_queue*, unsigned int)'
  [A] 'function int blkdev_issue_discard(block_device*, sector_t, sector_t, gfp_t, unsigned long int)'
  [A] 'function void block_invalidatepage(page*, unsigned int, unsigned int)'
  [A] 'function int block_is_partially_uptodate(page*, unsigned long int, unsigned long int)'
  [A] 'function int buffer_migrate_page(address_space*, page*, page*, migrate_mode)'
  [A] 'function bool capable_wrt_inode_uidgid(const inode*, int)'
  [A] 'function void clean_bdev_aliases(block_device*, sector_t, sector_t)'
  [A] 'function void clear_inode(inode*)'
  [A] 'function int clear_page_dirty_for_io(page*)'
  [A] 'function int clk_set_duty_cycle(clk*, unsigned int, unsigned int)'
  [A] 'function int clocksource_mmio_init(void*, const char*, unsigned long int, int, unsigned int, typedef u64 (clocksource*)*)'
  [A] 'function u64 clocksource_mmio_readl_up(clocksource*)'
  [A] 'function void create_empty_buffers(page*, unsigned long int, unsigned long int)'
  [A] 'function int current_umask()'
  [A] 'function dentry* d_add_ci(dentry*, inode*, qstr*)'
  [A] 'function void d_instantiate(dentry*, inode*)'
  [A] 'function dentry* d_obtain_alias(inode*)'
  [A] 'function dentry* d_splice_alias(inode*, dentry*)'
  [A] 'function void delete_from_page_cache(page*)'
  [A] 'function void disk_stack_limits(gendisk*, block_device*, sector_t)'
  [A] 'function void drop_nlink(inode*)'
  [A] 'function void end_buffer_write_sync(buffer_head*, int)'
  [A] 'function void end_page_writeback(page*)'
  [A] 'function errseq_t errseq_set(errseq_t*, int)'
  [A] 'function int fb_get_options(const char*, char**)'
  [A] 'function int fiemap_fill_next_extent(fiemap_extent_info*, u64, u64, u64, u32)'
  [A] 'function int fiemap_prep(inode*, fiemap_extent_info*, u64, u64*, u32)'
  [A] 'function int file_remove_privs(file*)'
  [A] 'function int file_update_time(file*)'
  [A] 'function int file_write_and_wait_range(file*, loff_t, loff_t)'
  [A] 'function vm_fault_t filemap_fault(vm_fault*)'
  [A] 'function int filemap_fdatawait_range(address_space*, loff_t, loff_t)'
  [A] 'function int filemap_fdatawrite(address_space*)'
  [A] 'function int filemap_flush(address_space*)'
  [A] 'function int filemap_write_and_wait_range(address_space*, loff_t, loff_t)'
  [A] 'function file* filp_open(const char*, int, umode_t)'
  [A] 'function void flush_delayed_fput()'
  [A] 'function int freq_qos_remove_notifier(freq_constraints*, freq_qos_req_type, notifier_block*)'
  [A] 'function int generic_error_remove_page(address_space*, page*)'
  [A] 'function ssize_t generic_file_direct_write(kiocb*, iov_iter*)'
  [A] 'function int generic_file_mmap(file*, vm_area_struct*)'
  [A] 'function int generic_file_open(inode*, file*)'
  [A] 'function ssize_t generic_file_splice_read(file*, loff_t*, pipe_inode_info*, size_t, unsigned int)'
  [A] 'function void generic_fillattr(inode*, kstat*)'
  [A] 'function ssize_t generic_read_dir(file*, char*, size_t, loff_t*)'
  [A] 'function page* grab_cache_page_write_begin(address_space*, unsigned long int, unsigned int)'
  [A] 'function inode* iget5_locked(super_block*, unsigned long int, int (inode*, void*)*, int (inode*, void*)*, void*)'
  [A] 'function inode* igrab(inode*)'
  [A] 'function void ihold(inode*)'
  [A] 'function int iio_write_channel_raw(iio_channel*, int)'
  [A] 'function inode* ilookup5(super_block*, unsigned long int, int (inode*, void*)*, void*)'
  [A] 'function int in_group_p(kgid_t)'
  [A] 'function void inc_nlink(inode*)'
  [A] 'function void init_special_inode(inode*, umode_t, dev_t)'
  [A] 'function void inode_dio_wait(inode*)'
  [A] 'function void inode_init_once(inode*)'
  [A] 'function void inode_init_owner(inode*, const inode*, umode_t)'
  [A] 'function int inode_newsize_ok(const inode*, loff_t)'
  [A] 'function void inode_set_flags(inode*, unsigned int, unsigned int)'
  [A] 'function void io_schedule()'
  [A] 'function void iov_iter_advance(iov_iter*, size_t)'
  [A] 'function unsigned long int iov_iter_alignment(const iov_iter*)'
  [A] 'function size_t iov_iter_copy_from_user_atomic(page*, iov_iter*, unsigned long int, size_t)'
  [A] 'function int iov_iter_fault_in_readable(iov_iter*, size_t)'
  [A] 'function ssize_t iov_iter_get_pages(iov_iter*, page**, size_t, unsigned int, size_t*)'
  [A] 'function size_t iov_iter_single_seg_count(const iov_iter*)'
  [A] 'function bool is_bad_inode(inode*)'
  [A] 'function ssize_t iter_file_splice_write(pipe_inode_info*, file*, loff_t*, size_t, unsigned int)'
  [A] 'function ino_t iunique(super_block*, ino_t)'
  [A] 'function void kill_block_super(super_block*)'
  [A] 'function void ll_rw_block(int, int, int, buffer_head**)'
  [A] 'function nls_table* load_nls(char*)'
  [A] 'function nls_table* load_nls_default()'
  [A] 'function void lru_cache_add(page*)'
  [A] 'function void make_bad_inode(inode*)'
  [A] 'function void mark_buffer_async_write(buffer_head*)'
  [A] 'function void mark_buffer_dirty(buffer_head*)'
  [A] 'function void mark_buffer_write_io_error(buffer_head*)'
  [A] 'function void mark_page_accessed(page*)'
  [A] 'function void mnt_drop_write_file(file*)'
  [A] 'function int mnt_want_write_file(file*)'
  [A] 'function dentry* mount_bdev(file_system_type*, int, const char*, void*, int (super_block*, void*, int)*)'
  [A] 'function void mpage_readahead(readahead_control*, get_block_t*)'
  [A] 'function int mpage_readpage(page*, get_block_t*)'
  [A] 'function int notify_change(dentry*, iattr*, inode**)'
  [A] 'function unsigned long int page_cache_next_miss(address_space*, unsigned long int, unsigned long int)'
  [A] 'function unsigned long int page_cache_prev_miss(address_space*, unsigned long int, unsigned long int)'
  [A] 'function bool page_mapped(page*)'
  [A] 'function int page_mkclean(page*)'
  [A] 'function void page_zero_new_buffers(page*, unsigned int, unsigned int)'
  [A] 'function page* pagecache_get_page(address_space*, unsigned long int, int, gfp_t)'
  [A] 'function unsigned int pagevec_lookup_range(pagevec*, address_space*, unsigned long int*, unsigned long int)'
  [A] 'function unsigned int pagevec_lookup_range_tag(pagevec*, address_space*, unsigned long int*, unsigned long int, xa_mark_t)'
  [A] 'function void put_pages_list(list_head*)'
  [A] 'function gfp_t readahead_gfp_mask(address_space*)'
  [A] 'function int redirty_page_for_writepage(writeback_control*, page*)'
  [A] 'function int rproc_set_firmware(rproc*, const char*)'
  [A] 'function int sb_min_blocksize(super_block*, int)'
  [A] 'function int sb_set_blocksize(super_block*, int)'
  [A] 'function void sched_clock_register(typedef u64 ()*, int, unsigned long int)'
  [A] 'function int security_inode_init_security(inode*, inode*, const qstr*, const initxattrs, void*)'
  [A] 'function void set_nlink(inode*, unsigned int)'
  [A] 'function int setattr_prepare(dentry*, iattr*)'
  [A] 'function blk_qc_t submit_bio_noacct(bio*)'
  [A] 'function int sync_dirty_buffer(buffer_head*)'
  [A] 'function int sync_filesystem(super_block*)'
  [A] 'function int sync_inode_metadata(inode*, int)'
  [A] 'function void tag_pages_for_writeback(address_space*, unsigned long int, unsigned long int)'
  [A] 'function timespec64 timestamp_truncate(timespec64, inode*)'
  [A] 'function void touch_atime(const path*)'
  [A] 'function void truncate_inode_pages(address_space*, loff_t)'
  [A] 'function void truncate_inode_pages_final(address_space*)'
  [A] 'function void truncate_pagecache(inode*, loff_t)'
  [A] 'function void truncate_setsize(inode*, loff_t)'
  [A] 'function int try_to_release_page(page*, gfp_t)'
  [A] 'function void try_to_writeback_inodes_sb(super_block*, wb_reason)'
  [A] 'function void unload_nls(nls_table*)'
  [A] 'function void unlock_buffer(buffer_head*)'
  [A] 'function void unlock_new_inode(inode*)'
  [A] 'function void usbnet_cdc_unbind(usbnet*, usb_interface*)'
  [A] 'function int usbnet_generic_cdc_bind(usbnet*, usb_interface*)'
  [A] 'function void wait_on_page_bit(page*, int)'
  [A] 'function int wake_bit_function(wait_queue_entry*, unsigned int, int, void*)'
  [A] 'function void wq_worker_comm(char*, size_t, task_struct*)'
  [A] 'function int write_inode_now(inode*, int)'
  [A] 'function int write_one_page(page*)'

11 Added variables:

  [A] 'tracepoint __tracepoint_android_rvh_do_ptrauth_fault'
  [A] 'tracepoint __tracepoint_android_vh_binder_free_proc'
  [A] 'tracepoint __tracepoint_android_vh_binder_has_work_ilocked'
  [A] 'tracepoint __tracepoint_android_vh_binder_looper_state_registered'
  [A] 'tracepoint __tracepoint_android_vh_binder_proc_transaction_end'
  [A] 'tracepoint __tracepoint_android_vh_binder_read_done'
  [A] 'tracepoint __tracepoint_android_vh_binder_thread_read'
  [A] 'tracepoint __tracepoint_android_vh_binder_thread_release'
  [A] 'tracepoint __tracepoint_android_vh_futex_sleep_start'
  [A] 'tracepoint __tracepoint_android_vh_subpage_dma_contig_alloc'
  [A] 'tracepoint __tracepoint_block_bio_remap'

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I064b6ff0420cee2d64e17814f43fbff8e2d9b019

Change-Id: Ia880c70c912f2b801a770feb1fdc4f4eb390d34d
2022-01-17 18:47:02 +01:00
Suren Baghdasaryan
fe50dcab7a UPSTREAM: mm: wire up syscall process_mrelease
Split off from prev patch in the series that implements the syscall.

Link: https://lkml.kernel.org/r/20210809185259.405936-2-surenb@google.com
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Florian Weimer <fweimer@redhat.com>
Cc: Jan Engelhardt <jengelh@inai.de>
Cc: Jann Horn <jannh@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Roman Gushchin <guro@fb.com>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Tim Murray <timmurray@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

(cherry picked from commit dce4910396)

Bug: 189803002
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I6f02c1ec136a7e102f133ee46a7070a151781345
2022-01-06 17:37:36 +00:00
Greg Kroah-Hartman
a1bb21475e Merge 5.10.90 into android12-5.10-lts
Changes in 5.10.90
	Input: i8042 - add deferred probe support
	Input: i8042 - enable deferred probe quirk for ASUS UM325UA
	tomoyo: Check exceeded quota early in tomoyo_domain_quota_is_ok().
	tomoyo: use hwight16() in tomoyo_domain_quota_is_ok()
	parisc: Clear stale IIR value on instruction access rights trap
	platform/x86: apple-gmux: use resource_size() with res
	memblock: fix memblock_phys_alloc() section mismatch error
	recordmcount.pl: fix typo in s390 mcount regex
	selinux: initialize proto variable in selinux_ip_postroute_compat()
	scsi: lpfc: Terminate string in lpfc_debugfs_nvmeio_trc_write()
	net/mlx5: DR, Fix NULL vs IS_ERR checking in dr_domain_init_resources
	net/mlx5e: Wrap the tx reporter dump callback to extract the sq
	net/mlx5e: Fix ICOSQ recovery flow for XSK
	udp: using datalen to cap ipv6 udp max gso segments
	selftests: Calculate udpgso segment count without header adjustment
	sctp: use call_rcu to free endpoint
	net/smc: fix using of uninitialized completions
	net: usb: pegasus: Do not drop long Ethernet frames
	net: ag71xx: Fix a potential double free in error handling paths
	net: lantiq_xrx200: fix statistics of received bytes
	NFC: st21nfca: Fix memory leak in device probe and remove
	net/smc: improved fix wait on already cleared link
	net/smc: don't send CDC/LLC message if link not ready
	net/smc: fix kernel panic caused by race of smc_sock
	igc: Fix TX timestamp support for non-MSI-X platforms
	ionic: Initialize the 'lif->dbid_inuse' bitmap
	net/mlx5e: Fix wrong features assignment in case of error
	selftests/net: udpgso_bench_tx: fix dst ip argument
	net/ncsi: check for error return from call to nla_put_u32
	fsl/fman: Fix missing put_device() call in fman_port_probe
	i2c: validate user data in compat ioctl
	nfc: uapi: use kernel size_t to fix user-space builds
	uapi: fix linux/nfc.h userspace compilation errors
	drm/amdgpu: When the VCN(1.0) block is suspended, powergating is explicitly enabled
	drm/amdgpu: add support for IP discovery gc_info table v2
	xhci: Fresco FL1100 controller should not have BROKEN_MSI quirk set.
	usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.
	usb: mtu3: add memory barrier before set GPD's HWO
	usb: mtu3: fix list_head check warning
	usb: mtu3: set interval of FS intr and isoc endpoint
	binder: fix async_free_space accounting for empty parcels
	scsi: vmw_pvscsi: Set residual data length conditionally
	Input: appletouch - initialize work before device registration
	Input: spaceball - fix parsing of movement data packets
	net: fix use-after-free in tw_timer_handler
	perf script: Fix CPU filtering of a script's switch events
	bpf: Add kconfig knob for disabling unpriv bpf by default
	Linux 5.10.90

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I299d1e939d3b01b5d6f34f7b9ec701d624bbfde3
2022-01-05 13:23:32 +01:00
Dmitry V. Levin
a0f3ac399e uapi: fix linux/nfc.h userspace compilation errors
commit 7175f02c4e upstream.

Replace sa_family_t with __kernel_sa_family_t to fix the following
linux/nfc.h userspace compilation errors:

/usr/include/linux/nfc.h:266:2: error: unknown type name 'sa_family_t'
  sa_family_t sa_family;
/usr/include/linux/nfc.h:274:2: error: unknown type name 'sa_family_t'
  sa_family_t sa_family;

Fixes: 23b7869c0f ("NFC: add the NFC socket raw protocol")
Fixes: d646960f79 ("NFC: Initial LLCP support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-05 12:40:32 +01:00
Krzysztof Kozlowski
818c9e0a04 nfc: uapi: use kernel size_t to fix user-space builds
commit 79b69a8370 upstream.

Fix user-space builds if it includes /usr/include/linux/nfc.h before
some of other headers:

  /usr/include/linux/nfc.h:281:9: error: unknown type name ‘size_t’
    281 |         size_t service_name_len;
        |         ^~~~~~

Fixes: d646960f79 ("NFC: Initial LLCP support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-05 12:40:32 +01:00
Greg Kroah-Hartman
afc997898e Merge 5.10.85 into android12-5.10-lts
Changes in 5.10.85
	usb: gadget: uvc: fix multiple opens
	gcc-plugins: simplify GCC plugin-dev capability test
	gcc-plugins: fix gcc 11 indigestion with plugins...
	HID: quirks: Add quirk for the Microsoft Surface 3 type-cover
	HID: google: add eel USB id
	HID: add hid_is_usb() function to make it simpler for USB detection
	HID: add USB_HID dependancy to hid-prodikeys
	HID: add USB_HID dependancy to hid-chicony
	HID: add USB_HID dependancy on some USB HID drivers
	HID: bigbenff: prevent null pointer dereference
	HID: wacom: fix problems when device is not a valid USB device
	HID: check for valid USB device for many HID drivers
	nft_set_pipapo: Fix bucket load in AVX2 lookup routine for six 8-bit groups
	IB/hfi1: Insure use of smp_processor_id() is preempt disabled
	IB/hfi1: Fix early init panic
	IB/hfi1: Fix leak of rcvhdrtail_dummy_kvaddr
	can: kvaser_usb: get CAN clock frequency from device
	can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter
	can: sja1000: fix use after free in ems_pcmcia_add_card()
	x86/sme: Explicitly map new EFI memmap table as encrypted
	drm/amd/amdkfd: adjust dummy functions' placement
	drm/amdkfd: separate kfd_iommu_resume from kfd_resume
	drm/amdgpu: add amdgpu_amdkfd_resume_iommu
	drm/amdgpu: move iommu_resume before ip init/resume
	drm/amdgpu: init iommu after amdkfd device init
	drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
	nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
	selftests: netfilter: add a vrf+conntrack testcase
	vrf: don't run conntrack on vrf with !dflt qdisc
	bpf, x86: Fix "no previous prototype" warning
	bpf: Fix the off-by-two error in range markings
	ice: ignore dropped packets during init
	bonding: make tx_rebalance_counter an atomic
	nfp: Fix memory leak in nfp_cpp_area_cache_add()
	seg6: fix the iif in the IPv6 socket control block
	udp: using datalen to cap max gso segments
	netfilter: conntrack: annotate data-races around ct->timeout
	iavf: restore MSI state on reset
	iavf: Fix reporting when setting descriptor count
	IB/hfi1: Correct guard on eager buffer deallocation
	devlink: fix netns refcount leak in devlink_nl_cmd_reload()
	net/sched: fq_pie: prevent dismantle issue
	KVM: x86: Wait for IPIs to be delivered when handling Hyper-V TLB flush hypercall
	mm: bdi: initialize bdi_min_ratio when bdi is unregistered
	ALSA: ctl: Fix copy of updated id with element read/write
	ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform
	ALSA: hda/realtek: Fix quirk for TongFang PHxTxX1
	ALSA: pcm: oss: Fix negative period/buffer sizes
	ALSA: pcm: oss: Limit the period size to 16MB
	ALSA: pcm: oss: Handle missing errors in snd_pcm_oss_change_params*()
	scsi: qla2xxx: Format log strings only if needed
	btrfs: clear extent buffer uptodate when we fail to write it
	btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
	md: fix update super 1.0 on rdev size change
	nfsd: fix use-after-free due to delegation race
	nfsd: Fix nsfd startup race (again)
	tracefs: Have new files inherit the ownership of their parent
	mmc: renesas_sdhi: initialize variable properly when tuning
	clk: qcom: regmap-mux: fix parent clock lookup
	drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence.
	can: pch_can: pch_can_rx_normal: fix use after free
	can: m_can: Disable and ignore ELO interrupt
	libata: add horkage for ASMedia 1092
	wait: add wake_up_pollfree()
	binder: use wake_up_pollfree()
	signalfd: use wake_up_pollfree()
	aio: keep poll requests on waitqueue until completed
	aio: fix use-after-free due to missing POLLFREE handling
	net: mvpp2: fix XDP rx queues registering
	tracefs: Set all files to the same group ownership as the mount option
	block: fix ioprio_get(IOPRIO_WHO_PGRP) vs setuid(2)
	scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
	scsi: scsi_debug: Fix buffer size of REPORT ZONES command
	qede: validate non LSO skb length
	PM: runtime: Fix pm_runtime_active() kerneldoc comment
	ASoC: rt5682: Fix crash due to out of scope stack vars
	ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer
	ASoC: codecs: wsa881x: fix return values from kcontrol put
	ASoC: codecs: wcd934x: handle channel mappping list correctly
	ASoC: codecs: wcd934x: return correct value from mixer put
	RDMA/hns: Do not halt commands during reset until later
	RDMA/hns: Do not destroy QP resources in the hw resetting phase
	clk: imx: use module_platform_driver
	i40e: Fix failed opcode appearing if handling messages from VF
	i40e: Fix pre-set max number of queues for VF
	mtd: rawnand: fsmc: Take instruction delay into account
	mtd: rawnand: fsmc: Fix timing computation
	i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc
	Revert "PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge"
	perf tools: Fix SMT detection fast read path
	Documentation/locking/locktypes: Update migrate_disable() bits.
	dt-bindings: net: Reintroduce PHY no lane swap binding
	tools build: Remove needless libpython-version feature check that breaks test-all fast path
	net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero
	net: altera: set a couple error code in probe()
	net: fec: only clear interrupt of handling queue in fec_enet_rx_queue()
	net, neigh: clear whole pneigh_entry at alloc time
	net/qla3xxx: fix an error code in ql_adapter_up()
	selftests/fib_tests: Rework fib_rp_filter_test()
	USB: gadget: detect too-big endpoint 0 requests
	USB: gadget: zero allocate endpoint 0 buffers
	usb: core: config: fix validation of wMaxPacketValue entries
	xhci: Remove CONFIG_USB_DEFAULT_PERSIST to prevent xHCI from runtime suspending
	usb: core: config: using bit mask instead of individual bits
	xhci: avoid race between disable slot command and host runtime suspend
	iio: gyro: adxrs290: fix data signedness
	iio: trigger: Fix reference counting
	iio: trigger: stm32-timer: fix MODULE_ALIAS
	iio: stk3310: Don't return error code in interrupt handler
	iio: mma8452: Fix trigger reference couting
	iio: ltr501: Don't return error code in trigger handler
	iio: kxsd9: Don't return error code in trigger handler
	iio: itg3200: Call iio_trigger_notify_done() on error
	iio: dln2-adc: Fix lockdep complaint
	iio: dln2: Check return value of devm_iio_trigger_register()
	iio: at91-sama5d2: Fix incorrect sign extension
	iio: adc: stm32: fix a current leak by resetting pcsel before disabling vdda
	iio: adc: axp20x_adc: fix charging current reporting on AXP22x
	iio: ad7768-1: Call iio_trigger_notify_done() on error
	iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove
	csky: fix typo of fpu config macro
	irqchip/aspeed-scu: Replace update_bits with write_bits.
	irqchip/armada-370-xp: Fix return value of armada_370_xp_msi_alloc()
	irqchip/armada-370-xp: Fix support for Multi-MSI interrupts
	irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL
	irqchip: nvic: Fix offset for Interrupt Priority Offsets
	misc: fastrpc: fix improper packet size calculation
	bpf: Add selftests to cover packet access corner cases
	kbuild: simplify GCC_PLUGINS enablement in dummy-tools/gcc
	doc: gcc-plugins: update gcc-plugins.rst
	MAINTAINERS: adjust GCC PLUGINS after gcc-plugin.sh removal
	Documentation/Kbuild: Remove references to gcc-plugin.sh
	Linux 5.10.85

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I351da1b00f30a370b021125180a48b1c1ecb97ce
2021-12-14 15:11:46 +01:00
Eric Biggers
ae22ebebbb UPSTREAM: aio: fix use-after-free due to missing POLLFREE handling
commit 50252e4b5e upstream.

signalfd_poll() and binder_poll() are special in that they use a
waitqueue whose lifetime is the current task, rather than the struct
file as is normally the case.  This is okay for blocking polls, since a
blocking poll occurs within one task; however, non-blocking polls
require another solution.  This solution is for the queue to be cleared
before it is freed, by sending a POLLFREE notification to all waiters.

Unfortunately, only eventpoll handles POLLFREE.  A second type of
non-blocking poll, aio poll, was added in kernel v4.18, and it doesn't
handle POLLFREE.  This allows a use-after-free to occur if a signalfd or
binder fd is polled with aio poll, and the waitqueue gets freed.

Fix this by making aio poll handle POLLFREE.

A patch by Ramji Jiyani <ramjiyani@google.com>
(https://lore.kernel.org/r/20211027011834.2497484-1-ramjiyani@google.com)
tried to do this by making aio_poll_wake() always complete the request
inline if POLLFREE is seen.  However, that solution had two bugs.
First, it introduced a deadlock, as it unconditionally locked the aio
context while holding the waitqueue lock, which inverts the normal
locking order.  Second, it didn't consider that POLLFREE notifications
are missed while the request has been temporarily de-queued.

The second problem was solved by my previous patch.  This patch then
properly fixes the use-after-free by handling POLLFREE in a
deadlock-free way.  It does this by taking advantage of the fact that
freeing of the waitqueue is RCU-delayed, similar to what eventpoll does.

Fixes: 2c14fa838c ("aio: implement IOCB_CMD_POLL")
Cc: <stable@vger.kernel.org> # v4.18+
Link: https://lore.kernel.org/r/20211209010455.42744-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bug: 185125206
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I748544276cf2fe214097751507d9c0ee4e3d3475
2021-12-14 13:54:22 +01:00
Eric Biggers
47ffefd88a aio: fix use-after-free due to missing POLLFREE handling
commit 50252e4b5e upstream.

signalfd_poll() and binder_poll() are special in that they use a
waitqueue whose lifetime is the current task, rather than the struct
file as is normally the case.  This is okay for blocking polls, since a
blocking poll occurs within one task; however, non-blocking polls
require another solution.  This solution is for the queue to be cleared
before it is freed, by sending a POLLFREE notification to all waiters.

Unfortunately, only eventpoll handles POLLFREE.  A second type of
non-blocking poll, aio poll, was added in kernel v4.18, and it doesn't
handle POLLFREE.  This allows a use-after-free to occur if a signalfd or
binder fd is polled with aio poll, and the waitqueue gets freed.

Fix this by making aio poll handle POLLFREE.

A patch by Ramji Jiyani <ramjiyani@google.com>
(https://lore.kernel.org/r/20211027011834.2497484-1-ramjiyani@google.com)
tried to do this by making aio_poll_wake() always complete the request
inline if POLLFREE is seen.  However, that solution had two bugs.
First, it introduced a deadlock, as it unconditionally locked the aio
context while holding the waitqueue lock, which inverts the normal
locking order.  Second, it didn't consider that POLLFREE notifications
are missed while the request has been temporarily de-queued.

The second problem was solved by my previous patch.  This patch then
properly fixes the use-after-free by handling POLLFREE in a
deadlock-free way.  It does this by taking advantage of the fact that
freeing of the waitqueue is RCU-delayed, similar to what eventpoll does.

Fixes: 2c14fa838c ("aio: implement IOCB_CMD_POLL")
Cc: <stable@vger.kernel.org> # v4.18+
Link: https://lore.kernel.org/r/20211209010455.42744-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-14 11:32:40 +01:00
Greg Kroah-Hartman
8d21bcc704 Merge 5.10.82 into android12-5.10-lts
Changes in 5.10.82
	arm64: zynqmp: Do not duplicate flash partition label property
	arm64: zynqmp: Fix serial compatible string
	ARM: dts: sunxi: Fix OPPs node name
	arm64: dts: allwinner: h5: Fix GPU thermal zone node name
	arm64: dts: allwinner: a100: Fix thermal zone node name
	staging: wfx: ensure IRQ is ready before enabling it
	ARM: dts: NSP: Fix mpcore, mmc node names
	scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
	arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
	arm64: dts: hisilicon: fix arm,sp805 compatible string
	RDMA/bnxt_re: Check if the vlan is valid before reporting
	bus: ti-sysc: Add quirk handling for reinit on context lost
	bus: ti-sysc: Use context lost quirk for otg
	usb: musb: tusb6010: check return value after calling platform_get_resource()
	usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
	ARM: dts: ux500: Skomer regulator fixes
	staging: rtl8723bs: remove possible deadlock when disconnect (v2)
	ARM: BCM53016: Specify switch ports for Meraki MR32
	arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
	arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
	arm64: dts: freescale: fix arm,sp805 compatible string
	ASoC: SOF: Intel: hda-dai: fix potential locking issue
	clk: imx: imx6ul: Move csi_sel mux to correct base register
	ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
	scsi: advansys: Fix kernel pointer leak
	ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec
	firmware_loader: fix pre-allocated buf built-in firmware use
	ARM: dts: omap: fix gpmc,mux-add-data type
	usb: host: ohci-tmio: check return value after calling platform_get_resource()
	ARM: dts: ls1021a: move thermal-zones node out of soc/
	ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash
	ALSA: ISA: not for M68K
	tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc
	MIPS: sni: Fix the build
	scsi: scsi_debug: Fix out-of-bound read in resp_readcap16()
	scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs()
	scsi: target: Fix ordered tag handling
	scsi: target: Fix alua_tg_pt_gps_count tracking
	iio: imu: st_lsm6dsx: Avoid potential array overflow in st_lsm6dsx_set_odr()
	powerpc/5200: dts: fix memory node unit name
	ARM: dts: qcom: fix memory and mdio nodes naming for RB3011
	ALSA: gus: fix null pointer dereference on pointer block
	powerpc/dcr: Use cmplwi instead of 3-argument cmpli
	powerpc/8xx: Fix Oops with STRICT_KERNEL_RWX without DEBUG_RODATA_TEST
	sh: check return code of request_irq
	maple: fix wrong return value of maple_bus_init().
	f2fs: fix up f2fs_lookup tracepoints
	f2fs: fix to use WHINT_MODE
	sh: fix kconfig unmet dependency warning for FRAME_POINTER
	sh: math-emu: drop unused functions
	sh: define __BIG_ENDIAN for math-emu
	f2fs: compress: disallow disabling compress on non-empty compressed file
	f2fs: fix incorrect return value in f2fs_sanity_check_ckpt()
	clk: ingenic: Fix bugs with divided dividers
	clk/ast2600: Fix soc revision for AHB
	clk: qcom: gcc-msm8996: Drop (again) gcc_aggre1_pnoc_ahb_clk
	mips: BCM63XX: ensure that CPU_SUPPORTS_32BIT_KERNEL is set
	sched/core: Mitigate race cpus_share_cache()/update_top_cache_domain()
	perf/x86/vlbr: Add c->flags to vlbr event constraints
	blkcg: Remove extra blkcg_bio_issue_init
	tracing/histogram: Do not copy the fixed-size char array field over the field size
	perf bpf: Avoid memory leak from perf_env__insert_btf()
	perf bench futex: Fix memory leak of perf_cpu_map__new()
	perf tests: Remove bash construct from record+zstd_comp_decomp.sh
	drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame
	net-zerocopy: Copy straggler unaligned data for TCP Rx. zerocopy.
	net-zerocopy: Refactor skb frag fast-forward op.
	tcp: Fix uninitialized access in skb frags array for Rx 0cp.
	tracing: Add length protection to histogram string copies
	net: ipa: disable HOLB drop when updating timer
	net: bnx2x: fix variable dereferenced before check
	bnxt_en: reject indirect blk offload when hw-tc-offload is off
	tipc: only accept encrypted MSG_CRYPTO msgs
	net: reduce indentation level in sk_clone_lock()
	sock: fix /proc/net/sockstat underflow in sk_clone_lock()
	net/smc: Make sure the link_id is unique
	iavf: Fix return of set the new channel count
	iavf: check for null in iavf_fix_features
	iavf: free q_vectors before queues in iavf_disable_vf
	iavf: Fix failure to exit out from last all-multicast mode
	iavf: prevent accidental free of filter structure
	iavf: validate pointers
	iavf: Fix for the false positive ASQ/ARQ errors while issuing VF reset
	iavf: Fix for setting queues to 0
	MIPS: generic/yamon-dt: fix uninitialized variable error
	mips: bcm63xx: add support for clk_get_parent()
	mips: lantiq: add support for clk_get_parent()
	platform/x86: hp_accel: Fix an error handling path in 'lis3lv02d_probe()'
	net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove()
	net/mlx5: Lag, update tracker when state change event received
	net/mlx5: E-Switch, Change mode lock from mutex to rw semaphore
	net/mlx5: E-Switch, return error if encap isn't supported
	scsi: core: sysfs: Fix hang when device state is set via sysfs
	net: sched: act_mirred: drop dst for the direction from egress to ingress
	net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove
	net: virtio_net_hdr_to_skb: count transport header in UFO
	i40e: Fix correct max_pkt_size on VF RX queue
	i40e: Fix NULL ptr dereference on VSI filter sync
	i40e: Fix changing previously set num_queue_pairs for PFs
	i40e: Fix ping is lost after configuring ADq on VF
	i40e: Fix warning message and call stack during rmmod i40e driver
	i40e: Fix creation of first queue by omitting it if is not power of two
	i40e: Fix display error code in dmesg
	NFC: reorganize the functions in nci_request
	NFC: reorder the logic in nfc_{un,}register_device
	net: nfc: nci: Change the NCI close sequence
	NFC: add NCI_UNREG flag to eliminate the race
	e100: fix device suspend/resume
	KVM: PPC: Book3S HV: Use GLOBAL_TOC for kvmppc_h_set_dabr/xdabr()
	pinctrl: qcom: sdm845: Enable dual edge errata
	perf/x86/intel/uncore: Fix filter_tid mask for CHA events on Skylake Server
	perf/x86/intel/uncore: Fix IIO event constraints for Skylake Server
	s390/kexec: fix return code handling
	net: stmmac: dwmac-rk: Fix ethernet on rk3399 based devices
	arm64: vdso32: suppress error message for 'make mrproper'
	tun: fix bonding active backup with arp monitoring
	hexagon: export raw I/O routines for modules
	hexagon: clean up timer-regs.h
	tipc: check for null after calling kmemdup
	ipc: WARN if trying to remove ipc object which is absent
	mm: kmemleak: slob: respect SLAB_NOLEAKTRACE flag
	x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails
	powerpc/8xx: Fix pinned TLBs with CONFIG_STRICT_KERNEL_RWX
	scsi: qla2xxx: Fix mailbox direction flags in qla2xxx_get_adapter_id()
	s390/kexec: fix memory leak of ipl report buffer
	block: Check ADMIN before NICE for IOPRIO_CLASS_RT
	KVM: nVMX: don't use vcpu->arch.efer when checking host state on nested state load
	udf: Fix crash after seekdir
	net: stmmac: socfpga: add runtime suspend/resume callback for stratix10 platform
	btrfs: fix memory ordering between normal and ordered work functions
	parisc/sticon: fix reverse colors
	cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
	drm/amd/display: Update swizzle mode enums
	drm/udl: fix control-message timeout
	drm/nouveau: Add a dedicated mutex for the clients list
	drm/nouveau: use drm_dev_unplug() during device removal
	drm/nouveau: clean up all clients on device removal
	drm/i915/dp: Ensure sink rate values are always valid
	drm/amdgpu: fix set scaling mode Full/Full aspect/Center not works on vga and dvi connectors
	scsi: ufs: core: Fix task management completion
	scsi: ufs: core: Fix task management completion timeout race
	hugetlbfs: flush TLBs correctly after huge_pmd_unshare
	RDMA/netlink: Add __maybe_unused to static inline in C file
	selinux: fix NULL-pointer dereference when hashtab allocation fails
	ASoC: DAPM: Cover regression by kctl change notification fix
	usb: max-3421: Use driver data instead of maintaining a list of bound devices
	ice: Delete always true check of PF pointer
	fs: export an inode_update_time helper
	btrfs: update device path inode time instead of bd_inode
	x86/Kconfig: Fix an unused variable error in dell-smm-hwmon
	ALSA: hda: hdac_ext_stream: fix potential locking issues
	ALSA: hda: hdac_stream: fix potential locking issue in snd_hdac_stream_assign()
	Revert "perf: Rework perf_event_exit_event()"
	Linux 5.10.82

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I56e067875dafc27c2e86fc3b8c47abb3296c6a18
2021-11-26 15:37:44 +01:00
Arjun Roy
5f7aadf03f net-zerocopy: Copy straggler unaligned data for TCP Rx. zerocopy.
[ Upstream commit 18fb76ed53 ]

When TCP receive zerocopy does not successfully map the entire
requested space, it outputs a 'hint' that the caller should recvmsg().

Augment zerocopy to accept a user buffer that it tries to copy this
hint into - if it is possible to copy the entire hint, it will do so.
This elides a recvmsg() call for received traffic that isn't exactly
page-aligned in size.

This was tested with RPC-style traffic of arbitrary sizes. Normally,
each received message required at least one getsockopt() call, and one
recvmsg() call for the remaining unaligned data.

With this change, almost all of the recvmsg() calls are eliminated,
leading to a savings of about 25%-50% in number of system calls
for RPC-style workloads.

Signed-off-by: Arjun Roy <arjunroy@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 10:39:14 +01:00
Greg Kroah-Hartman
c553d9a246 Merge 5.10.80 into android12-5.10-lts
Changes in 5.10.80
	xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay
	usb: xhci: Enable runtime-pm by default on AMD Yellow Carp platform
	binder: use euid from cred instead of using task
	binder: use cred instead of task for selinux checks
	binder: use cred instead of task for getsecid
	Input: iforce - fix control-message timeout
	Input: elantench - fix misreporting trackpoint coordinates
	Input: i8042 - Add quirk for Fujitsu Lifebook T725
	libata: fix read log timeout value
	ocfs2: fix data corruption on truncate
	scsi: core: Remove command size deduction from scsi_setup_scsi_cmnd()
	scsi: qla2xxx: Fix kernel crash when accessing port_speed sysfs file
	scsi: qla2xxx: Fix use after free in eh_abort path
	mmc: mtk-sd: Add wait dma stop done flow
	mmc: dw_mmc: Dont wait for DRTO on Write RSP error
	exfat: fix incorrect loading of i_blocks for large files
	parisc: Fix set_fixmap() on PA1.x CPUs
	parisc: Fix ptrace check on syscall return
	tpm: Check for integer overflow in tpm2_map_response_body()
	firmware/psci: fix application of sizeof to pointer
	crypto: s5p-sss - Add error handling in s5p_aes_probe()
	media: rkvdec: Do not override sizeimage for output format
	media: ite-cir: IR receiver stop working after receive overflow
	media: rkvdec: Support dynamic resolution changes
	media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
	media: v4l2-ioctl: Fix check_ext_ctrls
	ALSA: hda/realtek: Fix mic mute LED for the HP Spectre x360 14
	ALSA: hda/realtek: Add a quirk for HP OMEN 15 mute LED
	ALSA: hda/realtek: Add quirk for Clevo PC70HS
	ALSA: hda/realtek: Headset fixup for Clevo NH77HJQ
	ALSA: hda/realtek: Add a quirk for Acer Spin SP513-54N
	ALSA: hda/realtek: Add quirk for ASUS UX550VE
	ALSA: hda/realtek: Add quirk for HP EliteBook 840 G7 mute LED
	ALSA: ua101: fix division by zero at probe
	ALSA: 6fire: fix control and bulk message timeouts
	ALSA: line6: fix control and interrupt message timeouts
	ALSA: usb-audio: Line6 HX-Stomp XL USB_ID for 48k-fixed quirk
	ALSA: usb-audio: Add registration quirk for JBL Quantum 400
	ALSA: hda: Free card instance properly at probe errors
	ALSA: synth: missing check for possible NULL after the call to kstrdup
	ALSA: timer: Fix use-after-free problem
	ALSA: timer: Unconditionally unlink slave instances, too
	ext4: fix lazy initialization next schedule time computation in more granular unit
	ext4: ensure enough credits in ext4_ext_shift_path_extents
	ext4: refresh the ext4_ext_path struct after dropping i_data_sem.
	fuse: fix page stealing
	x86/sme: Use #define USE_EARLY_PGTABLE_L5 in mem_encrypt_identity.c
	x86/cpu: Fix migration safety with X86_BUG_NULL_SEL
	x86/irq: Ensure PI wakeup handler is unregistered before module unload
	ASoC: soc-core: fix null-ptr-deref in snd_soc_del_component_unlocked()
	ALSA: hda/realtek: Fixes HP Spectre x360 15-eb1xxx speakers
	cavium: Return negative value when pci_alloc_irq_vectors() fails
	scsi: qla2xxx: Return -ENOMEM if kzalloc() fails
	scsi: qla2xxx: Fix unmap of already freed sgl
	mISDN: Fix return values of the probe function
	cavium: Fix return values of the probe function
	sfc: Export fibre-specific supported link modes
	sfc: Don't use netif_info before net_device setup
	hyperv/vmbus: include linux/bitops.h
	ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode
	reset: socfpga: add empty driver allowing consumers to probe
	mmc: winbond: don't build on M68K
	drm: panel-orientation-quirks: Add quirk for Aya Neo 2021
	fcnal-test: kill hanging ping/nettest binaries on cleanup
	bpf: Define bpf_jit_alloc_exec_limit for arm64 JIT
	bpf: Prevent increasing bpf_jit_limit above max
	gpio: mlxbf2.c: Add check for bgpio_init failure
	xen/netfront: stop tx queues during live migration
	nvmet-tcp: fix a memory leak when releasing a queue
	spi: spl022: fix Microwire full duplex mode
	net: multicast: calculate csum of looped-back and forwarded packets
	watchdog: Fix OMAP watchdog early handling
	drm: panel-orientation-quirks: Add quirk for GPD Win3
	block: schedule queue restart after BLK_STS_ZONE_RESOURCE
	nvmet-tcp: fix header digest verification
	r8169: Add device 10ec:8162 to driver r8169
	vmxnet3: do not stop tx queues after netif_device_detach()
	nfp: bpf: relax prog rejection for mtu check through max_pkt_offset
	net/smc: Fix smc_link->llc_testlink_time overflow
	net/smc: Correct spelling mistake to TCPF_SYN_RECV
	rds: stop using dmapool
	btrfs: clear MISSING device status bit in btrfs_close_one_device
	btrfs: fix lost error handling when replaying directory deletes
	btrfs: call btrfs_check_rw_degradable only if there is a missing device
	KVM: VMX: Unregister posted interrupt wakeup handler on hardware unsetup
	ia64: kprobes: Fix to pass correct trampoline address to the handler
	selinux: fix race condition when computing ocontext SIDs
	hwmon: (pmbus/lm25066) Add offset coefficients
	regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled
	regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property
	EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
	mwifiex: fix division by zero in fw download path
	ath6kl: fix division by zero in send path
	ath6kl: fix control-message timeout
	ath10k: fix control-message timeout
	ath10k: fix division by zero in send path
	PCI: Mark Atheros QCA6174 to avoid bus reset
	rtl8187: fix control-message timeouts
	evm: mark evm_fixmode as __ro_after_init
	ifb: Depend on netfilter alternatively to tc
	wcn36xx: Fix HT40 capability for 2Ghz band
	wcn36xx: Fix tx_status mechanism
	wcn36xx: Fix (QoS) null data frame bitrate/modulation
	PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions
	mwifiex: Read a PCI register after writing the TX ring write pointer
	mwifiex: Try waking the firmware until we get an interrupt
	libata: fix checking of DMA state
	wcn36xx: handle connection loss indication
	rsi: fix occasional initialisation failure with BT coex
	rsi: fix key enabled check causing unwanted encryption for vap_id > 0
	rsi: fix rate mask set leading to P2P failure
	rsi: Fix module dev_oper_mode parameter description
	perf/x86/intel/uncore: Support extra IMC channel on Ice Lake server
	perf/x86/intel/uncore: Fix Intel ICX IIO event constraints
	RDMA/qedr: Fix NULL deref for query_qp on the GSI QP
	signal: Remove the bogus sigkill_pending in ptrace_stop
	memory: renesas-rpc-if: Correct QSPI data transfer in Manual mode
	signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT
	soc: fsl: dpio: replace smp_processor_id with raw_smp_processor_id
	soc: fsl: dpio: use the combined functions to protect critical zone
	mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines
	power: supply: max17042_battery: Prevent int underflow in set_soc_threshold
	power: supply: max17042_battery: use VFSOC for capacity when no rsns
	KVM: arm64: Extract ESR_ELx.EC only
	KVM: nVMX: Query current VMCS when determining if MSR bitmaps are in use
	can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport
	can: j1939: j1939_can_recv(): ignore messages with invalid source address
	powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found
	ring-buffer: Protect ring_buffer_reset() from reentrancy
	serial: core: Fix initializing and restoring termios speed
	ifb: fix building without CONFIG_NET_CLS_ACT
	ALSA: mixer: oss: Fix racy access to slots
	ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume
	xen/balloon: add late_initcall_sync() for initial ballooning done
	ovl: fix use after free in struct ovl_aio_req
	PCI: pci-bridge-emul: Fix emulation of W1C bits
	PCI: cadence: Add cdns_plat_pcie_probe() missing return
	PCI: aardvark: Do not clear status bits of masked interrupts
	PCI: aardvark: Fix checking for link up via LTSSM state
	PCI: aardvark: Do not unmask unused interrupts
	PCI: aardvark: Fix reporting Data Link Layer Link Active
	PCI: aardvark: Fix configuring Reference clock
	PCI: aardvark: Fix return value of MSI domain .alloc() method
	PCI: aardvark: Read all 16-bits from PCIE_MSI_PAYLOAD_REG
	PCI: aardvark: Fix support for bus mastering and PCI_COMMAND on emulated bridge
	PCI: aardvark: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
	PCI: aardvark: Set PCI Bridge Class Code to PCI Bridge
	PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge
	quota: check block number when reading the block in quota file
	quota: correct error number in free_dqentry()
	pinctrl: core: fix possible memory leak in pinctrl_enable()
	coresight: cti: Correct the parameter for pm_runtime_put
	iio: dac: ad5446: Fix ad5622_write() return value
	iio: ad5770r: make devicetree property reading consistent
	USB: serial: keyspan: fix memleak on probe errors
	serial: 8250: fix racy uartclk update
	most: fix control-message timeouts
	USB: iowarrior: fix control-message timeouts
	USB: chipidea: fix interrupt deadlock
	power: supply: max17042_battery: Clear status bits in interrupt handler
	dma-buf: WARN on dmabuf release with pending attachments
	drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)
	drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1
	drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6
	Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()
	Bluetooth: fix use-after-free error in lock_sock_nested()
	drm/panel-orientation-quirks: add Valve Steam Deck
	rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
	platform/x86: wmi: do not fail if disabling fails
	MIPS: lantiq: dma: add small delay after reset
	MIPS: lantiq: dma: reset correct number of channel
	locking/lockdep: Avoid RCU-induced noinstr fail
	net: sched: update default qdisc visibility after Tx queue cnt changes
	rcu-tasks: Move RTGS_WAIT_CBS to beginning of rcu_tasks_kthread() loop
	smackfs: Fix use-after-free in netlbl_catmap_walk()
	ath11k: Align bss_chan_info structure with firmware
	x86: Increase exception stack sizes
	mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
	mwifiex: Properly initialize private structure on interface type changes
	fscrypt: allow 256-bit master keys with AES-256-XTS
	drm/amdgpu: Fix MMIO access page fault
	ath11k: Avoid reg rules update during firmware recovery
	ath11k: add handler for scan event WMI_SCAN_EVENT_DEQUEUED
	ath11k: Change DMA_FROM_DEVICE to DMA_TO_DEVICE when map reinjected packets
	ath10k: high latency fixes for beacon buffer
	media: mt9p031: Fix corrupted frame after restarting stream
	media: netup_unidvb: handle interrupt properly according to the firmware
	media: atomisp: Fix error handling in probe
	media: stm32: Potential NULL pointer dereference in dcmi_irq_thread()
	media: uvcvideo: Set capability in s_param
	media: uvcvideo: Return -EIO for control errors
	media: uvcvideo: Set unique vdev name based in type
	media: s5p-mfc: fix possible null-pointer dereference in s5p_mfc_probe()
	media: s5p-mfc: Add checking to s5p_mfc_probe().
	media: imx: set a media_device bus_info string
	media: mceusb: return without resubmitting URB in case of -EPROTO error.
	ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK
	rtw88: fix RX clock gate setting while fifo dump
	brcmfmac: Add DMI nvram filename quirk for Cyberbook T116 tablet
	media: rcar-csi2: Add checking to rcsi2_start_receiver()
	ipmi: Disable some operations during a panic
	fs/proc/uptime.c: Fix idle time reporting in /proc/uptime
	ACPICA: Avoid evaluating methods too early during system resume
	media: ipu3-imgu: imgu_fmt: Handle properly try
	media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info
	media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()
	net-sysfs: try not to restart the syscall if it will fail eventually
	tracefs: Have tracefs directories not set OTH permission bits by default
	ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create()
	mmc: moxart: Fix reference count leaks in moxart_probe
	iov_iter: Fix iov_iter_get_pages{,_alloc} page fault return value
	ACPI: battery: Accept charges over the design capacity as full
	drm/amdkfd: fix resume error when iommu disabled in Picasso
	net: phy: micrel: make *-skew-ps check more lenient
	leaking_addresses: Always print a trailing newline
	drm/msm: prevent NULL dereference in msm_gpu_crashstate_capture()
	block: bump max plugged deferred size from 16 to 32
	md: update superblock after changing rdev flags in state_store
	memstick: r592: Fix a UAF bug when removing the driver
	lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression
	lib/xz: Validate the value before assigning it to an enum variable
	workqueue: make sysfs of unbound kworker cpumask more clever
	tracing/cfi: Fix cmp_entries_* functions signature mismatch
	mt76: mt7915: fix an off-by-one bound check
	mwl8k: Fix use-after-free in mwl8k_fw_state_machine()
	block: remove inaccurate requeue check
	media: allegro: ignore interrupt if mailbox is not initialized
	nvmet: fix use-after-free when a port is removed
	nvmet-rdma: fix use-after-free when a port is removed
	nvmet-tcp: fix use-after-free when a port is removed
	nvme: drop scan_lock and always kick requeue list when removing namespaces
	PM: hibernate: Get block device exclusively in swsusp_check()
	selftests: kvm: fix mismatched fclose() after popen()
	selftests/bpf: Fix perf_buffer test on system with offline cpus
	iwlwifi: mvm: disable RX-diversity in powersave
	smackfs: use __GFP_NOFAIL for smk_cipso_doi()
	ARM: clang: Do not rely on lr register for stacktrace
	gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
	gfs2: Cancel remote delete work asynchronously
	gfs2: Fix glock_hash_walk bugs
	ARM: 9136/1: ARMv7-M uses BE-8, not BE-32
	vrf: run conntrack only in context of lower/physdev for locally generated packets
	net: annotate data-race in neigh_output()
	ACPI: AC: Quirk GK45 to skip reading _PSR
	btrfs: reflink: initialize return value to 0 in btrfs_extent_same()
	btrfs: do not take the uuid_mutex in btrfs_rm_device
	spi: bcm-qspi: Fix missing clk_disable_unprepare() on error in bcm_qspi_probe()
	wcn36xx: Correct band/freq reporting on RX
	x86/hyperv: Protect set_hv_tscchange_cb() against getting preempted
	drm/amd/display: dcn20_resource_construct reduce scope of FPU enabled
	selftests/core: fix conflicting types compile error for close_range()
	parisc: fix warning in flush_tlb_all
	task_stack: Fix end_of_stack() for architectures with upwards-growing stack
	erofs: don't trigger WARN() when decompression fails
	parisc/unwind: fix unwinder when CONFIG_64BIT is enabled
	parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
	netfilter: conntrack: set on IPS_ASSURED if flows enters internal stream state
	selftests/bpf: Fix strobemeta selftest regression
	Bluetooth: fix init and cleanup of sco_conn.timeout_work
	rcu: Fix existing exp request check in sync_sched_exp_online_cleanup()
	MIPS: lantiq: dma: fix burst length for DEU
	objtool: Add xen_start_kernel() to noreturn list
	x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
	objtool: Fix static_call list generation
	drm/v3d: fix wait for TMU write combiner flush
	virtio-gpu: fix possible memory allocation failure
	lockdep: Let lock_is_held_type() detect recursive read as read
	net: net_namespace: Fix undefined member in key_remove_domain()
	cgroup: Make rebind_subsystems() disable v2 controllers all at once
	wcn36xx: Fix Antenna Diversity Switching
	wilc1000: fix possible memory leak in cfg_scan_result()
	Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
	crypto: caam - disable pkc for non-E SoCs
	rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies()
	net: dsa: rtl8366rb: Fix off-by-one bug
	ath11k: fix some sleeping in atomic bugs
	ath11k: Avoid race during regd updates
	ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status
	ath11k: Fix memory leak in ath11k_qmi_driver_event_work
	ath10k: Fix missing frame timestamp for beacon/probe-resp
	ath10k: sdio: Add missing BH locking around napi_schdule()
	drm/ttm: stop calling tt_swapin in vm_access
	arm64: mm: update max_pfn after memory hotplug
	drm/amdgpu: fix warning for overflow check
	media: em28xx: add missing em28xx_close_extension
	media: cxd2880-spi: Fix a null pointer dereference on error handling path
	media: dvb-usb: fix ununit-value in az6027_rc_query
	media: v4l2-ioctl: S_CTRL output the right value
	media: TDA1997x: handle short reads of hdmi info frame.
	media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
	media: radio-wl1273: Avoid card name truncation
	media: si470x: Avoid card name truncation
	media: tm6000: Avoid card name truncation
	media: cx23885: Fix snd_card_free call on null card pointer
	kprobes: Do not use local variable when creating debugfs file
	crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
	cpuidle: Fix kobject memory leaks in error paths
	media: em28xx: Don't use ops->suspend if it is NULL
	ath9k: Fix potential interrupt storm on queue reset
	PM: EM: Fix inefficient states detection
	EDAC/amd64: Handle three rank interleaving mode
	rcu: Always inline rcu_dynticks_task*_{enter,exit}()
	netfilter: nft_dynset: relax superfluous check on set updates
	media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable()
	crypto: qat - detect PFVF collision after ACK
	crypto: qat - disregard spurious PFVF interrupts
	hwrng: mtk - Force runtime pm ops for sleep ops
	b43legacy: fix a lower bounds test
	b43: fix a lower bounds test
	gve: Recover from queue stall due to missed IRQ
	mmc: sdhci-omap: Fix NULL pointer exception if regulator is not configured
	mmc: sdhci-omap: Fix context restore
	memstick: avoid out-of-range warning
	memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host()
	net, neigh: Fix NTF_EXT_LEARNED in combination with NTF_USE
	hwmon: Fix possible memleak in __hwmon_device_register()
	hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff
	ath10k: fix max antenna gain unit
	kernel/sched: Fix sched_fork() access an invalid sched_task_group
	tcp: switch orphan_count to bare per-cpu counters
	drm/msm: potential error pointer dereference in init()
	drm/msm: uninitialized variable in msm_gem_import()
	net: stream: don't purge sk_error_queue in sk_stream_kill_queues()
	media: ir_toy: assignment to be16 should be of correct type
	mmc: mxs-mmc: disable regulator on error and in the remove function
	platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
	mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
	mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
	mt76: mt7915: fix possible infinite loop release semaphore
	mt76: mt7915: fix sta_rec_wtbl tag len
	mt76: mt7915: fix muar_idx in mt7915_mcu_alloc_sta_req()
	rsi: stop thread firstly in rsi_91x_init() error handling
	mwifiex: Send DELBA requests according to spec
	net: enetc: unmap DMA in enetc_send_cmd()
	phy: micrel: ksz8041nl: do not use power down mode
	nvme-rdma: fix error code in nvme_rdma_setup_ctrl
	PM: hibernate: fix sparse warnings
	clocksource/drivers/timer-ti-dm: Select TIMER_OF
	x86/sev: Fix stack type check in vc_switch_off_ist()
	drm/msm: Fix potential NULL dereference in DPU SSPP
	smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi
	KVM: selftests: Add operand to vmsave/vmload/vmrun in svm.c
	KVM: selftests: Fix nested SVM tests when built with clang
	bpftool: Avoid leaking the JSON writer prepared for program metadata
	libbpf: Fix BTF data layout checks and allow empty BTF
	libbpf: Allow loading empty BTFs
	libbpf: Fix overflow in BTF sanity checks
	libbpf: Fix BTF header parsing checks
	s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
	KVM: s390: pv: avoid double free of sida page
	KVM: s390: pv: avoid stalls for kvm_s390_pv_init_vm
	irq: mips: avoid nested irq_enter()
	tpm: fix Atmel TPM crash caused by too frequent queries
	tpm_tis_spi: Add missing SPI ID
	libbpf: Fix endianness detection in BPF_CORE_READ_BITFIELD_PROBED()
	tcp: don't free a FIN sk_buff in tcp_remove_empty_skb()
	spi: spi-rpc-if: Check return value of rpcif_sw_init()
	samples/kretprobes: Fix return value if register_kretprobe() failed
	KVM: s390: Fix handle_sske page fault handling
	libertas_tf: Fix possible memory leak in probe and disconnect
	libertas: Fix possible memory leak in probe and disconnect
	wcn36xx: add proper DMA memory barriers in rx path
	wcn36xx: Fix discarded frames due to wrong sequence number
	drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits
	selftests: bpf: Convert sk_lookup ctx access tests to PROG_TEST_RUN
	selftests/bpf: Fix fd cleanup in sk_lookup test
	net: amd-xgbe: Toggle PLL settings during rate change
	net: phylink: avoid mvneta warning when setting pause parameters
	crypto: pcrypt - Delay write to padata->info
	selftests/bpf: Fix fclose/pclose mismatch in test_progs
	udp6: allow SO_MARK ctrl msg to affect routing
	ibmvnic: don't stop queue in xmit
	ibmvnic: Process crqs after enabling interrupts
	cgroup: Fix rootcg cpu.stat guest double counting
	bpf: Fix propagation of bounds from 64-bit min/max into 32-bit and var_off.
	bpf: Fix propagation of signed bounds from 64-bit min/max into 32-bit.
	of: unittest: fix EXPECT text for gpio hog errors
	iio: st_sensors: Call st_sensors_power_enable() from bus drivers
	iio: st_sensors: disable regulators after device unregistration
	RDMA/rxe: Fix wrong port_cap_flags
	ARM: dts: BCM5301X: Fix memory nodes names
	clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
	ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
	arm64: dts: rockchip: Fix GPU register width for RK3328
	ARM: dts: qcom: msm8974: Add xo_board reference clock to DSI0 PHY
	RDMA/bnxt_re: Fix query SRQ failure
	arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
	arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for PCIe
	arm64: dts: meson-g12a: Fix the pwm regulator supply properties
	arm64: dts: meson-g12b: Fix the pwm regulator supply properties
	bus: ti-sysc: Fix timekeeping_suspended warning on resume
	ARM: dts: at91: tse850: the emac<->phy interface is rmii
	scsi: dc395: Fix error case unwinding
	MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
	JFS: fix memleak in jfs_mount
	arm64: dts: qcom: msm8916: Fix Secondary MI2S bit clock
	arm64: dts: renesas: beacon: Fix Ethernet PHY mode
	arm64: dts: qcom: pm8916: Remove wrong reg-names for rtc@6000
	ALSA: hda: Reduce udelay() at SKL+ position reporting
	ALSA: hda: Release controller display power during shutdown/reboot
	ALSA: hda: Fix hang during shutdown due to link reset
	ALSA: hda: Use position buffer for SKL+ again
	soundwire: debugfs: use controller id and link_id for debugfs
	scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()
	driver core: Fix possible memory leak in device_link_add()
	arm: dts: omap3-gta04a4: accelerometer irq fix
	ASoC: SOF: topology: do not power down primary core during topology removal
	soc/tegra: Fix an error handling path in tegra_powergate_power_up()
	memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe
	clk: at91: check pmc node status before registering syscore ops
	video: fbdev: chipsfb: use memset_io() instead of memset()
	powerpc: Refactor is_kvm_guest() declaration to new header
	powerpc: Rename is_kvm_guest() to check_kvm_guest()
	powerpc: Reintroduce is_kvm_guest() as a fast-path check
	powerpc: Fix is_kvm_guest() / kvm_para_available()
	powerpc: fix unbalanced node refcount in check_kvm_guest()
	serial: 8250_dw: Drop wrong use of ACPI_PTR()
	usb: gadget: hid: fix error code in do_config()
	power: supply: rt5033_battery: Change voltage values to µV
	power: supply: max17040: fix null-ptr-deref in max17040_probe()
	scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
	RDMA/mlx4: Return missed an error if device doesn't support steering
	usb: musb: select GENERIC_PHY instead of depending on it
	staging: most: dim2: do not double-register the same device
	staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC
	pinctrl: renesas: checker: Fix off-by-one bug in drive register check
	ARM: dts: stm32: Reduce DHCOR SPI NOR frequency to 50 MHz
	ARM: dts: stm32: fix SAI sub nodes register range
	ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
	ASoC: cs42l42: Correct some register default values
	ASoC: cs42l42: Defer probe if request_threaded_irq() returns EPROBE_DEFER
	soc: qcom: rpmhpd: Provide some missing struct member descriptions
	soc: qcom: rpmhpd: Make power_on actually enable the domain
	usb: typec: STUSB160X should select REGMAP_I2C
	iio: adis: do not disabe IRQs in 'adis_init()'
	scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk
	scsi: ufs: ufshcd-pltfrm: Fix memory leak due to probe defer
	serial: imx: fix detach/attach of serial console
	usb: dwc2: drd: fix dwc2_force_mode call in dwc2_ovr_init
	usb: dwc2: drd: fix dwc2_drd_role_sw_set when clock could be disabled
	usb: dwc2: drd: reset current session before setting the new one
	firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available()
	soc: qcom: apr: Add of_node_put() before return
	pinctrl: equilibrium: Fix function addition in multiple groups
	phy: qcom-qusb2: Fix a memory leak on probe
	phy: ti: gmii-sel: check of_get_address() for failure
	phy: qcom-snps: Correct the FSEL_MASK
	serial: xilinx_uartps: Fix race condition causing stuck TX
	clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
	HID: u2fzero: clarify error check and length calculations
	HID: u2fzero: properly handle timeouts in usb_submit_urb
	powerpc/44x/fsp2: add missing of_node_put
	ASoC: cs42l42: Disable regulators if probe fails
	ASoC: cs42l42: Use device_property API instead of of_property
	ASoC: cs42l42: Correct configuring of switch inversion from ts-inv
	virtio_ring: check desc == NULL when using indirect with packed
	mips: cm: Convert to bitfield API to fix out-of-bounds access
	power: supply: bq27xxx: Fix kernel crash on IRQ handler register error
	apparmor: fix error check
	rpmsg: Fix rpmsg_create_ept return when RPMSG config is not defined
	nfsd: don't alloc under spinlock in rpc_parse_scope_id
	i2c: mediatek: fixing the incorrect register offset
	NFS: Fix dentry verifier races
	pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds
	drm/plane-helper: fix uninitialized variable reference
	PCI: aardvark: Don't spam about PIO Response Status
	PCI: aardvark: Fix preserving PCI_EXP_RTCTL_CRSSVE flag on emulated bridge
	opp: Fix return in _opp_add_static_v2()
	NFS: Fix deadlocks in nfs_scan_commit_list()
	fs: orangefs: fix error return code of orangefs_revalidate_lookup()
	mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare()
	PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation
	mtd: core: don't remove debugfs directory if device is in use
	remoteproc: Fix a memory leak in an error handling path in 'rproc_handle_vdev()'
	rtc: rv3032: fix error handling in rv3032_clkout_set_rate()
	dmaengine: at_xdmac: fix AT_XDMAC_CC_PERID() macro
	NFS: Fix up commit deadlocks
	NFS: Fix an Oops in pnfs_mark_request_commit()
	Fix user namespace leak
	auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string
	auxdisplay: ht16k33: Connect backlight to fbdev
	auxdisplay: ht16k33: Fix frame buffer device blanking
	soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
	netfilter: nfnetlink_queue: fix OOB when mac header was cleared
	dmaengine: dmaengine_desc_callback_valid(): Check for `callback_result`
	signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL)
	m68k: set a default value for MEMORY_RESERVE
	watchdog: f71808e_wdt: fix inaccurate report in WDIOC_GETTIMEOUT
	ar7: fix kernel builds for compiler test
	scsi: qla2xxx: Changes to support FCP2 Target
	scsi: qla2xxx: Relogin during fabric disturbance
	scsi: qla2xxx: Fix gnl list corruption
	scsi: qla2xxx: Turn off target reset during issue_lip
	NFSv4: Fix a regression in nfs_set_open_stateid_locked()
	i2c: xlr: Fix a resource leak in the error handling path of 'xlr_i2c_probe()'
	xen-pciback: Fix return in pm_ctrl_init()
	net: davinci_emac: Fix interrupt pacing disable
	ethtool: fix ethtool msg len calculation for pause stats
	openrisc: fix SMP tlb flush NULL pointer dereference
	net: vlan: fix a UAF in vlan_dev_real_dev()
	ice: Fix replacing VF hardware MAC to existing MAC filter
	ice: Fix not stopping Tx queues for VFs
	ACPI: PMIC: Fix intel_pmic_regs_handler() read accesses
	drm/nouveau/svm: Fix refcount leak bug and missing check against null bug
	net: phy: fix duplex out of sync problem while changing settings
	bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed
	mfd: core: Add missing of_node_put for loop iteration
	can: mcp251xfd: mcp251xfd_chip_start(): fix error handling for mcp251xfd_chip_rx_int_enable()
	mm/zsmalloc.c: close race window between zs_pool_dec_isolated() and zs_unregister_migration()
	zram: off by one in read_block_state()
	perf bpf: Add missing free to bpf_event__print_bpf_prog_info()
	llc: fix out-of-bound array index in llc_sk_dev_hash()
	nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
	arm64: pgtable: make __pte_to_phys/__phys_to_pte_val inline functions
	bpf, sockmap: Remove unhash handler for BPF sockmap usage
	bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
	gve: Fix off by one in gve_tx_timeout()
	seq_file: fix passing wrong private data
	net/sched: sch_taprio: fix undefined behavior in ktime_mono_to_any
	net: hns3: fix kernel crash when unload VF while it is being reset
	net: hns3: allow configure ETS bandwidth of all TCs
	net: stmmac: allow a tc-taprio base-time of zero
	vsock: prevent unnecessary refcnt inc for nonblocking connect
	net/smc: fix sk_refcnt underflow on linkdown and fallback
	cxgb4: fix eeprom len when diagnostics not implemented
	selftests/net: udpgso_bench_rx: fix port argument
	ARM: 9155/1: fix early early_iounmap()
	ARM: 9156/1: drop cc-option fallbacks for architecture selection
	parisc: Fix backtrace to always include init funtion names
	MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL
	x86/mce: Add errata workaround for Skylake SKX37
	posix-cpu-timers: Clear task::posix_cputimers_work in copy_process()
	irqchip/sifive-plic: Fixup EOI failed when masked
	f2fs: should use GFP_NOFS for directory inodes
	net, neigh: Enable state migration between NUD_PERMANENT and NTF_USE
	9p/net: fix missing error check in p9_check_errors
	memcg: prohibit unconditional exceeding the limit of dying tasks
	powerpc/lib: Add helper to check if offset is within conditional branch range
	powerpc/bpf: Validate branch ranges
	powerpc/security: Add a helper to query stf_barrier type
	powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC
	mm, oom: pagefault_out_of_memory: don't force global OOM for dying tasks
	mm, oom: do not trigger out_of_memory from the #PF
	mfd: dln2: Add cell for initializing DLN2 ADC
	video: backlight: Drop maximum brightness override for brightness zero
	s390/cio: check the subchannel validity for dev_busid
	s390/tape: fix timer initialization in tape_std_assign()
	s390/ap: Fix hanging ioctl caused by orphaned replies
	s390/cio: make ccw_device_dma_* more robust
	mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines
	mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines
	mtd: rawnand: mpc5121: Keep the driver compatible with on-die ECC engines
	mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines
	mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines
	mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines
	mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines
	mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines
	powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload
	powerpc/85xx: fix timebase sync issue when CONFIG_HOTPLUG_CPU=n
	drm/sun4i: Fix macros in sun8i_csc.h
	PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
	PCI: aardvark: Fix PCIe Max Payload Size setting
	SUNRPC: Partial revert of commit 6f9f17287e
	ath10k: fix invalid dma_addr_t token assignment
	mmc: moxart: Fix null pointer dereference on pointer host
	selftests/bpf: Fix also no-alu32 strobemeta selftest
	arch/cc: Introduce a function to check for confidential computing features
	x86/sev: Add an x86 version of cc_platform_has()
	x86/sev: Make the #VC exception stacks part of the default stacks storage
	soc/tegra: pmc: Fix imbalanced clock disabling in error code path
	Linux 5.10.80

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I21c750863965fbf584251fa2de3c941ae5922d3f
2021-11-19 11:50:41 +01:00
Greg Kroah-Hartman
706ebf15a1 Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

d30938528e ANDROID: GKI: Update symbol list for VIVO
47458bf124 ANDROID: block: export tracepoints
e41b116463 ANDROID: setlocalversion: make KMI_GENERATION optional
5dac28a174 BACKPORT: uapi: virtio_ids: add a sound device type ID from OASIS spec
2f3f5731de ANDROID: GKI: Add vendor hook to binder transaction
775cd2119d ANDROID: qcom: Add smp_call_function_single_async to ABI
d736cbf8d9 Revert "sched/fair: Keep load_avg and load_sum synced"
de0ba4ea3c Revert "sched/pelt: Ensure that *_sum is always synced with *_avg"
8630facf34 Revert "sched/fair: Ensure _sum and _avg values stay consistent"
7a7b5f89d9 ANDROID: locking/rwsem: only clean RWSEM_FLAG_HANDOFF when already set
a1a4c80265 UPSTREAM: f2fs: change fiemap way in printing compression chunk
cc98cd4a3e ANDROID: GKI: add allowed list file for xiaomi
fa9c907453 ANDROID: GKI: Update symbol list
ea592f07f6 ANDROID: Update symbol list for mtk
a4eacf3227 ANDROID: binder: fix regression in sender_euid
6b7c37f6c4 ANDROID: fips140: use UTS_RELEASE as FIPS version
11db2de0af BACKPORT: binder: use cred instead of task for getsecid
3af7a2f610 BACKPORT: binder: use cred instead of task for selinux checks
d492977395 BACKPORT: binder: use euid from cred instead of using task
7e2fbdaeab ANDROID: vendor_hooks: Add hooks for frequency optimization
054a3c228a ANDROID: GKI: Update symbols to symbol list
0db6925868 ANDROID: vendor_hooks: export get_wchan
a61d61bab7 ANDROID: vendor_hooks: Add hooks to record the time of the process in various states
6cf4b65244 FROMGIT: dma-buf: acquire name lock before read/write dma_buf.name

Due to api additions in android12-5.10, this also adds more api symbols
to track:

Leaf changes summary: 33 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 19 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 14 Added variables

19 Added functions:

  [A] 'function int __traceiter_android_vh_cpufreq_fast_switch(void*, cpufreq_policy*, unsigned int, unsigned int)'
  [A] 'function int __traceiter_android_vh_cpufreq_resolve_freq(void*, cpufreq_policy*, unsigned int, unsigned int)'
  [A] 'function int __traceiter_android_vh_cpufreq_target(void*, cpufreq_policy*, unsigned int, unsigned int)'
  [A] 'function int __traceiter_android_vh_sched_stat_runtime_rt(void*, task_struct*, u64)'
  [A] 'function int __traceiter_block_bio_complete(void*, request_queue*, bio*)'
  [A] 'function int __traceiter_block_bio_queue(void*, request_queue*, bio*)'
  [A] 'function int __traceiter_block_getrq(void*, request_queue*, bio*, int)'
  [A] 'function int __traceiter_block_rq_complete(void*, request*, int, unsigned int)'
  [A] 'function int __traceiter_block_rq_insert(void*, request_queue*, request*)'
  [A] 'function int __traceiter_block_rq_issue(void*, request_queue*, request*)'
  [A] 'function int __traceiter_block_rq_merge(void*, request_queue*, request*)'
  [A] 'function int __traceiter_block_rq_requeue(void*, request_queue*, request*)'
  [A] 'function int __traceiter_block_split(void*, request_queue*, bio*, unsigned int)'
  [A] 'function int __traceiter_sched_stat_runtime(void*, task_struct*, u64, u64)'
  [A] 'function int dev_change_flags(net_device*, unsigned int, netlink_ext_ack*)'
  [A] 'function unsigned long int get_wchan(task_struct*)'
  [A] 'function void* mempool_alloc_pages(gfp_t, void*)'
  [A] 'function void mempool_free_pages(void*, void*)'
  [A] 'function int mempool_resize(mempool_t*, int)'

14 Added variables:

  [A] 'tracepoint __tracepoint_android_vh_cpufreq_fast_switch'
  [A] 'tracepoint __tracepoint_android_vh_cpufreq_resolve_freq'
  [A] 'tracepoint __tracepoint_android_vh_cpufreq_target'
  [A] 'tracepoint __tracepoint_android_vh_sched_stat_runtime_rt'
  [A] 'tracepoint __tracepoint_block_bio_complete'
  [A] 'tracepoint __tracepoint_block_bio_queue'
  [A] 'tracepoint __tracepoint_block_getrq'
  [A] 'tracepoint __tracepoint_block_rq_complete'
  [A] 'tracepoint __tracepoint_block_rq_insert'
  [A] 'tracepoint __tracepoint_block_rq_issue'
  [A] 'tracepoint __tracepoint_block_rq_merge'
  [A] 'tracepoint __tracepoint_block_rq_requeue'
  [A] 'tracepoint __tracepoint_block_split'
  [A] 'tracepoint __tracepoint_sched_stat_runtime'

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I15990841323b2a040b41d8207da3532f3d0db795
2021-11-19 09:15:03 +01:00
Pali Rohár
f967d120a5 PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
commit 460275f124 upstream.

Define a macro PCI_EXP_DEVCTL_PAYLOAD_* for every possible Max Payload
Size in linux/pci_regs.h, in the same style as PCI_EXP_DEVCTL_READRQ_*.

Link: https://lore.kernel.org/r/20211005180952.6812-2-kabel@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-18 14:04:32 +01:00
Jakub Kicinski
628773a759 ethtool: fix ethtool msg len calculation for pause stats
[ Upstream commit 1aabe578dd ]

ETHTOOL_A_PAUSE_STAT_MAX is the MAX attribute id,
so we need to subtract non-stats and add one to
get a count (IOW -2+1 == -1).

Otherwise we'll see:

  ethnl cmd 21: calculated reply length 40, but consumed 52

Fixes: 9a27a33027 ("ethtool: add standard pause stats")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 14:04:25 +01:00
Anton Yakovlev
5dac28a174 BACKPORT: uapi: virtio_ids: add a sound device type ID from OASIS spec
The OASIS virtio spec defines a sound device type ID that is not
present in the header yet.

Signed-off-by: Anton Yakovlev <anton.yakovlev@opensynergy.com>
Link: https://lore.kernel.org/r/20210302164709.3142702-2-anton.yakovlev@opensynergy.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>

(cherry picked from commit 0ae0337f92
https://github.com/torvalds/linux.git master)

Change-Id: I486371e1ec8d25d42f85f710ce82e866367df4da
Signed-off-by: Hao Chen <chenhaosjtuacm@google.com>
2021-11-17 21:09:54 +00:00
Greg Kroah-Hartman
66379c1ee5 Merge tag 'android12-5.10.66_r00' into android12-5.10
This is the merge of the upstream LTS release of 5.10.66 into the
android12-5.10 branch.

There are 2 new symbols added to be tracked:

Leaf changes summary: 2 artifacts changed (1 filtered out)
Changed leaf types summary: 0 (1 filtered out) leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 2 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

2 Added functions:

  [A] 'function void __sdhci_set_timeout(sdhci_host*, mmc_command*)'
  [A] 'function void virtio_break_device(virtio_device*)'

It contains the following new commits:

a7b45c4c60c5 Merge tag 'android12-5.10.66_r00' into android12-5.10
d3c86f460d Merge 5.10.66 into android12-5.10-lts
e1ad6bbfcc ANDROID: GKI: update virtual device symbol list for led audio driver.
44a32dcb2f Linux 5.10.66
1de280adb2 Revert "time: Handle negative seconds correctly in timespec64_to_ns()"
f49fd9882f Revert "posix-cpu-timers: Force next expiration recalc after itimer reset"
0daa75bf75 Revert "block: nbd: add sanity check for first_minor"
d3c3f4e078 Revert "Bluetooth: Move shutdown callback before flushing tx and rx queue"
2300418cc6 Merge 5.10.65 into android12-5.10-lts
c31c2cca22 Linux 5.10.65
b216a075a9 clk: kirkwood: Fix a clocking boot regression
5866b1175d backlight: pwm_bl: Improve bootloader/kernel device handover
4c00435cb8 fbmem: don't allow too huge resolutions
34d099a330 IMA: remove the dependency on CRYPTO_MD5
5cc1ee3135 IMA: remove -Wmissing-prototypes warning
1319689981 fuse: flush extending writes
8018100c54 fuse: truncate pagecache on atomic_o_trunc
a8ca1fba54 ARM: dts: at91: add pinctrl-{names, 0} for all gpios
c2c7eefc93 KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter
bf36224463 KVM: VMX: avoid running vmx_handle_exit_irqoff in case of emulation
c06e6ff2fc KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted
1db337b10d KVM: s390: index kvm->arch.idle_mask by vcpu_idx
dc9db2a2aa Revert "KVM: x86: mmu: Add guest physical address check in translate_gpa()"
c6b42ec1c9 x86/resctrl: Fix a maybe-uninitialized build warning treated as error
bafece6cd1 perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op
ae95c3a147 tty: Fix data race between tiocsti() and flush_to_ldisc()
4d0e6d6fe4 bio: fix page leak bio_add_hw_page failure
24fbd77d5a io_uring: IORING_OP_WRITE needs hash_reg_file set
656f343d72 time: Handle negative seconds correctly in timespec64_to_ns()
611b7f9dc9 f2fs: guarantee to write dirty data when enabling checkpoint back
75ffcd85df iwlwifi Add support for ax201 in Samsung Galaxy Book Flex2 Alpha
3853c0c070 ASoC: rt5682: Remove unused variable in rt5682_i2c_remove()
c4f1ad3930 ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
dc4ff31506 octeontx2-af: Set proper errorcode for IPv4 checksum errors
bf2991f8e7 octeontx2-af: Fix static code analyzer reported issues
ee485124b7 octeontx2-af: Fix loop in free and unmap counter
a67c66c1bb net: qualcomm: fix QCA7000 checksum handling
f96bc82e03 net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
5867e20e18 ipv4: make exception cache less predictible
8692f0bb29 ipv6: make exception cache less predictible
4663aaef24 brcmfmac: pcie: fix oops on failure to resume and reprobe
e68128e078 bcma: Fix memory leak for internally-handled cores
26fae720c1 atlantic: Fix driver resume flow.
cb996dc9f9 ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point()
baecab8c46 ice: Only lock to update netdev dev_addr
bd6d9c83f4 iwlwifi: skip first element in the WTAS ACPI table
4c4f868082 iwlwifi: follow the new inclusive terminology
5c305b90d8 ASoC: wcd9335: Disable irq on slave ports in the remove function
729a459efd ASoC: wcd9335: Fix a memory leak in the error handling path of the probe function
9c640a2bb5 ASoC: wcd9335: Fix a double irq free in the remove function
8446bb0ff1 tty: serial: fsl_lpuart: fix the wrong mapbase value
9ee4ff8cbe usb: bdc: Fix a resource leak in the error handling path of 'bdc_probe()'
4d2823abd1 usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available
86b79054d7 usb: ehci-orion: Handle errors of clk_prepare_enable() in probe
f0bb631273 i2c: xlp9xx: fix main IRQ check
7ac3090e01 i2c: mt65xx: fix IRQ check
6c4857203f CIFS: Fix a potencially linear read overflow
b0491ab7d4 bpf: Fix possible out of bound write in narrow load handling
cfaefbcc6b mmc: moxart: Fix issue with uninitialized dma_slave_config
ced0bc7481 mmc: dw_mmc: Fix issue with uninitialized dma_slave_config
8a9f9b9755 mmc: sdhci: Fix issue with uninitialized dma_slave_config
dd903083cb ASoC: Intel: Skylake: Fix module resource and format selection
b0159dbd1d ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
7934c79fb0 ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373
56d976f450 rsi: fix an error code in rsi_probe()
110ce7d256 rsi: fix error code in rsi_load_9116_firmware()
b4bbb77d88 gfs2: init system threads before freeze lock
ee029e3aa1 i2c: hix5hd2: fix IRQ check
d36ab9b3ee i2c: fix platform_get_irq.cocci warnings
187705a4b1 i2c: s3c2410: fix IRQ check
3913fa307a i2c: iop3xx: fix deferred probing
50e6f34499 Bluetooth: add timeout sanity check to hci_inquiry
cc59ad70cf lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQ
9295566a13 mm/swap: consider max pages in iomap_swapfile_add_extent
a9c29bc2a5 usb: gadget: mv_u3d: request_irq() after initializing UDC
b2f4dd13b2 firmware: raspberrypi: Fix a leak in 'rpi_firmware_get()'
60831f5ae6 firmware: raspberrypi: Keep count of all consumers
5c68b7795b i2c: synquacer: fix deferred probing
f577e9f58f clk: staging: correct reference to config IOMEM to config HAS_IOMEM
5ae5f087c9 arm64: dts: marvell: armada-37xx: Extend PCIe MEM space
cb788d698a nfsd4: Fix forced-expiry locking
c9773f42c1 lockd: Fix invalid lockowner cast after vfs_test_lock
2600861b90 locking/local_lock: Add missing owner initialization
d5462a630f locking/lockdep: Mark local_lock_t
22b106df73 mac80211: Fix insufficient headroom issue for AMSDU
0ad4ddb27e libbpf: Re-build libbpf.so when libbpf.map changes
494629ba62 usb: phy: tahvo: add IRQ check
46638d6941 usb: host: ohci-tmio: add IRQ check
4b7874a32e PM: cpu: Make notifier chain use a raw_spinlock_t
4711284768 Bluetooth: Move shutdown callback before flushing tx and rx queue
d993a6f137 samples: pktgen: add missing IPv6 option to pktgen scripts
2c0b826f4a devlink: Clear whole devlink_flash_notify struct
2aa3d5c9e1 selftests/bpf: Fix test_core_autosize on big-endian machines
c03bf1bc84 usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse
eabbb2e8cc usb: phy: twl6030: add IRQ checks
fa5dbfd539 usb: phy: fsl-usb: add IRQ check
99ad1be3e9 usb: gadget: udc: s3c2410: add IRQ check
0a77314589 usb: gadget: udc: at91: add IRQ check
27f102bcee usb: dwc3: qcom: add IRQ check
c4e0f54a56 usb: dwc3: meson-g12a: add IRQ check
96ba1e20e2 ASoC: rt5682: Properly turn off regulators if wrong device ID
1a2feb2304 ASoC: rt5682: Implement remove callback
628acf6ee2 net/mlx5: Fix unpublish devlink parameters
fe6322774c net/mlx5: Register to devlink ingress VLAN filter trap
dbeb4574dd drm/msm/dsi: Fix some reference counted resource leaks
059c2c09f4 Bluetooth: fix repeated calls to sco_sock_kill
6df58421da ASoC: Intel: Fix platform ID matching
10dfcfda5c cgroup/cpuset: Fix violation of cpuset locking rule
cbc9766143 cgroup/cpuset: Miscellaneous code cleanup
974ab0a04f counter: 104-quad-8: Return error when invalid mode during ceiling_write
c158f9b232 arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7
7125705623 drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs
a6e980b110 drm/msm/mdp4: move HW revision detection to earlier phase
90363618b5 drm/msm/mdp4: refactor HW revision detection into read_mdp_hw_revision
416929eaf4 selftests/bpf: Fix bpf-iter-tcp4 test to print correctly the dest IP
d6337dfd1e PM: EM: Increase energy calculation precision
5014a8453f Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow
afffa7b4c6 debugfs: Return error during {full/open}_proxy_open() on rmmod
17830b0415 soc: qcom: smsm: Fix missed interrupts if state changes while masked
b8361513ac bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstring
cd6008e31a PCI: PM: Enable PME if it can be signaled from D3cold
3890c6e1da PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently
eda4ccca90 media: venus: venc: Fix potential null pointer dereference on pointer fmt
519ad41a09 media: em28xx-input: fix refcount bug in em28xx_usb_disconnect
a7dd8b778a leds: trigger: audio: Add an activate callback to ensure the initial brightness is set
917191d582 leds: lt3593: Put fwnode in any case during ->probe()
eef8496579 i2c: highlander: add IRQ check
11dd40c189 net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set()
b376ae5597 devlink: Break parameter notification sequence to be before/after unload/load driver
9fa9ff1040 arm64: dts: renesas: hihope-rzg2-ex: Add EtherAVB internal rx delay
e4da0e0006 arm64: dts: renesas: rzg2: Convert EtherAVB to explicit delay handling
61b1db2358 Bluetooth: mgmt: Fix wrong opcode in the response for add_adv cmd
bca46d2283 net: cipso: fix warnings in netlbl_cipsov4_add_std
b6b5dc12bd drm: mxsfb: Clear FIFO_CLEAR bit
1a0014c1c6 drm: mxsfb: Increase number of outstanding requests on V4 and newer HW
46f5463940 drm: mxsfb: Enable recovery on underflow
e0f3de1573 cgroup/cpuset: Fix a partition bug with hotplug
7a0b297480 net/mlx5e: Block LRO if firmware asks for tunneled LRO
c40ed983b8 net/mlx5e: Prohibit inner indir TIRs in IPoIB
a11fc1cd8a ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
2e68547e99 ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
0d40e59c03 ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
eda87dd473 ARM: dts: meson8: Use a higher default GPU clock frequency
a7d0a59e21 tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos
1f60072320 drm/amdgpu/acp: Make PM domain really work
c7ebd3622b 6lowpan: iphc: Fix an off-by-one check of array index
def6efdf91 Bluetooth: sco: prevent information leak in sco_conn_defer_accept()
e9a6274087 media: atomisp: fix the uninitialized use and rename "retvalue"
b0e87701b8 media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
c062253748 media: rockchip/rga: fix error handling in probe
dc49537334 media: rockchip/rga: use pm_runtime_resume_and_get()
94d6aa2b87 media: go7007: remove redundant initialization
ffd9c8cecb media: go7007: fix memory leak in go7007_usb_probe
fb22665c37 media: dvb-usb: Fix error handling in dvb_usb_i2c_init
6b0fe69534 media: dvb-usb: fix uninit-value in vp702x_read_mac_addr
372890e0b4 media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
83f7297a4a ionic: cleanly release devlink instance
203537ff35 driver core: Fix error return code in really_probe()
4225d357bc firmware: fix theoretical UAF race with firmware cache and resume
c4aaad8a33 gfs2: Fix memory leak of object lsi on error return path
8c3b5028ec libbpf: Fix removal of inner map in bpf_object__create_map
ffb887c15f soc: qcom: rpmhpd: Use corner in power_off
f32b433d8e i40e: improve locking of mac_filter_hash
5ac21a4e6e arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
a8c1eaed23 ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi
6ca0b40891 libbpf: Fix the possible memory leak on error
f1673e8525 gve: fix the wrong AdminQ buffer overflow check
1568dbe889 drm/of: free the iterator object on failure
389dfd1147 bpf: Fix potential memleak and UAF in the verifier.
d4213b7093 bpf: Fix a typo of reuseport map in bpf.h.
56e5c527cc drm/of: free the right object
38235f195d media: cxd2880-spi: Fix an error handling path
25fbfc31ce soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
c391728c9b leds: is31fl32xx: Fix missing error code in is31fl32xx_parse_dt()
d4abb6e141 media: TDA1997x: enable EDID support
8ce22f8538 ASoC: mediatek: mt8183: Fix Unbalanced pm_runtime_enable in mt8183_afe_pcm_dev_probe
3d58f5e83f drm/gma500: Fix end of loop tests for list_for_each_entry
54912723f1 drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()
1e1423449d EDAC/i10nm: Fix NVDIMM detection
a20e6868cb spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible
e2cb04c61b spi: sprd: Fix the wrong WDG_LOAD_VAL
cd8cca7268 regulator: vctrl: Avoid lockdep warning in enable/disable ops
8665e30317 regulator: vctrl: Use locked regulator_get_voltage in probe path
80b1a70b04 blk-crypto: fix check for too-large dun_bytes
ba6e5af621 spi: davinci: invoke chipselect callback
c0aec70a25 x86/mce: Defer processing of early errors
6627be8b36 tpm: ibmvtpm: Avoid error message when process gets signal while waiting
bd2028e9e2 certs: Trigger creation of RSA module signing key if it's not an RSA key
fddf3a72ab crypto: qat - use proper type for vf_mask
e7273d57d2 irqchip/gic-v3: Fix priority comparison when non-secure priorities are used
f1f6d3d2ad spi: coldfire-qspi: Use clk_disable_unprepare in the remove function
4b21d4e820 block: nbd: add sanity check for first_minor
31fc50cd93 clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel
dde7ff1c19 lib/mpi: use kcalloc in mpi_resize
20d84fc59e irqchip/loongson-pch-pic: Improve edge triggered interrupt support
e9a902f882 genirq/timings: Fix error return code in irq_timings_test_irqs()
10d3bdd2d5 spi: spi-pic32: Fix issue with uninitialized dma_slave_config
d4ec971bfa spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config
87aa69aa10 block: return ELEVATOR_DISCARD_MERGE if possible
3868507181 m68k: Fix invalid RMW_INSNS on CPUs that lack CAS
497f3d9c3f rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock
ea5e5bc881 rcu: Add lockdep_assert_irqs_disabled() to rcu_sched_clock_irq() and callees
527b56d785 rcu: Fix to include first blocked task in stall warning
e6778e1b22 sched: Fix UCLAMP_FLAG_IDLE setting
718180c246 sched/numa: Fix is_core_idle()
bf4b0fa3a2 m68k: emu: Fix invalid free in nfeth_cleanup()
246c771b85 power: supply: cw2015: use dev_err_probe to allow deferred probe
a758b1d4ca s390/ap: fix state machine hang after failure to enable irq
86f9980909 s390/debug: fix debug area life cycle
0980d2b21f s390/debug: keep debug data on resize
0404bf4a66 s390/pci: fix misleading rc in clp_set_pci_fn()
8b471e72b5 s390/kasan: fix large PMD pages address alignment check
9d999957cb udf_get_extendedattr() had no boundary checks.
db2f238d8d fcntl: fix potential deadlock for &fasync_struct.fa_lock
349633ed31 crypto: qat - do not export adf_iov_putmsg()
205cfad5c0 crypto: qat - fix naming for init/shutdown VF to PF notifications
c29cc43e30 crypto: qat - fix reuse of completion variable
e53575ea28 crypto: qat - handle both source of interrupt in VF ISR
9819975c63 crypto: qat - do not ignore errors from enable_vf2pf_comms()
6f3c58bd62 crypto: omap - Fix inconsistent locking of device lists
fc4073df29 libata: fix ata_host_start()
cf619a528e s390/zcrypt: fix wrong offset index for APKA master key valid state
b4aa00bf8a s390/cio: add dev_busid sysfs entry for each subchannel
d0831db736 power: supply: max17042_battery: fix typo in MAx17042_TOFF
5d59f38c6b power: supply: smb347-charger: Add missing pin control activation
10e759e350 nvmet: pass back cntlid on successful completion
ea4a353c0e nvme-rdma: don't update queue count when failing to set io queues
5d0f0c3bbe nvme-tcp: don't update queue count when failing to set io queues
591f69d7c4 blk-throtl: optimize IOPS throttle for large IO scenarios
cf13537be5 bcache: add proper error unwinding in bcache_device_init
48aa6e4e28 isofs: joliet: Fix iocharset=utf8 mount option
940ac46132 udf: Fix iocharset=utf8 mount option
4cf1551af3 udf: Check LVID earlier
3d12ccecfa hrtimer: Ensure timerfd notification for HIGHRES=n
aadfa1d6ca hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()
13ccaef77e posix-cpu-timers: Force next expiration recalc after itimer reset
8a6c5eec81 EDAC/mce_amd: Do not load edac_mce_amd module on guests
4b680b3fc6 rcu/tree: Handle VM stoppage in stall detection
1cc05d71f0 sched/deadline: Fix missing clock update in migrate_task_rq_dl()
104adbffbe crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
ce7f2b516c power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors
3ebd7b3841 sched/deadline: Fix reset_on_fork reporting of DL tasks
8c4d94db5a crypto: mxs-dcp - Check for DMA mapping errors
7bb6302e9d regulator: tps65910: Silence deferred probe error
a859850996 regmap: fix the offset of register error log
97bc540bfb locking/mutex: Fix HANDOFF condition
5df7cc992d ANDROID: GKI: update .xml after android12-5.10 merge
639159686b  Merge branch 'android12-5.10' into `android12-5.10-lts`
8a365a2340 Revert "tty: drop termiox user definitions"
c8de3a470a Merge 5.10.64 into android12-5.10-lts
cb83afdc0b Linux 5.10.64
f72fce5507 PCI: Call Max Payload Size-related fixup quirks early
8c04a16d20 x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions
1234849353 xhci: fix unsafe memory usage in xhci tracing
3f7f1baf70 xhci: fix even more unsafe memory usage in xhci tracing
30e6e9f8bf usb: mtu3: fix the wrong HS mult value
8a4439aaf4 usb: mtu3: use @mult for HS isoc or intr
147819723c usb: mtu3: restore HS function when set SS/SSP
c75e2fd0d3 usb: gadget: tegra-xudc: fix the wrong mult value for HS isoc or intr
d544c9a219 usb: host: xhci-rcar: Don't reload firmware after the completion
c3fd7b0b9a ALSA: usb-audio: Add registration quirk for JBL Quantum 800
798679af79 blk-mq: clearing flush request reference in tags->rqs[]
e51ff3ffc3 netfilter: nftables: clone set element expression template
36983fc2f8 netfilter: nf_tables: initialize set before expression setup
3fda454f90 netfilter: nftables: avoid potential overflows on 32bit arches
cad6239f50 blk-mq: fix is_flush_rq
ceffaa61b5 blk-mq: fix kernel panic during iterating over flush request
bc1b5c5f3e x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gating
554efc9a61 Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM"
d24347e2ff tty: drop termiox user definitions
0757a883b9 net: linux/skbuff.h: combine SKB_EXTENSIONS + KCOV handling
0b62660c6a serial: 8250: 8250_omap: Fix unused variable warning
7ff0b71b68 net: kcov: don't select SKB_EXTENSIONS when there is no NET
c422599206 mm/page_alloc: speed up the iteration of max_order
50e56c68e1 net: ll_temac: Remove left-over debug message
6e2c4e6656 USB: serial: mos7720: improve OOM-handling in read_mos_reg()
ddd7e8b7b8 igmp: Add ip_mc_list lock in ip_check_mc_rcu
06e0ef2a71 ANDROID: GKI: fix up spi structure change
77b971b479 Merge 5.10.63 into android12-5.10-lts
e07f317d5a Linux 5.10.63
4405ea221d media: stkwebcam: fix memory leak in stk_camera_probe
ad5e13f15d fuse: fix illegal access to inode with reused nodeid
40ba433a85 new helper: inode_wrong_type()
ded9137fcf spi: Switch to signed types for *_native_cs SPI controller fields
55bb5193ce serial: 8250: 8250_omap: Fix possible array out of bounds access
8e41134a92 ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
4ffde17862 ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17
4ee2686b37 ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
2808d59fb2 cryptoloop: add a deprecation warning
61a038f80c perf/x86/amd/power: Assign pmu.module
ec9a82e034 perf/x86/amd/ibs: Work around erratum #1197
23c29490b8 ceph: fix possible null-pointer dereference in ceph_mdsmap_decode()
d2064a1444 perf/x86/intel/pt: Fix mask of num_address_ranges
0e74bba604 qede: Fix memset corruption
35f223cb21 net: macb: Add a NULL check on desc_ptp
cf50d02e47 qed: Fix the VF msix vectors flow
2177c4943e reset: reset-zynqmp: Fixed the argument data type
9872349b08 gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats
b983d60292 ARM: OMAP1: ams-delta: remove unused function ams_delta_camera_power
bc860c3f09 xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG
b1075d2a70 static_call: Fix unused variable warn w/o MODULE
ae16b7c668 Revert "Add a reference to ucounts for each cred"
1aa3f27e59 Revert "cred: add missing return error code when set_cred_ucounts() failed"
0c1443874e Revert "ucounts: Increase ucounts reference counter before the security hook"
0479b2bd29 ubifs: report correct st_size for encrypted symlinks
3ac01789f6 f2fs: report correct st_size for encrypted symlinks
894a02236d ext4: report correct st_size for encrypted symlinks
b8c298cf57 fscrypt: add fscrypt_symlink_getattr() for computing st_size
09a3795496 ext4: fix race writing to an inline_data file while its xattrs are changing
0115d3d9f9 ANDROID: GKI: add virtio_break_device to the symbol list
59911be7e5 Revert "once: Fix panic when module unload"
4b20d2de0b Revert "pipe: avoid unnecessary EPOLLET wakeups under normal loads"
b6e7497caf Revert "pipe: do FASYNC notifications for every pipe IO, not just state changes"
674d2ac211 Merge 5.10.62 into android12-5.10-lts
f6dd002450 Linux 5.10.62
0c9a876f28 bpf: Fix potentially incorrect results with bpf_get_local_storage()
38c1915d3e audit: move put_tree() to avoid trim_trees refcount underflow and UAF
1890ee7ff8 net: don't unconditionally copy_from_user a struct ifreq for socket ioctls
0085646e02 Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
17982c664f Revert "floppy: reintroduce O_NDELAY fix"
709c162ddc kthread: Fix PF_KTHREAD vs to_kthread() race
c43add24df btrfs: fix NULL pointer dereference when deleting device by invalid id
1604c42a1c arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88
f760c1101f lkdtm: Enable DOUBLE_FAULT on all architectures
b6c657abb8 net: dsa: mt7530: fix VLAN traffic leaks again
f8242f554c usb: typec: ucsi: Clear pending after acking connector change
e15e32d519 usb: typec: ucsi: Work around PPM losing change information
08953884aa usb: typec: ucsi: acpi: Always decode connector change information
9a4f1dc8a1 tracepoint: Use rcu get state and cond sync for static call updates
b6ae385407 srcu: Provide polling interfaces for Tiny SRCU grace periods
450948b06c srcu: Make Tiny SRCU use multi-bit grace-period counter
641e1d8840 srcu: Provide internal interface to start a Tiny SRCU grace period
f789de3be8 srcu: Provide polling interfaces for Tree SRCU grace periods
fdf66e5a7f srcu: Provide internal interface to start a Tree SRCU grace period
d3c38d8549 powerpc/perf: Invoke per-CPU variable access with disabled interrupts
77b77d45a4 perf annotate: Fix jump parsing for C++ code.
9f9e40ddfc perf tools: Fix arm64 build error with gcc-11
94687c49b6 perf record: Fix memory leak in vDSO found using ASAN
e0ca67030f perf symbol-elf: Fix memory leak by freeing sdt_note.args
0d8e39bb94 perf env: Fix memory leak of bpf_prog_info_linear member
133d7f93ee riscv: Fixup patch_text panic in ftrace
7e2087249e riscv: Fixup wrong ftrace remove cflag
b42fde92cd Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS
60d69cb4e6 vt_kdsetmode: extend console locking
0a178a0151 tipc: call tipc_wait_for_connect only when dlen is not 0
ded6da217c mtd: spinand: Fix incorrect parameters for on-die ECC
3b2018f9c9 pipe: do FASYNC notifications for every pipe IO, not just state changes
e91da23c1b pipe: avoid unnecessary EPOLLET wakeups under normal loads
d845f89d59 btrfs: fix race between marking inode needs to be logged and log syncing
6f38d95f33 net/rds: dma_map_sg is entitled to merge entries
b882dda2bf drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences
7f422cda03 drm/nouveau/disp: power down unused DP links during init
6fd6e20520 drm: Copy drm_wait_vblank to user before returning
26ee94ba34 blk-mq: don't grab rq's refcount in blk_mq_check_expired()
b00ca56757 drm/amd/pm: change the workload type for some cards
3c37ec4350 Revert "drm/amd/pm: fix workload mismatch on vega10"
cc126b400b qed: Fix null-pointer dereference in qed_rdma_create_qp()
18a65ba069 qed: qed ll2 race condition fixes
4ac9c81e8a tools/virtio: fix build
c7ee4d2261 vringh: Use wiov->used to check for read/write desc order
6c074eaaf7 virtio_vdpa: reject invalid vq indices
0698278e8e virtio_pci: Support surprise removal of virtio pci device
065a13c299 virtio: Improve vq->broken access to avoid any compiler optimization
f41c7462d8 cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev
3dea931590 opp: remove WARN when no valid OPPs remain
be37f7dbcd iwlwifi: pnvm: accept multiple HW-type TLVs
9a6a5602c2 clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
bdc5049c36 perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32
c5600b9146 dt-bindings: sifive-l2-cache: Fix 'select' matching
ad5329a533 usb: gadget: u_audio: fix race condition on endpoint stop
257ea8a5ed drm/i915: Fix syncmap memory leak
e49b8d9c5e net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
b2091d47a1 net: stmmac: add mutex lock to protect est parameters
ac874290e7 Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"
411680a07c net: hns3: fix get wrong pfc_en when query PFC configuration
e834ca7c79 net: hns3: fix duplicate node in VLAN list
5931ec35e9 net: hns3: add waiting time before cmdq memory is released
9820af16a8 net: hns3: clear hardware resource when loading driver
ad0db83855 rtnetlink: Return correct error on changing device netns
51bc5c6660 cxgb4: dont touch blocked freelist bitmap after free
beefd5f0c6 ipv4: use siphash instead of Jenkins in fnhe_hashfun()
dced8347a7 ipv6: use siphash in rt6_exception_hash()
f517335a61 net/sched: ets: fix crash when flipping from 'strict' to 'quantum'
b493af3a66 ucounts: Increase ucounts reference counter before the security hook
8e0881f6f5 net: marvell: fix MVNETA_TX_IN_PRGRS bit number
850401a23a xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
fb45459d9d ip_gre: add validation for csum_start
e78006b59a RDMA/efa: Free IRQ vectors on error flow
8f1e3ad945 e1000e: Do not take care about recovery NVM checksum
87285ac51e e1000e: Fix the max snoop/no-snoop latency for 10M
58b3dbf10c igc: Use num_tx_queues when iterating over tx_ring queue
ae6480ba06 igc: fix page fault when thunderbolt is unplugged
384dea502e net: usb: pegasus: fixes of set_register(s) return value evaluation;
3217c9d460 ice: do not abort devlink info if board identifier can't be found
3a2c5fbb1c RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init()
56ac7463a1 IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()
3e949aaa8b RDMA/bnxt_re: Add missing spin lock initialization
22c18102ec scsi: core: Fix hang of freezing queue between blocking and running device
01da7c1dc4 usb: dwc3: gadget: Stop EP0 transfers during pullup disable
87b2016493 usb: dwc3: gadget: Fix dwc3_calc_trbs_left()
56c92b8ddc usb: renesas-xhci: Prefer firmware loading on unknown ROM state
b0bcc80388 USB: serial: option: add new VID/PID to support Fibocom FG150
8437e07c37 Revert "USB: serial: ch341: fix character loss at high transfer rates"
da3067eadc drm/amdgpu: Cancel delayed work when GFXOFF is disabled
3134292a8e Revert "btrfs: compression: don't try to compress if we don't have enough pages"
921c2533aa riscv: Ensure the value of FP registers in the core dump file is up to date
e55a8b4615 ceph: correctly handle releasing an embedded cap flush
7008b9981b can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
45b7b20971 net: mscc: Fix non-GPL export of regmap APIs
ef2d68ef9a ovl: fix uninitialized pointer read in ovl_lookup_real_one()
c94d50979f blk-iocost: fix lockdep warning on blkcg->lock
6815e21fe2 once: Fix panic when module unload
f68ad168e2 netfilter: conntrack: collect all entries in one cycle
a13a2df0b1 ARC: Fix CONFIG_STACKDEPOT
0af6a9f82c ASoC: component: Remove misplaced prefix handling in pin control functions
34cc80ec12 ASoC: rt5682: Adjust headset volume button threshold
d81ddadabd bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper
9dd6f6d896 bpf: Fix ringbuf helper function compatibility
ad41706c77 net: qrtr: fix another OOB Read in qrtr_endpoint_post
45cad77f78 ANDROID: GKI: update the android12-5.10-lts abi .xml file
af06413d4c Merge branch 'android12-5.10' into `android12-5.10-lts`
383ea08168 ANDROID: GKI: db845c: Update symbols list and ABI for lts v5.10.61
e0382dd2e5 Revert "virtio: Protect vqs list access"
a6777a7cee Merge 5.10.61 into android12-5.10-lts
83da0c0fca Revert "net: igmp: fix data-race in igmp_ifc_timer_expire()"
a75a648f84 Revert "net: igmp: increase size of mr_ifc_count"
63aa0473df Revert "PCI/MSI: Protect msi_desc::masked for multi-MSI"
b558262fdc Merge 5.10.60 into android12-5.10-lts
56f751a409 Merge branch 'android12-5.10' into `android12-5.10-lts`
452ea6a15e Linux 5.10.61
f15e642673 io_uring: only assign io_uring_enter() SQPOLL error in actual error case
695ab28a7f io_uring: fix xa_alloc_cycle() error return value check
0d5fcfc640 fs: warn about impending deprecation of mandatory locks
8132fc2bf4 mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim
53e81668e1 ASoC: intel: atom: Fix breakage for PCM buffer address setup
88f65f57a0 ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8
b6672f67ec PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI
a69326e134 s390/pci: fix use after free of zpci_dev
05b56e0554 ALSA: hda/via: Apply runtime PM workaround for ASUS B23E
67fece6289 btrfs: prevent rename2 from exchanging a subvol with a directory from different parents
16cfa72766 mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711
2566c1d823 mmc: sdhci-iproc: Cap min clock frequency on BCM2711
110b7f72f6 ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9510 laptop
258782b937 ipack: tpci200: fix memory leak in the tpci200_register
3ee1b08097 ipack: tpci200: fix many double free issues in tpci200_pci_probe
0775bc462a slimbus: ngd: reset dma setup during runtime pm
45d6fc21cd slimbus: messaging: check for valid transaction id
b700b523dd slimbus: messaging: start transaction ids from 1 instead of zero
bd0c2f83d0 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name
f7c125493c ALSA: hda - fix the 'Capture Switch' value change notifications
7451c309c7 clk: qcom: gdsc: Ensure regulator init state matches GDSC state
7203b4986d clk: imx6q: fix uart earlycon unwork
3f8920c570 mmc: sdhci-msm: Update the software timeout value for sdhc
8f499a90e7 mmc: mmci: stm32: Check when the voltage switch procedure should be done
f8dac276a9 mmc: dw_mmc: Fix hang on data CRC error
645fd92c3e Revert "flow_offload: action should not be NULL when it is referenced"
2f6c42806e iavf: Fix ping is lost after untrusted VF had tried to change MAC
7873c29832 i40e: Fix ATR queue selection
e003a89219 r8152: fix writing USB_BP2_EN
21ca0b18ad iommu/vt-d: Fix incomplete cache flush in intel_pasid_tear_down_entry()
81578e587c iommu/vt-d: Consolidate duplicate cache invaliation code
eee84eafc3 ovs: clear skb->tstamp in forwarding path
47a1161dac net: mdio-mux: Handle -EPROBE_DEFER correctly
13af9c81e6 net: mdio-mux: Don't ignore memory allocation errors
df61235881 sch_cake: fix srchost/dsthost hashing mode
e1ec5858ba ixgbe, xsk: clean up the resources in ixgbe_xsk_pool_enable error path
3b7397b203 net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
9bc2d1a5a8 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO
b7adfde949 virtio-net: support XDP when not more queues
1ce62fe6e4 vrf: Reset skb conntrack connection on VRF rcv
8ae539a361 bnxt_en: Add missing DMA memory barriers
9751aa4436 bnxt_en: Disable aRFS if running on 212 firmware
efd9b79b92 ptp_pch: Restore dependency on PCI
85e0518f18 net: 6pack: fix slab-out-of-bounds in decode_data
e0ae168360 bnxt: count Tx drops
296fe765dd bnxt: make sure xmit_more + errors does not miss doorbells
d913d5cc3b bnxt: disable napi before canceling DIM
5b24ae8f05 bnxt: don't lock the tx queue from napi poll
585ff7344e bpf: Clear zext_dst of dead insns
8dfdeeb1e9 drm/mediatek: Add AAL output size configuration
a8b8d61bab drm/mediatek: Fix aal size config
6715cefa72 soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h
1b6fc6f739 vdpa/mlx5: Avoid destroying MR on empty iotlb
ecdd7c4880 vhost: Fix the calculation in vhost_overflow()
e0b603c89a bus: ti-sysc: Fix error handling for sysc_check_active_timer()
1af7ccbd92 vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update()
293180f593 virtio: Protect vqs list access
9108120fbe dccp: add do-while-0 stubs for dccp_pr_debug macros
e352531ed0 cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant
d2ab5491de iommu: Check if group is NULL before remove device
44f454a146 arm64: dts: qcom: msm8992-bullhead: Remove PSCI
95ed753d91 arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x
d7d04c6749 Bluetooth: hidp: use correct wait queue when removing ctrl_wait
2e6cc93e1b drm/amd/display: workaround for hard hang on HPD on native DP
dcc8c5fb8d drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X
8849a8c705 net: usb: lan78xx: don't modify phy_device state concurrently
735e613fa5 net: usb: pegasus: Check the return value of get_geristers() and friends;
6b368411bc ARM: dts: nomadik: Fix up interrupt controller node names
410d1ea4ff qede: fix crash in rmmod qede while automatic debug collection
7525f2e4de drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.
711459514e scsi: core: Fix capacity set to zero after offlinining device
8071dbe1bd scsi: core: Avoid printing an error if target_alloc() returns -ENXIO
4f78db7df6 scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()
cc312fa7e6 scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()
968ee9176a scsi: pm80xx: Fix TMF task completion race condition
b353028aed dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available
35f4162236 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
505884a0c7 net: xfrm: Fix end of loop tests for list_for_each_entry
f1c0533fae spi: spi-mux: Add module info needed for autoloading
b618a32142 dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()
c160df90b0 dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers
d4930271a4 USB: core: Fix incorrect pipe calculation in do_proc_control()
ba6c1b004a USB: core: Avoid WARNings for 0-length descriptor requests
8e100c72b6 KVM: X86: Fix warning caused by stale emulation context
47d4c79997 KVM: x86: Factor out x86 instruction emulation with decoding
ff2fc9e4aa media: drivers/media/usb: fix memory leak in zr364xx_probe
56320b1ad4 media: zr364xx: fix memory leaks in probe()
b5c7ec6d15 media: zr364xx: propagate errors from zr364xx_start_readpipe()
779a0f4347 mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards
e2036bc3fc ath9k: Postpone key cache entry deletion for TXQ frames reference it
609c0cfd07 ath: Modify ath_key_delete() to not need full key entry
2925a8385e ath: Export ath_hw_keysetmac()
6566c207e5 ath9k: Clear key cache explicitly on disabling hardware
8f05076983 ath: Use safer key clearing with key cache entries
2c5bd949b1 Linux 5.10.60
3a24e12130 net: dsa: microchip: ksz8795: Use software untagging on CPU port
1e78179d75 net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
5033d5e231 net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
60c007b527 net: dsa: microchip: ksz8795: Fix PVID tag insertion
f365d53c86 net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port
3dc5666baf KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
c0883f6931 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
b5f05bdfda vmlinux.lds.h: Handle clang's module.{c,d}tor sections
2fe07584a6 ceph: take snap_empty_lock atomically with snaprealm refcount change
a23aced54c ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
b0efc93271 ceph: add some lockdep assertions around snaprealm handling
dcdb587ac4 vboxsf: Add support for the atomic_open directory-inode op
7cd14c1a7f vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
433f0b31eb KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
0ab67e3dfc KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
4a948c579e efi/libstub: arm64: Double check image alignment at entry
fc7da433fa powerpc/smp: Fix OOPS in topology_init()
312730cd15 PCI/MSI: Protect msi_desc::masked for multi-MSI
724d0a9850 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
9233687518 PCI/MSI: Correct misleading comments
e42fb8e616 PCI/MSI: Do not set invalid bits in MSI mask
042e03c9cd PCI/MSI: Enforce MSI[X] entry updates to be visible
0b2509d7a9 PCI/MSI: Enforce that MSI-X table entry is masked for update
aa8092c1d1 PCI/MSI: Mask all unused MSI-X entries
7e90e81a4b PCI/MSI: Enable and mask MSI-X early
2d2c668480 genirq/timings: Prevent potential array overflow in __irq_timings_store()
355754194b genirq/msi: Ensure deactivation on teardown
f0736bed18 x86/resctrl: Fix default monitoring groups reporting
25216ed97d x86/ioapic: Force affinity setup before startup
19fb5dabed x86/msi: Force affinity setup before startup
4e52a4fe6f genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
2a28b52306 x86/tools: Fix objdump version check again
4acc0d9871 powerpc/kprobes: Fix kprobe Oops happens in booke
015e2c900b efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
feb4a01d3e efi/libstub: arm64: Force Image reallocation if BSS was not reserved
afcb84e6cf arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
e0ee8d9c31 nbd: Aovid double completion of a request
f5cefe9a52 vsock/virtio: avoid potential deadlock when vsock device remove
dff830e5e7 xen/events: Fix race in set_evtchn_to_irq
65395b053d drm/i915: Only access SFC_DONE when media domain is not fused off
4344440d91 net: igmp: increase size of mr_ifc_count
696afe28dc tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
8976606ca3 net: linkwatch: fix failure to restore device state across suspend/resume
4c2af90119 net: bridge: fix memleak in br_add_if()
f333a5ca71 net: bridge: fix flags interpretation for extern learn fdb entries
e3b949b86d net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
1cad01aca1 net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
56cc3408ff net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
f7720b35cd net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
24e1b7dbb1 net: igmp: fix data-race in igmp_ifc_timer_expire()
69b13167a6 net: Fix memory leak in ieee802154_raw_deliver
dbfaf7a6a2 net: dsa: microchip: ksz8795: Fix VLAN filtering
ccc1fe82c8 net: dsa: microchip: Fix ksz_read64()
558092b8ed drm/meson: fix colour distortion from HDR set during vendor u-boot
6e1886465d net/mlx5: Fix return value from tracer initialization
303ba011f5 net/mlx5: Synchronize correct IRQ when destroying CQ
00a0c11ddd bareudp: Fix invalid read beyond skb's linear data
30b1fc47f7 psample: Add a fwd declaration for skbuff
b3f0b17084 iavf: Set RSS LUT and key in reset handle path
a6192bae12 ice: don't remove netdev->dev_addr from uc sync list
bae5b521fe ice: Prevent probing virtual functions
059238c52c net: sched: act_mirred: Reset ct info when mirror/redirect skb
f15f7716b0 net/smc: fix wait on already cleared link
51f4965d77 ppp: Fix generating ifname when empty IFLA_IFNAME is specified
046579c9fc net: phy: micrel: Fix link detection on ksz87xx switch"
e95620c3bd bpf: Fix integer overflow involving bucket_size
1960c3ac52 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
a3e9a3e228 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
53ebbfdd0e net: mvvp2: fix short frame size on s390
784320edb6 net: dsa: mt7530: add the missing RxUnicast MIB counter
20a8031902 ASoC: cs42l42: Fix LRCLK frame start edge
750503aecf pinctrl: tigerlake: Fix GPIO mapping for newer version of software
be49d5437d netfilter: nf_conntrack_bridge: Fix memory leak when error
aa6b17bfef ASoC: cs42l42: Remove duplicate control for WNF filter frequency
b268f9f6b7 ASoC: cs42l42: Fix inversion of ADC Notch Switch control
2386a8cde1 ASoC: SOF: Intel: hda-ipc: fix reply size checking
0e47f99e86 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
576939671f ASoC: cs42l42: Correct definition of ADC Volume control
a21963c35f pinctrl: mediatek: Fix fallback behavior for bias_set_combo
27188a9382 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
528f17c02d ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
95de3592f8 drm/amdgpu: don't enable baco on boco platforms in runpm
bd80d11a51 drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
ae311a7418 drm/amd/display: Remove invalid assert for ODM + MPC case
c2351e5faa libnvdimm/region: Fix label activation vs errors
366de90ccf ACPI: NFIT: Fix support for virtual SPA ranges
f3fcf9d1b7 ceph: reduce contention in ceph_check_delayed_caps()
ca6dea44bd ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
4716a2145b net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
561d13128b seccomp: Fix setting loaded filter count during TSYNC
54916988a0 scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
3db5cb9228 cifs: create sd context must be a multiple of 8
d1398e3715 i2c: dev: zero out array used for i2c reads from userspace
b8bceace43 ASoC: intel: atom: Fix reference to PCM buffer address
261613ef34 ASoC: tlv320aic31xx: Fix jack detection after suspend
7e5a7fa68b ASoC: uniphier: Fix reference to PCM buffer address
209eb62b45 ASoC: xilinx: Fix reference to PCM buffer address
c419c4c91b ASoC: amd: Fix reference to PCM buffer address
0c9adae117 iio: adc: Fix incorrect exit of for-loop
632279e505 iio: humidity: hdc100x: Add margin to the conversion time
45de224b13 iio: adis: set GPIO reset pin direction
d0532ed064 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
46f161a1b2 Merge 5.10.59 into android12-5.10-lts
5805e5eec9 Linux 5.10.59
25cff25ec6 net: xilinx_emaclite: Do not print real IOMEM pointer
6a002d48a6 ovl: prevent private clone if bind mount is not allowed
bffead8d36 ppp: Fix generating ppp unit id when ifname is not specified
5df85901fe ALSA: hda: Add quirk for ASUS Flow x13
8930f2c60a ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
98c3fa3a9d ALSA: pcm: Fix mmap breakage without explicit buffer setup
cc1a4dff23 USB:ehci:fix Kunpeng920 ehci hardware problem
bd909fd387 vboxsf: Make vboxsf_dir_create() return the handle for the created file
971703fc19 vboxsf: Honor excl flag to the dir-inode create op
96b2232cb7 arm64: dts: renesas: beacon: Fix USB ref clock references
e0dd4a0ab0 arm64: dts: renesas: beacon: Fix USB extal reference
0f47027d1b arm64: dts: renesas: rzg2: Add usb2_clksel to RZ/G2 M/N/H
eaa7feecd3 mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM
0e70939037 Revert "selftests/resctrl: Use resctrl/info for feature detection"
d8c3859870 bpf: Add lockdown check for probe_write_user helper
5b5064ea9a firmware: tee_bnxt: Release TEE shm, session, and context during kexec
c5a625c6a4 tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
9f105d2d4f KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
c80c82c899 Revert "xfrm: Fix RCU vs hash_resize_mutex lock inversion"
af3bdb4304 Merge 5.10.58 into android12-5.10-lts
bd3afc373f Merge branch 'android12-5.10' into `android12-5.10-lts`
132a8267ad Linux 5.10.58
3d7d1b0f5f arm64: fix compat syscall return truncation
bb65051dcd drm/amdgpu/display: only enable aux backlight control for OLED panels
c8b7cfa674 smb3: rc uninitialized in one fallocate path
8cfdd039ca net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
fbbb209268 alpha: Send stop IPI to send to online CPUs
13d0a9b3b9 net: qede: Fix end of loop tests for list_for_each_entry
1478e902bc virt_wifi: fix error on connect
ecd8614809 reiserfs: check directory items on read from disk
dbe4f82fed reiserfs: add check for root_inode in reiserfs_fill_super
0f05e0ffa2 libata: fix ata_pio_sector for CONFIG_HIGHMEM
11891adab2 drm/i915: avoid uninitialised var in eb_parse()
a3e6bd0c71 sched/rt: Fix double enqueue caused by rt_effective_prio
c797b8872b perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
2d94cffc94 soc: ixp4xx/qmgr: fix invalid __iomem access
7397034905 drm/i915: Correct SFC_DONE register offset
16aecf1e36 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
22b4917c85 interconnect: Always call pre_aggregate before aggregate
ccfe4f62ff interconnect: Zero initial BW after sync-state
05565b4693 spi: meson-spicc: fix memory leak in meson_spicc_remove
1a084e7821 interconnect: Fix undersized devress_alloc allocation
dcc23e5851 soc: ixp4xx: fix printing resources
37cbd27ef4 arm64: vdso: Avoid ISB after reading from cntvct_el0
7a2b5bb00f KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
32f55c25ee KVM: Do not leak memory for duplicate debugfs directories
309a31127b KVM: x86: accept userspace interrupt only if no event is injected
a786282b55 md/raid10: properly indicate failure when ending a failed write request
3d7d2d2b06 ARM: omap2+: hwmod: fix potential NULL pointer access
9851ad2f71 Revert "gpio: mpc8xxx: change the gpio interrupt flags."
57c44e7ac7 bus: ti-sysc: AM3: RNG is GP only
f4984f60ac selinux: correct the return value when loads initial sids
100f8396d1 pcmcia: i82092: fix a null pointer dereference bug
afcd5a0e01 net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
f08b2d078c xfrm: Fix RCU vs hash_resize_mutex lock inversion
23e36a8610 timers: Move clearing of base::timer_running under base:: Lock
9a69d0d24d fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
bfb5f1a123 serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
0f30fedced serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
17f3c64f70 MIPS: Malta: Do not byte-swap accesses to the CBUS UART
8a1624f4a8 serial: 8250: Mask out floating 16/32-bit bus bits
c03cef6715 serial: 8250_mtk: fix uart corruption issue when rx power off
a4f8bfc919 serial: tegra: Only print FIFO error message when an error occurs
cc73007768 ext4: fix potential htree corruption when growing large_dir directories
6b5a3d2c2b pipe: increase minimum default pipe size to 2 pages
556e7f204d media: rtl28xxu: fix zero-length control request
551e0c5d6b drivers core: Fix oops when driver probe fails
faec2c68ea staging: rtl8712: error handling refactoring
e468a357af staging: rtl8712: get rid of flush_scheduled_work
369101e399 staging: rtl8723bs: Fix a resource leak in sd_int_dpc
1628b64efb tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
2a879ff971 optee: fix tee out of memory failure seen during kexec reboot
ad80c25987 optee: Refuse to load the driver under the kdump kernel
1340dc3fb7 optee: Fix memory leak when failing to register shm pages
6b2ded93d3 tee: add tee_shm_alloc_kernel_buf()
5e9d820214 optee: Clear stale cache entries during initialization
e5d8fd8709 arm64: stacktrace: avoid tracing arch_stack_walk()
7799ad4d18 tracepoint: Fix static call function vs data state mismatch
14673e1929 tracepoint: static call: Compare data on transition from 2->1 callees
046e12323a tracing: Fix NULL pointer dereference in start_creating
b2aca8daa5 tracing: Reject string operand in the histogram expression
b10ccc2c58 tracing / histogram: Give calculation hist_fields a size
f972745280 scripts/tracing: fix the bug that can't parse raw_trace_func
fd3afb81f4 clk: fix leak on devm_clk_bulk_get_all() unwind
948ff2f214 usb: otg-fsm: Fix hrtimer list corruption
8f8645de09 usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
5b4318885a usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
1f2015506d usb: gadget: f_hid: idle uses the highest byte for duration
825ac3f0bc usb: gadget: f_hid: fixed NULL pointer dereference
683702dff7 usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
051518d9cf usb: cdns3: Fixed incorrect gadget state
822bec5cbb usb: gadget: remove leaked entry from udc driver list
98c83d7261 usb: dwc3: gadget: Avoid runtime resume if disabling pullup
79e9389038 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
b7532db2d4 ALSA: usb-audio: Fix superfluous autosuspend recovery
80b7aa2651 ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
de30786fb2 ALSA: hda/realtek: add mic quirk for Acer SF314-42
c0b626f0a2 ALSA: pcm - fix mmap capability check for the snd-dummy driver
dd3f7c5c89 drm/amdgpu/display: fix DMUB firmware version info
ecb739cf15 firmware_loader: fix use-after-free in firmware_fallback_sysfs
5019f5812b firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
aa3b8bc17e USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
d245a76719 USB: serial: ch341: fix character loss at high transfer rates
0470385e63 USB: serial: option: add Telit FD980 composition 0x1056
ba4a395668 USB: usbtmc: Fix RCU stall warning
f2f856b65a Bluetooth: defer cleanup of resources in hci_unregister_dev()
821e6a6133 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
c5a499b860 net: vxge: fix use-after-free in vxge_device_unregister
fb49d67262 net: fec: fix use-after-free in fec_drv_remove
f12b6b6bc1 net: pegasus: fix uninit-value in get_interrupt_interval
c66d273b70 bnx2x: fix an error code in bnx2x_nic_load()
f76f9caccb mips: Fix non-POSIX regexp
f93b7b0000 MIPS: check return value of pgtable_pmd_page_ctor
9b2b2f0771 net: sched: fix lockdep_set_class() typo error for sch->seqlock
d1f2abe57b net: dsa: qca: ar9331: reorder MDIO write sequence
a45ee8ed0c net: ipv6: fix returned variable type in ip6_skb_dst_mtu
f87be69b7f nfp: update ethtool reporting of pauseframe control
44f2e360e7 sctp: move the active_key update after sh_keys is added
e74551ba93 RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
1242ca9369 gpio: tqmx86: really make IRQ optional
4ef549dc9c net: natsemi: Fix missing pci_disable_device() in probe and remove
1dc3eef381 net: phy: micrel: Fix detection of ksz87xx switch
e09dba75ca net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
c0b14a0e61 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
00bf923dce net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
de425f1c3a net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
74bcf85ff1 net, gro: Set inner transport header offset in tcp/udp GRO hook
80fd533ac3 dmaengine: imx-dma: configure the generic DMA type to make it work
163e6d8721 ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
442f7e04d5 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
449991df08 media: videobuf2-core: dequeue if start_streaming fails
3e8bba6012 scsi: sr: Return correct event when media event code is 3
aaaf6e6e41 spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
cd989e1192 spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
281514da66 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
bbce3c99f6 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
84656b4c27 clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
edf1b7911a dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
4ebd11d1c7 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
9bf056b99f ARM: dts: am437x-l4: fix typo in can@0 node
e79a30f71d clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
71f39badc8 ALSA: usb-audio: fix incorrect clock source setting
c4fcda1287 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
8d13f6a0a6 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
f239369f37 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
ee6f708432 ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
e1011b9c59 ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
c0f61abbef arm64: dts: ls1028: sl28: fix networking for variant 2
54555c3996 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
3790f94098 ARM: imx: add missing clk_disable_unprepare()
a28569b510 ARM: imx: add missing iounmap()
9189d77f0e arm64: dts: ls1028a: fix node name for the sysclk
d61dc8c634 net: xfrm: fix memory leak in xfrm_user_rcv_msg
8efe3a635f bus: ti-sysc: Fix gpt12 system timer issue with reserved status
e32a291736 ALSA: seq: Fix racy deletion of subscriber
b917f123b5 Revert "ACPICA: Fix memory leak caused by _CID repair function"
a15695131a Merge 5.10.57 into android12-5.10-lts
afeb953f87 Merge branch 'android12-5.10' into `android12-5.10-lts`
1cd6e30b83 Linux 5.10.57
9c645a020b spi: mediatek: Fix fifo transfer
7254e2d9eb selftest/bpf: Verifier tests for var-off access
30ea1c5352 bpf, selftests: Adjust few selftest outcomes wrt unreachable code
98bf2906d3 bpf: Update selftests to reflect new error states
360e5b7af6 bpf, selftests: Adjust few selftest result_unpriv outcomes
5abcd138cb selftest/bpf: Adjust expected verifier errors
83bbf953f6 selftests/bpf: Add a test for ptr_to_map_value on stack for helper access
e2b7a4ccbf Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
1b1a00b13c firmware: arm_scmi: Add delayed response status check
93ef561406 firmware: arm_scmi: Ensure drivers provide a probe function
1812895f17 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
cae3fa3d81 ACPI: fix NULL pointer dereference
98b070694f drm/amd/display: Fix max vstartup calculation for modes with borders
f9d875c8c9 drm/amd/display: Fix comparison error in dcn21 DML
91865b458e nvme: fix nvme_setup_command metadata trace event
06a9092f66 efi/mokvar: Reserve the table only if it is in boot services data
27ff30c8b3 ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
a00bcc5298 ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
e8b287e783 net: Fix zero-copy head len calculation.
c6bdf7d97d ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
74b53ee4b8 qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
f6a2ff040b r8152: Fix potential PM refcount imbalance
c98a7916cd ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
03258515c9 spi: stm32h7: fix full duplex irq handler handling
cfb8173a23 regulator: rt5033: Fix n_voltages settings for BUCK and LDO
81dc9a4868 regulator: rtmv20: Fix wrong mask for strobe-polarity-high
9e55b9278c btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
e2419c5709 btrfs: fix race causing unnecessary inode logging during link and rename
118b070bf4 Revert "drm/i915: Propagate errors on awaiting already signaled fences"
6976f3cf34 drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
2da9d8f1db Merge branch 'android12-5.10' into `android12-5.10-lts`
8b444656fa Merge 5.10.56 into android12-5.10-lts
75ca4a8efe Merge branch 'android12-5.10' into `android12-5.10-lts`
9746c25334 Linux 5.10.56
55dd22c5d0 can: j1939: j1939_session_deactivate(): clarify lifetime of session object
75ebe1d355 i40e: Add additional info to PHY type error
2ca5ec188b Revert "perf map: Fix dso->nsinfo refcounting"
c14cee5bc4 powerpc/pseries: Fix regression while building external modules
bfc8e67c60 SMB3: fix readpage for large swap cache
be561c0154 bpf: Fix pointer arithmetic mask tightening under state pruning
ffb9d5c48b bpf: verifier: Allocate idmap scratch in verifier env
a11ca29c65 bpf: Remove superfluous aux sanitation on subprog rejection
0e9280654a bpf: Fix leakage due to insufficient speculative store bypass mitigation
bea9e2fd18 bpf: Introduce BPF nospec instruction for mitigating Spectre v4
cd61e665a1 can: hi311x: fix a signedness bug in hi3110_cmd()
65dfa6cb22 sis900: Fix missing pci_disable_device() in probe and remove
93e5bf4b29 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
58b8c812c7 sctp: fix return value check in __sctp_rcv_asconf_lookup
362e9d23cf net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
bd744f2a27 net/mlx5: Fix flow table chaining
1b148bd72e skmsg: Make sk_psock_destroy() static
645a1d3bef drm/msm/dp: Initialize the INTF_CONFIG register
4a6841921c drm/msm/dpu: Fix sm8250_mdp register length
e6097071a4 net: llc: fix skb_over_panic
01f3581d44 KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
f5f78ae5f1 mlx4: Fix missing error code in mlx4_load_one()
51b751fc06 octeontx2-pf: Fix interface down flag on error
4951ffa3fa tipc: do not write skb_shinfo frags when doing decrytion
7eefa0b74f ionic: count csum_none when offload enabled
60decbe01d ionic: fix up dim accounting for tx and rx
a7c85a516c ionic: remove intr coalesce update from napi
6961323eed net: qrtr: fix memory leaks
91350564ea net: Set true network header for ECN decapsulation
a41282e82a tipc: fix sleeping in tipc accept routine
10f585740c tipc: fix implicit-connect for SYN+
bb60616162 i40e: Fix log TC creation failure when max num of queues is exceeded
c1cc6bce1a i40e: Fix queue-to-TC mapping on Tx
4382cca179 i40e: Fix firmware LLDP agent related warning
e090ffdf05 i40e: Fix logic of disabling queues
cbc8012902 netfilter: nft_nat: allow to specify layer 4 protocol NAT only
3dbda8483f netfilter: conntrack: adjust stop timestamp to real expiry value
ac038f4152 mac80211: fix enabling 4-address mode on a sta vif after assoc
076bc6ebce bpf: Fix OOB read when printing XDP link fdinfo
e6a06a13ec RDMA/bnxt_re: Fix stats counters
c8667cb406 cfg80211: Fix possible memory leak in function cfg80211_bss_update
9ab284bc35 nfc: nfcsim: fix use after free during module unload
ea04a3b572 blk-iocost: fix operation ordering in iocg_wake_fn()
fc2756cce0 drm/amdgpu: Fix resource leak on probe error path
ccc7a1bb32 drm/amdgpu: Avoid printing of stack contents on firmware load error
63570e5780 drm/amd/display: ensure dentist display clock update finished in DCN20
2eab387507 NIU: fix incorrect error return, missed in previous revert
cb71730a63 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
7bca5da005 alpha: register early reserved memory in memblock
30e19d072e can: esd_usb2: fix memory leak
88b4025816 can: ems_usb: fix memory leak
f58ac91ff8 can: usb_8dev: fix memory leak
a6ebfbdaca can: mcba_usb_start(): add missing urb->transfer_dma initialization
2fc2c2816c can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
afe2ffd920 can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
a9c02d0e15 can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
da4f4916da ocfs2: issue zeroout to EOF blocks
9430145930 ocfs2: fix zero out valid data
52acb6c147 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
7d67d4ab28 x86/kvm: fix vcpu-id indexed array sizes
2388c7674f ACPI: DPTF: Fix reading of attributes
0d6afa2597 Revert "ACPI: resources: Add checks for ACPI IRQ override"
0a421a2fc5 btrfs: mark compressed range uptodate only if all bio succeed
4e1a57d752 btrfs: fix rw device counting in __btrfs_free_extra_devids
27aa7171fe pipe: make pipe writes always wake up readers
02210a5e18 x86/asm: Ensure asm/proto.h can be included stand-alone
65b2658634 io_uring: fix null-ptr-deref in io_sq_offload_start()
e44d22fdf7 selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c
1afedcdcf8 Merge 5.10.55 into android12-5.10-lts
11fe69a171 Linux 5.10.55
984e93b8e2 ipv6: ip6_finish_output2: set sk into newly allocated nskb
a74054ca75 ARM: dts: versatile: Fix up interrupt controller node names
3510b9b41c iomap: remove the length variable in iomap_seek_hole
8659186e72 iomap: remove the length variable in iomap_seek_data
6503940748 cifs: fix the out of range assignment to bit fields in parse_server_interfaces
fe5fe0b1c8 firmware: arm_scmi: Fix range check for the maximum number of pending messages
8f8e5475a3 firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
d01328fef6 hfs: add lock nesting notation to hfs_find_init
06b3d9923f hfs: fix high memory mapping in hfs_bnode_read
680b2917e6 hfs: add missing clean-up in hfs_fill_super
5c3d753b87 drm/ttm: add a check against null pointer dereference
2323690eb0 ipv6: allocate enough headroom in ip6_finish_output2()
86cb49e731 rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()
55ddab2bfd rcu-tasks: Don't delete holdouts within trc_inspect_reader()
4d972881f8 sctp: move 198 addresses from unusable to private scope
915226f31f net: annotate data race around sk_ll_usec
92289f58f0 net/802/garp: fix memleak in garp_request_join()
5d93810761 net/802/mrp: fix memleak in mrp_request_join()
df34f88862 cgroup1: fix leaked context root causing sporadic NULL deref in LTP
dcd00801f3 workqueue: fix UAF in pwq_unbound_release_workfn()
93c5951e0c af_unix: fix garbage collect vs MSG_PEEK
dee8119eaa KVM: x86: determine if an exception has an error code only when injecting it.
6f5d7a45f5 io_uring: fix link timeout refs
475312897e tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
57e177ea01 Merge branch 'android12-5.10' into `android12-5.10-lts`
e4cac2c332 Merge 5.10.54 into android12-5.10-lts
0482d070e7 Merge branch 'android12-5.10' into `android12-5.10-lts`
08277b9dde Linux 5.10.54
c9f8e17990 skbuff: Fix build with SKB extensions disabled
ba28765d33 xhci: add xhci_get_virt_ep() helper
624290f368 sfc: ensure correct number of XDP queues
1df4fe5a88 drm/i915/gvt: Clear d3_entered on elsp cmd submission.
c938e65768 usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
25af91a806 perf inject: Close inject.output on exit
fb35426d12 Documentation: Fix intiramfs script name
570341f10e skbuff: Release nfct refcount on napi stolen or re-used skbs
31828ffdab bonding: fix build issue
c9d97b7bb8 PCI: Mark AMD Navi14 GPU ATS as broken
f7ee361182 net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
30f1d4d036 net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
fc31b5be13 drm/amdgpu: update golden setting for sienna_cichlid
69a603aa17 drm: Return -ENOTTY for non-drm ioctls
2831eeb7bc driver core: Prevent warning when removing a device link from unregistered consumer
0e75938323 nds32: fix up stack guard gap
7497f4c91d misc: eeprom: at24: Always append device id even if label property is set.
8571daace5 rbd: always kick acquire on "acquired" and "released" notifications
2f3731de5e rbd: don't hold lock_rwsem while running_list is being drained
92291fa2d1 hugetlbfs: fix mount mode command line processing
1a25c5738d memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
0b591c020d userfaultfd: do not untag user pointers
fca5343b48 io_uring: remove double poll entry on arm failure
9eef902915 io_uring: explicitly count entries for poll reqs
1077e2b152 selftest: use mmap instead of posix_memalign to allocate memory
6e81e2c38a posix-cpu-timers: Fix rearm racing against process tick
3efec3b4b1 bus: mhi: core: Validate channel ID when processing command completions
b3f3a58a86 ixgbe: Fix packet corruption due to missing DMA sync
e991457afd media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
755971dc7e btrfs: check for missing device in btrfs_trim_fs
552b053f1a tracing: Synthetic event field_pos is an index not a boolean
757bdba802 tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
a5e1aff589 tracing/histogram: Rename "cpu" to "common_cpu"
0edad8b9f6 tracepoints: Update static_call before tp_funcs when adding a tracepoint
4ed4074c6c firmware/efi: Tell memblock about EFI iomem reservations
647e26b03e usb: typec: stusb160x: register role switch before interrupt registration
a206167bd6 usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
f2c04f6b21 usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
7073acb51a usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
1bf7371b90 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
45c87a9433 USB: serial: cp210x: fix comments for GE CS1000
f528521c15 USB: serial: option: add support for u-blox LARA-R6 family
311fd7f7f1 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
7af54a4e22 usb: max-3421: Prevent corruption of freed memory
69da81a964 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
e6343aab3e usb: hub: Fix link power management max exit latency (MEL) calculations
8f087b4cf1 usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
709137c853 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
c1fbdf0f3c KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
e3eb672c16 xhci: Fix lost USB 2 remote wake
02e2e96ba5 usb: xhci: avoid renesas_usb_fw.mem when it's unusable
9e9cf23b77 Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
ebaa67086f ALSA: pcm: Fix mmap capability check
431e311055 ALSA: pcm: Call substream ack() method upon compat mmap commit
3c9afa23f3 ALSA: hdmi: Expose all pins on MSI MS-7C94 board
253759df80 ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
2b3cdf5819 ALSA: sb: Fix potential ABBA deadlock in CSP driver
5858c8a464 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
2de518548d ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
37a88b41dc s390/boot: fix use of expolines in the DMA code
d1ab962880 s390/ftrace: fix ftrace_update_ftrace_func implementation
3b4009b496 mmc: core: Don't allocate IDA for OF aliases
fc6ac92cfc proc: Avoid mixing integer types in mem_rw()
76f7eae7ec cifs: fix fallocate when trying to allocate a hole.
c26372b8a8 cifs: only write 64kb at a time when fallocating a small region of a file
b91e5b6347 drm/panel: raspberrypi-touchscreen: Prevent double-free
9e0373945e net: sched: cls_api: Fix the the wrong parameter
c8ebf135c1 net: dsa: sja1105: make VID 4095 a bridge VLAN too
164294d09c tcp: disable TFO blackhole logic by default
8eb2258732 sctp: update active_key for asoc when old key is being replaced
ef799bd8ff nvme: set the PRACT bit when using Write Zeroes with T10 PI
7850f03ed8 r8169: Avoid duplicate sysfs entry creation error
0f5dc39714 afs: Fix tracepoint string placement with built-in AFS
711057846a Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
8985dc2cab nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
fb28b15920 ceph: don't WARN if we're still opening a session to an MDS
ce8fafb680 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
071729150b net/sched: act_skbmod: Skip non-Ethernet packets
ee36bb4713 spi: spi-bcm2835: Fix deadlock
432738c974 net: hns3: fix rx VLAN offload state inconsistent issue
3e903e0b57 net: hns3: fix possible mismatches resp of mailbox
f4305375f0 ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
41a839437a net/tcp_fastopen: fix data races around tfo_active_disable_stamp
ba33363976 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
320dcbdec4 bnxt_en: Check abort error state in bnxt_half_open_nic()
134a0536f0 bnxt_en: Validate vlan protocol ID on RX packets
4f7da0f97b bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
927370485e bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
ab830c3bae bnxt_en: don't disable an already disabled PCI device
2646368944 ACPI: Kconfig: Fix table override from built-in initrd
113ce8c504 spi: cadence: Correct initialisation of runtime PM again
3ea448b62b scsi: target: Fix protect handling in WRITE SAME(32)
b82a1a26aa scsi: iscsi: Fix iface sysfs attr detection
6811744bd0 netrom: Decrease sock refcount when sock timers expire
096a8dca8c sctp: trim optlen when it's a huge value in sctp_setsockopt
8e9662fde6 net: sched: fix memory leak in tcindex_partial_destroy_work
e14ef10953 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
fcbad8e18d KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
30b8302151 net: decnet: Fix sleeping inside in af_decnet
d402c60da0 efi/tpm: Differentiate missing and invalid final event log table.
8983766903 dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
115e4f5b64 usb: hso: fix error handling code of hso_create_net_device
1582a02fec net: fix uninit-value in caif_seqpkt_sendmsg
2fc8048265 bpftool: Check malloc return value in mount_bpffs_for_pin
3b5b0afd8d bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
c260442431 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
715f378f42 bpf, sockmap: Fix potential memory leak on unlikely error case
e3a9548ae5 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
9264bebe9e liquidio: Fix unintentional sign extension issue on left shift of u16
0ff2ea9d8f timers: Fix get_next_timer_interrupt() with no timers pending
ca9ba1de8f xdp, net: Fix use-after-free in bpf_xdp_link_release
39f1735c81 bpf: Fix tail_call_reachable rejection for interpreter when jit failed
2b4046e64f bpf, test: fix NULL pointer dereference on invalid expected_attach_type
3dba72d1fc ASoC: rt5631: Fix regcache sync errors on resume
2435dcfd16 spi: mediatek: fix fifo rx mode
a9a85bfedd regulator: hi6421: Fix getting wrong drvdata
5cdc986aad regulator: hi6421: Use correct variable type for regmap api val argument
23811b75fd spi: stm32: fixes pm_runtime calls in probe/remove
844ab04b62 spi: imx: add a check for speed_hz before calculating the clock
3b6c430d12 ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
57efe4f82a perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
61f2e1e795 perf data: Close all files in close_dir()
7c91e0ce26 perf probe-file: Delete namelist in del_events() on the error path
a6c32317cd perf lzma: Close lzma stream on exit
2ae8f40a8f perf script: Fix memory 'threads' and 'cpus' leaks on exit
51077d315a perf report: Free generated help strings for sort option
2bfa3c53ea perf env: Fix memory leak of cpu_pmu_caps
a2f0da3af6 perf test maps__merge_in: Fix memory leak of maps
b7bfd8aeb9 perf dso: Fix memory leak in dso__new_map()
c9c101da3e perf test event_update: Fix memory leak of evlist
b768db7f80 perf test session_topology: Delete session->evlist
b8892d16a9 perf env: Fix sibling_dies memory leak
306411a8bf perf probe: Fix dso->nsinfo refcounting
f21987d7bb perf map: Fix dso->nsinfo refcounting
7337ff2093 perf inject: Fix dso->nsinfo refcounting
a87d42ae7f KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
b990585f9b nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
0fa11e1a20 mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
3714e0bb0d cxgb4: fix IRQ free race during driver unload
d92337bf54 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
f1edbcc47f selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
906bbb18db selftests: icmp_redirect: remove from checking for IPv6 route get
bb737eceb9 stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
79ec7b5b2f ipv6: fix 'disable_policy' for fwd packets
35eaefb44e bonding: fix incorrect return value of bond_ipsec_offload_ok()
13626bad63 bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
56ccdf868a bonding: Add struct bond_ipesc to manage SA
b3bd1f5e50 bonding: disallow setting nested bonding + ipsec offload
43511a6a16 bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
6ca0e55a13 ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
ba7bfcdff1 bonding: fix null dereference in bond_ipsec_add_sa()
3ae639af36 bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
4a31baf55f net: add kcov handle to skb extensions
78e4baff95 gve: Fix an error handling path in 'gve_probe()'
813449fb85 igb: Fix position of assignment to *ring
44171801d3 igb: Check if num of q_vectors is smaller than max before array access
cb9292445d iavf: Fix an error handling path in 'iavf_probe()'
a6756d637b e1000e: Fix an error handling path in 'e1000_probe()'
dea695a2ee fm10k: Fix an error handling path in 'fm10k_probe()'
a099192fe7 igb: Fix an error handling path in 'igb_probe()'
db4c32c1b9 igc: Fix an error handling path in 'igc_probe()'
7bc9fb1f80 ixgbe: Fix an error handling path in 'ixgbe_probe()'
02d1af0bee igc: change default return of igc_read_phy_reg()
f153664d8e igb: Fix use-after-free error during reset
e15f629036 igc: Fix use-after-free error during reset
67e686fc73 Revert "bpf: Track subprog poke descriptors correctly and fix use-after-free"
afe9ed0e13 Merge 5.10.53 into android12-5.10-lts
71046eac2d Linux 5.10.53
6cd9bd2a2d udp: annotate data races around unix_sk(sk)->gso_size
bfdb38a426 drm/panel: nt35510: Do not fail if DSI read fails
0d90d8492f perf test bpf: Free obj_buf
a9f36bf361 bpf: Track subprog poke descriptors correctly and fix use-after-free
782d71e29b bpftool: Properly close va_list 'ap' by va_end() on error
2381b8e882 tools: bpf: Fix error in 'make -C tools/ bpf_install'
638632997c tcp: call sk_wmem_schedule before sk_mem_charge in zerocopy path
2fee3cf4c9 ipv6: tcp: drop silly ICMPv6 packet too big messages
ad4ba34049 tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized
d60f07bcb7 tcp: annotate data races around tp->mtu_info
ea66fcb296 tcp: consistently disable header prediction for mptcp
c28c747e37 ARM: dts: tacoma: Add phase corrections for eMMC
e55160537d ARM: dts: aspeed: Fix AST2600 machines line names
ff4b8f35c9 kbuild: do not suppress Kconfig prompts for silent build
0d514185ae dma-buf/sync_file: Don't leak fences on merge failure
f33605908a net: fddi: fix UAF in fza_probe
66c73f187d net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
7d7d0e84ac Revert "mm/shmem: fix shmem_swapin() race with swapoff"
2179d96ec7 net: validate lwtstate->data before returning from skb_tunnel_info()
b61d8814c4 net: send SYNACK packet with accepted fwmark
f2a062fcfe net: ti: fix UAF in tlan_remove_one
b560521eca net: qcom/emac: fix UAF in emac_remove
dbbf5b957b net: moxa: fix UAF in moxart_mac_probe
88ff9ec9c6 net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
846829e75d net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
b9fa66072f net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
59070cc43d net: bridge: sync fdb to new unicast-filtering ports
7b5a2910e7 net/sched: act_ct: remove and free nf_table callbacks
6d4476236f vmxnet3: fix cksum offload issues for tunnels with non-default udp ports
c3bc9ce7d4 net/sched: act_ct: fix err check for nf_conntrack_confirm
fc40fdefd9 netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
34365de508 net: ipv6: fix return value of ip6_skb_dst_mtu
73146745ff net: dsa: mv88e6xxx: enable devlink ATU hash param for Topaz
a8c7ba3687 net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
14cd8ce80a net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
c657413dcd net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
fcb970edc0 net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
4e275a4aca usb: cdns3: Enable TDL_CHK only for OUT ep
ce6ee46e0f mm/page_alloc: fix memory map initialization for descending nodes
9e1cf2d1ed mm/userfaultfd: fix uffd-wp special cases for fork()
84ff5f66c3 mm/thp: simplify copying of huge zero page pmd when fork
a62177b357 f2fs: Show casefolding support only when supported
277b311ae1 Revert "swap: fix do_swap_page() race with swapoff"
d92aa22f24 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
0e67c76384 firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
e58c162789 cifs: prevent NULL deref in cifs_compose_mount_options()
faa3e7da48 s390: introduce proper type handling call_on_stack() macro
be10fff3a4 s390/traps: do not test MONITOR CALL without CONFIG_BUG
9beba14699 thermal/core/thermal_of: Stop zone device before unregistering it
7412c988fe perf/x86/intel/uncore: Clean up error handling path of iio mapping
892387e761 sched/fair: Fix CFS bandwidth hrtimer expiry type
eb859b043c scsi: qedf: Add check to synchronize abort and flush
a4a54c54af scsi: libfc: Fix array index out of bound exception
0d7596a954 scsi: libsas: Add LUN number check in .slave_alloc callback
2f8df6332e scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
cdb995a6cb rtc: max77686: Do not enforce (incorrect) interrupt trigger type
d3ba15fb04 arch/arm64/boot/dts/marvell: fix NAND partitioning scheme
e378db1189 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
8c12a3a68d thermal/drivers/sprd: Add missing of_node_put for loop iteration
20babcd830 thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
469951ce4b thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
bd40e2da3a thermal/core: Correct function name thermal_zone_device_unregister()
6c099d595f arm64: dts: imx8mq: assign PCIe clocks
24c41aa9d0 arm64: dts: ls208xa: remove bus-num from dspi node
7e3f5739cc firmware: tegra: bpmp: Fix Tegra234-only builds
7c03982fa1 soc/tegra: fuse: Fix Tegra234-only builds
ffa6f08be1 ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
f40a7c9b8e ARM: dts: stm32: fix stpmic node for stm32mp1 boards
2670d3d1ef ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N on DHCOM SoM
26cd441c52 ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
a5bc2a2d83 ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply
e27052f21a ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
6a7af63478 ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
160c92d728 ARM: dts: rockchip: fix supply properties in io-domains nodes
d671fae046 arm64: dts: juno: Update SCPI nodes as per the YAML schema
fc71d8df58 ARM: dts: bcm283x: Fix up GPIO LED node names
4bc03e321f ARM: dts: bcm283x: Fix up MMC node names
15d727c044 firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected
b4009ea92f firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
41e2bcca23 memory: tegra: Fix compilation warnings on 64bit platforms
7ad965c8a7 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
ccec32f771 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
bfbc4b4820 ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
34ec6702a2 ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
44f4e344f4 ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
3534a4b2d0 ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
8da771b552 arm64: dts: qcom: sc7180: Move rmtfs memory region
a74d3bbe05 ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant
e89f4098d5 ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
c8815d6fee arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction
28d2ae9815 ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names
a73a22a69f ARM: dts: am335x: fix ti,no-reset-on-init flag for gpios
ddf2d14894 ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
a09b4c4449 ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
3f09485699 kbuild: sink stdout from cmd for silent build
27582c9fa2 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
6f5891a560 ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value
5190a6604a ARM: dts: ux500: Fix orientation of accelerometer
61fda04276 ARM: dts: ux500: Rename gpio-controller node
985947c535 ARM: dts: ux500: Fix interrupt cells
ff9ef21bb6 arm64: dts: rockchip: fix regulator-gpio states array
31e1b8c07d ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
d05ebeffca ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
249d8e4ea1 ARM: dts: Hurricane 2: Fix NAND nodes names
f6541401db ARM: dts: BCM63xx: Fix NAND nodes names
b5fc6b9ab4 ARM: NSP: dts: fix NAND nodes names
5f844007eb ARM: Cygnus: dts: fix NAND nodes names
9525d58c5a ARM: brcmstb: dts: fix NAND nodes names
4e8eb51ae6 reset: ti-syscon: fix to_ti_syscon_reset_data macro
cabcb576fc arm64: dts: rockchip: Fix power-controller node names for rk3399
81ea23d988 arm64: dts: rockchip: Fix power-controller node names for rk3328
e4f97b740d arm64: dts: rockchip: Fix power-controller node names for px30
95b64be2e7 ARM: dts: rockchip: Fix power-controller node names for rk3288
5881af8d69 ARM: dts: rockchip: Fix power-controller node names for rk3188
70abb82831 ARM: dts: rockchip: Fix power-controller node names for rk3066a
fc01549d7b ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
55014c38e7 ARM: dts: rockchip: Fix the timer clocks order
2e1f681b68 arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
7d3408c723 ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
e2d1e44161 ARM: dts: rockchip: Fix thermal sensor cells o rk322x
c8f0cef75d ARM: dts: gemini: add device_type on pci
191523dcfa ARM: dts: gemini: rename mdio to the right name
90a010f605 Merge branch 'android12-5.10' into `android12-5.10-lts`
c0dd8de281 Merge branch 'android12-5.10' into `android12-5.10-lts`
51ab149d5f Merge 5.10.52 into android12-5.10-lts
2cd5fe24a7 Linux 5.10.52
174c34d9cd seq_file: disallow extremely large seq buffer allocations
b33aa0dbd7 scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
e09c9b5584 MIPS: vdso: Invalid GIC access through VDSO
20f79ce2b1 mips: disable branch profiling in boot/decompress.o
4e2764e96a mips: always link byteswap helpers into decompressor
53c5c2496f static_call: Fix static_call_text_reserved() vs __init
59ae35884c jump_label: Fix jump_label_text_reserved() vs __init
143a6b8ec5 sched/uclamp: Ignore max aggregation if rq is idle
43b89ef7bc scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe()
f71f13034f arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc
b3231050c7 arm64: dts: rockchip: Re-add regulator-boot-on, regulator-always-on for vdd_gpu on rk3399-roc-pc
9436e9001d firmware: turris-mox-rwtm: show message about HWRNG registration
b2a5949a91 firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
ddf380b094 firmware: turris-mox-rwtm: report failures better
271c12dbeb firmware: turris-mox-rwtm: fix reply status decoding function
804aabb509 thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
dae7775232 ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery
936446f15a ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems
f12a456f1c ARM: dts: imx6q-dhcom: Fix ethernet reset time properties
b1995806d0 thermal/drivers/sprd: Add missing MODULE_DEVICE_TABLE
4d9ea28586 ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema
6641724d68 ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema
0724764c08 ARM: dts: dra7: Fix duplicate USB4 target module node
6cd58375c5 arm64: dts: allwinner: a64-sopine-baseboard: change RGMII mode to TXID
b5789e2377 memory: fsl_ifc: fix leak of private memory on probe failure
8d071d270a memory: fsl_ifc: fix leak of IO mapping on probe failure
1479998d80 arm64: dts: ti: k3-j721e-main: Fix external refclk input to SERDES
668ca46870 arm64: dts: renesas: r8a779a0: Drop power-domains property from GIC node
884d09d1f1 reset: bail if try_module_get() fails
8c07e1a8c5 ARM: dts: BCM5301X: Fixup SPI binding
db4e87ab60 dt-bindings: i2c: at91: fix example for scl-gpios
4b4c61049e firmware: arm_scmi: Reset Rx buffer to max size during async commands
c381e695cf firmware: tegra: Fix error return code in tegra210_bpmp_init()
f58a3bc94a arm64: dts: qcom: trogdor: Add no-hpd to DSI bridge node
d99524d13d ARM: dts: stm32: Rework LAN8710Ai PHY reset on DHCOM SoM
91df7f4a04 ARM: dts: stm32: Connect PHY IRQ line on DH STM32MP1 SoM
c4218acd68 arm64: dts: renesas: r8a7796[01]: Fix OPP table entry voltages
305df11389 arm64: dts: renesas: Add missing opp-suspend properties
55fd1d3ca5 arm64: dts: ti: j7200-main: Enable USB2 PHY RX sensitivity workaround
b8d350b4ac ARM: dts: r8a7779, marzen: Fix DU clock names
b02a65061e arm64: dts: renesas: v3msk: Fix memory size
ab4d76eb77 rtc: fix snprintf() checking in is_rtc_hctosys()
e352463654 ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode
3199ff7b9f memory: pl353: Fix error return code in pl353_smc_probe()
fc7a8347ce reset: brcmstb: Add missing MODULE_DEVICE_TABLE
3f526ea670 memory: atmel-ebi: add missing of_node_put for loop iteration
84fa4a1063 memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration
c385d93c3c ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
b7016870fe ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
640105e7c0 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
6870bc4267 ARM: exynos: add missing of_node_put for loop iteration
85dd41383b reset: a10sr: add missing of_match_table reference
685ec4c0f2 reset: RESET_INTEL_GW should depend on X86
2ca912471d reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
f75cec5c20 ARM: dts: gemini-rut1xx: remove duplicate ethernet node
f11508ecc6 hexagon: use common DISCARDS macro
f712169279 hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
4aa17d058a NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
885c0cc2ac NFSv4/pnfs: Fix layoutget behaviour after invalidation
a668a77e6a NFSv4/pnfs: Fix the layout barrier update
6ccccc03f8 vdpa/mlx5: Clear vq ready indication upon device reset
0e5f204ea5 ALSA: isa: Fix error return code in snd_cmi8330_probe()
6612c41233 nfsd: Reduce contention for the nfsd_file nf_rwsem
89047f0089 nvme-tcp: can't set sk_user_data without write_lock
4b3fd33f58 virtio_net: move tx vq operation under tx queue lock
8795692f0d vdpa/mlx5: Fix possible failure in umem size calculation
63272b1ffd vdpa/mlx5: Fix umem sizes assignments on VQ create
e22051e7c9 PCI: tegra194: Fix tegra_pcie_ep_raise_msi_irq() ill-defined shift
527bb29eb1 pwm: imx1: Don't disable clocks at device remove time
12d84de59d PCI: intel-gw: Fix INTx enable
b5859dacd2 x86/fpu: Limit xstate copy size in xstateregs_set()
07b760a791 x86/fpu: Fix copy_xstate_to_kernel() gap handling
aa7fccd383 f2fs: fix to avoid adding tab before doc section
607caa0801 PCI: iproc: Support multi-MSI only on uniprocessor kernel
54dc6fcce3 PCI: iproc: Fix multi-MSI base vector number allocation
ac2e498ab2 ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
4b515308ab nfs: fix acl memory leak of posix_acl_create()
b8eace7d3b SUNRPC: prevent port reuse on transports which don't request it.
5577eece79 watchdog: jz4740: Fix return value check in jz4740_wdt_probe()
3b93d520ac watchdog: aspeed: fix hardware timeout calculation
412ef737be ubifs: journal: Fix error return code in ubifs_jnl_write_inode()
6bcc0590cb ubifs: Fix off-by-one error
aab881d7f0 um: fix error return code in winch_tramp()
9bb3f31b25 um: fix error return code in slip_open()
0bfb6d4949 misc: alcor_pci: fix inverted branch condition
5c7ef8a370 NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT
ff4023d019 NFSv4: Initialise connection to the server in nfs4_alloc_client()
36291fd627 power: supply: rt5033_battery: Fix device tree enumeration
ae56850d36 PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun
6594d0aa1c remoteproc: k3-r5: Fix an error message
d3c150978e f2fs: compress: fix to disallow temp extension
43cefd1264 f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
74569cb9ed x86/signal: Detect and prevent an alternate signal stack overflow
f0e905df68 NFSD: Fix TP_printk() format specifier in nfsd_clid_class
2830dd2faa f2fs: atgc: fix to set default age threshold
f6ec306b93 virtio_console: Assure used length from device is limited
09a94a89d7 virtio_net: Fix error handling in virtnet_restore()
cd24da0db9 virtio-blk: Fix memory leak among suspend/resume procedure
d420b11666 PCI: rockchip: Register IRQ handlers after device and data are ready
424fc30298 ACPI: video: Add quirk for the Dell Vostro 3350
4f2b140658 ACPI: AMBA: Fix resource name in /proc/iomem
9dcc9ad343 pwm: tegra: Don't modify HW state in .remove callback
3d82361abd pwm: img: Fix PM reference leak in img_pwm_enable()
b3205768cd drm/amdkfd: fix sysfs kobj leak
687875fa9c power: supply: ab8500: add missing MODULE_DEVICE_TABLE
e88d524c66 power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
89786fbc4d NFS: nfs_find_open_context() may only select open files
0fedfa72ae drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()
59d912fe9b ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty
3c586f8255 orangefs: fix orangefs df output.
6e43cdcbb7 PCI: tegra: Add missing MODULE_DEVICE_TABLE
2df1abffc4 remoteproc: core: Fix cdev remove and rproc del
f3a56cd3ea x86/fpu: Return proper error codes from user access functions
39ed17de8c watchdog: iTCO_wdt: Account for rebooting on second timeout
9cc9f5de28 watchdog: imx_sc_wdt: fix pretimeout
66ba9cf929 watchdog: Fix possible use-after-free by calling del_timer_sync()
a173e3b62c watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
a397cb4576 watchdog: Fix possible use-after-free in wdt_startup()
96c0bf0912 PCI: pciehp: Ignore Link Down/Up caused by DPC
4970647404 NFSv4: Fix delegation return in cases where we have to retry
b05c555c8d PCI/P2PDMA: Avoid pci_get_slot(), which may sleep
8e3f27bb7f ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
9d829ca43b power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
efc6443c1a power: supply: max17042: Do not enforce (incorrect) interrupt trigger type
7667cdc4b7 PCI: hv: Fix a race condition when removing the device
14016c1728 power: supply: ab8500: Avoid NULL pointers
0df49cdc7c PCI: ftpci100: Rename macro name collision
e133435232 pwm: spear: Don't modify HW state in .remove callback
15a19c5a92 power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE
d7897890ba power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE
6ed9f9899b kcov: add __no_sanitize_coverage to fix noinstr for all architectures
ff53dfb323 lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
b85b43c3e4 phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
a9d986be49 i2c: core: Disable client irq on reboot/shutdown
9c6c657047 intel_th: Wait until port is in reset before programming it
45f1de1fff staging: rtl8723bs: fix macro value for 2.4Ghz only device
1f577093c8 leds: turris-omnia: add missing MODULE_DEVICE_TABLE
ff8f11860e ALSA: firewire-motu: fix detection for S/PDIF source on optical interface in v2 protocol
9ada4baae6 ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions
fb7c8bfa2e ALSA: hda: Add IRQ check for platform_get_irq()
63c49cfa2f backlight: lm3630a: Fix return code of .update_status() callback
719c45a41c ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters
692e16958f powerpc/boot: Fixup device-tree on little endian
b41cb0e4af usb: gadget: hid: fix error return code in hid_bind()
309b44d316 usb: gadget: f_hid: fix endianness issue with descriptors
16668cc656 ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values
3005d48b40 ALSA: usb-audio: scarlett2: Fix data_mutex lock
8f075c61ea ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count
3b7bd795cb ALSA: bebob: add support for ToneWeal FW66
90cd79aa9a Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
a50b56ffc0 s390/mem_detect: fix tprot() program check new psw handling
7e1e0235b3 s390/mem_detect: fix diag260() program check new psw handling
c25be19aa9 s390/ipl_parm: fix program check new psw handling
3794633dfd s390/processor: always inline stap() and __load_psw_mask()
f22649cf90 habanalabs: remove node from list before freeing the node
25ddb0a42f habanalabs/gaudi: set the correct cpu_id on MME2_QM failure
3dd2a9daa7 ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing()
8e18158ea7 powerpc/mm/book3s64: Fix possible build error
ed0b4b56a9 gpio: pca953x: Add support for the On Semi pca9655
b7f4423c7d selftests/powerpc: Fix "no_handler" EBB selftest
c7f2112e7a ALSA: ppc: fix error return code in snd_pmac_probe()
1004c52e3c scsi: storvsc: Correctly handle multiple flags in srb_status
b3d3a2466e gpio: zynq: Check return value of irq_get_irq_data
3d2b0818da gpio: zynq: Check return value of pm_runtime_get_sync
71f8d7fbfe ASoC: soc-pcm: fix the return value in dpcm_apply_symmetry()
43d1aaa196 iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
c4007596fb iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails
f8763ab3fb powerpc/ps3: Add dma_mask to ps3_dma_region
0e54f8ee6b ALSA: sb: Fix potential double-free of CSP mixer elements
52d242f2bf selftests: timers: rtcpie: skip test if default RTC device does not exist
7b18f26d82 s390: disable SSP when needed
78cddc9aa6 s390/sclp_vt220: fix console name to match device
2f4e7363a9 serial: tty: uartlite: fix console setup
dc9db46292 fsi: Add missing MODULE_DEVICE_TABLE
0c67c2e203 ASoC: img: Fix PM reference leak in img_i2s_in_probe()
af8b891cd3 mfd: cpcap: Fix cpcap dmamask not set warnings
d339f6a0d1 mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
5dd2955565 scsi: qedi: Fix cleanup session block/unblock use
6f36afa155 scsi: qedi: Fix TMF session block/unblock use
57fa983ea7 scsi: qedi: Fix race during abort timeouts
afa1c8ee7e scsi: qedi: Fix null ref during abort handling
fa7adae4b5 scsi: iscsi: Fix shost->max_id use
89812e7957 scsi: iscsi: Fix conn use after free during resets
21962a5dd6 scsi: iscsi: Add iscsi_cls_conn refcount helpers
5ac2428f2b scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs
422fb12054 scsi: megaraid_sas: Early detection of VD deletion through RaidMap update
0680db6f41 scsi: megaraid_sas: Fix resource leak in case of probe failure
c851de0215 fs/jfs: Fix missing error code in lmLogInit()
7207cd708e scsi: scsi_dh_alua: Check for negative result value
6bad74b2b4 scsi: core: Fixup calling convention for scsi_mode_sense()
b4fd2ab0a9 scsi: mpt3sas: Fix deadlock while cancelling the running firmware event
7a80f71601 tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
75452cc776 ALSA: ac97: fix PM reference leak in ac97_bus_remove()
664695a754 scsi: core: Cap scsi_host cmd_per_lun at can_queue
21d8b90cec scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
2626d5ed6b scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
bb1d1c2149 scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw()
0245504090 scsi: arcmsr: Fix doorbell status being updated late on ARC-1886
20c62caf2e w1: ds2438: fixing bug that would always get page0
8e8d910e9a usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
b30a115e4a Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro"
7d7f30cf18 ALSA: usx2y: Don't call free_pages_exact() with NULL address
f4997bf6c4 ALSA: usx2y: Avoid camelCase
1b1d6aa1a8 iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get()
5ecb0acc45 iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get().
5f69841c22 partitions: msdos: fix one-byte get_unaligned()
a8c3d1a515 ASoC: intel/boards: add missing MODULE_DEVICE_TABLE
58f69684ba misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
b9c87ce3bc misc/libmasm/module: Fix two use after free in ibmasm_init_one
4f3c807739 serial: fsl_lpuart: disable DMA for console and fix sysrq
6942fbc009 tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero
35a35909ec rcu: Reject RCU_LOCKDEP_WARN() false positives
23597afbe0 srcu: Fix broken node geometry after early ssp init
4d395142d9 scsi: arcmsr: Fix the wrong CDB payload report to IOP
22d22fef9c dmaengine: fsl-qdma: check dma_set_mask return value
3206433070 ASoC: Intel: sof_sdw: add mutual exclusion between PCH DMIC and RT715
164a3880a7 leds: tlc591xx: fix return value check in tlc591xx_probe()
9ebcc60565 net: bridge: multicast: fix MRD advertisement router port marking race
664cc645bd net: bridge: multicast: fix PIM hello router port marking race
b3aea76efe Revert "drm/ast: Remove reference to struct drm_device.pdev"
b3f8120039 drm/ingenic: Switch IPU plane to type OVERLAY
8f6dcc4dd7 drm/ingenic: Fix non-OSD mode
cae871baa4 drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()
16fb4e9c39 drm/dp_mst: Avoid to mess up payload table by ports in stale topology
3462bc8b1a drm/dp_mst: Do not set proposed vcpi directly
087bff9acd fbmem: Do not delete the mode that is still in use
811763e3be cgroup: verify that source is a string
0728df8048 drm/i915/gt: Fix -EDEADLK handling regression
81dd2d60f6 drm/i915/gtt: drop the page table optimisation
905169794d tracing: Do not reference char * as a string in histograms
e1261c7a84 scsi: zfcp: Report port fc_security as unknown early during remote cable pull
ea518b70ed scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
8b2ae2de53 KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run()
bedc5d0911 KVM: nSVM: Check the value written to MSR_VM_HSAVE_PA
5b779e597c KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs
1a1a5e4409 KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled
679837dc0a KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
72797ffca1 cifs: handle reconnect of tcon when there is no cached dfs referral
b93f949942 certs: add 'x509_revocation_list' to gitignore
ff7ea0d0e9 Revert "media: subdev: disallow ioctl for saa6588/davinci"
8db62be3c3 Merge 5.10.51 into android12-5.10-lts
f682613465 Linux 5.10.51
8678660301 f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
5e4f5138bd ext4: fix memory leak in ext4_fill_super
3780348c1a smackfs: restrict bytes count in smk_set_cipso()
8018936950 jfs: fix GPF in diFree
fcb041ca5c drm/ast: Remove reference to struct drm_device.pdev
3785f3c1e3 pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
b716ccffbc dm writecache: write at least 4k when committing
090588059c io_uring: fix clear IORING_SETUP_R_DISABLED in wrong function
aa57b2d6b3 media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
31874b6b63 media: gspca/sunplus: fix zero-length control requests
de95c0bd79 media: gspca/sq905: fix control-request direction
c57bfd8000 media: zr364xx: fix memory leak in zr364xx_start_readpipe
dbd58d3978 media: dtv5100: fix control-request directions
db317a3722 media: subdev: disallow ioctl for saa6588/davinci
e2c1218ddc PCI: aardvark: Implement workaround for the readback value of VEND_ID
1309197089 PCI: aardvark: Fix checking for PIO Non-posted Request
f147115018 PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
ba47e65a5d dm btree remove: assign new_root only when removal succeeds
1b5918b087 dm writecache: flush origin device when writing and cache is full
cbc03ffec2 dm zoned: check zone capacity
35c1c4bd2d coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
048624ad56 coresight: Propagate symlink failure
0c2bc14891 ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
eb81b5a37d tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
3cda5b7f4e tracing: Simplify & fix saved_tgids logic
8cc58a6e2c rq-qos: fix missed wake-ups in rq_qos_throttle try two
f9fb4986f4 seq_buf: Fix overflow in seq_buf_putmem_hex()
418b333afb extcon: intel-mrfld: Sync hardware and software state on init
af092ec16e selftests/lkdtm: Fix expected text for CR4 pinning
0af643fa7e lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
baedb1f5a0 nvmem: core: add a missing of_node_put
f0a079c0ba mfd: syscon: Free the allocated name field of struct regmap_config
a8a2e506ea power: supply: ab8500: Fix an old bug
38dde03eb2 ubifs: Fix races between xattr_{set|get} and listxattr operations
690a11fb4e thermal/drivers/int340x/processor_thermal: Fix tcc setting
ef5066f95c ipmi/watchdog: Stop watchdog timer when the current action is 'none'
7ade84f8df qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
02671eda9a i40e: fix PTP on 5Gb links
ab9d7c5fc9 ASoC: tegra: Set driver_name=tegra for all machine drivers
e0d9beb44a fpga: stratix10-soc: Add missing fpga_mgr_free() call
5a5ebf5d48 clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
b5e26be407 cpu/hotplug: Cure the cpusets trainwreck
a11a457820 arm64: tlb: fix the TTL value of tlb_get_level
0afa6ad0c4 ata: ahci_sunxi: Disable DIPM
5543f61e2e mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
b53b0ca4a4 mmc: core: clear flags before allowing to retune
658f58189a mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
5ced01c0e8 mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B
3f9c2a058e drm/i915/display: Do not zero past infoframes.vsc
8abf5eec0e drm/nouveau: Don't set allow_fb_modifiers explicitly
42a333ea4b drm/arm/malidp: Always list modifiers
0bcc074f90 drm/msm/mdp4: Fix modifier support enabling
4d61ddd740 drm/tegra: Don't set allow_fb_modifiers explicitly
c601693617 drm/amd/display: Reject non-zero src_y and src_x for video planes
7d30538894 pinctrl/amd: Add device HID for new AMD GPIO controller
b13574fa83 drm/amd/display: fix incorrrect valid irq check
3c8216b350 drm/rockchip: dsi: remove extra component_del() call
2998599fb1 drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info()
98bd09d928 drm/vc4: hdmi: Prevent clock unbalance
a2b8835cb4 drm/vc4: crtc: Skip the TXP
293e520d20 drm/vc4: txp: Properly set the possible_crtcs mask
0d50d93d05 drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64
7aa28f2f67 drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
2674ffcad0 drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2)
8f933b27cb drm/amdgpu: Update NV SIMD-per-CU to 2
97ebbfe445 powerpc/powernv/vas: Release reference to tgid during window close
a024e88f8a powerpc/barrier: Avoid collision with clang's __lwsync macro
d2e52d4664 powerpc/mm: Fix lockup on kernel exec fault
4ad382bc4a scsi: iscsi: Fix iSCSI cls conn state
221b7e1e76 scsi: iscsi: Fix race condition between login and sync thread
9073188835 io_uring: convert io_buffer_idr to XArray
c5a50a220a io_uring: Convert personality_idr to XArray
cb2985feb1 io_uring: simplify io_remove_personalities()
7d4f961588 mm,hwpoison: return -EBUSY when migration fails
fd6625a1ec loop: fix I/O error on fsync() in detached loop devices
88f0bc830c arm64: dts: rockchip: Enable USB3 for rk3328 Rock64
421aff50af arm64: dts: rockchip: add rk3328 dwc3 usb controller node
8eb12fa96b ath11k: unlock on error path in ath11k_mac_op_add_interface()
9706c53433 MIPS: MT extensions are not available on MIPS32r1
6cf2e905b1 selftests/resctrl: Fix incorrect parsing of option "-t"
10f8fca676 MIPS: set mips32r5 for virt extensions
ff4762bcb9 MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
6ef81a5c0e sctp: add size validation when walking chunks
d4dbef7046 sctp: validate from_addr_param return
e83f312114 flow_offload: action should not be NULL when it is referenced
a61af01141 bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc()
20285dc271 sched/fair: Ensure _sum and _avg values stay consistent
e2296a4365 Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
8d7a3989c1 Bluetooth: mgmt: Fix the command returns garbage parameter value
05298f1733 Bluetooth: btusb: Add support USB ALT 3 for WBS
cc49ab24ec Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
79a3130864 Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure fails
c4a9967e4d Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500)
60789afc02 Bluetooth: Shutdown controller after workqueues are flushed or cancelled
5147d86c4a Bluetooth: Fix alt settings for incoming SCO with transparent coding format
8f939b4c25 Bluetooth: Fix the HCI to MGMT status conversion table
5f5f8022c1 Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
3d08b59179 RDMA/cma: Fix rdma_resolve_route() memory leak
a8585fdf42 net: ip: avoid OOM kills with large UDP sends over loopback
04177aa99a media, bpf: Do not copy more entries than user space requested
d8bb134d80 IB/isert: Align target max I/O size to initiator size
d330f5f8df mac80211_hwsim: add concurrent channels scanning support over virtio
97f0677226 mac80211: consider per-CPU statistics if present
1b728869a1 cfg80211: fix default HE tx bitrate mask in 2G band
0a7ba5d373 wireless: wext-spy: Fix out-of-bounds warning
c1ad55b6a1 sfc: error code if SRIOV cannot be disabled
1013dc896d sfc: avoid double pci_remove of VFs
7cd6986f2d iwlwifi: pcie: fix context info freeing
b98ec6d8b3 iwlwifi: pcie: free IML DMA memory allocation
78eadadff3 iwlwifi: mvm: fix error print when session protection ends
1e1bb1efd6 iwlwifi: mvm: don't change band on bound PHY contexts
1df3603039 RDMA/rxe: Don't overwrite errno from ib_umem_get()
ee33c042f4 vsock: notify server to shutdown when client has pending signal
38bc2ebf34 atm: nicstar: register the interrupt handler in the right place
90efb7f100 atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
1d304c7ddd net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
c7a31ae63e MIPS: add PMD table accounting into MIPS'pmd_alloc_one
50ce920fe1 rtl8xxxu: Fix device info for RTL8192EU devices
a10e871b73 mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
4cd713e48c drm/amdkfd: Walk through list with dqm lock hold
a2122e0792 drm/amdgpu: fix bad address translation for sienna_cichlid
932be4cf2b io_uring: fix false WARN_ONCE
92a9fb51e5 net: sched: fix error return code in tcf_del_walker()
d2801d1118 net: ipa: Add missing of_node_put() in ipa_firmware_load()
5cc0cf735f net: fix mistake path for netdev_features_strings
891db094a0 mt76: mt7615: fix fixed-rate tx status reporting
090b06b25a ice: mark PTYPE 2 as reserved
b88a907830 ice: fix incorrect payload indicator on PTYPE
2e66c36f13 bpf: Fix up register-based shifts in interpreter to silence KUBSAN
0e72b151e3 drm/amdkfd: Fix circular lock in nocpsch path
cd29db48bb drm/amdkfd: fix circular locking on get_wave_state
9d21abc8fd cw1200: add missing MODULE_DEVICE_TABLE
c5e4a10d7b wl1251: Fix possible buffer overflow in wl1251_cmd_scan
5a3d373c4a wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
ad7083a95d dm writecache: commit just one block, not a full page
57f7ed25bd xfrm: Fix error reporting in xfrm_state_construct.
a5f8862967 drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
db3c3643d5 r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
f38371821c selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
0a244be95b fjes: check return value after calling platform_get_resource()
378c156f9d drm/amdkfd: use allowed domain for vmbo validation
fb3b4bcdd3 net: sgi: ioc3-eth: check return value after calling platform_get_resource()
e613f67f1b selftests: Clean forgotten resources as part of cleanup()
8a4318c14a net: phy: realtek: add delay to fix RXC generation issue
c71de31b2e drm/amd/display: Fix off-by-one error in DML
afa06442d2 drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
02f444321b drm/amd/display: Release MST resources on switch from MST to SST
01d6a69319 drm/amd/display: Update scaling settings on modeset
57c63b47d6 drm/amd/display: Fix DCN 3.01 DSCCLK validation
8e4da40142 net: moxa: Use devm_platform_get_and_ioremap_resource()
278dc34b71 net: micrel: check return value after calling platform_get_resource()
ce1307ec62 net: mvpp2: check return value after calling platform_get_resource()
49b3a7f38a net: bcmgenet: check return value after calling platform_get_resource()
92820a1282 net: mscc: ocelot: check return value after calling platform_get_resource()
f3b96f4b6b virtio_net: Remove BUG() to avoid machine dead
87c39048ec ice: fix clang warning regarding deadcode.DeadStores
e352556ace ice: set the value of global config lock timeout longer
b5f2982e06 pinctrl: mcp23s08: fix race condition in irq handler
a4a86400c6 net: bridge: mrp: Update ring transitions.
cc4f0a9d5a dm: Fix dm_accept_partial_bio() relative to zone management commands
939f750215 dm writecache: don't split bios when overwriting contiguous cache content
65e780667c dm space maps: don't reset space map allocation cursor when committing
313d9f2580 RDMA/cxgb4: Fix missing error code in create_qp()
f9c67c179e net: tcp better handling of reordering then loss cases
8fa6473a61 drm/amdgpu: remove unsafe optimization to drop preamble ib
c5b518f4b9 drm/amd/display: Avoid HDCP over-read and corruption
3c172f6e44 MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
0903ac8f09 MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
8f939b7957 ipv6: use prandom_u32() for ID generation
c92298d228 virtio-net: Add validation for used length
5e039a80a7 drm: bridge: cdns-mhdp8546: Fix PM reference leak in
d1eaf4cb44 clk: tegra: Ensure that PLLU configuration is applied properly
dc5bacea94 clk: tegra: Fix refcounting of gate clocks
315988817a RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
4f6a0f31c6 net: stmmac: the XPCS obscures a potential "PHY not found" error
a7d608bb78 drm: rockchip: add missing registers for RK3066
d89ea206e9 drm: rockchip: add missing registers for RK3188
e54b4a5348 net/mlx5: Fix lag port remapping logic
62137d1ae5 net/mlx5e: IPsec/rep_tc: Fix rep_tc_update_skb drops IPsec packet
219150485d clk: renesas: r8a77995: Add ZA2 clock
0680344d71 drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
95f8ce9f18 igb: fix assignment on big endian machines
66d593aa3a igb: handle vlan types with checker enabled
ffb865715a e100: handle eeprom as little endian
f06ea024c1 drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co()
48c96d5bac drm/vc4: Fix clock source for VEC PixelValve on BCM2711
21bf141458 udf: Fix NULL pointer dereference in udf_symlink function
0687411e2a drm/sched: Avoid data corruptions
5ed8c298b2 drm/scheduler: Fix hang when sched_entity released
73ac001f06 pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
1b832bd777 net/sched: cls_api: increase max_reclassify_loop
6ceb0182b0 net: mdio: provide shim implementation of devm_of_mdiobus_register
d2d17ca924 drm/virtio: Fix double free on probe failure
69a71b59b1 reiserfs: add check for invalid 1st journal block
c5073100dc drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE
b5713dac19 net: mdio: ipq8064: add regmap config to disable REGCACHE
c0dd36bcb6 drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
3393405257 net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
a7f7c42e31 atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
b7ee9ae1e0 mISDN: fix possible use-after-free in HFC_cleanup()
e759ff76eb atm: iphase: fix possible use-after-free in ia_module_exit()
2292d9691c hugetlb: clear huge pte during flush function on mips platform
a74872106e clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()
3ca86d44b9 drm/amd/display: fix use_max_lb flag for 420 pixel formats
5953b984c3 net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
fb960728f8 drm/bridge: nwl-dsi: Force a full modeset when crtc_state->active is changed to be true
796554d3d6 drm/vc4: fix argument ordering in vc4_crtc_get_margins()
b025bc07c9 drm/amd/amdgpu/sriov disable all ip hw status by default
fb7479d64d drm/amd/display: fix HDCP reset sequence on reinitialize
d055669e66 drm/ast: Fixed CVE for DP501
95c3133bc8 drm/zte: Don't select DRM_KMS_FB_HELPER
b60ae0fab5 drm/mxsfb: Don't select DRM_KMS_FB_HELPER
1328352dcd Merge branch 'android12-5.10' into `android12-5.10-lts`
a3cd27f5c4 ANDROID: GKI: fix up crc change in ip.h
11b396dfd9 Revert "Add a reference to ucounts for each cred"
049c7d395d Revert "cred: add missing return error code when set_cred_ucounts() failed"
cf08d2746d Revert "Bluetooth: Fix Set Extended (Scan Response) Data"
2df0fb4a4b Merge 5.10.50 into android12-5.10-lts
43b0742ef4 Linux 5.10.50
bdf4d33e83 powerpc/preempt: Don't touch the idle task's preempt_count during hotplug
9b07d817f7 iommu/dma: Fix compile warning in 32-bit builds
0855952ed4 cred: add missing return error code when set_cred_ucounts() failed
ce04375e2d s390: preempt: Fix preempt_count initialization
e4a577d617 crypto: qce - fix error return code in qce_skcipher_async_req_handle()
fb0c0a04e4 scsi: core: Retry I/O for Notify (Enable Spinup) Required error
2b541b6c74 media: exynos4-is: remove a now unused integer
2b58f5154a mmc: vub3000: fix control-request direction
39ac3e1945 mmc: block: Disable CMDQ on the ioctl path
a75457f630 io_uring: fix blocking inline submission
c98d9318dc block: return the correct bvec when checking for gaps
51c19f4a62 erofs: fix error return code in erofs_read_superblock()
97cbddc8a2 tpm: Replace WARN_ONCE() with dev_err_once() in tpm_tis_status()
b5a2b5b642 fscrypt: fix derivation of SipHash keys on big endian CPUs
089057af71 fscrypt: don't ignore minor_hash when hash is 0
b9c3b48559 mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
2a7c96c2e2 scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
e2e615e631 scsi: fc: Correct RHBA attributes length
5c6956e664 exfat: handle wrong stream entry size in exfat_readdir()
b6a41435c8 csky: syscache: Fixup duplicate cache flush
3483e1a41c csky: fix syscache.c fallthrough warning
8ff266de89 perf llvm: Return -ENOMEM when asprintf() fails
58fa4b36ab selftests/vm/pkeys: refill shadow register after implicit kernel write
1dd18fda3e selftests/vm/pkeys: handle negative sys_pkey_alloc() return code
92125cb883 selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
456554040e lib/math/rational.c: fix divide by zero
787f4e7a7d mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page
0fe11b79c2 mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
555dffa484 include/linux/huge_mm.h: remove extern keyword
ebd6a295b5 hugetlb: remove prep_compound_huge_page cleanup
2e16ad5611 mm/hugetlb: remove redundant check in preparing and destroying gigantic page
0da83a815d mm/hugetlb: use helper huge_page_order and pages_per_huge_page
31be4ea35c mm/huge_memory.c: don't discard hugepage if other processes are mapping it
b65597377b mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_enabled()
aa41f7a2a6 mm/huge_memory.c: remove dedicated macro HPAGE_CACHE_INDEX_MASK
9b0b9edea1 mm/pmem: avoid inserting hugepage PTE entry with fsdax if hugepage support is disabled
0885ea1d47 vfio/pci: Handle concurrent vma faults
363d85bfae arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
347af865b6 serial: mvebu-uart: correctly calculate minimal possible baudrate
9ad82f0412 serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
dd6d4e92e7 ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found
53fa3ba808 powerpc/papr_scm: Make 'perf_stats' invisible if perf-stats unavailable
04db493fc7 powerpc/64s: Fix copy-paste data exposure into newly created tasks
ac08ba518c powerpc/papr_scm: Properly handle UUID types and API
d3358c66ee powerpc: Offline CPU in stop_this_cpu()
9443acbd25 serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
e0e3e0b7da serial: 8250: 8250_omap: Disable RX interrupt after DMA enable
786461739a selftests/ftrace: fix event-no-pid on 1-core machine
57e49a0bc4 leds: ktd2692: Fix an error handling path
53cb671592 leds: as3645a: Fix error return code in as3645a_parse_node()
f3bf888507 ASoC: fsl_spdif: Fix unexpected interrupt after suspend
2938ffd568 ASoC: Intel: sof_sdw: add SOF_RT715_DAI_ID_FIX for AlderLake
5f2dfce8d8 configfs: fix memleak in configfs_release_bin_file
e30e636447 ASoC: atmel-i2s: Fix usage of capture and playback at the same time
af497961ab powerpc/powernv: Fix machine check reporting of async store errors
f8d223f80a extcon: max8997: Add missing modalias string
e16fcc8374 extcon: sm5502: Drop invalid register write in sm5502_reg_data
25c7efb387 phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
6398fc0e57 phy: uniphier-pcie: Fix updating phy parameters
a4b7c0af61 soundwire: stream: Fix test for DP prepare complete
b0be06493e scsi: mpt3sas: Fix error return value in _scsih_expander_add()
f51088868b habanalabs: Fix an error handling path in 'hl_pci_probe()'
c183b55ed7 mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
f929d21af7 of: Fix truncation of memory sizes on 32-bit platforms
db45ea8767 ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
55bb225c08 iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
4973967504 iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
c850b52e47 serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
5db39ad3fa staging: mt7621-dts: fix pci address for PCI memory range
c5cd4b74fd coresight: core: Fix use of uninitialized pointer
58c0621c44 staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
bf5d6f6979 staging: rtl8712: fix error handling in r871xu_drv_init
7bc3fa5db4 staging: gdm724x: check for overflow in gdm_lte_netif_rx()
f937370610 staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
14106b90e1 ASoC: fsl_spdif: Fix error handler with pm_runtime_enable
9cf11dca57 iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
8c85c0f8cb iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
c923e9effe iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
15634d6dce iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
a6a1e347c7 iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
2abfdd6132 iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
2abfa52947 thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()
36f60700f9 eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
fc8ab06001 eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
c7188d1998 usb: dwc2: Don't reset the core after setting turnaround time
8aa1cb46b7 usb: gadget: f_fs: Fix setting of device and driver data cross-references
d4d3cd4c76 ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
92a30a90d6 ASoC: rt5682-sdw: set regcache_cache_only false before reading RT5682_DEVICE_ID
696cfb2567 ASoC: rt5682: fix getting the wrong device id when the suspend_stress_test
8ef111db5e ASoC: rt715-sdw: use first_hw_init flag on resume
36dc6957f7 ASoC: rt711-sdw: use first_hw_init flag on resume
de77f9d92c ASoC: rt700-sdw: use first_hw_init flag on resume
e1456cba8e ASoC: rt5682-sdw: use first_hw_init flag on resume
16674ae3b2 ASoC: rt1308-sdw: use first_hw_init flag on resume
dc15216412 ASoC: max98373-sdw: use first_hw_init flag on resume
45a3d00eaf iommu/dma: Fix IOVA reserve dma ranges
ad73683815 selftests: splice: Adjust for handler fallback removal
045c29902f s390: appldata depends on PROC_SYSCTL
485b1c02b5 s390: enable HAVE_IOREMAP_PROT
d65f69deac s390/irq: select HAVE_IRQ_EXIT_ON_IRQ_STACK
d8fe62cb91 iommu/amd: Fix extended features logging
bd95a3e159 visorbus: fix error return code in visorchipset_init()
e5a3a3108f fsi/sbefifo: Fix reset timeout
4a95eb0c80 fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
719c4db394 fsi: occ: Don't accept response from un-initialized OCC
af3d7f9e26 fsi: scom: Reset the FSI2PIB engine for any error
446eed9c85 fsi: core: Fix return of error values on failures
d22bef4101 mfd: rn5t618: Fix IRQ trigger by changing it to level mode
9b8bfdbc7e mfd: mp2629: Select MFD_CORE to fix build error
68f2f83f6f scsi: iscsi: Flush block work before unblock
b5371faa06 scsi: FlashPoint: Rename si_flags field
0b2f741113 leds: lp50xx: Put fwnode in error case during ->probe()
5f7bda9ba8 leds: lm3697: Don't spam logs when probe is deferred
8fc7d4a3f0 leds: lm3692x: Put fwnode in any case during ->probe()
c54ad49e2f leds: lm36274: Put fwnode in error case during ->probe()
1ed9133171 leds: lm3532: select regmap I2C API
b504e279e5 leds: class: The -ENOTSUPP should never be seen by user space
58279b341b tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
28c947b072 firmware: stratix10-svc: Fix a resource leak in an error handling path
1e1b9cd400 char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
5a766253e3 staging: mmal-vchiq: Fix incorrect static vchiq_instance.
cf05986cc4 mtd: rawnand: arasan: Ensure proper configuration for the asserted target
2f8824f556 mtd: partitions: redboot: seek fis-index-block in the right node
a16eae11f0 perf scripting python: Fix tuple_set_u64()
201b975c16 Input: hil_kbd - fix error return code in hil_dev_connect()
000c70680d ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
2e1d76c3b9 backlight: lm3630a_bl: Put fwnode in error case during ->probe()
d4ebf352a7 ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
2541d78f78 ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
246b4f1e20 iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
71dbba0b95 iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
1fa3107759 iio: chemical: atlas: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
93a5538d50 iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
daecb8c0a1 iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
293b8246a0 iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
f960139a3c iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
e5e102f4b5 iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
4613232e0b iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
ab16be53b2 iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
8e23dd6236 iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
c61ac1f83b iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
8ea878287c iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
718a67a909 iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
df5343bd59 iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
f0bc78df4a iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
cd62282a51 iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
638ba5aa15 iio: accel: mxc4005: Fix overread of data and alignment issue.
0d220d40b3 iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
9eb5fb66b6 iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
4b362443dc iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
3cca4db5f7 iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
2edfba8a55 iio: adis16475: do not return ints in irq handlers
92efd6396e iio: adis16400: do not return ints in irq handlers
2e41116e6e iio: adis_buffer: do not return ints in irq handlers
67d88b7bf6 mwifiex: re-fix for unaligned accesses
460bee9009 tty: nozomi: Fix a resource leak in an error handling function
f5186bd17f serial: 8250_omap: fix a timeout loop condition
5dcff72fe4 serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()
685d53abc9 serial: fsl_lpuart: don't modify arbitrary data on lpuart32
728f23e53c rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
66111dfe22 ASoC: rt5682: Disable irq on shutdown
8b195380cd staging: fbtft: Don't spam logs when probe is deferred
7a42f3c30d staging: fbtft: Rectify GPIO handling
d8c1504cf1 MIPS: Fix PKMAP with 32-bit MIPS huge page support
a23ba98e91 RDMA/core: Always release restrack object
a938d4e8c6 RDMA/mlx5: Don't access NULL-cleared mpi pointer
c6965316d6 net: tipc: fix FB_MTU eat two pages
1148952dc6 net: sched: fix warning in tcindex_alloc_perfect_hash
4476568069 net: lwtunnel: handle MTU calculation in forwading
6939c39a41 writeback: fix obtain a reference to a freeing memcg css
4c3e839bfd clk: si5341: Update initialization magic
55aaba36d7 clk: si5341: Check for input clock presence and PLL lock on startup
42ac32d834 clk: si5341: Avoid divide errors due to bogus register contents
043637617d clk: si5341: Wait for DEVICE_READY on startup
29746bd0f7 clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
94221679ee clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
f3b6df5dfd clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
ced193bc08 clk: actions: Fix SD clocks factor table on Owl S500 SoC
12d2d6fd11 clk: actions: Fix UART clock dividers on Owl S500 SoC
7d97522e6e Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
4f5fc3be2c Bluetooth: Fix Set Extended (Scan Response) Data
c5fedfcc20 Bluetooth: Fix not sending Set Extended Scan Response
a2dcad039e Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
d28e780431 Revert "be2net: disable bh with spin_lock in be_process_mcc"
342b06b600 gve: Fix swapped vars when fetching max queues
11044f8c2c RDMA/cma: Fix incorrect Packet Lifetime calculation
fc2ea819b9 bpfilter: Specify the log level for the kmsg message
4228c00e14 net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs()
393d48b3de e1000e: Check the PCIm state
cebff3d9f7 ipv6: fix out-of-bound access in ip6_parse_tlv()
9e753c47b9 net: atlantic: fix the macsec key length
1c95d4d432 net: phy: mscc: fix macsec key length
711a28d24d net: macsec: fix the length used to copy the key for offloading
c764f2d899 RDMA/cma: Protect RMW with qp_mutex
d52ceed845 ibmvnic: free tx_pool if tso_pool alloc fails
f25accc4fd ibmvnic: set ltb->buff to NULL after freeing
3f85d2ca32 Revert "ibmvnic: remove duplicate napi_schedule call in open function"
cad22e48ca i40e: Fix missing rtnl locking when setting up pf switch
d9a5d19706 i40e: Fix autoneg disabling for non-10GBaseT links
88819239e9 i40e: Fix error handling in i40e_vsi_open
aefa927744 bpf: Do not change gso_size during bpf_skb_change_proto()
0dac8b0ad0 can: j1939: j1939_sk_setsockopt(): prevent allocation of j1939 filter for optlen == 0
2d58a38275 ipv6: exthdrs: do not blindly use init_net
b559d003f0 net: bcmgenet: Fix attaching to PYH failed on RPi 4B
514c96bf65 mac80211: remove iwlwifi specific workaround NDPs of null_response
1b3985aa53 drm/msm/dpu: Fix error return code in dpu_mdss_init()
134a561aee drm/msm: Fix error return code in msm_drm_init()
f97b9c4c07 bpf: Fix null ptr deref with mixed tail calls and subprogs
56c31bc9aa ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
71a345ede5 ieee802154: hwsim: Fix memory leak in hwsim_add_one
4b44486b8b tc-testing: fix list handling
997285646a net: ti: am65-cpsw-nuss: Fix crash when changing number of TX queues
6610d5a73b net/ipv4: swap flow ports when validating source
c3fcfc4e36 ip6_tunnel: fix GRE6 segmentation
162e75687e vxlan: add missing rcu_read_lock() in neigh_reduce()
6cd23b5f40 rtw88: 8822c: fix lc calibration timing
db2386fa43 iwlwifi: increase PNVM load timeout
78e6587585 xfrm: Fix xfrm offload fallback fail case
5c8e5fecea pkt_sched: sch_qfq: fix qfq_change_class() error path
b2ce4ebdd9 netfilter: nf_tables_offload: check FLOW_DISSECTOR_KEY_BASIC in VLAN transfer logic
581e37ad5c tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
e7c3ae4797 net: sched: add barrier to ensure correct ordering for lockless qdisc
ca9b5ab791 vrf: do not push non-ND strict packets with a source LLA through packet taps again
e72d9e4b98 net: ethernet: ezchip: fix error handling
161f8b73da net: ethernet: ezchip: fix UAF in nps_enet_remove
f026d82211 net: ethernet: aeroflex: fix UAF in greth_of_remove
6a8c7c5c07 mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb()
6987ee9bf0 mt76: fix possible NULL pointer dereference in mt76_tx
e717f974ce samples/bpf: Fix the error return code of xdp_redirect's main()
79bf8f04ce samples/bpf: Fix Segmentation fault for xdp_redirect command
fcd8d6371a RDMA/rtrs-srv: Set minimal max_send_wr and max_recv_wr
a9355b201d bpf: Fix libelf endian handling in resolv_btfids
607706027c xsk: Fix broken Tx ring validation
cd7877a39f xsk: Fix missing validation for skb and unaligned mode
89621945b6 selftests/bpf: Whitelist test_progs.h from .gitignore
49c25a1a8d RDMA/rxe: Fix qp reference counting for atomic ops
58da10487a netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
ed3d498834 netfilter: nft_osf: check for TCP packet before further processing
cf28cb51f0 netfilter: nft_exthdr: check for IPv6 packet before further processing
8f6714f3c1 RDMA/mlx5: Don't add slave port to unaffiliated list
a158ee32d4 netlabel: Fix memory leak in netlbl_mgmt_add_common
28e8df0c65 ath11k: send beacon template after vdev_start/restart during csa
48b69f31de ath10k: Fix an error code in ath10k_add_interface()
e0727a61b0 ath11k: Fix an error handling path in ath11k_core_fetch_board_data_api_n()
a54e9166e7 cw1200: Revert unnecessary patches that fix unreal use-after-free bugs
30efdcaca3 brcmsmac: mac80211_if: Fix a resource leak in an error handling path
5d452eafbd brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
5b8d0b0727 brcmfmac: correctly report average RSSI in station info
db4de88d43 brcmfmac: fix setting of station info chains bitmask
80ad538a87 ssb: Fix error return code in ssb_bus_scan()
0147e6ccb8 wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
581098969c clk: imx8mq: remove SYS PLL 1/2 clock gates
da8904c465 ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
7142f92412 wireless: carl9170: fix LEDS build errors & warnings
ecb6797501 ath10k: add missing error return code in ath10k_pci_probe()
668c0663d6 ath10k: go to path err_unsupported when chip id is not supported
4654f1fc30 tools/bpftool: Fix error return code in do_batch()
1ccbb552e3 drm: qxl: ensure surf.data is ininitialized
bdc16fe9df clk: vc5: fix output disabling when enabling a FOD
43b7f1dec6 drm/vc4: hdmi: Fix error path of hpd-gpios
756679a123 drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends
87890e1113 RDMA/rxe: Fix failure during driver load
c5db39c4df drm/pl111: depend on CONFIG_VEXPRESS_CONFIG
42800fcff3 RDMA/core: Sanitize WQ state received from the userspace
c470dd34c6 net/sched: act_vlan: Fix modify to allow 0
6a56913355 xfrm: remove the fragment check for ipv6 beet mode
9fddbe9495 clk: tegra30: Use 300MHz for video decoder by default
48bcd756af ehea: fix error return code in ehea_restart_qps()
6cbc167bc1 RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and stats->pcpu_stats
6569ae1deb RDMA/rtrs-clt: Check if the queue_depth has changed during a reconnection
8651ad0e29 RDMA/rtrs-srv: Fix memory leak when having multiple sessions
e7df730884 RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
f03d4c1296 RDMA/rtrs: Do not reset hb_missed_max after re-connection
bd4df557ae RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats
067b663131 RDMA/srp: Fix a recently introduced memory leak
116d5cdfac mptcp: generate subflow hmac after mptcp_finish_join()
284e741c4e mptcp: fix pr_debug in mptcp_token_new_connect
eee0f7d399 drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result
75db503c9c drm/rockchip: lvds: Fix an error handling path
59eb7193be drm/rockchip: dsi: move all lane config except LCDC mux to bind()
40492ebd29 drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
ef61b0826c drm: rockchip: set alpha_en to 0 if it is not used
7902ee2fae net: ftgmac100: add missing error return code in ftgmac100_probe()
28b3837b40 clk: meson: g12a: fix gp0 and hifi ranges
27e9e0c468 net: qrtr: ns: Fix error return code in qrtr_ns_init()
40b701707e drm/vmwgfx: Fix cpu updates of coherent multisample surfaces
a8e85ed088 drm/vmwgfx: Mark a surface gpu-dirty after the SVGA3dCmdDXGenMips command
8f2b15ec3b pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
6f4718c134 pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
2d487941ee net: pch_gbe: Propagate error from devm_gpio_request_one()
2f9f23c43a net: mvpp2: Put fwnode in error case during ->probe()
b3fecbf60e video: fbdev: imxfb: Fix an error message
1655266d91 drm/ast: Fix missing conversions to managed API
5885fce7b4 drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()
0cd39c9657 drm/bridge: Fix the stop condition of drm_bridge_chain_pre_enable()
45415d1f99 drm/bridge/sii8620: fix dependency on extcon
1de9425286 xfrm: xfrm_state_mtu should return at least 1280 for ipv6
10f32b8c9e mm/page_alloc: fix counting of managed_pages
d7deea31ed mm: page_alloc: refactor setup_per_zone_lowmem_reserve()
5458985533 mm: memcg/slab: properly set up gfp flags for objcg pointer array
8e4af3917b mm/shmem: fix shmem_swapin() race with swapoff
a5dcdfe4cb swap: fix do_swap_page() race with swapoff
29ae2c9c9c mm/debug_vm_pgtable: ensure THP availability via has_transparent_hugepage()
7abf6e5763 mm/debug_vm_pgtable/basic: iterate over entire protection_map[]
27634d63ca mm/debug_vm_pgtable/basic: add validation for dirtiness after write protect
c872674da7 dax: fix ENOMEM handling in grab_mapping_entry()
c015295b28 ocfs2: fix snprintf() checking
512106ae23 blk-mq: update hctx->dispatch_busy in case of real scheduler
3e33b1329c cpufreq: Make cpufreq_online() call driver->offline() on errors
cc0b1776fd ACPI: bgrt: Fix CFI violation
3cbe01ac28 ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros
d3dd2fe274 blk-wbt: make sure throttle is enabled properly
1c2f21a8a0 blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
e0afab5181 ACPI: APEI: fix synchronous external aborts in user-mode
f626452df8 extcon: extcon-max8997: Fix IRQ freeing at error path
45b399e309 clocksource/drivers/timer-ti-dm: Save and restore timer TIOCP_CFG
0317b728d8 mark pstore-blk as broken
296fbe2608 ACPI: sysfs: Fix a buffer overrun problem with description_show()
ce47ae8961 nvme-pci: look for StorageD3Enable on companion ACPI device instead
3ffe41f25f block: avoid double io accounting for flush request
17e77feadd ACPI: PM / fan: Put fan device IDs into separate header file
4dcb59d6a2 PM / devfreq: Add missing error code in devfreq_add_device()
a61f8a2e45 media: video-mux: Skip dangling endpoints
62c666805a media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev
6bfcb61789 psi: Fix race between psi_trigger_create/destroy
8d7debe744 crypto: nx - Fix RCU warning in nx842_OF_upd_status
c43082d284 spi: spi-sun6i: Fix chipselect/clock bug
f18f7a2276 lockdep/selftests: Fix selftests vs PROVE_RAW_LOCK_NESTING
fca9e784a3 lockdep: Fix wait-type for empty stack
ca47a4fa89 sched/uclamp: Fix uclamp_tg_restrict()
aea030cefc sched/rt: Fix Deadline utilization tracking during policy change
c576472a05 sched/rt: Fix RT utilization tracking during policy change
67f66d48bd x86/sev: Split up runtime #VC handler for correct state tracking
2e1003f3ee x86/sev: Make sure IRQs are disabled while GHCB is active
eefebcda89 btrfs: clear log tree recovering status if starting transaction fails
aec3a574c6 regulator: hi655x: Fix pass wrong pointer to config.driver_data
96275c8f6c KVM: arm64: Don't zero the cycle count register when PMCR_EL0.P is set
e5154bf217 perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number
31dcfec19d KVM: x86/mmu: Fix return value in tdp_mmu_map_handle_target_level()
64d31137b1 KVM: nVMX: Don't clobber nested MMU's A/D status on EPTP switch
bac38bd7c4 KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
b2c5af71ce KVM: nVMX: Sync all PGDs on nested transition with shadow paging
5ac406b81c hwmon: (max31790) Fix fan speed reporting for fan7..12
e02d52b7e9 hwmon: (max31722) Remove non-standard ACPI device IDs
5c00e99497 hwmon: (lm70) Revert "hwmon: (lm70) Add support for ACPI"
5cfc66b454 hwmon: (lm70) Use device_get_match_data()
c9f8416e43 media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
921d2518db media: subdev: remove VIDIOC_DQEVENT_TIME32 handling
bb5e089df7 arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
8d6acfe80d arm64: consistently use reserved_pg_dir
f1f30b3373 mmc: usdhi6rol0: fix error return code in usdhi6_probe()
cd909ebb73 crypto: sm2 - fix a memory leak in sm2
d598b8b77b crypto: sm2 - remove unnecessary reset operations
deef40c47e crypto: x86/curve25519 - fix cpu feature checking logic in mod_exit
bc50c40385 crypto: omap-sham - Fix PM reference leak in omap sham ops
615f2f5e7e crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
5d4cb7c394 regulator: fan53880: Fix vsel_mask setting for FAN53880_BUCK
082d977b46 media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
52734fb99e m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
b54a0f7926 media: gspca/gl860: fix zero-length control requests
0109910cbd media: tc358743: Fix error return code in tc358743_probe_of()
5091f2738d media: au0828: fix a NULL vs IS_ERR() check
31157148a5 media: exynos4-is: Fix a use after free in isp_video_release
2a91d7cc42 media: rkvdec: Fix .buf_prepare
5a3ac10611 locking/lockdep: Reduce LOCKDEP dependency list
1328decacd pata_ep93xx: fix deferred probing
bab207d352 media: rc: i2c: Fix an error message
a9d02976e9 crypto: ccp - Fix a resource leak in an error handling path
c3285441b4 crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe()
8ac033d9c4 crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
c0ec4ac436 x86/elf: Use _BITUL() macro in UAPI headers
912d16a2d7 evm: fix writing <securityfs>/evm overflow
403577f75d pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
5f9aaaaac8 kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
37481ad72d sched/uclamp: Fix locking around cpu_util_update_eff()
6c2b3d565f sched/uclamp: Fix wrong implementation of cpu.uclamp.min
b49d231c67 media: I2C: change 'RST' to "RSET" to fix multiple build errors
e7a376edb4 pata_rb532_cf: fix deferred probing
9df79fd17b sata_highbank: fix deferred probing
45d2d67833 crypto: ux500 - Fix error return code in hash_hw_final()
8c8c11b4df crypto: ixp4xx - update IV after requests
f00454ac40 crypto: ixp4xx - dma_unmap the correct address
2c3164f31a media: hantro: do a PM resume earlier
6efd8921eb media: s5p_cec: decrement usage count if disabled
e23dc4a3e8 media: venus: Rework error fail recover logic
08d0aa16a1 spi: Avoid undefined behaviour when counting unused native CSs
db5a7e22c9 spi: Allow to have all native CSs in use along with GPIOs
0c1d1517d6 writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
3bf8076a7b ia64: mca_drv: fix incorrect array size calculation
fc12d8fbcf kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
1208f10b4b block: fix discard request merge
9d0634f6cb mailbox: qcom: Use PLATFORM_DEVID_AUTO to register platform device
c35b484130 cifs: fix missing spinlock around update to ses->status
a72d660c0d HID: wacom: Correct base usage for capacitive ExpressKey status bits
6bac00744b ACPI: tables: Add custom DSDT file as makefile prerequisite
5c93dd7c59 tpm_tis_spi: add missing SPI device ID entries
d9b40ebd44 clocksource: Check per-CPU clock synchronization when marked unstable
03a65c14ab clocksource: Retry clock read if long delays detected
8ab9714fd8 ACPI: EC: trust DSDT GPE for certain HP laptop
c406bb9ece cifs: improve fallocate emulation
998d9fefdd PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
f5a90d44a1 EDAC/Intel: Do not load EDAC driver when running as a guest
950a739905 nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
66e8848482 nvme-pci: fix var. type for increasing cq_head
9dc2c2b941 platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
e2cf3b5cb2 platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15"
dff2466722 platform/x86: asus-nb-wmi: Revert "Drop duplicate DMI quirk structures"
1da08a428e block: fix race between adding/removing rq qos and normal IO
555dba7c63 ACPI: resources: Add checks for ACPI IRQ override
c79852298c ACPI: bus: Call kobject_put() in acpi_init() error path
a8c0057aee ACPICA: Fix memory leak caused by _CID repair function
2ebbe3a620 fs: dlm: fix memory leak when fenced
eda609d864 drivers: hv: Fix missing error code in vmbus_connect()
019d04f914 open: don't silently ignore unknown O-flags in openat2()
d838dddf3f random32: Fix implicit truncation warning in prandom_seed_state()
7425fe57d9 fs: dlm: cancel work sync othercon
747b654e40 blk-mq: clear stale request in tags->rq[] before freeing one request pool
a3362ff043 blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
f58625bf2c block_dump: remove block_dump feature in mark_inode_dirty()
ca8541015d ACPI: EC: Make more Asus laptops use ECDT _GPE
b74b839a16 platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets
d4801889d6 platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
bb3a3a6ceb Input: goodix - platform/x86: touchscreen_dmi - Move upside down quirks to touchscreen_dmi.c
9e914f59cc lib: vsprintf: Fix handling of number field widths in vsscanf
f8c3236890 hv_utils: Fix passing zero to 'PTR_ERR' warning
0f2f529302 ACPI: processor idle: Fix up C-state latency if not ordered
ae281fbbc4 EDAC/ti: Add missing MODULE_DEVICE_TABLE
2c0285062d HID: do not use down_interruptible() when unbinding devices
51b7499cec ACPI: video: use native backlight for GA401/GA502/GA503
83653ace03 media: Fix Media Controller API config checks
f0b8f5682d regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
5d9e3279f5 regulator: mt6358: Fix vdram2 .vsel_mask
b58b54ef49 KVM: s390: get rid of register asm usage
963baea02d lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
93cc59d8d0 locking/lockdep: Fix the dep path printing for backwards BFS
9c0835c69d btrfs: disable build on platforms having page size 256K
ad71a9ad74 btrfs: don't clear page extent mapped if we're not invalidating the full page
703b494a68 btrfs: sysfs: fix format string for some discard stats
8d05e30c97 btrfs: abort transaction if we fail to update the delayed inode
e0ffb169a3 btrfs: fix error handling in __btrfs_update_delayed_inode
9b28291237 KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
00b1a9f0e8 drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
625ee7d267 hwmon: (max31790) Fix pwmX_enable attributes
c1eb091dbb hwmon: (max31790) Report correct current pwm duty cycles
49623e4b73 media: imx-csi: Skip first few frames from a BT.656 source
72962620ef media: siano: fix device register error path
cc4ba5a397 media: dvb_net: avoid speculation from net slot
c34f3912a7 crypto: shash - avoid comparing pointers to exported functions under CFI
0d201fee96 spi: meson-spicc: fix memory leak in meson_spicc_probe
a0bbb5d378 spi: meson-spicc: fix a wrong goto jump for avoiding memory leak.
ea7e1b581b mmc: via-sdmmc: add a check against NULL pointer dereference
237999da70 mmc: sdhci-sprd: use sdhci_sprd_writew
b6cbe1fcf8 memstick: rtsx_usb_ms: fix UAF
8c252a6303 media: dvd_usb: memory leak in cinergyt2_fe_attach
e78a588b59 Makefile: fix GDB warning with CONFIG_RELR
bce4838273 crypto: hisilicon/sec - fixup 3des minimum key size declaration
74ef2418a7 media: st-hva: Fix potential NULL pointer dereferences
617afcee2a media: bt8xx: Fix a missing check bug in bt878_probe
1f9cff025d media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
1d2838152e media: cedrus: Fix .buf_prepare
cbfb77c2f9 media: hantro: Fix .buf_prepare
6e08d3ab5c media: em28xx: Fix possible memory leak of em28xx struct
75c45a8188 media: bt878: do not schedule tasklet when it is not setup
a61d119248 media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off
9fa8542a63 sched/fair: Fix ascii art by relpacing tabs
d0214b841c arm64: perf: Convert snprintf to sysfs_emit
addcb6bb58 crypto: qce: skcipher: Fix incorrect sg count for dma transfers
d000c598db crypto: qat - remove unused macro in FW loader
5daa889433 crypto: qat - check return code of qat_hal_rd_rel_reg()
9962341807 media: imx: imx7_mipi_csis: Fix logging of only error event counters
179d9c18ba media: pvrusb2: fix warning in pvr2_i2c_core_done
893c243e52 media: hevc: Fix dependent slice segment flags
a245f93ad0 media: cobalt: fix race condition in setting HPD
4626df7f65 media: cpia2: fix memory leak in cpia2_usb_probe
e717d6c291 media: sti: fix obj-$(config) targets
93f80a0bbd crypto: nx - add missing MODULE_DEVICE_TABLE
4e8c9510b7 hwrng: exynos - Fix runtime PM imbalance on error
3c51d82d0b sched/core: Initialize the idle task with preemption disabled
f8607f5ebe regulator: uniphier: Add missing MODULE_DEVICE_TABLE
66f0f478ec spi: omap-100k: Fix the length judgment problem
8692603ff1 spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
cb42cf32ce spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
b980385a70 media: exynos-gsc: fix pm_runtime_get_sync() usage count
a8b1889cd6 media: exynos4-is: fix pm_runtime_get_sync() usage count
29fd79b628 media: sti/bdisp: fix pm_runtime_get_sync() usage count
abdc897710 media: sunxi: fix pm_runtime_get_sync() usage count
d627fc298c media: s5p-jpeg: fix pm_runtime_get_sync() usage count
3c90c3fbdc media: mtk-vcodec: fix PM runtime get logic
8318f7bc0e media: sh_vou: fix pm_runtime_get_sync() usage count
64e291d697 media: am437x: fix pm_runtime_get_sync() usage count
adf052c779 media: s5p: fix pm_runtime_get_sync() usage count
437ca06c78 media: mdk-mdp: fix pm_runtime_get_sync() usage count
ff7e4b94db media: marvel-ccic: fix some issues when getting pm_runtime
ccf0a291f7 staging: media: rkvdec: fix pm_runtime_get_sync() usage count
b2c4d9a33c Add a reference to ucounts for each cred
61a7a634a0 spi: Make of_register_spi_device also set the fwnode
f2b2400476 thermal/cpufreq_cooling: Update offline CPUs per-cpu thermal_pressure
4eab2e2e98 fuse: reject internal errno
bb7ee90ea5 fuse: check connected before queueing on fpq->io
912e98505a fuse: ignore PG_workingset after stealing
576b44c326 fuse: Fix infinite loop in sget_fc()
ae6ab39251 fuse: Fix crash if superblock of submount gets killed early
91c2aa2c64 fuse: Fix crash in fuse_dentry_automount() error path
53124265fc evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
7b84c7d7e2 evm: Execute evm_inode_init_security() only when an HMAC key is loaded
a7e18f57ed loop: Fix missing discard support when using LOOP_CONFIGURE
75395690e5 powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
c556b938b3 seq_buf: Make trace_seq_putmem_hex() support data longer than 8
0531e84bc8 tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
2aedacfaf6 tracing/histograms: Fix parsing of "sym-offset" modifier
998de999ba rsi: fix AP mode with WPA failure due to encrypted EAPOL
71808ec5b9 rsi: Assign beacon rate settings to the correct rate_info descriptor field
43189683fe ssb: sdio: Don't overwrite const buffer if block_write fails
58940e88ba ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
cc46d6d14f serial_cs: remove wrong GLOBETROTTER.cis entry
cf727d99ab serial_cs: Add Option International GSM-Ready 56K/ISDN modem
23055da561 serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
17451bd036 serial: mvebu-uart: fix calculation of clock divisor
8c90ec9965 iio: accel: bma180: Fix BMA25x bandwidth register values
9efc775c28 iio: ltr501: ltr501_read_ps(): add missing endianness conversion
c6c3ea1d9d iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
fbadeba72e iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
17c67f4848 iio: light: tcs3472: do not free unallocated IRQ
6534a5e0c2 iio: frequency: adf4350: disable reg and clk on error in adf4350_probe()
a6f7bf2652 rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
e92bd19246 clk: agilex/stratix10: fix bypass representation
3093214a6a clk: agilex/stratix10: remove noc_clk
308d01f525 clk: agilex/stratix10/n5x: fix how the bypass_reg is handled
e582a2f352 f2fs: Prevent swap file in LFS mode
36ae903607 s390: mm: Fix secure storage access exception handling
38a2ba82e2 s390/cio: dont call css_wait_for_slow_path() inside a lock
9aae145dc5 KVM: x86/mmu: Use MMU's role to detect CR4.SMEP value in nested NPT walk
a9ac58f85f KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs
30c44537cb KVM: PPC: Book3S HV: Workaround high stack usage with clang
39d0dfab6c KVM: nVMX: Handle split-lock #AC exceptions that happen in L2
7510c5cd0d perf/smmuv3: Don't trample existing events with global filter
9109e15709 mm/gup: fix try_grab_compound_head() race with split_huge_page()
9b0d1f4cb8 bus: mhi: Wait for M2 state during system resume
cbcbfb0488 SUNRPC: Should wake up the privileged task firstly.
30f5608498 SUNRPC: Fix the batch tasks count wraparound.
c6d864601e mac80211: remove iwlwifi specific workaround that broke sta NDP tx
507925fff0 can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
f79ea4755f can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
22bfa94db2 can: isotp: isotp_release(): omit unintended hrtimer restart on socket release
af94ef8f0b can: gw: synchronize rcu operations before removing gw job entry
b52e0cf0bf can: bcm: delay release of struct bcm_op after synchronize_rcu()
aa07327083 ext4: use ext4_grp_locked_error in mb_find_extent
6903f99f19 ext4: fix avefreec in find_group_orlov
98cd580211 ext4: remove check for zero nr_to_scan in ext4_es_scan()
68a40ff916 ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
f4e91a4e0d ext4: return error code when ext4_fill_flex_info() fails
b368b0375e ext4: fix overflow in ext4_iomap_alloc()
ea5466f1a7 ext4: fix kernel infoleak via ext4_extent_header
076d9b0623 ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
80d05ce58a btrfs: clear defrag status of a root if starting transaction fails
6b00b1717f btrfs: compression: don't try to compress if we don't have enough pages
34172f601a btrfs: send: fix invalid path for unlink operations after parent orphanization
2fa9298035 ARM: dts: at91: sama5d4: fix pinctrl muxing
ea45145e6c ARM: dts: ux500: Fix LED probing
b34aa5aaaa arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
123c1b05b0 crypto: ccp - Annotate SEV Firmware file names
834c47a387 crypto: nx - Fix memcpy() over-reading in nonce
b4c35e9e80 Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
7b0393e6f6 iov_iter_fault_in_readable() should do nothing in xarray case
b6df9e43d5 copy_page_to_iter(): fix ITER_DISCARD case
d91638f70e selftests/lkdtm: Avoid needing explicit sub-shell
1738bcf9e6 ntfs: fix validity check for file name attribute
f794c839df gfs2: Fix error handling in init_statfs
3ae1c663bd gfs2: Fix underflow in gfs2_page_mkwrite
b242ae99fa xhci: solve a double free problem while doing s4
ff0f59d2d8 usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
63d6029e66 usb: dwc3: Fix debugfs creation flow
022d22a311 USB: cdc-acm: blacklist Heimann USB Appset device
f9d9db593d usb: renesas-xhci: Fix handling of unknown ROM state
3b54578850 usb: gadget: eem: fix echo command packet response issue
c964c4682e net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
a2ad0bddd0 Input: usbtouchscreen - fix control-request directions
23e8f46884 media: dvb-usb: fix wrong definition
a6f433fd9e ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC
ba65dd6eb8 ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
13a05c7b43 ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
37e179c028 ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
ea824a31a3 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook x360 830 G8
659b440a8d ALSA: hda/realtek: Add another ALC236 variant support
36bc25ec61 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8
0535de167b ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8
2a13d43821 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8
9127b27703 ALSA: intel8x0: Fix breakage at ac97 clock measurement
19418ed317 ALSA: usb-audio: scarlett2: Fix wrong resume call
5c4d51b438 ALSA: firewire-motu: fix stream format for MOTU 8pre FireWire
313a5e869d ALSA: usb-audio: Fix OOB access at proc output
cfd3c66ca7 ALSA: usb-audio: fix rate on Ozone Z90 USB headset
ae9957b3ee Bluetooth: Remove spurious error message
f5af19889f Bluetooth: btqca: Don't modify firmware contents in-place
3cdcbd1b8c Bluetooth: hci_qca: fix potential GPF
b1a6760ddf Merge branch 'android12-5.10' into `android12-5.10-lts`
e722f1d83b Merge 5.10.49 into android12-5.10-lts
9c4e6d448c Merge 5.10.48 into android12-5.10-lts
904ad453ba Linux 5.10.49
064b57a8da xen/events: reset active flag for lateeoi events later
a245f6842d Hexagon: change jumps to must-extend in futex_atomic_*
a7f51048c5 Hexagon: add target builtins to kernel
243f325ecc Hexagon: fix build errors
8148665cb7 media: uvcvideo: Support devices that report an OT as an entity source
d5737410d2 KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path
a09a522772 Linux 5.10.48
4dc9680428 Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack"
4ab869e028 RDMA/mlx5: Block FDB rules when not in switchdev mode
348143a380 gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
45ca6df5df drm/nouveau: fix dma_address check for CPU/GPU sync
d191c3d6ad gpio: mxc: Fix disabled interrupt wake-up support
f77f972384 scsi: sr: Return appropriate error code when disk is ejected
c37b834212 Merge branch 'android12-5.10' into `android12-5.10-lts`
3213549c5d ANDROID: ABI: update android12-5.10-lts ABI for 7/2 KMI update
2fcffe3f27 ANDROID: ABI: hikey960_gki.fragment: Add cfg80211 and mac80211 as modules
fd7a54895d ANDROID: ABI: gki_defconfig: Make cfg80211 and mac80211 modules
d43e5a796b Revert "ANDROID: GKI: Enable some necessary CFG80211 configs for WIFI"
194be71cc6 Merge 5.10.47 into android12-5.10-lts
bc9699030e Merge branch 'android12-5.10' into `android12-5.10-lts`
4357ae26d4 Linux 5.10.47
1573d595e2 integrity: Load mokx variables into the blacklist keyring
c6ae6f89fc certs: Add ability to preload revocation certs
72d6f5d982 certs: Move load_system_certificate_list to a common function
45109066f6 certs: Add EFI_CERT_X509_GUID support for dbx entries
0ba128fa68 Revert "drm: add a locked version of drm_is_current_master"
0463b49e02 netfs: fix test for whether we can skip read when writing beyond EOF
e6108147dd swiotlb: manipulate orig_addr when tlb_addr has offset
7570a8b5dd KVM: SVM: Call SEV Guest Decommission if ASID binding fails
377a796e7a mm, futex: fix shared futex pgoff on shmem huge page
ab9d178167 mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
915c3a262c mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
90073aecc3 mm: page_vma_mapped_walk(): get vma_address_end() earlier
bf60fc2314 mm: page_vma_mapped_walk(): use goto instead of while (1)
9f85dcaf15 mm: page_vma_mapped_walk(): add a level of indentation
e56bdb3976 mm: page_vma_mapped_walk(): crossing page table boundary
8dc191ed9c mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
7b55a4bcfc mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
1cb0b9059f mm: page_vma_mapped_walk(): settle PageHuge on entry
65febb41b4 mm: page_vma_mapped_walk(): use page for pvmw->page
825c28052b mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
0010275ca2 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
38cda6b5ab mm/thp: fix page_address_in_vma() on file THP tails
37ffe9f4d7 mm/thp: fix vma_address() if virtual address below file offset
66be14a926 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
6527d8ef68 mm/thp: make is_huge_zero_pmd() safe and quicker
a8f4ea1d38 mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
32f954e961 mm, thp: use head page in __migration_entry_wait()
bfd90b56d7 mm/rmap: use page_not_mapped in try_to_unmap()
ff81af8259 mm/rmap: remove unneeded semicolon in page_not_mapped()
a0ad7ea018 mm: add VM_WARN_ON_ONCE_PAGE() macro
130a1d76ee x86/fpu: Make init_fpstate correct with optimized XSAVE
51d8011782 x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate()
2b35a4eaaa kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
bfe28af78a kthread_worker: split code for canceling the delayed work timer
02c303f3b9 ceph: must hold snap_rwsem when filling inode for async create
de0af2651d i2c: robotfuzz-osif: fix control-request directions
dd8ed6c9bc KVM: do not allow mapping valid but non-reference-counted pages
5fd0c2cf7b s390/stack: fix possible register corruption with stack switch helper
ab5bef9780 nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
ace31c91fd scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)
b9e6c20d4c gpiolib: cdev: zero padding during conversion to gpioline_info_changed
0221a5a4db i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access
018d03fcf7 pinctrl: stm32: fix the reported number of GPIO lines per bank
df654cd3d3 perf/x86: Track pmu in per-CPU cpu_hw_events
f9e73b2967 net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
1c9cf96f56 net: ll_temac: Add memory-barriers for TX BD access
bafb6cdd4f PCI: Add AMD RS690 quirk to enable 64-bit DMA
d91c50e6a6 recordmcount: Correct st_shndx handling
fb71d81ccd mac80211: handle various extensible elements correctly
676a7cb1a9 mac80211: reset profile_periodicity/ema_ap
ca0e1fefbb net: qed: Fix memcpy() overflow of qed_dcbx_params()
4658a8d307 KVM: selftests: Fix kvm_check_cap() assertion
e83e3c5d85 r8169: Avoid memcpy() over-reading of ETH_SS_STATS
992b105abf sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
a10856ea60 r8152: Avoid memcpy() over-reading of ETH_SS_STATS
196b22ef6c net/packet: annotate accesses to po->ifindex
da8b3aeff4 net/packet: annotate accesses to po->bind
18ed1789bb net: caif: fix memory leak in ldisc_open
edcd7594ad riscv32: Use medany C model for modules
47c07f919f net: phy: dp83867: perform soft reset and retain established link
f57132a887 net/packet: annotate data race in packet_sendmsg()
9707960ecf inet: annotate date races around sk->sk_txhash
7293f63b7b net: annotate data race in sock_error()
61b132f67c ping: Check return value of function 'ping_queue_rcv_skb'
08c389de6d inet: annotate data race in inet_send_prepare() and inet_dgram_connect()
c2311fd6de net: ethtool: clear heap allocations for ethtool function
c2813d1966 mac80211: drop multicast fragments
fedc4d4f54 net: ipv4: Remove unneed BUG() function
93c2aac13b dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma
0f48f92771 dmaengine: mediatek: do not issue a new desc if one is still current
63fa5b2d4b dmaengine: mediatek: free the proper desc in desc_free handler
78fa0f707d dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()
6a07cf3606 cfg80211: call cfg80211_leave_ocb when switching away from OCB
a902833300 mac80211_hwsim: drop pending frames on stop
8cfe765afd mac80211: remove warning in ieee80211_get_sband()
b671b98169 dmaengine: xilinx: dpdma: Limit descriptor IDs to 16 bits
524f70b30e dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig
13b245a7bd dmaengine: stm32-mdma: fix PM reference leak in stm32_mdma_alloc_chan_resourc()
86f3e72dcb dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
4df9ed0edb perf/x86/intel/lbr: Zero the xstate buffer on allocation
56bc20e5fc perf/x86/lbr: Remove cpuc->lbr_xsave allocation from atomic context
ca2acbd548 locking/lockdep: Improve noinstr vs errors
59aa5c91f8 x86/xen: Fix noinstr fail in exc_xen_unknown_trap()
cb83c99cf6 x86/entry: Fix noinstr fail in __do_fast_syscall_32()
cf59354875 drm/vc4: hdmi: Make sure the controller is powered in detect
f73aca83fd drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
f11f9ff8a7 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
4b06ebab4a spi: spi-nxp-fspi: move the register operation after the clock enable
50a1312a29 arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required
bd5d4df4dc arm64: Ignore any DMA offsets in the max_zone_phys() calculation
3bbdf5a6fc MIPS: generic: Update node names to avoid unit addresses
03096a4601 mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk
b8fd230ae0 ARM: 9081/1: fix gcc-10 thumb2-kernel regression
3d6c4f78ec drm/amdgpu: wait for moving fence after pinning
694bb36aa7 drm/radeon: wait for moving fence after pinning
bcfea2412f drm/nouveau: wait for moving fence after pinning v2
3ef0ca0ec9 drm: add a locked version of drm_is_current_master
fea853aca3 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."
1bd81429d5 Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue."
3051f230f1 module: limit enabling module.sig_enforce
76d5608135 Revert "mm: relocate 'write_protect_seq' in struct mm_struct"
948d38f94d Merge 5.10.46 into android12-5.10-lts
78b5962cda Merge branch 'android12-5.10' into `android12-5.10-lts`
3de043c685 Linux 5.10.46
174c27583b usb: dwc3: core: fix kernel panic when do reboot
e52d43c82f usb: dwc3: debugfs: Add and remove endpoint dirs dynamically
1b5fbb6618 perf beauty: Update copy of linux/socket.h with the kernel sources
69371e0482 tools headers UAPI: Sync linux/in.h copy with the kernel sources
4f6e7098f1 net: fec_ptp: add clock rate zero check
1af3a8e91f net: stmmac: disable clocks in stmmac_remove_config_dt()
f71ca814c2 mm/slub.c: include swab.h
f6ed235754 mm/slub: actually fix freelist pointer vs redzoning
4314c8c63b mm/slub: fix redzoning for small allocations
4a36fda16b mm/slub: clarify verification reporting
12eb3c2c1a mm/swap: fix pte_same_as_swp() not removing uffd-wp bit when compare
fc7fdd8c5c net: bridge: fix vlan tunnel dst refcnt when egressing
fe0448a3fa net: bridge: fix vlan tunnel dst null pointer dereference
cfe403f209 net: ll_temac: Fix TX BD buffer overwrite
019ab7d044 net: ll_temac: Make sure to free skb when it is completely used
41984d4fbe drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
bc58ec307c drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell.
96b4126f8c cfg80211: avoid double free of PMSR request
5493b0c2a7 cfg80211: make certificate generation more robust
f74df6e086 mac80211: Fix NULL ptr deref for injected rate info
df203c1fda dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc
b842b568a5 crash_core, vmcoreinfo: append 'SECTION_SIZE_BITS' to vmcoreinfo
63ba83563e x86/fpu: Reset state for all signal restore failures
a7748e021b x86/fpu: Invalidate FPU state after a failed XRSTOR from a user buffer
076f732b16 x86/fpu: Prevent state corruption in __fpu__restore_sig()
abc790bdbb x86/pkru: Write hardware init value to PKRU when xstate is init
208bb686e7 x86/ioremap: Map EFI-reserved memory as encrypted for SEV
75a55bc2e5 x86/process: Check PF_KTHREAD and not current->mm for kernel threads
ddaaf38e19 x86/mm: Avoid truncating memblocks for SGX memory
f6bcb1a628 ARCv2: save ABI registers across signal handling
b516daed99 s390/ap: Fix hanging ioctl caused by wrong msg counter
7c003dab43 s390/mcck: fix calculation of SIE critical section size
3a9934d6b8 KVM: X86: Fix x86_emulator slab cache leak
18eca69f88 KVM: x86/mmu: Calculate and check "full" mmu_role for nested MMU
669a8866e4 KVM: x86: Immediately reset the MMU context when the SMM flag is cleared
077cb8946f PCI: Work around Huawei Intelligent NIC VF FLR erratum
ee1a9cfed2 PCI: Add ACS quirk for Broadcom BCM57414 NIC
1a1dbc4473 PCI: aardvark: Fix kernel panic during PIO transfer
dac77a14fa PCI: Mark some NVIDIA GPUs to avoid bus reset
1e460ddf5b PCI: Mark TI C667X to avoid bus reset
c9fd0ab39f tracing: Do no increment trace_clock_global() by one
b313bd944d tracing: Do not stop recording comms if the trace file is being read
adb3849ed8 tracing: Do not stop recording cmdlines when tracing is off
1a91fafa3e usb: chipidea: imx: Fix Battery Charger 1.2 CDP detection
576996b64e usb: core: hub: Disable autosuspend for Cypress CY7C65632
6bd3d80d1f can: mcba_usb: fix memory leak in mcba_usb
509ab6bfdd can: j1939: fix Use-after-Free, hold skb ref while in use
0cf4b37790 can: bcm/raw/isotp: use per module netdevice notifier
acb755be1f can: bcm: fix infoleak in struct bcm_msg_head
8c82c52d1d bpf: Do not mark insn as seen under speculative path verification
e9d271731d bpf: Inherit expanded/patched seen count from old aux data
ed423d80bb irqchip/gic-v3: Workaround inconsistent PMR setting on NMI entry
103c4a08ba mm: relocate 'write_protect_seq' in struct mm_struct
a87abba03a hwmon: (scpi-hwmon) shows the negative temperature properly
57b21ef118 radeon: use memcpy_to/fromio for UVD fw upload
3e4b0fbb72 ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin
360609fc8b drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device
5bd6bcb353 pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled
6d0dc1b34c ASoC: rt5682: Fix the fast discharge for headset unplugging in soundwire mode
ba8a26a7ce regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
2f8f0e97ce spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd()
e03c8b3516 ASoC: tas2562: Fix TDM_CFG0_SAMPRATE values
813ff24f1d sched/pelt: Ensure that *_sum is always synced with *_avg
f6d28f0e36 spi: spi-zynq-qspi: Fix some wrong goto jumps & missing error code
0ea21221dd regulator: rtmv20: Fix to make regcache value first reading back from HW
3c5064cd29 ASoC: fsl-asoc-card: Set .owner attribute when registering card.
9a17907946 phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init()
02e2455748 ASoC: rt5659: Fix the lost powers for the HDA header
3fb6c6acc1 platform/x86: thinkpad_acpi: Add X1 Carbon Gen 9 second fan support
0609c36696 regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting
0ea923519a regulator: cros-ec: Fix error code in dev_err message
95deeb29d8 net: ethernet: fix potential use-after-free in ec_bhf_remove
8c0c2d97ad icmp: don't send out ICMP messages with a source address of 0.0.0.0
c5d70dbc4d bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
f8774be4dc bnxt_en: Fix TQM fastpath ring backing store computation
acc9175541 bnxt_en: Rediscover PHY capabilities after firmware reset
acc3589959 cxgb4: fix wrong shift.
05b2b9f7d2 net: cdc_eem: fix tx fixup skb leak
290b0b6432 net: hamradio: fix memory leak in mkiss_close
45bf43d868 be2net: Fix an error handling path in 'be_probe()'
327e626c39 net/mlx5: Reset mkey index on creation
38aafe678c net/mlx5: E-Switch, Allow setting GUID for host PF vport
601be24dba net/mlx5: E-Switch, Read PF mac address
5f2ccc58a3 net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
ac31cc837c net: ipv4: fix memory leak in ip_mc_add1_src
d08f726cd5 net: fec_ptp: fix issue caused by refactor the fec_devtype
570a52cf3e net: usb: fix possible use-after-free in smsc75xx_bind
70c8418469 lantiq: net: fix duplicated skb in rx descriptor ring
11fac7e912 net: cdc_ncm: switch to eth%d interface naming
9a47949562 ptp: improve max_adj check against unreasonable values
5fc6ed1831 bpf: Fix leakage under speculation on mispredicted branches
960b08dd36 net: qrtr: fix OOB Read in qrtr_endpoint_post
0239c439ce ipv4: Fix device used for dst_alloc with local routes
4b5ad4b5ae cxgb4: fix wrong ethtool n-tuple rule lookup
d708e5efdd netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
70513cdb93 qlcnic: Fix an error handling path in 'qlcnic_probe()'
fb3a948143 ethtool: strset: fix message length calculation
0e185a7b28 net: qualcomm: rmnet: don't over-count statistics
e3577776d6 net: qualcomm: rmnet: Update rmnet device MTU based on real device
4abfd597fe net: make get_net_ns return error if NET_NS is disabled
6a4b39944e net: stmmac: dwmac1000: Fix extended MAC address registers definition
6392ed82ad cxgb4: halt chip before flashing PHY firmware image
b38ec782d0 cxgb4: fix sleep in atomic when flashing PHY firmware
3d60457d74 cxgb4: fix endianness when flashing boot image
5bf940fe91 alx: Fix an error handling path in 'alx_probe()'
0adf32c033 selftests: mptcp: enable syncookie only in absence of reorders
eab06f7504 mptcp: do not warn on bad input from the network
222ebeda17 mptcp: try harder to borrow memory from subflow under pressure
3b491dd593 sch_cake: Fix out of bounds when parsing TCP options and header
73eeba71dc mptcp: Fix out of bounds when parsing TCP options
9cdf299ba4 netfilter: synproxy: Fix out of bounds when parsing TCP options
a336dc6fdd net/mlx5e: Block offload of outer header csum for UDP tunnels
34ff3770bf net/mlx5: DR, Don't use SW steering when RoCE is not supported
3623bfcab3 net/mlx5: DR, Allow SW steering for sw_owner_v2 devices
792f16e083 net/mlx5: Consider RoCE cap before init RDMA resources
be7f3f401d net/mlx5e: Fix page reclaim for dead peer hairpin
02c55a2570 net/mlx5e: Remove dependency in IPsec initialization flows
4733b73709 net/sched: act_ct: handle DNAT tuple collision
c8f1437c01 rtnetlink: Fix regression in bridge VLAN configuration
8729ec8a22 udp: fix race between close() and udp_abort()
7dd7b1e4d9 ice: parameterize functions responsible for Tx ring management
805ae44fc0 ice: add ndo_bpf callback for safe mode netdev ops
27e3d7da65 netfilter: nft_fib_ipv6: skip ipv6 packets from any to link-local
5cea03aef6 net: lantiq: disable interrupt before sheduling NAPI
db5f4adc93 net: dsa: felix: re-enable TX flow control in ocelot_port_flush()
5946fbf483 net: rds: fix memory leak in rds_recvmsg
aba26b3838 vrf: fix maximum MTU
deeeb65c6e net: ipv4: fix memory leak in netlbl_cipsov4_add_std
2088824ac9 libbpf: Fixes incorrect rx_ring_setup_done
195585ddb7 mlxsw: core: Set thermal zone polling delay argument to real value at init
e95848e9b5 mlxsw: reg: Spectrum-3: Enforce lowest max-shaper burst size of 11
5a1cd67a80 mac80211: fix skb length check in ieee80211_scan_rx()
282baa8104 batman-adv: Avoid WARN_ON timing related checks
ae1d3b989d fanotify: fix copy_event_to_user() fid error clean up
018685461a kvm: LAPIC: Restore guard to prevent illegal APIC register access
9e379da727 mm/memory-failure: make sure wait for page writeback in memory_failure
090b1bb928 afs: Fix an IS_ERR() vs NULL check
5efb0b3886 dmaengine: stedma40: add missing iounmap() on error in d40_probe()
ff864fa71a dmaengine: SF_PDMA depends on HAS_IOMEM
c0090b0169 dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM
f984fa006b dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM
be4789636f dmaengine: xilinx: dpdma: initialize registers before request_irq
edd60afc3f dmaengine: fsl-dpaa2-qdma: Fix error return code in two functions
4d74c98023 dmaengine: idxd: add missing dsa driver unregister
e52dde966a Merge 5.10.45 into android12-5.10-lts
defb903783 Merge branch 'android12-5.10' into `android12-5.10-lts`
037a447b7a Linux 5.10.45
808fcc1e70 fib: Return the correct errno code
d8b2e3e17c net: Return the correct errno code
04c1556bfc net/x25: Return the correct errno code
0aa3569508 rtnetlink: Fix missing error code in rtnl_bridge_notify()
9250f97fd5 drm/amd/amdgpu:save psp ring wptr to avoid attack
9e8c2af010 drm/amd/display: Fix potential memory leak in DMUB hw_init
75fa7fbef1 drm/amdgpu: refine amdgpu_fru_get_product_info
34fe4ccb1f drm/amd/display: Allow bandwidth validation for 0 streams.
ecd26536ec net: ipconfig: Don't override command-line hostnames or domains
511a010291 nvme-loop: do not warn for deleted controllers during reset
155c2fea4b nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()
620424df29 nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails
1c80ca596c nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
b8fdea0695 scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V
f8ac1bd527 Bluetooth: Add a new USB ID for RTL8822CE
5491d97078 scsi: qedf: Do not put host in qedf_vport_create() unconditionally
609b56e979 ethernet: myri10ge: Fix missing error code in myri10ge_probe()
5d5f0d945d scsi: target: core: Fix warning on realtime kernels
a61156314b gfs2: Fix use-after-free in gfs2_glock_shrink_scan
bb73f2f789 riscv: Use -mno-relax when using lld linker
35277c1a66 HID: gt683r: add missing MODULE_DEVICE_TABLE
7a557de079 gfs2: fix a deadlock on withdraw-during-mount
c3e9ea16ad gfs2: Prevent direct-I/O write fallback errors from getting lost
864b5a8d53 ARM: OMAP2+: Fix build warning when mmc_omap is not built
247ec8ee0b ARM: OMAP1: Fix use of possibly uninitialized irq variable
3c0ad70cba drm/tegra: sor: Fully initialize SOR before registration
9c1d492baa gpu: host1x: Split up client initalization and registration
570b3e4020 drm/tegra: sor: Do not leak runtime PM reference
b1e3596416 HID: usbhid: fix info leak in hid_submit_ctrl
1dfd9f18ca HID: Add BUS_VIRTUAL to hid_connect logging
258d3fdbb1 HID: multitouch: set Stylus suffix for Stylus-application devices, too
6a142ea610 HID: quirks: Add quirk for Lenovo optical mouse
716a087adc HID: hid-sensor-hub: Return error for hid_set_field() failure
0bd8a4b46c HID: hid-input: add mapping for emoji picker key
b3c5bfc43c HID: a4tech: use A4_2WHEEL_MOUSE_HACK_B8 for A4TECH NB-95
be6c988792 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65
c7836de2ca net: ieee802154: fix null deref in parse dev addr
82658bfd88 Merge 5.10.44 into android12-5.10-lts
f2b1fc360f Linux 5.10.44
ef9a0d224b proc: only require mm_struct for writing
43c32c2225 tracing: Correct the length check which causes memory corruption
5b537408f2 scsi: core: Only put parent device if host state differs from SHOST_CREATED
0a31d1237a scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
146446a43b scsi: core: Fix failure handling of scsi_add_host_with_dma()
7a696ce1d5 scsi: core: Fix error handling of scsi_host_alloc()
6e13b9bc66 NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
d973bd0d6e NFSv4: Fix second deadlock in nfs4_evict_inode()
c3b6cf64df NFS: Fix use-after-free in nfs4_init_client()
9064c9d544 kvm: fix previous commit for 32-bit builds
351075bcfe perf session: Correct buffer copying when peeking events
b4651cea43 NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode()
279ad78a00 NFS: Fix a potential NULL dereference in nfs_get_client()
91f7fdc4cc IB/mlx5: Fix initializing CQ fragments buffer
d046f724bb KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message
4921feb0e5 x86/nmi_watchdog: Fix old-style NMI watchdog regression on old Intel CPUs
190a7f9089 sched/fair: Fix util_est UTIL_AVG_UNCHANGED handling
32e22db8b2 sched/fair: Make sure to update tg contrib for blocked load
4c37b062ed sched/fair: Keep load_avg and load_sum synced
c64a3be39f perf: Fix data race between pin_count increment/decrement
e0b518a2eb gpio: wcd934x: Fix shift-out-of-bounds error
56a388a9cc phy: ti: Fix an error code in wiz_probe()
62d891861f ASoC: meson: gx-card: fix sound-dai dt schema
0e2c9aeb00 ASoC: core: Fix Null-point-dereference in fmt_single_name()
d83075c25a phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe()
c9cb5837e9 tools/bootconfig: Fix error return code in apply_xbc()
16ccdcdfe6 vmlinux.lds.h: Avoid orphan section with !SMP
c25ec6386a ARM: cpuidle: Avoid orphan section warning
cb1aa1da04 RDMA/mlx4: Do not map the core_clock page to user space unless enabled
67cf4e447b RDMA/ipoib: Fix warning caused by destroying non-initial netns
fd681a8c7a drm/msm/a6xx: avoid shadow NULL reference in failure path
0bc79f4b7a drm/msm/a6xx: update/fix CP_PROTECT initialization
5b7dc8329d drm/msm/a6xx: fix incorrectly set uavflagprd_inv field for A650
5a61f69da3 drm/mcde: Fix off by 10^3 in calculation
d688892980 usb: typec: mux: Fix copy-paste mistake in typec_mux_match
9e0677c2e3 usb: dwc3: gadget: Disable gadget IRQ during pullup disable
cc440da4aa phy: usb: Fix misuse of IS_ENABLED
aafc51fddf regulator: rtmv20: Fix .set_current_limit/.get_current_limit callbacks
4579f65176 regulator: bd71828: Fix .n_voltages settings
5a5f5cfb5f regulator: fan53880: Fix missing n_voltages setting
c365ff9761 regulator: bd718x7: Fix the BUCK7 voltage setting on BD71837
e3a502abf5 regulator: max77620: Use device_set_of_node_from_dev()
06653ebc0a regulator: core: resolve supply for boot-on/always-on regulators
7dcdfa28e1 usb: typec: tcpm: cancel frs hrtimer when unregister tcpm port
18eaf0de50 usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port
b972eff874 usb: fix various gadget panics on 10gbps cabling
4b289a0f30 usb: fix various gadgets null ptr deref on 10gbps cabling.
6bf8ff7d05 usb: gadget: eem: fix wrong eem header operation
21bee94fb9 USB: serial: cp210x: fix alternate function for CP2102N QFN20
4fa815beea USB: serial: quatech2: fix control-request directions
ef91a6bd94 USB: serial: omninet: add device id for Zyxel Omni 56K Plus
1e2d41c17f USB: serial: ftdi_sio: add NovaTech OrionMX product ID
5cead89696 usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
0b3bb7950e usb: typec: intel_pmc_mux: Add missed error check for devm_ioremap_resource()
6900ef1b10 usb: typec: intel_pmc_mux: Put fwnode in error case during ->probe()
572de10087 usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
7cee4344cb usb: typec: wcove: Use LE to CPU conversion when accessing msg->header
199af8a06d usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling
4704036391 usb: dwc3: ep0: fix NULL pointer exception
851dee5a5d usb: dwc3: gadget: Bail from dwc3_gadget_exit() if dwc->gadget is NULL
2af93b437a usb: dwc3: meson-g12a: Disable the regulator in the error handling path of the probe
750a0d7556 usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled
b452e8bb7c usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms
0ff5f83ae1 usb: f_ncm: only first packet of aggregate needs to start timer
0f5a20b1fd USB: f_ncm: ncm_bitrate (speed) is unsigned
1bf2c28ab2 mmc: renesas_sdhi: Fix HS400 on R-Car M3-W+
67aca230ca mmc: renesas_sdhi: abort tuning when timeout detected
9752438476 ftrace: Do not blindly read the ip address in ftrace_bug()
74d3b20b1b cgroup1: don't allow '\n' in renaming
31fe243a63 btrfs: promote debugging asserts to full-fledged checks in validate_super
ca69dc891b btrfs: return value from btrfs_mark_extent_written() in case of error
bf240fee5b async_xor: check src_offs is not NULL before updating it
8d5c0f6b7a staging: rtl8723bs: Fix uninitialized variables
7af299b977 kvm: avoid speculation-based attacks from out-of-range memslot accesses
6b6ff4d1f3 KVM: X86: MMU: Use the correct inherited permissions to get shadow page
14831b7956 perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server
aa8591a58c drm: Lock pointer access in drm_master_release()
491d52e007 drm: Fix use-after-free read in drm_getunique()
afd87792db Revert "ACPI: sleep: Put the FACS table after using it"
82a8ffba54 spi: bcm2835: Fix out-of-bounds access with more than 4 slaves
05e6b71594 ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8
d62d55f394 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 840 Aero G8
5573068067 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP EliteBook x360 1040 G8
bd0fe358d1 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Elite Dragonfly G2
6a81e47788 ALSA: hda/realtek: headphone and mic don't work on an Acer laptop
98f842951f ALSA: firewire-lib: fix the context to call snd_pcm_stop_xrun()
bd7d88b087 ALSA: seq: Fix race of snd_seq_timer_open()
fff6af6dea i2c: mpc: implement erratum A-004447 workaround
d78b76af9f i2c: mpc: Make use of i2c_recover_bus()
fa05ba6196 spi: Cleanup on failure of initial setup
0c4d4de2da spi: Don't have controller clean up spi device before driver unbind
3a5b982463 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
a7c3c17867 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
590f718a64 nvmet: fix false keep-alive timeout when a controller is torn down
2538f06f94 nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
b0308804b2 bnx2x: Fix missing error code in bnx2x_iov_init_one()
90547d5db5 dm verity: fix require_signatures module_param permissions
7519ece673 MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
37a079a6ae nvme-fabrics: decode host pathing error for connect
f42afc0f29 net: dsa: microchip: enable phy errata workaround on 9567
ee144b7980 net: appletalk: cops: Fix data race in cops_probe1
a385cbf31e net: macb: ensure the device is available before accessing GEMGXL control registers
bbb48789b6 scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
1676363528 scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq
eac1d159b7 scsi: vmw_pvscsi: Set correct residual data length
30030c6ff3 scsi: bnx2fc: Return failure if io_req is already in ABTS processing
8d717c9135 net:sfc: fix non-freed irq in legacy irq mode
e806df71ee RDS tcp loopback connection can hang
4353eb4218 net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
ad241cb1cf wq: handle VM suspension in stall detection
5ca472d40e cgroup: disable controllers at parse time
be23c4af3d net: mdiobus: get rid of a BUG_ON()
1d6d43d480 netlink: disable IRQs for netlink_lock_table()
42e4900138 bonding: init notify_work earlier to avoid uninitialized use
143fc72209 isdn: mISDN: netjet: Fix crash in nj_probe:
2e2145ccfb usb: chipidea: udc: assign interrupt number to USB gadget structure
06e84ea1f4 spi: sprd: Add missing MODULE_DEVICE_TABLE
369f3caa4d ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
01905f3232 vfio-ccw: Serialize FSM IDLE state with I/O completion
cad3dc73c0 vfio-ccw: Reset FSM state to IDLE inside FSM
4352209ed0 ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet
a5ee8f54d0 ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet
2f523cd4a9 usb: cdns3: Fix runtime PM imbalance on error
1e5cab5020 net/nfc/rawsock.c: fix a permission check bug
584b2c7ce2 bpf: Forbid trampoline attach for functions with variable arguments
fb91ab403e spi: spi-zynq-qspi: Fix stack violation bug
4b8b7bc3a7 spi: Fix spi device unregister flow
cb24d57ad5 ASoC: amd: fix for pcm_read() error
3b89db7468 ASoC: max98088: fix ni clock divider calculation
f70102cb36 proc: Track /proc/$pid/attr/ opener mm_struct
3c79e1658f Merge branch 'android12-5.10' 'android12-5.10-lts'
2935d31616 Merge branch 'android12-5.10' 'android12-5.10-lts'
3956bf29b2 ANDROID: clang: update to 12.0.5
f9761818fe ANDROID: GKI: Refresh ABI following trimmed symbol CRC fix
e913e8a922 FROMLIST: export: Make CRCs robust to symbol trimming
b0c3c31639 Merge branch 'android12-5.10' into android12-5.10-lts
e9fa24e154 ANDROID: Add GKI_HIDDEN_MM_CONFIGS to support ballooning.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4cb43e42abd29006bab26b7e65ecfa052e10eed9
2021-10-21 09:45:02 +02:00
Greg Kroah-Hartman
7d8687d4ef Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

c82b315c4b ANDROID: GKI: rockchip: Enable symbols for phy
c10e63b794 ANDROID: GKI: rockchip: Enable symbols for rockchip-opp
54a33334de ANDROID: GKI: rockchip: Enable symbols for sdhci-arasan
6276cc3982 ANDROID: GKI: rockchip: Enable symbols for devfreq
a195017de8 ANDROID: GKI: rockchip: Enable symbols for gpio-rockchip
068f20142a ANDROID: GKI: rockchip: Enable symbol for pm-domain
6cef9b2952 ANDROID: GKI: rockchip: Enable symbols for common clk
fd41ec3b94 ANDROID: GKI: rockchip: Enable symbols for rtc-rk808
7827c05b00 ANDROID: GKI: rockchip: Enable symbol for panel-simple
229f9c2faf ANDROID: GKI: rockchip: Enable symbol for ov5695
94f76a7779 ANDROID: GKI: rockchip: Enable symbol for nvme
4275c37d4e ANDROID: GKI: rockchip: Enable symbols for iio
be153f6250 ANDROID: GKI: rockchip: Enable symbol for cw2015_battery
a90c09dd41 ANDROID: GKI: rockchip: Enable symbols for mmc driver
f1e23eee85 ANDROID: GKI: rockchip: Enable symbols for cpufreq governor
5f020167d0 ANDROID: GKI: rockchip: Enable symbols for scsi ch
64665afcb3 ANDROID: GKI: rockchip: Enable symbols for adc-keys
b37b3c9eaa ANDROID: GKI: rockchip: Enable symbol for act8865
21034d71fc ANDROID: GKI: rockchip: Enable symbols for pwm_bl
576c7a6297 ANDROID: GKI: rockchip: Enable symbols for phy
fc1e452fa3 ANDROID: GKI: rockchip: Enable symbols for LED hardbeat
f4b3d35dfa FROMLIST: scsi: ufs: Fix task management completion
7b6860d2a4 ANDROID: scsi: ufs: Rename struct ufs_hba_with_hpb into ufs_hba_add_info
5adc3c4124 ANDROID: Update the ABI representation
e774e4eca6 ANDROID: scsi: ufs: add complete init vendor hook
7050ead570 ANDROID: qcom: Add qdisc related symbols
d788d16fed FROMGIT: scs: Release kasan vmalloc poison in scs_free process
2659f14d93 UPSTREAM: arm64: Kconfig: select KASAN_VMALLOC if KANSAN_GENERIC is enabled
23232f84c8 UPSTREAM: arm64: kaslr: support randomized module area with KASAN_VMALLOC
ef61240f62 UPSTREAM: arm64: Kconfig: support CONFIG_KASAN_VMALLOC
d0f4b61ae6 UPSTREAM: arm64: kasan: abstract _text and _end to KERNEL_START/END
4d91b1f6ee UPSTREAM: arm64: kasan: don't populate vmalloc area for CONFIG_KASAN_VMALLOC
935b5c3bdd ANDROID: GKI: rockchip: Enable symbols for rk808-regulator
9a8a15b8bd ANDROID: GKI: rockchip: Enable symbols for hid
55b0b34791 FROMGIT: arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
6c6d1d7e42 UPSTREAM: arm64: add MTE supported check to thread switching and syscall entry/exit
f746714fe4 UPSTREAM: arm64: kasan: mte: use a constant kernel GCR_EL1 value
eb02ea0e35 ANDROID: GKI: fix mode of android/abi_gki_aarch64.xml file
62ad82b86b ANDROID: ABI: update allowed list for galaxy
f1a5448fa7 ANDROID: GKI: rockchip: Convert symbol to order by module
18d90d0300 ANDROID: GKI: Add a symbol to symbol list
cb7a5d58a9 FROMLIST: arm64: mm: update max_pfn after memory hotplug
477cd8fd78 ANDROID: GKI: Update symbols to symbol list
dcd77f0b74 UPSTREAM: erofs: fix 1 lcluster-sized pcluster for big pcluster
e085d3f0d0 UPSTREAM: erofs: enable big pcluster feature
ed0607cc52 UPSTREAM: erofs: support decompress big pcluster for lz4 backend
d34cb6cdc0 UPSTREAM: erofs: support parsing big pcluster compact indexes
051d76b899 UPSTREAM: erofs: support parsing big pcluster compress indexes
d149931601 UPSTREAM: erofs: adjust per-CPU buffers according to max_pclusterblks
95a1d5df84 UPSTREAM: erofs: add big physical cluster definition
8043aaed1d UPSTREAM: erofs: fix up inplace I/O pointer for big pcluster
6ad2f8f169 UPSTREAM: erofs: introduce physical cluster slab pools
432f58b100 UPSTREAM: erofs: introduce multipage per-CPU buffers
571c9a0bd3 UPSTREAM: erofs: remove a void EROFS_VERSION macro set in Makefile
431d73396d UPSTREAM: erofs: reserve physical_clusterbits[]
89dbc6246a UPSTREAM: erofs: Clean up spelling mistakes found in fs/erofs
ac1f14e9d5 UPSTREAM: erofs: add on-disk compression configurations
cd21e62366 UPSTREAM: erofs: introduce on-disk lz4 fs configurations
e17fd2ac9d UPSTREAM: erofs: introduce erofs_sb_has_xxx() helpers
ba1a3d1fb2 UPSTREAM: erofs: don't use erofs_map_blocks() any more
384b2cdaf8 UPSTREAM: erofs: complete a missing case for inplace I/O
a9ac6ae90e BACKPORT: UPSTREAM: mm: fs: invalidate bh_lrus for only cold path
49af2e35d5 FROMLIST: dma-buf: support users to change dma_buf.name
3b1f439841 ANDROID: GKI: Update symbol list for vivo
c82dbcbec1 BACKPORT: ASoC: soc-pcm: Get all BEs along DAPM path
de7ca5e752 ANDROID: Disable CFI on trace hooks
38532a9f24 ANDROID: GKI: Update symbol list for new modules
099e8c7741 ANDROID: Update symbol list for mtk
cfc0a49c73 ANDROID: fs/fuse: Keep FUSE file times consistent with lower file
cdbeb135e5 ANDROID: GKI: Update symbols to symbol list
66e24eb093 Revert "ANDROID: mm: page_pinner: use EXPORT_SYMBOL_GPL"
5f10883630 Revert "FROMLIST: USB: gadget: f_fs: add SuperSpeed Plus support"
4e6242598d UPSTREAM: drm/dp_mst: Fix return code on sideband message failure
bb13ff0598 BACKPORT: FROMGIT: usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind
0671bafa24 UPSTREAM: tracing: Fix NULL pointer dereference in start_creating
aae44f81e3 ANDROID: enable MTK RNDIS
f278b215d4 ANDROID: abi_gki_aarch64_qcom: Add 2 new symbols for gsi
e21fe3ef80 ANDROID: Update the ABI representation
b74189ec8b ANDROID: GKI: Update abi_gki_aarch64_qcom for rtc_tm_to_ktime and rtc_ktime_to_tm
4652709913 ANDROID: fuse: Allocate zeroed memory for canonical path
96db9b84a6 FROMGIT: f2fs: should use GFP_NOFS for directory inodes
96beb15eb2 UPSTREAM: mm, slub: move slub_debug static key enabling outside slab_mutex
9f821f9789 UPSTREAM: mm, slub: enable slub_debug static key when creating cache with explicit debug flags
bcbaadf442 UPSTREAM: PM: sleep: core: Avoid setting power.must_resume to false
ba98a3a1bb BACKPORT: FROMGIT: usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval
d9e738916e BACKPORT: FROMGIT: usb: gadget: f_uac2: Add missing companion descriptor for feedback EP
6773d5cd77 Revert "FROMLIST: usb: gadget: f_uac2: Add missing companion descriptor for feedback EP"
e6e66cb3dd ANDROID: Update the ABI representation
5a4ed990f2 FROMGIT: binder: make sure fd closes complete
b55536ba69 ANDROID: abi_gki_aarch64_qcom: Add vsock functions
4d9d866fe5 ANDROID: mm: unlock the page on speculative fault retry
fd2214199a FROMGIT: binder: fix freeze race
fca745e32d FROMLIST: dm-verity: skip verity_handle_error on I/O errors
640610dbc4 UPSTREAM: thermal: cpufreq_cooling: Update also offline CPUs per-cpu thermal_pressure

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I2534965b25926060feaac05e1ae2821e6a12cc45
2021-10-06 08:10:13 +02:00
Greg Kroah-Hartman
beafee90ec Merge 5.10.68 into android12-5.10-lts
Changes in 5.10.68
	drm/bridge: lt9611: Fix handling of 4k panels
	btrfs: fix upper limit for max_inline for page size 64K
	io_uring: ensure symmetry in handling iter types in loop_rw_iter()
	xen: reset legacy rtc flag for PV domU
	bnx2x: Fix enabling network interfaces without VFs
	arm64/sve: Use correct size when reinitialising SVE state
	PM: base: power: don't try to use non-existing RTC for storing data
	PCI: Add AMD GPU multi-function power dependencies
	drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
	drm/etnaviv: return context from etnaviv_iommu_context_get
	drm/etnaviv: put submit prev MMU context when it exists
	drm/etnaviv: stop abusing mmu_context as FE running marker
	drm/etnaviv: keep MMU context across runtime suspend/resume
	drm/etnaviv: exec and MMU state is lost when resetting the GPU
	drm/etnaviv: fix MMU context leak on GPU reset
	drm/etnaviv: reference MMU context when setting up hardware state
	drm/etnaviv: add missing MMU context put when reaping MMU mapping
	s390/sclp: fix Secure-IPL facility detection
	x86/pat: Pass valid address to sanitize_phys()
	x86/mm: Fix kern_addr_valid() to cope with existing but not present entries
	tipc: fix an use-after-free issue in tipc_recvmsg
	ethtool: Fix rxnfc copy to user buffer overflow
	net/{mlx5|nfp|bnxt}: Remove unnecessary RTNL lock assert
	net-caif: avoid user-triggerable WARN_ON(1)
	ptp: dp83640: don't define PAGE0
	dccp: don't duplicate ccid when cloning dccp sock
	net/l2tp: Fix reference count leak in l2tp_udp_recv_core
	r6040: Restore MDIO clock frequency after MAC reset
	tipc: increase timeout in tipc_sk_enqueue()
	drm/rockchip: cdn-dp-core: Make cdn_dp_core_resume __maybe_unused
	perf machine: Initialize srcline string member in add_location struct
	net/mlx5: FWTrace, cancel work on alloc pd error flow
	net/mlx5: Fix potential sleeping in atomic context
	nvme-tcp: fix io_work priority inversion
	events: Reuse value read using READ_ONCE instead of re-reading it
	net: ipa: initialize all filter table slots
	gen_compile_commands: fix missing 'sys' package
	vhost_net: fix OoB on sendmsg() failure.
	net/af_unix: fix a data-race in unix_dgram_poll
	net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setup
	x86/uaccess: Fix 32-bit __get_user_asm_u64() when CC_HAS_ASM_GOTO_OUTPUT=y
	tcp: fix tp->undo_retrans accounting in tcp_sacktag_one()
	selftest: net: fix typo in altname test
	qed: Handle management FW error
	udp_tunnel: Fix udp_tunnel_nic work-queue type
	dt-bindings: arm: Fix Toradex compatible typo
	ibmvnic: check failover_pending in login response
	KVM: PPC: Book3S HV: Tolerate treclaim. in fake-suspend mode changing registers
	bnxt_en: make bnxt_free_skbs() safe to call after bnxt_free_mem()
	net: hns3: pad the short tunnel frame before sending to hardware
	net: hns3: change affinity_mask to numa node range
	net: hns3: disable mac in flr process
	net: hns3: fix the timing issue of VF clearing interrupt sources
	mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range()
	dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation
	mfd: db8500-prcmu: Adjust map to reality
	PCI: Add ACS quirks for NXP LX2xx0 and LX2xx2 platforms
	fuse: fix use after free in fuse_read_interrupt()
	PCI: tegra194: Fix handling BME_CHGED event
	PCI: tegra194: Fix MSI-X programming
	PCI: tegra: Fix OF node reference leak
	mfd: Don't use irq_create_mapping() to resolve a mapping
	PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe()
	tracing/probes: Reject events which have the same name of existing one
	PCI: cadence: Use bitfield for *quirk_retrain_flag* instead of bool
	PCI: cadence: Add quirk flag to set minimum delay in LTSSM Detect.Quiet state
	PCI: j721e: Add PCIe support for J7200
	PCI: j721e: Add PCIe support for AM64
	PCI: Add ACS quirks for Cavium multi-function devices
	watchdog: Start watchdog in watchdog_set_last_hw_keepalive only if appropriate
	octeontx2-af: Add additional register check to rvu_poll_reg()
	Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6
	net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920
	block, bfq: honor already-setup queue merges
	PCI: ibmphp: Fix double unmap of io_mem
	ethtool: Fix an error code in cxgb2.c
	NTB: Fix an error code in ntb_msit_probe()
	NTB: perf: Fix an error code in perf_setup_inbuf()
	s390/bpf: Fix optimizing out zero-extensions
	s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant
	s390/bpf: Fix branch shortening during codegen pass
	mfd: axp20x: Update AXP288 volatile ranges
	backlight: ktd253: Stabilize backlight
	PCI: of: Don't fail devm_pci_alloc_host_bridge() on missing 'ranges'
	PCI: iproc: Fix BCMA probe resource handling
	netfilter: Fix fall-through warnings for Clang
	netfilter: nft_ct: protect nft_ct_pcpu_template_refcnt with mutex
	KVM: arm64: Restrict IPA size to maximum 48 bits on 4K and 16K page size
	PCI: Fix pci_dev_str_match_path() alloc while atomic bug
	mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
	tracing/boot: Fix a hist trigger dependency for boot time tracing
	mtd: mtdconcat: Judge callback existence based on the master
	mtd: mtdconcat: Check _read, _write callbacks existence before assignment
	KVM: arm64: Fix read-side race on updates to vcpu reset state
	KVM: arm64: Handle PSCI resets before userspace touches vCPU state
	PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n
	mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()'
	ARC: export clear_user_page() for modules
	perf unwind: Do not overwrite FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64}
	perf bench inject-buildid: Handle writen() errors
	gpio: mpc8xxx: Fix a resources leak in the error handling path of 'mpc8xxx_probe()'
	gpio: mpc8xxx: Use 'devm_gpiochip_add_data()' to simplify the code and avoid a leak
	net: dsa: tag_rtl4_a: Fix egress tags
	selftests: mptcp: clean tmp files in simult_flows
	net: hso: add failure handler for add_net_device
	net: dsa: b53: Fix calculating number of switch ports
	net: dsa: b53: Set correct number of ports in the DSA struct
	netfilter: socket: icmp6: fix use-after-scope
	fq_codel: reject silly quantum parameters
	qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
	ip_gre: validate csum_start only on pull
	net: dsa: b53: Fix IMP port setup on BCM5301x
	bnxt_en: fix stored FW_PSID version masks
	bnxt_en: Fix asic.rev in devlink dev info command
	bnxt_en: log firmware debug notifications
	bnxt_en: Consolidate firmware reset event logging.
	bnxt_en: Convert to use netif_level() helpers.
	bnxt_en: Improve logging of error recovery settings information.
	bnxt_en: Fix possible unintended driver initiated error recovery
	mfd: lpc_sch: Partially revert "Add support for Intel Quark X1000"
	mfd: lpc_sch: Rename GPIOBASE to prevent build error
	net: renesas: sh_eth: Fix freeing wrong tx descriptor
	x86/mce: Avoid infinite loop for copy from user recovery
	bnxt_en: Fix error recovery regression
	net: dsa: bcm_sf2: Fix array overrun in bcm_sf2_num_active_ports()
	Linux 5.10.68

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I542f48f8de516dcabce91d3d399583483aba0da7
2021-09-30 18:35:35 +02:00
Greg Kroah-Hartman
08ed4cb090 Merge 5.10.67 into android12-5.10-lts
Changes in 5.10.67
	rtc: tps65910: Correct driver module alias
	io_uring: limit fixed table size by RLIMIT_NOFILE
	io_uring: place fixed tables under memcg limits
	io_uring: add ->splice_fd_in checks
	io_uring: fail links of cancelled timeouts
	io-wq: fix wakeup race when adding new work
	btrfs: wake up async_delalloc_pages waiters after submit
	btrfs: reset replace target device to allocation state on close
	blk-zoned: allow zone management send operations without CAP_SYS_ADMIN
	blk-zoned: allow BLKREPORTZONE without CAP_SYS_ADMIN
	PCI/MSI: Skip masking MSI-X on Xen PV
	powerpc/perf/hv-gpci: Fix counter value parsing
	xen: fix setting of max_pfn in shared_info
	9p/xen: Fix end of loop tests for list_for_each_entry
	ceph: fix dereference of null pointer cf
	selftests/ftrace: Fix requirement check of README file
	tools/thermal/tmon: Add cross compiling support
	clk: socfpga: agilex: fix the parents of the psi_ref_clk
	clk: socfpga: agilex: fix up s2f_user0_clk representation
	clk: socfpga: agilex: add the bypass register for s2f_usr0 clock
	pinctrl: stmfx: Fix hazardous u8[] to unsigned long cast
	pinctrl: ingenic: Fix incorrect pull up/down info
	soc: qcom: aoss: Fix the out of bound usage of cooling_devs
	soc: aspeed: lpc-ctrl: Fix boundary check for mmap
	soc: aspeed: p2a-ctrl: Fix boundary check for mmap
	arm64: mm: Fix TLBI vs ASID rollover
	arm64: head: avoid over-mapping in map_memory
	iio: ltc2983: fix device probe
	wcn36xx: Ensure finish scan is not requested before start scan
	crypto: public_key: fix overflow during implicit conversion
	block: bfq: fix bfq_set_next_ioprio_data()
	power: supply: max17042: handle fails of reading status register
	dm crypt: Avoid percpu_counter spinlock contention in crypt_page_alloc()
	crypto: ccp - shutdown SEV firmware on kexec
	VMCI: fix NULL pointer dereference when unmapping queue pair
	media: uvc: don't do DMA on stack
	media: rc-loopback: return number of emitters rather than error
	s390/qdio: fix roll-back after timeout on ESTABLISH ccw
	s390/qdio: cancel the ESTABLISH ccw after timeout
	Revert "dmaengine: imx-sdma: refine to load context only once"
	dmaengine: imx-sdma: remove duplicated sdma_load_context
	libata: add ATA_HORKAGE_NO_NCQ_TRIM for Samsung 860 and 870 SSDs
	ARM: 9105/1: atags_to_fdt: don't warn about stack size
	f2fs: fix to do sanity check for sb/cp fields correctly
	PCI/portdrv: Enable Bandwidth Notification only if port supports it
	PCI: Restrict ASMedia ASM1062 SATA Max Payload Size Supported
	PCI: Return ~0 data on pciconfig_read() CAP_SYS_ADMIN failure
	PCI: xilinx-nwl: Enable the clock through CCF
	PCI: aardvark: Configure PCIe resources from 'ranges' DT property
	PCI: Export pci_pio_to_address() for module use
	PCI: aardvark: Fix checking for PIO status
	PCI: aardvark: Fix masking and unmasking legacy INTx interrupts
	HID: input: do not report stylus battery state as "full"
	f2fs: quota: fix potential deadlock
	pinctrl: remove empty lines in pinctrl subsystem
	pinctrl: armada-37xx: Correct PWM pins definitions
	scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND
	clk: rockchip: drop GRF dependency for rk3328/rk3036 pll types
	IB/hfi1: Adjust pkey entry in index 0
	RDMA/iwcm: Release resources if iw_cm module initialization fails
	docs: Fix infiniband uverbs minor number
	scsi: BusLogic: Use %X for u32 sized integer rather than %lX
	pinctrl: samsung: Fix pinctrl bank pin count
	vfio: Use config not menuconfig for VFIO_NOIOMMU
	scsi: ufs: Fix memory corruption by ufshcd_read_desc_param()
	cpuidle: pseries: Fixup CEDE0 latency only for POWER10 onwards
	powerpc/stacktrace: Include linux/delay.h
	RDMA/efa: Remove double QP type assignment
	RDMA/mlx5: Delete not-available udata check
	cpuidle: pseries: Mark pseries_idle_proble() as __init
	f2fs: reduce the scope of setting fsck tag when de->name_len is zero
	openrisc: don't printk() unconditionally
	dma-debug: fix debugfs initialization order
	NFSv4/pNFS: Fix a layoutget livelock loop
	NFSv4/pNFS: Always allow update of a zero valued layout barrier
	NFSv4/pnfs: The layout barrier indicate a minimal value for the seqid
	SUNRPC: Fix potential memory corruption
	SUNRPC/xprtrdma: Fix reconnection locking
	SUNRPC query transport's source port
	sunrpc: Fix return value of get_srcport()
	scsi: fdomain: Fix error return code in fdomain_probe()
	pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry()
	powerpc/numa: Consider the max NUMA node for migratable LPAR
	scsi: smartpqi: Fix an error code in pqi_get_raid_map()
	scsi: qedi: Fix error codes in qedi_alloc_global_queues()
	scsi: qedf: Fix error codes in qedf_alloc_global_queues()
	powerpc/config: Renable MTD_PHYSMAP_OF
	iommu/vt-d: Update the virtual command related registers
	HID: i2c-hid: Fix Elan touchpad regression
	clk: imx8m: fix clock tree update of TF-A managed clocks
	KVM: PPC: Book3S HV: Fix copy_tofrom_guest routines
	scsi: ufs: ufs-exynos: Fix static checker warning
	KVM: PPC: Book3S HV Nested: Reflect guest PMU in-use to L0 when guest SPRs are live
	platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call
	powerpc/smp: Update cpu_core_map on all PowerPc systems
	RDMA/hns: Fix QP's resp incomplete assignment
	fscache: Fix cookie key hashing
	clk: at91: clk-generated: Limit the requested rate to our range
	KVM: PPC: Fix clearing never mapped TCEs in realmode
	soc: mediatek: cmdq: add address shift in jump
	f2fs: fix to account missing .skipped_gc_rwsem
	f2fs: fix unexpected ENOENT comes from f2fs_map_blocks()
	f2fs: fix to unmap pages from userspace process in punch_hole()
	f2fs: deallocate compressed pages when error happens
	f2fs: should put a page beyond EOF when preparing a write
	MIPS: Malta: fix alignment of the devicetree buffer
	kbuild: Fix 'no symbols' warning when CONFIG_TRIM_UNUSD_KSYMS=y
	userfaultfd: prevent concurrent API initialization
	drm/vc4: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SET
	drm/amdgpu: Fix amdgpu_ras_eeprom_init()
	ASoC: atmel: ATMEL drivers don't need HAS_DMA
	media: dib8000: rewrite the init prbs logic
	libbpf: Fix reuse of pinned map on older kernel
	x86/hyperv: fix for unwanted manipulation of sched_clock when TSC marked unstable
	crypto: mxs-dcp - Use sg_mapping_iter to copy data
	PCI: Use pci_update_current_state() in pci_enable_device_flags()
	tipc: keep the skb in rcv queue until the whole data is read
	net: phy: Fix data type in DP83822 dp8382x_disable_wol()
	iio: dac: ad5624r: Fix incorrect handling of an optional regulator.
	iavf: do not override the adapter state in the watchdog task
	iavf: fix locking of critical sections
	ARM: dts: qcom: apq8064: correct clock names
	video: fbdev: kyro: fix a DoS bug by restricting user input
	netlink: Deal with ESRCH error in nlmsg_notify()
	Smack: Fix wrong semantics in smk_access_entry()
	drm: avoid blocking in drm_clients_info's rcu section
	drm: serialize drm_file.master with a new spinlock
	drm: protect drm_master pointers in drm_lease.c
	rcu: Fix macro name CONFIG_TASKS_RCU_TRACE
	igc: Check if num of q_vectors is smaller than max before array access
	usb: host: fotg210: fix the endpoint's transactional opportunities calculation
	usb: host: fotg210: fix the actual_length of an iso packet
	usb: gadget: u_ether: fix a potential null pointer dereference
	USB: EHCI: ehci-mv: improve error handling in mv_ehci_enable()
	usb: gadget: composite: Allow bMaxPower=0 if self-powered
	staging: board: Fix uninitialized spinlock when attaching genpd
	tty: serial: jsm: hold port lock when reporting modem line changes
	bus: fsl-mc: fix mmio base address for child DPRCs
	selftests: firmware: Fix ignored return val of asprintf() warn
	drm/amd/display: Fix timer_per_pixel unit error
	media: hantro: vp8: Move noisy WARN_ON to vpu_debug
	media: platform: stm32: unprepare clocks at handling errors in probe
	media: atomisp: Fix runtime PM imbalance in atomisp_pci_probe
	media: atomisp: pci: fix error return code in atomisp_pci_probe()
	nfp: fix return statement in nfp_net_parse_meta()
	ethtool: improve compat ioctl handling
	drm/amdgpu: Fix a printing message
	drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex
	bpf/tests: Fix copy-and-paste error in double word test
	bpf/tests: Do not PASS tests without actually testing the result
	drm/bridge: nwl-dsi: Avoid potential multiplication overflow on 32-bit
	arm64: dts: allwinner: h6: tanix-tx6: Fix regulator node names
	video: fbdev: asiliantfb: Error out if 'pixclock' equals zero
	video: fbdev: kyro: Error out if 'pixclock' equals zero
	video: fbdev: riva: Error out if 'pixclock' equals zero
	ipv4: ip_output.c: Fix out-of-bounds warning in ip_copy_addrs()
	flow_dissector: Fix out-of-bounds warnings
	s390/jump_label: print real address in a case of a jump label bug
	s390: make PCI mio support a machine flag
	serial: 8250: Define RX trigger levels for OxSemi 950 devices
	xtensa: ISS: don't panic in rs_init
	hvsi: don't panic on tty_register_driver failure
	serial: 8250_pci: make setup_port() parameters explicitly unsigned
	staging: ks7010: Fix the initialization of the 'sleep_status' structure
	samples: bpf: Fix tracex7 error raised on the missing argument
	libbpf: Fix race when pinning maps in parallel
	ata: sata_dwc_460ex: No need to call phy_exit() befre phy_init()
	Bluetooth: skip invalid hci_sync_conn_complete_evt
	workqueue: Fix possible memory leaks in wq_numa_init()
	ARM: dts: stm32: Set {bitclock,frame}-master phandles on DHCOM SoM
	ARM: dts: stm32: Set {bitclock,frame}-master phandles on ST DKx
	ARM: dts: stm32: Update AV96 adv7513 node per dtbs_check
	bonding: 3ad: fix the concurrency between __bond_release_one() and bond_3ad_state_machine_handler()
	ARM: dts: at91: use the right property for shutdown controller
	arm64: tegra: Fix Tegra194 PCIe EP compatible string
	ASoC: Intel: bytcr_rt5640: Move "Platform Clock" routes to the maps for the matching in-/output
	ASoC: Intel: update sof_pcm512x quirks
	media: imx258: Rectify mismatch of VTS value
	media: imx258: Limit the max analogue gain to 480
	media: v4l2-dv-timings.c: fix wrong condition in two for-loops
	media: TDA1997x: fix tda1997x_query_dv_timings() return value
	media: tegra-cec: Handle errors of clk_prepare_enable()
	gfs2: Fix glock recursion in freeze_go_xmote_bh
	arm64: dts: qcom: sdm630: Rewrite memory map
	arm64: dts: qcom: sdm630: Fix TLMM node and pinctrl configuration
	serial: 8250_omap: Handle optional overrun-throttle-ms property
	ARM: dts: imx53-ppd: Fix ACHC entry
	arm64: dts: qcom: ipq8074: fix pci node reg property
	arm64: dts: qcom: sdm660: use reg value for memory node
	arm64: dts: qcom: ipq6018: drop '0x' from unit address
	arm64: dts: qcom: sdm630: don't use underscore in node name
	arm64: dts: qcom: msm8994: don't use underscore in node name
	arm64: dts: qcom: msm8996: don't use underscore in node name
	arm64: dts: qcom: sm8250: Fix epss_l3 unit address
	nvmem: qfprom: Fix up qfprom_disable_fuse_blowing() ordering
	net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe()
	drm/msm: mdp4: drop vblank get/put from prepare/complete_commit
	drm/msm/dsi: Fix DSI and DSI PHY regulator config from SDM660
	drm: xlnx: zynqmp_dpsub: Call pm_runtime_get_sync before setting pixel clock
	drm: xlnx: zynqmp: release reset to DP controller before accessing DP registers
	thunderbolt: Fix port linking by checking all adapters
	drm/amd/display: fix missing writeback disablement if plane is removed
	drm/amd/display: fix incorrect CM/TF programming sequence in dwb
	selftests/bpf: Fix xdp_tx.c prog section name
	drm/vmwgfx: fix potential UAF in vmwgfx_surface.c
	Bluetooth: schedule SCO timeouts with delayed_work
	Bluetooth: avoid circular locks in sco_sock_connect
	drm/msm/dp: return correct edid checksum after corrupted edid checksum read
	net/mlx5: Fix variable type to match 64bit
	gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port()
	drm/display: fix possible null-pointer dereference in dcn10_set_clock()
	mac80211: Fix monitor MTU limit so that A-MSDUs get through
	ARM: tegra: acer-a500: Remove bogus USB VBUS regulators
	ARM: tegra: tamonten: Fix UART pad setting
	arm64: tegra: Fix compatible string for Tegra132 CPUs
	arm64: dts: ls1046a: fix eeprom entries
	nvme-tcp: don't check blk_mq_tag_to_rq when receiving pdu data
	nvme: code command_id with a genctr for use-after-free validation
	Bluetooth: Fix handling of LE Enhanced Connection Complete
	opp: Don't print an error if required-opps is missing
	serial: sh-sci: fix break handling for sysrq
	iomap: pass writeback errors to the mapping
	tcp: enable data-less, empty-cookie SYN with TFO_SERVER_COOKIE_NOT_REQD
	rpc: fix gss_svc_init cleanup on failure
	selftests/bpf: Fix flaky send_signal test
	hwmon: (pmbus/ibm-cffps) Fix write bits for LED control
	staging: rts5208: Fix get_ms_information() heap buffer size
	net: Fix offloading indirect devices dependency on qdisc order creation
	kselftest/arm64: mte: Fix misleading output when skipping tests
	kselftest/arm64: pac: Fix skipping of tests on systems without PAC
	gfs2: Don't call dlm after protocol is unmounted
	usb: chipidea: host: fix port index underflow and UBSAN complains
	lockd: lockd server-side shouldn't set fl_ops
	drm/exynos: Always initialize mapping in exynos_drm_register_dma()
	rtl8xxxu: Fix the handling of TX A-MPDU aggregation
	rtw88: use read_poll_timeout instead of fixed sleep
	rtw88: wow: build wow function only if CONFIG_PM is on
	rtw88: wow: fix size access error of probe request
	octeontx2-pf: Fix NIX1_RX interface backpressure
	m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch
	btrfs: tree-log: check btrfs_lookup_data_extent return value
	soundwire: intel: fix potential race condition during power down
	ASoC: Intel: Skylake: Fix module configuration for KPB and MIXER
	ASoC: Intel: Skylake: Fix passing loadable flag for module
	of: Don't allow __of_attached_node_sysfs() without CONFIG_SYSFS
	mmc: sdhci-of-arasan: Modified SD default speed to 19MHz for ZynqMP
	mmc: sdhci-of-arasan: Check return value of non-void funtions
	mmc: rtsx_pci: Fix long reads when clock is prescaled
	selftests/bpf: Enlarge select() timeout for test_maps
	mmc: core: Return correct emmc response in case of ioctl error
	cifs: fix wrong release in sess_alloc_buffer() failed path
	Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set"
	usb: musb: musb_dsps: request_irq() after initializing musb
	usbip: give back URBs for unsent unlink requests during cleanup
	usbip:vhci_hcd USB port can get stuck in the disabled state
	ASoC: rockchip: i2s: Fix regmap_ops hang
	ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B
	drm/amdkfd: Account for SH/SE count when setting up cu masks.
	nfsd: fix crash on LOCKT on reexported NFSv3
	iwlwifi: pcie: free RBs during configure
	iwlwifi: mvm: fix a memory leak in iwl_mvm_mac_ctxt_beacon_changed
	iwlwifi: mvm: avoid static queue number aliasing
	iwlwifi: mvm: fix access to BSS elements
	iwlwifi: fw: correctly limit to monitor dump
	iwlwifi: mvm: Fix scan channel flags settings
	net/mlx5: DR, fix a potential use-after-free bug
	net/mlx5: DR, Enable QP retransmission
	parport: remove non-zero check on count
	selftests/bpf: Fix potential unreleased lock
	wcn36xx: Fix missing frame timestamp for beacon/probe-resp
	ath9k: fix OOB read ar9300_eeprom_restore_internal
	ath9k: fix sleeping in atomic context
	net: fix NULL pointer reference in cipso_v4_doi_free
	fix array-index-out-of-bounds in taprio_change
	net: w5100: check return value after calling platform_get_resource()
	net: hns3: clean up a type mismatch warning
	fs/io_uring Don't use the return value from import_iovec().
	io_uring: remove duplicated io_size from rw
	parisc: fix crash with signals and alloca
	ovl: fix BUG_ON() in may_delete() when called from ovl_cleanup()
	scsi: BusLogic: Fix missing pr_cont() use
	scsi: qla2xxx: Changes to support kdump kernel
	scsi: qla2xxx: Sync queue idx with queue_pair_map idx
	cpufreq: powernv: Fix init_chip_info initialization in numa=off
	s390/pv: fix the forcing of the swiotlb
	hugetlb: fix hugetlb cgroup refcounting during vma split
	mm/hmm: bypass devmap pte when all pfn requested flags are fulfilled
	mm/hugetlb: initialize hugetlb_usage in mm_init
	mm,vmscan: fix divide by zero in get_scan_count
	memcg: enable accounting for pids in nested pid namespaces
	libnvdimm/pmem: Fix crash triggered when I/O in-flight during unbind
	platform/chrome: cros_ec_proto: Send command again when timeout occurs
	lib/test_stackinit: Fix static initializer test
	net: dsa: lantiq_gswip: fix maximum frame length
	drm/mgag200: Select clock in PLL update functions
	drm/msi/mdp4: populate priv->kms in mdp4_kms_init
	drm/dp_mst: Fix return code on sideband message failure
	drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv
	drm/amdgpu: Fix BUG_ON assert
	drm/amd/display: Update number of DCN3 clock states
	drm/amd/display: Update bounding box states (v2)
	drm/panfrost: Simplify lock_region calculation
	drm/panfrost: Use u64 for size in lock_region
	drm/panfrost: Clamp lock region to Bifrost minimum
	fanotify: limit number of event merge attempts
	Linux 5.10.67

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic8df59518265d0cdf724e93e8922cde48fc85ce9
2021-09-30 12:21:03 +02:00
Eric Dumazet
8c01c620ae fq_codel: reject silly quantum parameters
[ Upstream commit c7c5e6ff53 ]

syzbot found that forcing a big quantum attribute would crash hosts fast,
essentially using this:

tc qd replace dev eth0 root fq_codel quantum 4294967295

This is because fq_codel_dequeue() would have to loop
~2^31 times in :

	if (flow->deficit <= 0) {
		flow->deficit += q->quantum;
		list_move_tail(&flow->flowchain, &q->old_flows);
		goto begin;
	}

SFQ max quantum is 2^19 (half a megabyte)
Lets adopt a max quantum of one megabyte for FQ_CODEL.

Fixes: 4b549a2ef4 ("fq_codel: Fair Queue Codel AQM")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 12:28:05 +02:00
Maciej W. Rozycki
b763d2e7d4 serial: 8250: Define RX trigger levels for OxSemi 950 devices
[ Upstream commit d7aff291d0 ]

Oxford Semiconductor 950 serial port devices have a 128-byte FIFO and in
the enhanced (650) mode, which we select in `autoconfig_has_efr' with
the ECB bit set in the EFR register, they support the receive interrupt
trigger level selectable with FCR bits 7:6 from the set of 16, 32, 112,
120.  This applies to the original OX16C950 discrete UART[1] as well as
950 cores embedded into more complex devices.

For these devices we set the default to 112, which sets an excessively
high level of 112 or 7/8 of the FIFO capacity, unlike with other port
types where we choose at most 1/2 of their respective FIFO capacities.
Additionally we don't make the trigger level configurable.  Consequently
frequent input overruns happen with high bit rates where hardware flow
control cannot be used (e.g. terminal applications) even with otherwise
highly-performant systems.

Lower the default receive interrupt trigger level to 32 then, and make
it configurable.  Document the trigger levels along with other port
types, including the set of 16, 32, 64, 112 for the transmit interrupt
as well[2].

References:

[1] "OX16C950 rev B High Performance UART with 128 byte FIFOs", Oxford
    Semiconductor, Inc., DS-0031, Sep 05, Table 10: "Receiver Trigger
    Levels", p. 22

[2] same, Table 9: "Transmit Interrupt Trigger Levels", p. 22

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2106260608480.37803@angie.orcam.me.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-18 13:40:22 +02:00
Greg Kroah-Hartman
2300418cc6 Merge 5.10.65 into android12-5.10-lts
Changes in 5.10.65
	locking/mutex: Fix HANDOFF condition
	regmap: fix the offset of register error log
	regulator: tps65910: Silence deferred probe error
	crypto: mxs-dcp - Check for DMA mapping errors
	sched/deadline: Fix reset_on_fork reporting of DL tasks
	power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors
	crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
	sched/deadline: Fix missing clock update in migrate_task_rq_dl()
	rcu/tree: Handle VM stoppage in stall detection
	EDAC/mce_amd: Do not load edac_mce_amd module on guests
	posix-cpu-timers: Force next expiration recalc after itimer reset
	hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()
	hrtimer: Ensure timerfd notification for HIGHRES=n
	udf: Check LVID earlier
	udf: Fix iocharset=utf8 mount option
	isofs: joliet: Fix iocharset=utf8 mount option
	bcache: add proper error unwinding in bcache_device_init
	blk-throtl: optimize IOPS throttle for large IO scenarios
	nvme-tcp: don't update queue count when failing to set io queues
	nvme-rdma: don't update queue count when failing to set io queues
	nvmet: pass back cntlid on successful completion
	power: supply: smb347-charger: Add missing pin control activation
	power: supply: max17042_battery: fix typo in MAx17042_TOFF
	s390/cio: add dev_busid sysfs entry for each subchannel
	s390/zcrypt: fix wrong offset index for APKA master key valid state
	libata: fix ata_host_start()
	crypto: omap - Fix inconsistent locking of device lists
	crypto: qat - do not ignore errors from enable_vf2pf_comms()
	crypto: qat - handle both source of interrupt in VF ISR
	crypto: qat - fix reuse of completion variable
	crypto: qat - fix naming for init/shutdown VF to PF notifications
	crypto: qat - do not export adf_iov_putmsg()
	fcntl: fix potential deadlock for &fasync_struct.fa_lock
	udf_get_extendedattr() had no boundary checks.
	s390/kasan: fix large PMD pages address alignment check
	s390/pci: fix misleading rc in clp_set_pci_fn()
	s390/debug: keep debug data on resize
	s390/debug: fix debug area life cycle
	s390/ap: fix state machine hang after failure to enable irq
	power: supply: cw2015: use dev_err_probe to allow deferred probe
	m68k: emu: Fix invalid free in nfeth_cleanup()
	sched/numa: Fix is_core_idle()
	sched: Fix UCLAMP_FLAG_IDLE setting
	rcu: Fix to include first blocked task in stall warning
	rcu: Add lockdep_assert_irqs_disabled() to rcu_sched_clock_irq() and callees
	rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock
	m68k: Fix invalid RMW_INSNS on CPUs that lack CAS
	block: return ELEVATOR_DISCARD_MERGE if possible
	spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config
	spi: spi-pic32: Fix issue with uninitialized dma_slave_config
	genirq/timings: Fix error return code in irq_timings_test_irqs()
	irqchip/loongson-pch-pic: Improve edge triggered interrupt support
	lib/mpi: use kcalloc in mpi_resize
	clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel
	block: nbd: add sanity check for first_minor
	spi: coldfire-qspi: Use clk_disable_unprepare in the remove function
	irqchip/gic-v3: Fix priority comparison when non-secure priorities are used
	crypto: qat - use proper type for vf_mask
	certs: Trigger creation of RSA module signing key if it's not an RSA key
	tpm: ibmvtpm: Avoid error message when process gets signal while waiting
	x86/mce: Defer processing of early errors
	spi: davinci: invoke chipselect callback
	blk-crypto: fix check for too-large dun_bytes
	regulator: vctrl: Use locked regulator_get_voltage in probe path
	regulator: vctrl: Avoid lockdep warning in enable/disable ops
	spi: sprd: Fix the wrong WDG_LOAD_VAL
	spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible
	EDAC/i10nm: Fix NVDIMM detection
	drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()
	drm/gma500: Fix end of loop tests for list_for_each_entry
	ASoC: mediatek: mt8183: Fix Unbalanced pm_runtime_enable in mt8183_afe_pcm_dev_probe
	media: TDA1997x: enable EDID support
	leds: is31fl32xx: Fix missing error code in is31fl32xx_parse_dt()
	soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
	media: cxd2880-spi: Fix an error handling path
	drm/of: free the right object
	bpf: Fix a typo of reuseport map in bpf.h.
	bpf: Fix potential memleak and UAF in the verifier.
	drm/of: free the iterator object on failure
	gve: fix the wrong AdminQ buffer overflow check
	libbpf: Fix the possible memory leak on error
	ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi
	arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
	i40e: improve locking of mac_filter_hash
	soc: qcom: rpmhpd: Use corner in power_off
	libbpf: Fix removal of inner map in bpf_object__create_map
	gfs2: Fix memory leak of object lsi on error return path
	firmware: fix theoretical UAF race with firmware cache and resume
	driver core: Fix error return code in really_probe()
	ionic: cleanly release devlink instance
	media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
	media: dvb-usb: fix uninit-value in vp702x_read_mac_addr
	media: dvb-usb: Fix error handling in dvb_usb_i2c_init
	media: go7007: fix memory leak in go7007_usb_probe
	media: go7007: remove redundant initialization
	media: rockchip/rga: use pm_runtime_resume_and_get()
	media: rockchip/rga: fix error handling in probe
	media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
	media: atomisp: fix the uninitialized use and rename "retvalue"
	Bluetooth: sco: prevent information leak in sco_conn_defer_accept()
	6lowpan: iphc: Fix an off-by-one check of array index
	drm/amdgpu/acp: Make PM domain really work
	tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos
	ARM: dts: meson8: Use a higher default GPU clock frequency
	ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
	ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
	ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
	net/mlx5e: Prohibit inner indir TIRs in IPoIB
	net/mlx5e: Block LRO if firmware asks for tunneled LRO
	cgroup/cpuset: Fix a partition bug with hotplug
	drm: mxsfb: Enable recovery on underflow
	drm: mxsfb: Increase number of outstanding requests on V4 and newer HW
	drm: mxsfb: Clear FIFO_CLEAR bit
	net: cipso: fix warnings in netlbl_cipsov4_add_std
	Bluetooth: mgmt: Fix wrong opcode in the response for add_adv cmd
	arm64: dts: renesas: rzg2: Convert EtherAVB to explicit delay handling
	arm64: dts: renesas: hihope-rzg2-ex: Add EtherAVB internal rx delay
	devlink: Break parameter notification sequence to be before/after unload/load driver
	net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set()
	i2c: highlander: add IRQ check
	leds: lt3593: Put fwnode in any case during ->probe()
	leds: trigger: audio: Add an activate callback to ensure the initial brightness is set
	media: em28xx-input: fix refcount bug in em28xx_usb_disconnect
	media: venus: venc: Fix potential null pointer dereference on pointer fmt
	PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently
	PCI: PM: Enable PME if it can be signaled from D3cold
	bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstring
	soc: qcom: smsm: Fix missed interrupts if state changes while masked
	debugfs: Return error during {full/open}_proxy_open() on rmmod
	Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow
	PM: EM: Increase energy calculation precision
	selftests/bpf: Fix bpf-iter-tcp4 test to print correctly the dest IP
	drm/msm/mdp4: refactor HW revision detection into read_mdp_hw_revision
	drm/msm/mdp4: move HW revision detection to earlier phase
	drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs
	arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7
	counter: 104-quad-8: Return error when invalid mode during ceiling_write
	cgroup/cpuset: Miscellaneous code cleanup
	cgroup/cpuset: Fix violation of cpuset locking rule
	ASoC: Intel: Fix platform ID matching
	Bluetooth: fix repeated calls to sco_sock_kill
	drm/msm/dsi: Fix some reference counted resource leaks
	net/mlx5: Register to devlink ingress VLAN filter trap
	net/mlx5: Fix unpublish devlink parameters
	ASoC: rt5682: Implement remove callback
	ASoC: rt5682: Properly turn off regulators if wrong device ID
	usb: dwc3: meson-g12a: add IRQ check
	usb: dwc3: qcom: add IRQ check
	usb: gadget: udc: at91: add IRQ check
	usb: gadget: udc: s3c2410: add IRQ check
	usb: phy: fsl-usb: add IRQ check
	usb: phy: twl6030: add IRQ checks
	usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse
	selftests/bpf: Fix test_core_autosize on big-endian machines
	devlink: Clear whole devlink_flash_notify struct
	samples: pktgen: add missing IPv6 option to pktgen scripts
	Bluetooth: Move shutdown callback before flushing tx and rx queue
	PM: cpu: Make notifier chain use a raw_spinlock_t
	usb: host: ohci-tmio: add IRQ check
	usb: phy: tahvo: add IRQ check
	libbpf: Re-build libbpf.so when libbpf.map changes
	mac80211: Fix insufficient headroom issue for AMSDU
	locking/lockdep: Mark local_lock_t
	locking/local_lock: Add missing owner initialization
	lockd: Fix invalid lockowner cast after vfs_test_lock
	nfsd4: Fix forced-expiry locking
	arm64: dts: marvell: armada-37xx: Extend PCIe MEM space
	clk: staging: correct reference to config IOMEM to config HAS_IOMEM
	i2c: synquacer: fix deferred probing
	firmware: raspberrypi: Keep count of all consumers
	firmware: raspberrypi: Fix a leak in 'rpi_firmware_get()'
	usb: gadget: mv_u3d: request_irq() after initializing UDC
	mm/swap: consider max pages in iomap_swapfile_add_extent
	lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQ
	Bluetooth: add timeout sanity check to hci_inquiry
	i2c: iop3xx: fix deferred probing
	i2c: s3c2410: fix IRQ check
	i2c: fix platform_get_irq.cocci warnings
	i2c: hix5hd2: fix IRQ check
	gfs2: init system threads before freeze lock
	rsi: fix error code in rsi_load_9116_firmware()
	rsi: fix an error code in rsi_probe()
	ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373
	ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
	ASoC: Intel: Skylake: Fix module resource and format selection
	mmc: sdhci: Fix issue with uninitialized dma_slave_config
	mmc: dw_mmc: Fix issue with uninitialized dma_slave_config
	mmc: moxart: Fix issue with uninitialized dma_slave_config
	bpf: Fix possible out of bound write in narrow load handling
	CIFS: Fix a potencially linear read overflow
	i2c: mt65xx: fix IRQ check
	i2c: xlp9xx: fix main IRQ check
	usb: ehci-orion: Handle errors of clk_prepare_enable() in probe
	usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available
	usb: bdc: Fix a resource leak in the error handling path of 'bdc_probe()'
	tty: serial: fsl_lpuart: fix the wrong mapbase value
	ASoC: wcd9335: Fix a double irq free in the remove function
	ASoC: wcd9335: Fix a memory leak in the error handling path of the probe function
	ASoC: wcd9335: Disable irq on slave ports in the remove function
	iwlwifi: follow the new inclusive terminology
	iwlwifi: skip first element in the WTAS ACPI table
	ice: Only lock to update netdev dev_addr
	ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point()
	atlantic: Fix driver resume flow.
	bcma: Fix memory leak for internally-handled cores
	brcmfmac: pcie: fix oops on failure to resume and reprobe
	ipv6: make exception cache less predictible
	ipv4: make exception cache less predictible
	net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
	net: qualcomm: fix QCA7000 checksum handling
	octeontx2-af: Fix loop in free and unmap counter
	octeontx2-af: Fix static code analyzer reported issues
	octeontx2-af: Set proper errorcode for IPv4 checksum errors
	ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
	ASoC: rt5682: Remove unused variable in rt5682_i2c_remove()
	iwlwifi Add support for ax201 in Samsung Galaxy Book Flex2 Alpha
	f2fs: guarantee to write dirty data when enabling checkpoint back
	time: Handle negative seconds correctly in timespec64_to_ns()
	io_uring: IORING_OP_WRITE needs hash_reg_file set
	bio: fix page leak bio_add_hw_page failure
	tty: Fix data race between tiocsti() and flush_to_ldisc()
	perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op
	x86/resctrl: Fix a maybe-uninitialized build warning treated as error
	Revert "KVM: x86: mmu: Add guest physical address check in translate_gpa()"
	KVM: s390: index kvm->arch.idle_mask by vcpu_idx
	KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted
	KVM: VMX: avoid running vmx_handle_exit_irqoff in case of emulation
	KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter
	ARM: dts: at91: add pinctrl-{names, 0} for all gpios
	fuse: truncate pagecache on atomic_o_trunc
	fuse: flush extending writes
	IMA: remove -Wmissing-prototypes warning
	IMA: remove the dependency on CRYPTO_MD5
	fbmem: don't allow too huge resolutions
	backlight: pwm_bl: Improve bootloader/kernel device handover
	clk: kirkwood: Fix a clocking boot regression
	Linux 5.10.65

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ie0b9306ba6ee4193de3200df7cdacaeba152b83e
2021-09-15 14:16:47 +02:00
Kuniyuki Iwashima
d4213b7093 bpf: Fix a typo of reuseport map in bpf.h.
[ Upstream commit f170acda7f ]

Fix s/BPF_MAP_TYPE_REUSEPORT_ARRAY/BPF_MAP_TYPE_REUSEPORT_SOCKARRAY/ typo
in bpf.h.

Fixes: 2dbb9b9e6d ("bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORT")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20210714124317.67526-1-kuniyu@amazon.co.jp
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:50:31 +02:00
Li Li
fd2214199a FROMGIT: binder: fix freeze race
Currently cgroup freezer is used to freeze the application threads, and
BINDER_FREEZE is used to freeze the corresponding binder interface.
There's already a mechanism in ioctl(BINDER_FREEZE) to wait for any
existing transactions to drain out before actually freezing the binder
interface.

But freezing an app requires 2 steps, freezing the binder interface with
ioctl(BINDER_FREEZE) and then freezing the application main threads with
cgroupfs. This is not an atomic operation. The following race issue
might happen.

1) Binder interface is frozen by ioctl(BINDER_FREEZE);
2) Main thread A initiates a new sync binder transaction to process B;
3) Main thread A is frozen by "echo 1 > cgroup.freeze";
4) The response from process B reaches the frozen thread, which will
unexpectedly fail.

This patch provides a mechanism to check if there's any new pending
transaction happening between ioctl(BINDER_FREEZE) and freezing the
main thread. If there's any, the main thread freezing operation can
be rolled back to finish the pending transaction.

Furthermore, the response might reach the binder driver before the
rollback actually happens. That will still cause failed transaction.

As the other process doesn't wait for another response of the response,
the response transaction failure can be fixed by treating the response
transaction like an oneway/async one, allowing it to reach the frozen
thread. And it will be consumed when the thread gets unfrozen later.

NOTE: This patch reuses the existing definition of struct
binder_frozen_status_info but expands the bit assignments of __u32
member sync_recv.

To ensure backward compatibility, bit 0 of sync_recv still indicates
there's an outstanding sync binder transaction. This patch adds new
information to bit 1 of sync_recv, indicating the binder transaction
happens exactly when there's a race.

If an existing userspace app runs on a new kernel, a sync binder call
will set bit 0 of sync_recv so ioctl(BINDER_GET_FROZEN_INFO) still
return the expected value (true). The app just doesn't check bit 1
intentionally so it doesn't have the ability to tell if there's a race.
This behavior is aligned with what happens on an old kernel which
doesn't set bit 1 at all.

A new userspace app can 1) check bit 0 to know if there's a sync binder
transaction happened when being frozen - same as before; and 2) check
bit 1 to know if that sync binder transaction happened exactly when
there's a race - a new information for rollback decision.

Fixes: 432ff1e916 ("binder: BINDER_FREEZE ioctl")
Acked-by: Todd Kjos <tkjos@google.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Li Li <dualli@google.com>
Test: stress test with apps being frozen and initiating binder calls at
the same time, confirmed the pending transactions succeeded.
Link: https://lore.kernel.org/r/20210910164210.2282716-2-dualli@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bug: 198493121
(cherry picked from commit b564171ade
 git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
 char-misc-linus)
Change-Id: I488ba75056f18bb3094ba5007027b76b5caebec9
2021-09-14 07:22:07 +00:00
Greg Kroah-Hartman
8a365a2340 Revert "tty: drop termiox user definitions"
This reverts commit d24347e2ff which is
commit c762a2b846 upstream.

It does nothing but mess with the CRC values of a number of structures.
This is why people hate the kernel's crc "detection" logic as sometimes
it does very odd things.

So revert it, to preserve the KABI reporting, no functional change at
all.

Fixes: c8de3a470a ("Merge 5.10.64 into android12-5.10-lts")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4611b93aa3c192b82b2c2283ef6a33b19fac0e64
2021-09-12 11:00:56 +02:00
Greg Kroah-Hartman
c8de3a470a Merge 5.10.64 into android12-5.10-lts
Changes in 5.10.64
	igmp: Add ip_mc_list lock in ip_check_mc_rcu
	USB: serial: mos7720: improve OOM-handling in read_mos_reg()
	net: ll_temac: Remove left-over debug message
	mm/page_alloc: speed up the iteration of max_order
	net: kcov: don't select SKB_EXTENSIONS when there is no NET
	serial: 8250: 8250_omap: Fix unused variable warning
	net: linux/skbuff.h: combine SKB_EXTENSIONS + KCOV handling
	tty: drop termiox user definitions
	Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM"
	x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gating
	blk-mq: fix kernel panic during iterating over flush request
	blk-mq: fix is_flush_rq
	netfilter: nftables: avoid potential overflows on 32bit arches
	netfilter: nf_tables: initialize set before expression setup
	netfilter: nftables: clone set element expression template
	blk-mq: clearing flush request reference in tags->rqs[]
	ALSA: usb-audio: Add registration quirk for JBL Quantum 800
	usb: host: xhci-rcar: Don't reload firmware after the completion
	usb: gadget: tegra-xudc: fix the wrong mult value for HS isoc or intr
	usb: mtu3: restore HS function when set SS/SSP
	usb: mtu3: use @mult for HS isoc or intr
	usb: mtu3: fix the wrong HS mult value
	xhci: fix even more unsafe memory usage in xhci tracing
	xhci: fix unsafe memory usage in xhci tracing
	x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions
	PCI: Call Max Payload Size-related fixup quirks early
	Linux 5.10.64

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I2269075a6d5eb6121b6e42a28d4f3fd0c252695c
2021-09-12 09:17:13 +02:00
Jiri Slaby
d24347e2ff tty: drop termiox user definitions
commit c762a2b846 upstream.

As was concluded in a follow-up discussion of commit e0efb3168d (tty:
Remove dead termiox code) [1], termiox ioctls never worked, so there is
barely anyone using this interface. We can safely remove the user
definitions for this never adopted interface.

[1] https://lore.kernel.org/lkml/c1c9fc04-02eb-2260-195b-44c357f057c0@kernel.org/t/#u

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210105120239.28031-12-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-12 08:58:27 +02:00
Greg Kroah-Hartman
b558262fdc Merge 5.10.60 into android12-5.10-lts
Changes in 5.10.60
	iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
	iio: adis: set GPIO reset pin direction
	iio: humidity: hdc100x: Add margin to the conversion time
	iio: adc: Fix incorrect exit of for-loop
	ASoC: amd: Fix reference to PCM buffer address
	ASoC: xilinx: Fix reference to PCM buffer address
	ASoC: uniphier: Fix reference to PCM buffer address
	ASoC: tlv320aic31xx: Fix jack detection after suspend
	ASoC: intel: atom: Fix reference to PCM buffer address
	i2c: dev: zero out array used for i2c reads from userspace
	cifs: create sd context must be a multiple of 8
	scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
	seccomp: Fix setting loaded filter count during TSYNC
	net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
	ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
	ceph: reduce contention in ceph_check_delayed_caps()
	ACPI: NFIT: Fix support for virtual SPA ranges
	libnvdimm/region: Fix label activation vs errors
	drm/amd/display: Remove invalid assert for ODM + MPC case
	drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
	drm/amdgpu: don't enable baco on boco platforms in runpm
	ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
	ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
	pinctrl: mediatek: Fix fallback behavior for bias_set_combo
	ASoC: cs42l42: Correct definition of ADC Volume control
	ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
	ASoC: SOF: Intel: hda-ipc: fix reply size checking
	ASoC: cs42l42: Fix inversion of ADC Notch Switch control
	ASoC: cs42l42: Remove duplicate control for WNF filter frequency
	netfilter: nf_conntrack_bridge: Fix memory leak when error
	pinctrl: tigerlake: Fix GPIO mapping for newer version of software
	ASoC: cs42l42: Fix LRCLK frame start edge
	net: dsa: mt7530: add the missing RxUnicast MIB counter
	net: mvvp2: fix short frame size on s390
	platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
	libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
	bpf: Fix integer overflow involving bucket_size
	net: phy: micrel: Fix link detection on ksz87xx switch"
	ppp: Fix generating ifname when empty IFLA_IFNAME is specified
	net/smc: fix wait on already cleared link
	net: sched: act_mirred: Reset ct info when mirror/redirect skb
	ice: Prevent probing virtual functions
	ice: don't remove netdev->dev_addr from uc sync list
	iavf: Set RSS LUT and key in reset handle path
	psample: Add a fwd declaration for skbuff
	bareudp: Fix invalid read beyond skb's linear data
	net/mlx5: Synchronize correct IRQ when destroying CQ
	net/mlx5: Fix return value from tracer initialization
	drm/meson: fix colour distortion from HDR set during vendor u-boot
	net: dsa: microchip: Fix ksz_read64()
	net: dsa: microchip: ksz8795: Fix VLAN filtering
	net: Fix memory leak in ieee802154_raw_deliver
	net: igmp: fix data-race in igmp_ifc_timer_expire()
	net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
	net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
	net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
	net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
	net: bridge: fix flags interpretation for extern learn fdb entries
	net: bridge: fix memleak in br_add_if()
	net: linkwatch: fix failure to restore device state across suspend/resume
	tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
	net: igmp: increase size of mr_ifc_count
	drm/i915: Only access SFC_DONE when media domain is not fused off
	xen/events: Fix race in set_evtchn_to_irq
	vsock/virtio: avoid potential deadlock when vsock device remove
	nbd: Aovid double completion of a request
	arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
	efi/libstub: arm64: Force Image reallocation if BSS was not reserved
	efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
	powerpc/kprobes: Fix kprobe Oops happens in booke
	x86/tools: Fix objdump version check again
	genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
	x86/msi: Force affinity setup before startup
	x86/ioapic: Force affinity setup before startup
	x86/resctrl: Fix default monitoring groups reporting
	genirq/msi: Ensure deactivation on teardown
	genirq/timings: Prevent potential array overflow in __irq_timings_store()
	PCI/MSI: Enable and mask MSI-X early
	PCI/MSI: Mask all unused MSI-X entries
	PCI/MSI: Enforce that MSI-X table entry is masked for update
	PCI/MSI: Enforce MSI[X] entry updates to be visible
	PCI/MSI: Do not set invalid bits in MSI mask
	PCI/MSI: Correct misleading comments
	PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
	PCI/MSI: Protect msi_desc::masked for multi-MSI
	powerpc/smp: Fix OOPS in topology_init()
	efi/libstub: arm64: Double check image alignment at entry
	KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
	KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
	vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
	vboxsf: Add support for the atomic_open directory-inode op
	ceph: add some lockdep assertions around snaprealm handling
	ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
	ceph: take snap_empty_lock atomically with snaprealm refcount change
	vmlinux.lds.h: Handle clang's module.{c,d}tor sections
	KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
	KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
	net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port
	net: dsa: microchip: ksz8795: Fix PVID tag insertion
	net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
	net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
	net: dsa: microchip: ksz8795: Use software untagging on CPU port
	Linux 5.10.60

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7d55aed1883b31ba2d9b8dfad4bc33e1efbcbd2f
2021-08-27 17:14:51 +02:00
Nikolay Aleksandrov
f333a5ca71 net: bridge: fix flags interpretation for extern learn fdb entries
[ Upstream commit 45a687879b ]

Ignore fdb flags when adding port extern learn entries and always set
BR_FDB_LOCAL flag when adding bridge extern learn entries. This is
closest to the behaviour we had before and avoids breaking any use cases
which were allowed.

This patch fixes iproute2 calls which assume NUD_PERMANENT and were
allowed before, example:
$ bridge fdb add 00:11:22:33:44:55 dev swp1 extern_learn

Extern learn entries are allowed to roam, but do not expire, so static
or dynamic flags make no sense for them.

Also add a comment for future reference.

Fixes: eb100e0e24 ("net: bridge: allow to add externally learned entries from user-space")
Fixes: 0541a62932 ("net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry")
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20210810110010.43859-1-razor@blackwall.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-18 08:59:13 +02:00
Greg Kroah-Hartman
c0dd8de281 Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

90732d426e UPSTREAM: mm/compaction: correct deferral logic for proactive compaction
d0a88ae479 ANDROID: Enable GKI Dr. No Enforcement
e6a59da61e ANDROID: media: v4l2-core: Fix deadlock in vendor hook
fdb1cfe2d3 FROMGIT: dma_buf: remove dmabuf sysfs teardown before release
1dc0dd2573 ANDROID: update mtk symbol list
a669748346 UPSTREAM: mfd: syscon: Free the allocated name field of struct regmap_config
cffe67a351 ANDROID: Give UIC cmd timeout a larger value
3bca0b5344 ANDROID: binder: retry security_secid_to_secctx()
9fdfeda4c9 ANDROID: update new gki symbol for mtk
1dd167be9f ANDROID: mm, kasan: fix for "integrate page_alloc init with HW_TAGS"
f215850ea0 UPSTREAM: kasan: fix conflict with page poisoning
a3da917661 ANDROID: GKI: Export two more mm symbols for GKI
0497b9601b ANDROID: Update symbol list for mtk
0f27e1d317 FROMLIST: kfence: skip all GFP_ZONEMASK allocations
8478d8dc53 FROMLIST: kfence: move the size check to the beginning of __kfence_alloc()
ddabf14bea ANDROID: ABI: update allowed list for galaxy
11cec52238 FROMGIT: f2fs: add sysfs nodes to get GC info for each GC mode
fdc46110cb ANDROID: abi_gki_aarch64_qcom: Add android_debug_for_each_module
0bb433e014 ANDROID: debug_symbols: Add android_debug_for_each_module
a0429aa1d0 ANDROID: ABI: Update ABI for symbol list updates
c68e5ca9f8 ANDROID: GKI: Update symbols to symbol list
aac5a77959 ANDROID: Update symbol list for mtk
42fc1faf44 UPSTREAM: block, bfq: set next_rq to waker_bfqq->next_rq in waker injection
e37cc8a09f UPSTREAM: mm/mremap: hold the rmap lock in write mode when moving page table entries.
9b136eab76 ANDROID: pstore/ram: Add backward compatibility for ramoops reserved region
df97297651 ANDROID: Update symbol list for mtk
4322bb07e8 ANDROID: vendor_hooks: Modify the function name
007213b1d0 BACKPORT: FROMLIST: kasan: add memzero int for unaligned size at DEBUG
7acbce0bf4 BACKPORT: FROMLIST: mm: move helper to check slub_debug_enabled
d6eeae59b5 ANDROID: ABI: initial update allowed list for galaxy

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I6d28f1be3cbd8a1fed86d2d647e6c2bb55221b0a
2021-07-22 13:32:27 +02:00
Matthias Maennich
d0a88ae479 ANDROID: Enable GKI Dr. No Enforcement
This effectively locks down OWNERS approval to a small group to guard
the code base against unintentional breakages.

Bug: 194314089
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Ifd1ea97639a622320ea83f901f6451e2e52b38d4
2021-07-21 20:51:47 +01:00
Greg Kroah-Hartman
8db62be3c3 Merge 5.10.51 into android12-5.10-lts
Changes in 5.10.51
	drm/mxsfb: Don't select DRM_KMS_FB_HELPER
	drm/zte: Don't select DRM_KMS_FB_HELPER
	drm/ast: Fixed CVE for DP501
	drm/amd/display: fix HDCP reset sequence on reinitialize
	drm/amd/amdgpu/sriov disable all ip hw status by default
	drm/vc4: fix argument ordering in vc4_crtc_get_margins()
	drm/bridge: nwl-dsi: Force a full modeset when crtc_state->active is changed to be true
	net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
	drm/amd/display: fix use_max_lb flag for 420 pixel formats
	clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()
	hugetlb: clear huge pte during flush function on mips platform
	atm: iphase: fix possible use-after-free in ia_module_exit()
	mISDN: fix possible use-after-free in HFC_cleanup()
	atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
	net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
	drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
	net: mdio: ipq8064: add regmap config to disable REGCACHE
	drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE
	reiserfs: add check for invalid 1st journal block
	drm/virtio: Fix double free on probe failure
	net: mdio: provide shim implementation of devm_of_mdiobus_register
	net/sched: cls_api: increase max_reclassify_loop
	pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
	drm/scheduler: Fix hang when sched_entity released
	drm/sched: Avoid data corruptions
	udf: Fix NULL pointer dereference in udf_symlink function
	drm/vc4: Fix clock source for VEC PixelValve on BCM2711
	drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co()
	e100: handle eeprom as little endian
	igb: handle vlan types with checker enabled
	igb: fix assignment on big endian machines
	drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
	clk: renesas: r8a77995: Add ZA2 clock
	net/mlx5e: IPsec/rep_tc: Fix rep_tc_update_skb drops IPsec packet
	net/mlx5: Fix lag port remapping logic
	drm: rockchip: add missing registers for RK3188
	drm: rockchip: add missing registers for RK3066
	net: stmmac: the XPCS obscures a potential "PHY not found" error
	RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
	clk: tegra: Fix refcounting of gate clocks
	clk: tegra: Ensure that PLLU configuration is applied properly
	drm: bridge: cdns-mhdp8546: Fix PM reference leak in
	virtio-net: Add validation for used length
	ipv6: use prandom_u32() for ID generation
	MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
	MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
	drm/amd/display: Avoid HDCP over-read and corruption
	drm/amdgpu: remove unsafe optimization to drop preamble ib
	net: tcp better handling of reordering then loss cases
	RDMA/cxgb4: Fix missing error code in create_qp()
	dm space maps: don't reset space map allocation cursor when committing
	dm writecache: don't split bios when overwriting contiguous cache content
	dm: Fix dm_accept_partial_bio() relative to zone management commands
	net: bridge: mrp: Update ring transitions.
	pinctrl: mcp23s08: fix race condition in irq handler
	ice: set the value of global config lock timeout longer
	ice: fix clang warning regarding deadcode.DeadStores
	virtio_net: Remove BUG() to avoid machine dead
	net: mscc: ocelot: check return value after calling platform_get_resource()
	net: bcmgenet: check return value after calling platform_get_resource()
	net: mvpp2: check return value after calling platform_get_resource()
	net: micrel: check return value after calling platform_get_resource()
	net: moxa: Use devm_platform_get_and_ioremap_resource()
	drm/amd/display: Fix DCN 3.01 DSCCLK validation
	drm/amd/display: Update scaling settings on modeset
	drm/amd/display: Release MST resources on switch from MST to SST
	drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
	drm/amd/display: Fix off-by-one error in DML
	net: phy: realtek: add delay to fix RXC generation issue
	selftests: Clean forgotten resources as part of cleanup()
	net: sgi: ioc3-eth: check return value after calling platform_get_resource()
	drm/amdkfd: use allowed domain for vmbo validation
	fjes: check return value after calling platform_get_resource()
	selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
	r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
	drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
	xfrm: Fix error reporting in xfrm_state_construct.
	dm writecache: commit just one block, not a full page
	wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
	wl1251: Fix possible buffer overflow in wl1251_cmd_scan
	cw1200: add missing MODULE_DEVICE_TABLE
	drm/amdkfd: fix circular locking on get_wave_state
	drm/amdkfd: Fix circular lock in nocpsch path
	bpf: Fix up register-based shifts in interpreter to silence KUBSAN
	ice: fix incorrect payload indicator on PTYPE
	ice: mark PTYPE 2 as reserved
	mt76: mt7615: fix fixed-rate tx status reporting
	net: fix mistake path for netdev_features_strings
	net: ipa: Add missing of_node_put() in ipa_firmware_load()
	net: sched: fix error return code in tcf_del_walker()
	io_uring: fix false WARN_ONCE
	drm/amdgpu: fix bad address translation for sienna_cichlid
	drm/amdkfd: Walk through list with dqm lock hold
	mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
	rtl8xxxu: Fix device info for RTL8192EU devices
	MIPS: add PMD table accounting into MIPS'pmd_alloc_one
	net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
	atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
	atm: nicstar: register the interrupt handler in the right place
	vsock: notify server to shutdown when client has pending signal
	RDMA/rxe: Don't overwrite errno from ib_umem_get()
	iwlwifi: mvm: don't change band on bound PHY contexts
	iwlwifi: mvm: fix error print when session protection ends
	iwlwifi: pcie: free IML DMA memory allocation
	iwlwifi: pcie: fix context info freeing
	sfc: avoid double pci_remove of VFs
	sfc: error code if SRIOV cannot be disabled
	wireless: wext-spy: Fix out-of-bounds warning
	cfg80211: fix default HE tx bitrate mask in 2G band
	mac80211: consider per-CPU statistics if present
	mac80211_hwsim: add concurrent channels scanning support over virtio
	IB/isert: Align target max I/O size to initiator size
	media, bpf: Do not copy more entries than user space requested
	net: ip: avoid OOM kills with large UDP sends over loopback
	RDMA/cma: Fix rdma_resolve_route() memory leak
	Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
	Bluetooth: Fix the HCI to MGMT status conversion table
	Bluetooth: Fix alt settings for incoming SCO with transparent coding format
	Bluetooth: Shutdown controller after workqueues are flushed or cancelled
	Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500)
	Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure fails
	Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
	Bluetooth: btusb: Add support USB ALT 3 for WBS
	Bluetooth: mgmt: Fix the command returns garbage parameter value
	Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
	sched/fair: Ensure _sum and _avg values stay consistent
	bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc()
	flow_offload: action should not be NULL when it is referenced
	sctp: validate from_addr_param return
	sctp: add size validation when walking chunks
	MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
	MIPS: set mips32r5 for virt extensions
	selftests/resctrl: Fix incorrect parsing of option "-t"
	MIPS: MT extensions are not available on MIPS32r1
	ath11k: unlock on error path in ath11k_mac_op_add_interface()
	arm64: dts: rockchip: add rk3328 dwc3 usb controller node
	arm64: dts: rockchip: Enable USB3 for rk3328 Rock64
	loop: fix I/O error on fsync() in detached loop devices
	mm,hwpoison: return -EBUSY when migration fails
	io_uring: simplify io_remove_personalities()
	io_uring: Convert personality_idr to XArray
	io_uring: convert io_buffer_idr to XArray
	scsi: iscsi: Fix race condition between login and sync thread
	scsi: iscsi: Fix iSCSI cls conn state
	powerpc/mm: Fix lockup on kernel exec fault
	powerpc/barrier: Avoid collision with clang's __lwsync macro
	powerpc/powernv/vas: Release reference to tgid during window close
	drm/amdgpu: Update NV SIMD-per-CU to 2
	drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2)
	drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
	drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64
	drm/vc4: txp: Properly set the possible_crtcs mask
	drm/vc4: crtc: Skip the TXP
	drm/vc4: hdmi: Prevent clock unbalance
	drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info()
	drm/rockchip: dsi: remove extra component_del() call
	drm/amd/display: fix incorrrect valid irq check
	pinctrl/amd: Add device HID for new AMD GPIO controller
	drm/amd/display: Reject non-zero src_y and src_x for video planes
	drm/tegra: Don't set allow_fb_modifiers explicitly
	drm/msm/mdp4: Fix modifier support enabling
	drm/arm/malidp: Always list modifiers
	drm/nouveau: Don't set allow_fb_modifiers explicitly
	drm/i915/display: Do not zero past infoframes.vsc
	mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B
	mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
	mmc: core: clear flags before allowing to retune
	mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
	ata: ahci_sunxi: Disable DIPM
	arm64: tlb: fix the TTL value of tlb_get_level
	cpu/hotplug: Cure the cpusets trainwreck
	clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
	fpga: stratix10-soc: Add missing fpga_mgr_free() call
	ASoC: tegra: Set driver_name=tegra for all machine drivers
	i40e: fix PTP on 5Gb links
	qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
	ipmi/watchdog: Stop watchdog timer when the current action is 'none'
	thermal/drivers/int340x/processor_thermal: Fix tcc setting
	ubifs: Fix races between xattr_{set|get} and listxattr operations
	power: supply: ab8500: Fix an old bug
	mfd: syscon: Free the allocated name field of struct regmap_config
	nvmem: core: add a missing of_node_put
	lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
	selftests/lkdtm: Fix expected text for CR4 pinning
	extcon: intel-mrfld: Sync hardware and software state on init
	seq_buf: Fix overflow in seq_buf_putmem_hex()
	rq-qos: fix missed wake-ups in rq_qos_throttle try two
	tracing: Simplify & fix saved_tgids logic
	tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
	ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
	coresight: Propagate symlink failure
	coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
	dm zoned: check zone capacity
	dm writecache: flush origin device when writing and cache is full
	dm btree remove: assign new_root only when removal succeeds
	PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
	PCI: aardvark: Fix checking for PIO Non-posted Request
	PCI: aardvark: Implement workaround for the readback value of VEND_ID
	media: subdev: disallow ioctl for saa6588/davinci
	media: dtv5100: fix control-request directions
	media: zr364xx: fix memory leak in zr364xx_start_readpipe
	media: gspca/sq905: fix control-request direction
	media: gspca/sunplus: fix zero-length control requests
	media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
	io_uring: fix clear IORING_SETUP_R_DISABLED in wrong function
	dm writecache: write at least 4k when committing
	pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
	drm/ast: Remove reference to struct drm_device.pdev
	jfs: fix GPF in diFree
	smackfs: restrict bytes count in smk_set_cipso()
	ext4: fix memory leak in ext4_fill_super
	f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
	Linux 5.10.51

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Icb10fed733a0050848ecc23db13ae3d134895acd
2021-07-19 17:29:53 +02:00
Jian Shen
5cc0cf735f net: fix mistake path for netdev_features_strings
[ Upstream commit 2d8ea148e5 ]

Th_strings arrays netdev_features_strings, tunable_strings, and
phy_tunable_strings has been moved to file net/ethtool/common.c.
So fixes the comment.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-19 09:44:51 +02:00
Greg Kroah-Hartman
1328352dcd Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

870488eb07 ANDROID: GKI: 7/14/2021 KMI update
e9742a9ea5 ANDROID: Update the ABI symbol list
ec2190fd3f FROMLIST: arm64: avoid double ISB on kernel entry
98b2c1dd1c FROMLIST: arm64: mte: optimize GCR_EL1 modification on kernel entry/exit
a20103c331 BACKPORT: FROMLIST: arm64: mte: avoid TFSR related operations unless in async mode
3972be647a FROMLIST: Documentation: document the preferred tag checking mode feature
5adf29adb5 FROMLIST: arm64: mte: introduce a per-CPU tag checking mode preference
ce5ba15abc FROMLIST: arm64: move preemption disablement to prctl handlers
6c08feaa27 FROMLIST: arm64: mte: change ASYNC and SYNC TCF settings into bitfields
f438cf16cd FROMLIST: arm64: mte: rename gcr_user_excl to mte_ctrl
a4c9e551b6 BACKPORT: arm64: pac: Optimize kernel entry/exit key installation code paths
50829b8901 BACKPORT: arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS)
6119d18df7 ANDROID: cleancache: add oem data to cleancache_ops
a0c429e8e1 ANDROID: blkdev: add oem data to block_device_operations
26cd2564e1 FROMLIST: psi: stop relying on timer_pending for poll_work rescheduling
e85b291d7d ANDROID: GKI: Enable CONFIG_MEMCG
0ed7424fa0 ANDROID: GKI: net: add vendor hooks for 'struct sock' lifecycle
4d30956478 ANDROID: GKI: net: add vendor hooks for 'struct nf_conn' lifecycle
7786463e48 ANDROID: GKI: add vendor padding variable in struct sock
280c9b98aa ANDROID: GKI: add vendor padding variable in struct nf_conn
9d1b55d20a ANDROID: vendor_hooks: add a field in mem_cgroup
65115fdbf8 ANDROID: vendor_hooks: add a field in pglist_data
26920e0f3a FROMLIST: usb: dwc3: avoid NULL access of usb_gadget_driver
5bb2dd8d39 FROMGIT: usb: dwc3: dwc3-qcom: Enable tx-fifo-resize property by default
79274dbb00 FROMGIT: usb: dwc3: Resize TX FIFOs to meet EP bursting requirements
1e11f36199 FROMGIT: usb: gadget: configfs: Check USB configuration before adding
6da5e7afbf FROMGIT: usb: gadget: udc: core: Introduce check_config to verify USB configuration
2ed5fbf261 ANDROID: GKI: fscrypt: add OEM data to struct fscrypt_operations
194fd9239a ANDROID: GKI: fscrypt: add ABI padding to struct fscrypt_operations
8011eb2215 ANDROID: mm: provision to add shmem pages to inactive file lru head
9bb1247653 ANDROID: GKI: Enable CONFIG_CGROUP_NET_PRIO
a1ce719ca7 ANDROID: Delete the DMA-BUF attachment sysfs statistics
a2b3afb2f7 ANDROID: android: Add symbols to debug_symbols driver
914a7b14a0 UPSTREAM: USB: UDC core: Add udc_async_callbacks gadget op
9af9ef8dfa ANDROID: vendor_hooks: Add oem data to file struct
37485a3025 ANDROID: add kabi padding for structures for the android12 release
429c78f9b0 ANDROID: GKI: device.h: add Android ABI padding to some structures
aea5e1c230 ANDROID: GKI: elevator: add Android ABI padding to some structures
1b79ef2754 ANDROID: GKI: scsi: add Android ABI padding to some structures
33175403b9 ANDROID: GKI: workqueue.h: add Android ABI padding to some structures
d5c344a498 ANDROID: GKI: sched: add Android ABI padding to some structures
9c4854fa5a ANDROID: GKI: phy: add Android ABI padding to some structures
f4872b2353 ANDROID: GKI: fs.h: add Android ABI padding to some structures
48cddc7c42 ANDROID: GKI: dentry: add Android ABI padding to some structures
b9081a2925 ANDROID: GKI: bio: add Android ABI padding to some structures
99bf8cf8fa ANDROID: GKI: ufs: add Android ABI padding to some structures
9df147298f ANDROID: Update the generic symbol list
12f48605e8 ANDROID: mm: cma do not sleep for __GFP_NORETRY
0e688e972d ANDROID: mm: cma: skip problematic pageblock
9938b82be1 ANDROID: mm: bail out tlb free batching on page zapping when cma is going on
c8578a3e90 ANDROID: mm: lru_cache_disable skips lru cache drainnig
c01ce3b5ef ANDROID: mm: do not try test_page_isoalte if migration fails
675e504598 ANDROID: mm: add cma allocation statistics
b1e4543c27 UPSTREAM: mm, page_alloc: move draining pcplists to page isolation users
13bc06efd9 ANDROID: ALSA: compress: add vendor hook to support pause in draining
2faed77792 ANDROID: vendor_hooks: add vendor hook in blk_mq_rq_ctx_init()
292baba45a ANDROID: abi_gki_aarch64_qcom: Add I3C core symbols to qcom tree
eecc725a8e ANDROID: vendor_hooks: add vendor hook in blk_mq_alloc_rqs()
9c2958f454 ANDROID: GKI: Export put_task_stack symbol
288805c86a ANDROID: abi_gki_aarch64_qcom: Add idr_alloc_u32
e8516fd3af ANDROID: sound: usb: add vendor hook for cpu suspend support
d820d22b5d ANDROID: mm: page_pinner: use EXPORT_SYMBOL_GPL
efc09793ea ANDROID: GKI: update allowed GKI symbol for Exynosauto SoC
67e3e39eb1 ANDROID: GKI: sync allowed list for exynosauto SoC
d25e256373 ANDROID: ABI: add new symbols required by fips140.ko
50661975be ANDROID: fips140: add/update module help text
b7397e89db ANDROID: fips140: add power-up cryptographic self-tests
bd7d13c36e ANDROID: arm64: disable LSE when building the FIPS140 module
1061ef0493 ANDROID: jump_label: disable jump labels in fips140.ko
dcf509fea7 ANDROID: ipv6: add vendor hook for gen ipv6 link-local addr
018332e871 ANDROID: Revert "scsi: block: Do not accept any requests while suspended"
2ad2c3a25b ANDROID: abi_gki_aarch64_qcom: whitelist vm_event_states
7bcfde2601 ANDROID: ashmem: Export is_ashmem_file

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7d60121fa9f25f007dab97dd666adcdb1964afc8
2021-07-15 17:17:09 +02:00
Peter Collingbourne
6c08feaa27 FROMLIST: arm64: mte: change ASYNC and SYNC TCF settings into bitfields
Allow the user program to specify both ASYNC and SYNC TCF modes by
repurposing the existing constants as bitfields. This will allow the
kernel to select one of the modes on behalf of the user program. With
this patch the kernel will always select async mode, but a subsequent
patch will make this configurable.

Link: https://linux-review.googlesource.com/id/Icc5923c85a8ea284588cc399ae74fd19ec291230
Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/linux-arm-kernel/20210702194110.2045282-3-pcc@google.com/
Bug: 189966263
Change-Id: Icc5923c85a8ea284588cc399ae74fd19ec291230
2021-07-14 20:52:05 -07:00
Peter Collingbourne
50829b8901 BACKPORT: arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS)
This change introduces a prctl that allows the user program to control
which PAC keys are enabled in a particular task. The main reason
why this is useful is to enable a userspace ABI that uses PAC to
sign and authenticate function pointers and other pointers exposed
outside of the function, while still allowing binaries conforming
to the ABI to interoperate with legacy binaries that do not sign or
authenticate pointers.

The idea is that a dynamic loader or early startup code would issue
this prctl very early after establishing that a process may load legacy
binaries, but before executing any PAC instructions.

This change adds a small amount of overhead to kernel entry and exit
due to additional required instruction sequences.

On a DragonBoard 845c (Cortex-A75) with the powersave governor, the
overhead of similar instruction sequences was measured as 4.9ns when
simulating the common case where IA is left enabled, or 43.7ns when
simulating the uncommon case where IA is disabled. These numbers can
be seen as the worst case scenario, since in more realistic scenarios
a better performing governor would be used and a newer chip would be
used that would support PAC unlike Cortex-A75 and would be expected
to be faster than Cortex-A75.

On an Apple M1 under a hypervisor, the overhead of the entry/exit
instruction sequences introduced by this patch was measured as 0.3ns
in the case where IA is left enabled, and 33.0ns in the case where
IA is disabled.

Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Link: https://linux-review.googlesource.com/id/Ibc41a5e6a76b275efbaa126b31119dc197b927a5
Link: https://lore.kernel.org/r/d6609065f8f40397a4124654eb68c9f490b4d477.1616123271.git.pcc@google.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

Bug: 192536783
(cherry picked from commit 201698626f)
Change-Id: Ic0a21c92a22575f9ec3599fb67bd2931a50b9f04
[quic_eberman@quicinc.com: Resolved merge conflict in
 arch/arm64/kernel/process.c]
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Signed-off-by: Peter Collingbourne <pcc@google.com>
2021-07-14 20:52:05 -07:00
Greg Kroah-Hartman
948d38f94d Merge 5.10.46 into android12-5.10-lts
Changes in 5.10.46
	dmaengine: idxd: add missing dsa driver unregister
	dmaengine: fsl-dpaa2-qdma: Fix error return code in two functions
	dmaengine: xilinx: dpdma: initialize registers before request_irq
	dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM
	dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM
	dmaengine: SF_PDMA depends on HAS_IOMEM
	dmaengine: stedma40: add missing iounmap() on error in d40_probe()
	afs: Fix an IS_ERR() vs NULL check
	mm/memory-failure: make sure wait for page writeback in memory_failure
	kvm: LAPIC: Restore guard to prevent illegal APIC register access
	fanotify: fix copy_event_to_user() fid error clean up
	batman-adv: Avoid WARN_ON timing related checks
	mac80211: fix skb length check in ieee80211_scan_rx()
	mlxsw: reg: Spectrum-3: Enforce lowest max-shaper burst size of 11
	mlxsw: core: Set thermal zone polling delay argument to real value at init
	libbpf: Fixes incorrect rx_ring_setup_done
	net: ipv4: fix memory leak in netlbl_cipsov4_add_std
	vrf: fix maximum MTU
	net: rds: fix memory leak in rds_recvmsg
	net: dsa: felix: re-enable TX flow control in ocelot_port_flush()
	net: lantiq: disable interrupt before sheduling NAPI
	netfilter: nft_fib_ipv6: skip ipv6 packets from any to link-local
	ice: add ndo_bpf callback for safe mode netdev ops
	ice: parameterize functions responsible for Tx ring management
	udp: fix race between close() and udp_abort()
	rtnetlink: Fix regression in bridge VLAN configuration
	net/sched: act_ct: handle DNAT tuple collision
	net/mlx5e: Remove dependency in IPsec initialization flows
	net/mlx5e: Fix page reclaim for dead peer hairpin
	net/mlx5: Consider RoCE cap before init RDMA resources
	net/mlx5: DR, Allow SW steering for sw_owner_v2 devices
	net/mlx5: DR, Don't use SW steering when RoCE is not supported
	net/mlx5e: Block offload of outer header csum for UDP tunnels
	netfilter: synproxy: Fix out of bounds when parsing TCP options
	mptcp: Fix out of bounds when parsing TCP options
	sch_cake: Fix out of bounds when parsing TCP options and header
	mptcp: try harder to borrow memory from subflow under pressure
	mptcp: do not warn on bad input from the network
	selftests: mptcp: enable syncookie only in absence of reorders
	alx: Fix an error handling path in 'alx_probe()'
	cxgb4: fix endianness when flashing boot image
	cxgb4: fix sleep in atomic when flashing PHY firmware
	cxgb4: halt chip before flashing PHY firmware image
	net: stmmac: dwmac1000: Fix extended MAC address registers definition
	net: make get_net_ns return error if NET_NS is disabled
	net: qualcomm: rmnet: Update rmnet device MTU based on real device
	net: qualcomm: rmnet: don't over-count statistics
	ethtool: strset: fix message length calculation
	qlcnic: Fix an error handling path in 'qlcnic_probe()'
	netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
	cxgb4: fix wrong ethtool n-tuple rule lookup
	ipv4: Fix device used for dst_alloc with local routes
	net: qrtr: fix OOB Read in qrtr_endpoint_post
	bpf: Fix leakage under speculation on mispredicted branches
	ptp: improve max_adj check against unreasonable values
	net: cdc_ncm: switch to eth%d interface naming
	lantiq: net: fix duplicated skb in rx descriptor ring
	net: usb: fix possible use-after-free in smsc75xx_bind
	net: fec_ptp: fix issue caused by refactor the fec_devtype
	net: ipv4: fix memory leak in ip_mc_add1_src
	net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
	net/mlx5: E-Switch, Read PF mac address
	net/mlx5: E-Switch, Allow setting GUID for host PF vport
	net/mlx5: Reset mkey index on creation
	be2net: Fix an error handling path in 'be_probe()'
	net: hamradio: fix memory leak in mkiss_close
	net: cdc_eem: fix tx fixup skb leak
	cxgb4: fix wrong shift.
	bnxt_en: Rediscover PHY capabilities after firmware reset
	bnxt_en: Fix TQM fastpath ring backing store computation
	bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
	icmp: don't send out ICMP messages with a source address of 0.0.0.0
	net: ethernet: fix potential use-after-free in ec_bhf_remove
	regulator: cros-ec: Fix error code in dev_err message
	regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting
	platform/x86: thinkpad_acpi: Add X1 Carbon Gen 9 second fan support
	ASoC: rt5659: Fix the lost powers for the HDA header
	phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init()
	ASoC: fsl-asoc-card: Set .owner attribute when registering card.
	regulator: rtmv20: Fix to make regcache value first reading back from HW
	spi: spi-zynq-qspi: Fix some wrong goto jumps & missing error code
	sched/pelt: Ensure that *_sum is always synced with *_avg
	ASoC: tas2562: Fix TDM_CFG0_SAMPRATE values
	spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd()
	regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
	ASoC: rt5682: Fix the fast discharge for headset unplugging in soundwire mode
	pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled
	drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device
	ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin
	radeon: use memcpy_to/fromio for UVD fw upload
	hwmon: (scpi-hwmon) shows the negative temperature properly
	mm: relocate 'write_protect_seq' in struct mm_struct
	irqchip/gic-v3: Workaround inconsistent PMR setting on NMI entry
	bpf: Inherit expanded/patched seen count from old aux data
	bpf: Do not mark insn as seen under speculative path verification
	can: bcm: fix infoleak in struct bcm_msg_head
	can: bcm/raw/isotp: use per module netdevice notifier
	can: j1939: fix Use-after-Free, hold skb ref while in use
	can: mcba_usb: fix memory leak in mcba_usb
	usb: core: hub: Disable autosuspend for Cypress CY7C65632
	usb: chipidea: imx: Fix Battery Charger 1.2 CDP detection
	tracing: Do not stop recording cmdlines when tracing is off
	tracing: Do not stop recording comms if the trace file is being read
	tracing: Do no increment trace_clock_global() by one
	PCI: Mark TI C667X to avoid bus reset
	PCI: Mark some NVIDIA GPUs to avoid bus reset
	PCI: aardvark: Fix kernel panic during PIO transfer
	PCI: Add ACS quirk for Broadcom BCM57414 NIC
	PCI: Work around Huawei Intelligent NIC VF FLR erratum
	KVM: x86: Immediately reset the MMU context when the SMM flag is cleared
	KVM: x86/mmu: Calculate and check "full" mmu_role for nested MMU
	KVM: X86: Fix x86_emulator slab cache leak
	s390/mcck: fix calculation of SIE critical section size
	s390/ap: Fix hanging ioctl caused by wrong msg counter
	ARCv2: save ABI registers across signal handling
	x86/mm: Avoid truncating memblocks for SGX memory
	x86/process: Check PF_KTHREAD and not current->mm for kernel threads
	x86/ioremap: Map EFI-reserved memory as encrypted for SEV
	x86/pkru: Write hardware init value to PKRU when xstate is init
	x86/fpu: Prevent state corruption in __fpu__restore_sig()
	x86/fpu: Invalidate FPU state after a failed XRSTOR from a user buffer
	x86/fpu: Reset state for all signal restore failures
	crash_core, vmcoreinfo: append 'SECTION_SIZE_BITS' to vmcoreinfo
	dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc
	mac80211: Fix NULL ptr deref for injected rate info
	cfg80211: make certificate generation more robust
	cfg80211: avoid double free of PMSR request
	drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell.
	drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
	net: ll_temac: Make sure to free skb when it is completely used
	net: ll_temac: Fix TX BD buffer overwrite
	net: bridge: fix vlan tunnel dst null pointer dereference
	net: bridge: fix vlan tunnel dst refcnt when egressing
	mm/swap: fix pte_same_as_swp() not removing uffd-wp bit when compare
	mm/slub: clarify verification reporting
	mm/slub: fix redzoning for small allocations
	mm/slub: actually fix freelist pointer vs redzoning
	mm/slub.c: include swab.h
	net: stmmac: disable clocks in stmmac_remove_config_dt()
	net: fec_ptp: add clock rate zero check
	tools headers UAPI: Sync linux/in.h copy with the kernel sources
	perf beauty: Update copy of linux/socket.h with the kernel sources
	usb: dwc3: debugfs: Add and remove endpoint dirs dynamically
	usb: dwc3: core: fix kernel panic when do reboot
	Linux 5.10.46

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I99f37c9f257f90ccdb091306f3d4cfb7c32e3880
2021-06-23 17:53:08 +02:00
Toke Høiland-Jørgensen
8c0c2d97ad icmp: don't send out ICMP messages with a source address of 0.0.0.0
[ Upstream commit 3218274773 ]

When constructing ICMP response messages, the kernel will try to pick a
suitable source address for the outgoing packet. However, if no IPv4
addresses are configured on the system at all, this will fail and we end up
producing an ICMP message with a source address of 0.0.0.0. This can happen
on a box routing IPv4 traffic via v6 nexthops, for instance.

Since 0.0.0.0 is not generally routable on the internet, there's a good
chance that such ICMP messages will never make it back to the sender of the
original packet that the ICMP message was sent in response to. This, in
turn, can create connectivity and PMTUd problems for senders. Fortunately,
RFC7600 reserves a dummy address to be used as a source for ICMP
messages (192.0.0.8/32), so let's teach the kernel to substitute that
address as a last resort if the regular source address selection procedure
fails.

Below is a quick example reproducing this issue with network namespaces:

ip netns add ns0
ip l add type veth peer netns ns0
ip l set dev veth0 up
ip a add 10.0.0.1/24 dev veth0
ip a add fc00:dead:cafe:42::1/64 dev veth0
ip r add 10.1.0.0/24 via inet6 fc00:dead:cafe:42::2
ip -n ns0 l set dev veth0 up
ip -n ns0 a add fc00:dead:cafe:42::2/64 dev veth0
ip -n ns0 r add 10.0.0.0/24 via inet6 fc00:dead:cafe:42::1
ip netns exec ns0 sysctl -w net.ipv4.icmp_ratelimit=0
ip netns exec ns0 sysctl -w net.ipv4.ip_forward=1
tcpdump -tpni veth0 -c 2 icmp &
ping -w 1 10.1.0.1 > /dev/null
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on veth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
IP 10.0.0.1 > 10.1.0.1: ICMP echo request, id 29, seq 1, length 64
IP 0.0.0.0 > 10.0.0.1: ICMP net 10.1.0.1 unreachable, length 92
2 packets captured
2 packets received by filter
0 packets dropped by kernel

With this patch the above capture changes to:
IP 10.0.0.1 > 10.1.0.1: ICMP echo request, id 31127, seq 1, length 64
IP 192.0.0.8 > 10.0.0.1: ICMP net 10.1.0.1 unreachable, length 92

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Reported-by: Juliusz Chroboczek <jch@irif.fr>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-23 14:42:47 +02:00
Greg Kroah-Hartman
e52dde966a Merge 5.10.45 into android12-5.10-lts
Changes in 5.10.45
	net: ieee802154: fix null deref in parse dev addr
	HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65
	HID: a4tech: use A4_2WHEEL_MOUSE_HACK_B8 for A4TECH NB-95
	HID: hid-input: add mapping for emoji picker key
	HID: hid-sensor-hub: Return error for hid_set_field() failure
	HID: quirks: Add quirk for Lenovo optical mouse
	HID: multitouch: set Stylus suffix for Stylus-application devices, too
	HID: Add BUS_VIRTUAL to hid_connect logging
	HID: usbhid: fix info leak in hid_submit_ctrl
	drm/tegra: sor: Do not leak runtime PM reference
	gpu: host1x: Split up client initalization and registration
	drm/tegra: sor: Fully initialize SOR before registration
	ARM: OMAP1: Fix use of possibly uninitialized irq variable
	ARM: OMAP2+: Fix build warning when mmc_omap is not built
	gfs2: Prevent direct-I/O write fallback errors from getting lost
	gfs2: fix a deadlock on withdraw-during-mount
	HID: gt683r: add missing MODULE_DEVICE_TABLE
	riscv: Use -mno-relax when using lld linker
	gfs2: Fix use-after-free in gfs2_glock_shrink_scan
	scsi: target: core: Fix warning on realtime kernels
	ethernet: myri10ge: Fix missing error code in myri10ge_probe()
	scsi: qedf: Do not put host in qedf_vport_create() unconditionally
	Bluetooth: Add a new USB ID for RTL8822CE
	scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V
	nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
	nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails
	nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()
	nvme-loop: do not warn for deleted controllers during reset
	net: ipconfig: Don't override command-line hostnames or domains
	drm/amd/display: Allow bandwidth validation for 0 streams.
	drm/amdgpu: refine amdgpu_fru_get_product_info
	drm/amd/display: Fix potential memory leak in DMUB hw_init
	drm/amd/amdgpu:save psp ring wptr to avoid attack
	rtnetlink: Fix missing error code in rtnl_bridge_notify()
	net/x25: Return the correct errno code
	net: Return the correct errno code
	fib: Return the correct errno code
	Linux 5.10.45

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I6b25da2659e1db6e7589f8d89357692252d9f0e2
2021-06-21 11:03:42 +02:00
Dmitry Torokhov
0bd8a4b46c HID: hid-input: add mapping for emoji picker key
[ Upstream commit 7b229b13d7 ]

HUTRR101 added a new usage code for a key that is supposed to invoke and
dismiss an emoji picker widget to assist users to locate and enter emojis.

This patch adds a new key definition KEY_EMOJI_PICKER and maps 0x0c/0x0d9
usage code to this new keycode. Additionally hid-debug is adjusted to
recognize this new usage code as well.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-18 10:00:03 +02:00
Maciej Żenczykowski
b4355a880a ANDROID: start to re-add xt_IDLETIMER send_nl_msg support
This was reverted in ee6918c6f7 due to conflicts with
upstream, this first patch is just the minimum necessary to make the netfilter
IDLETIMER target with --send_nl_msg load successfully:

  phone-5.10:/ # iptables-save | egrep IDLETIMER
  -A idletimer_raw_PREROUTING -i rmnet0 -j IDLETIMER --timeout 10 --label 0 --send_nl_msg
  -A idletimer_mangle_POSTROUTING -o rmnet0 -j IDLETIMER --timeout 10 --label 0 --send_nl_msg
  phone-5.10:/ # ip6tables-save | egrep IDLETIMER
  -A idletimer_raw_PREROUTING -i rmnet0 -j IDLETIMER --timeout 10 --label 0 --send_nl_msg
  -A idletimer_mangle_POSTROUTING -o rmnet0 -j IDLETIMER --timeout 10 --label 0 --send_nl_msg

Test: builds, and kernel net tests passes, booted on phone, observed ip{,6}tables loading rules
Bug: 183485987
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I1fe2c4e41a092cc82c3d6d49d1217798b2728bcb
2021-06-11 14:54:06 +00:00
Gleb Fotengauer-Malinovskiy
89e44fb838 FROMGIT: userfaultfd: fix UFFDIO_CONTINUE ioctl request definition
This ioctl request reads from uffdio_continue structure which justifies
_IOC_READ flag.  See NOTEs in include/uapi/asm-generic/ioctl.h for more
information.

Link: https://lkml.kernel.org/r/20210601143432.1002481-1-glebfm@altlinux.org
Link: https://lkml.kernel.org/r/20210531140146.481553-1-glebfm@altlinux.org
Fixes: f619147104 ("userfaultfd: add UFFDIO_CONTINUE ioctl")
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Cc: Daniel Colascione <dancol@google.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 3fe04bff515162ae8192d7eae77b9a92ed1aa945
https: //git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1439728/

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I85d83958a99e5c68e1118b6c189c78108e47be6c
2021-06-04 19:13:43 +00:00
Axel Rasmussen
6a41f38998 FROMGIT: userfaultfd/shmem: advertise shmem minor fault support
Now that the feature is fully implemented (the faulting path hooks exist
so userspace is notified, and the ioctl to resolve such faults is
available), advertise this as a supported feature.

Link: https://lkml.kernel.org/r/20210503180737.2487560-6-axelrasmussen@google.com
Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Acked-by: Hugh Dickins <hughd@google.com>
Acked-by: Peter Xu <peterx@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Brian Geffon <bgeffon@google.com>
Cc: "Dr . David Alan Gilbert" <dgilbert@redhat.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: Oliver Upton <oupton@google.com>
Cc: Shaohua Li <shli@fb.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit b9d806dac47cf75b80185fefb60a1fc54dda2b3e
https: //git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
akpm)
Link: https://lore.kernel.org/patchwork/patch/1420971/
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I5fbab3783ff8671c0a5aa4826aead2d63f5cbbf3
2021-06-04 19:13:03 +00:00
Lokesh Gidra
84330a5f50 Revert "BACKPORT: FROMGIT: userfaultfd: support minor fault handling for shmem"
This reverts commit d672123ec4 as an
updated version of the patch-set will be merged later.

Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Bug: 187930641
Change-Id: I765fe86a2dc0305482a0590c14143dee27840b8a
2021-06-04 19:12:31 +00:00
Stanimir Varbanov
43461c878a UPSTREAM: media: v4l: Add HDR10 static metadata controls
Introduce Content light level and Mastering display colour
volume Colorimetry compound controls with relevant payload
structures and validation.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
(cherry picked from commit 1ad0de78e7)
BUG: 175389589

Change-Id: Ic5985500f2b7bb51699998a4dbe82d4966c0704c
Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org>
2021-06-04 11:15:19 -07:00