298 Commits

Author SHA1 Message Date
d0782c9411 Merge tag 'android12-5.10.160_r00' into android12-5.10
This is the merge of the upstream LTS release of 5.10.160 into the
android12-5.10 branch.

It contains the following commits:

003c389455eb Merge 5.10.160 into android12-5.10-lts
a2428a8dcb4f Linux 5.10.160
54c15f67cb72 ASoC: ops: Correct bounds check for second channel on SX controls
74b139c63f07 nvme-pci: clear the prp2 field when not used
77ebf88e0031 ASoC: cs42l51: Correct PGA Volume minimum value
4db1d19b74e0 can: mcba_usb: Fix termination command argument
683837f2f69d can: sja1000: fix size of OCR_MODE_MASK define
434b5236710f pinctrl: meditatek: Startup with the IRQs disabled
5cb4abb0caa5 libbpf: Use page size as max_entries when probing ring buffer map
50b5f6d4d9d2 ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()
344739dc56f1 ASoC: fsl_micfil: explicitly clear CHnF flags
a49c1a730775 ASoC: fsl_micfil: explicitly clear software reset bit
75454b4bbfc7 io_uring: add missing item types for splice request
17f386e6b769 fuse: always revalidate if exclusive create
eb6313c12955 nfp: fix use-after-free in area_cache_get()
965d93fb39b9 vfs: fix copy_file_range() averts filesystem freeze protection
ed9673394979 vfs: fix copy_file_range() regression in cross-fs copies
970862a96c0d x86/smpboot: Move rcu_cpu_starting() earlier
32e45c58a05f Merge "Merge 5.10.159 into android12-5.10-lts" into android12-5.10-lts
d31626cbea61 ANDROID: usb: gadget: uvc: remove duplicate code in unbind
01ef2d0b53f3 Merge 5.10.159 into android12-5.10-lts
931578be6987 Linux 5.10.159
4fd6f84e0a0c can: esd_usb: Allow REC and TEC to return to zero
cf0e42310648 macsec: add missing attribute validation for offload
6b03e41767c7 net: mvneta: Fix an out of bounds check
8208d7e56b1e ipv6: avoid use-after-free in ip6_fragment()
3d59adad126d net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()
a00444e25bbc xen/netback: fix build warning
87277bdf2c37 ethernet: aeroflex: fix potential skb leak in greth_init_rings()
cc668fddde42 tipc: call tipc_lxc_xmit without holding node_read_lock
4be43e46c3f9 net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()
8e3f9ac00956 ipv4: Fix incorrect route flushing when table ID 0 is used
5211e5ff9ddc ipv4: Fix incorrect route flushing when source address is deleted
36e248269a16 tipc: Fix potential OOB in tipc_link_proto_rcv()
93aaa4bb72e3 net: hisilicon: Fix potential use-after-free in hix5hd2_rx()
296a50aa8b29 net: hisilicon: Fix potential use-after-free in hisi_femac_rx()
8d1aed7a117a net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq
a5cfbc199536 ip_gre: do not report erspan version on GRE interface
696e34d54ca1 net: stmmac: fix "snps,axi-config" node property parsing
ca26f45083d6 nvme initialize core quirks before calling nvme_init_subsystem
27eb2d7a1b99 NFC: nci: Bounds check struct nfc_target arrays
a2506b19d7a3 i40e: Disallow ip4 and ip6 l4_4_bytes
8329b65e34ef i40e: Fix for VF MAC address 0
215f3ac53b18 i40e: Fix not setting default xps_cpus after reset
146ebee8fcdb net: mvneta: Prevent out of bounds read in mvneta_config_rss()
e6860c889f4a xen-netfront: Fix NULL sring after live migration
3d3b30718ae3 net: encx24j600: Fix invalid logic in reading of MISTAT register
51ba1820e736 net: encx24j600: Add parentheses to fix precedence
42c319635c0c mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()
4c693330cec2 selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
bccda3ad0748 net: dsa: ksz: Check return value
e7b950458156 Bluetooth: Fix not cleanup led when bt_init fails
1717354d77f8 Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()
80c69b31aa5b vmxnet3: correctly report encapsulated LRO packet
575a6266f63d af_unix: Get user_ns from in_skb in unix_diag_get_exact().
6c788c0a2506 drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420
de918d9738c7 igb: Allocate MSI-X vector when testing
6595c9208d97 e1000e: Fix TX dispatch condition
5ee6413d3dd9 gpio: amd8111: Fix PCI device reference count leak
b9aca69a6c82 drm/bridge: ti-sn65dsi86: Fix output polarity setting bug
b46e8c50c386 netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark
0a8e66e37573 ca8210: Fix crash by zero initializing data
27c71825ffc4 ieee802154: cc2520: Fix error return code in cc2520_hw_init()
a0418d0a6b2d netfilter: nft_set_pipapo: Actually validate intervals in fields after the first one
cb283cca1ddc rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
5c432383b687 rtc: mc146818-lib: fix locking in mc146818_set_time
5e26531d8113 rtc: cmos: Disable irq around direct invocation of cmos_interrupt()
fccee93eb20d mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page
c42221efb115 can: af_can: fix NULL pointer dereference in can_rcv_filter
bc03f809da78 HID: core: fix shift-out-of-bounds in hid_report_raw_event
959a23a4d111 HID: hid-lg4ff: Add check for empty lbuf
4dde75945a9c HID: usbhid: Add ALWAYS_POLL quirk for some mice
11e95d85c3c9 drm/shmem-helper: Avoid vm_open error paths
6a4da05acd06 drm/shmem-helper: Remove errant put in error path
007f561f599f drm/vmwgfx: Don't use screen objects when SEV is active
3cb78c39252e KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field
549b46f8130e Bluetooth: Fix crash when replugging CSR fake controllers
380d183e998b Bluetooth: btusb: Add debug message for CSR controllers
f1cf856123ce mm/gup: fix gup_pud_range() for dax
f1f7f36cf682 memcg: fix possible use-after-free in memcg_write_event_control()
32f01f0306a9 media: v4l2-dv-timings.c: fix too strict blanking sanity checks
043b2bc96ca2 Revert "ARM: dts: imx7: Fix NAND controller size-cells"
abfb8ae69bdc media: videobuf2-core: take mmap_lock in vb2_get_unmapped_area()
83632fc41449 xen/netback: don't call kfree_skb() with interrupts disabled
3eecd2bc10e0 xen/netback: do some code cleanup
49e07c0768db xen/netback: Ensure protocol headers don't fall in the non-linear area
db44a9443e58 rtc: mc146818: Reduce spinlock section in mc146818_set_time()
17293d630f5f rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ
acfd8ef683fb rtc: cmos: avoid UIP when reading alarm time
949bae02827e rtc: cmos: avoid UIP when writing alarm time
33ac73a41af6 rtc: mc146818-lib: extract mc146818_avoid_UIP
8bb5fe58305f rtc: mc146818-lib: fix RTC presence check
775d4661f145 rtc: Check return value from mc146818_get_time()
b9a5c470e075 rtc: mc146818-lib: change return values of mc146818_get_time()
94eaf9966e04 rtc: cmos: remove stale REVISIT comments
f5b51f855036 rtc: mc146818: Dont test for bit 0-5 in Register D
3736972360fa rtc: mc146818: Detect and handle broken RTCs
7c7075c88da4 rtc: mc146818: Prevent reading garbage
7f445ca2e0e5 mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
4a1cdb49d0f2 mm/khugepaged: fix GUP-fast interaction by sending IPI
cdfd3739b212 mm/khugepaged: take the right locks for page table retraction
1c0eec6a1d17 net: usb: qmi_wwan: add u-blox 0x1342 composition
a8c5ffb4dffd 9p/xen: check logical size for buffer size
ec36ebae3667 usb: dwc3: gadget: Disable GUSB2PHYCFG.SUSPHY for End Transfer
d9b53caf0191 fbcon: Use kzalloc() in fbcon_prepare_logo()
8b130c770d00 regulator: twl6030: fix get status of twl6032 regulators
f6f45e538328 ASoC: soc-pcm: Add NULL check in BE reparenting
688a45aff2b2 btrfs: send: avoid unaligned encoded writes when attempting to clone range
15c42ab8d43a ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
d38e021416b2 regulator: slg51000: Wait after asserting CS pin
1331bcfcac18 9p/fd: Use P9_HDRSZ for header size
96b43f36a593 ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188
ddf58f59393b ASoC: wm8962: Wait for updated value of WM8962_CLOCKING1 register
dbd78abd696d ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation
bb1866cf1ee9 ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels
b1f40a0cdf00 ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name
5f9474d07b60 arm64: dts: rockchip: fix ir-receiver node names
060d58924af6 ARM: dts: rockchip: fix ir-receiver node names
3e0c4667713a arm: dts: rockchip: fix node name for hym8563 rtc
3ada63a87654 arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series
202ee063496e Revert "mmc: sdhci: Fix voltage switch delay"
0b0939466f8c ANDROID: gki_defconfig: add CONFIG_FUNCTION_ERROR_INJECTION
5ab4c6b8436b Merge 5.10.158 into android12-5.10-lts
592346d5dc9b Linux 5.10.158
cc1b4718cc42 ipc/sem: Fix dangling sem_array access in semtimedop race
d072a10c81d3 v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails
9ba389863ac6 proc: proc_skip_spaces() shouldn't think it is working on C strings
4aa32aaef6c1 proc: avoid integer type confusion in get_proc_long
5f2f77560591 block: unhash blkdev part inode when the part is deleted
a82869ac52f3 Input: raydium_ts_i2c - fix memory leak in raydium_i2c_send()
4e0d6c687c92 char: tpm: Protect tpm_pm_suspend with locks
5a6f935ef34e Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"
f075cf139f55 ACPI: HMAT: Fix initiator registration for single-initiator systems
f3b76b4d38fd ACPI: HMAT: remove unnecessary variable initialization
63e72417a1ad i2c: imx: Only DMA messages with I2C_M_DMA_SAFE flag set
df7613659872 i2c: npcm7xx: Fix error handling in npcm_i2c_init()
7462cd2443bc x86/pm: Add enumeration check before spec MSRs save/restore setup
5e3d4a68e2e1 x86/tsx: Add a feature bit for TSX control MSR support
b7f7a0402eb7 Revert "tty: n_gsm: avoid call of sleeping functions from atomic context"
481f9ed8ebdc ipv4: Fix route deletion when nexthop info is not specified
0b5394229eba ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference
4919503426c9 selftests: net: fix nexthop warning cleanup double ip typo
7ca14c5f24db selftests: net: add delete nexthop route warning test
f09ac62f0e3f Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled
19d91d3798e7 parisc: Increase FRAME_WARN to 2048 bytes on parisc
fcf20da09974 xtensa: increase size of gcc stack frame check
a1877001ed6d parisc: Increase size of gcc stack frame check
a5c65cd56aed iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
10ed7655a17f iommu/vt-d: Fix PCI device refcount leak in has_external_pci()
302edce1dd42 pinctrl: single: Fix potential division by zero
b50c96418972 ASoC: ops: Fix bounds check for _sx controls
a2efc465245e io_uring: don't hold uring_lock when calling io_run_task_work*
be111ebd8868 tracing: Free buffers when a used dynamic event is removed
648b92e57607 drm/i915: Never return 0 if not all requests retired
8649c023c427 drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame
940b774069f1 mmc: sdhci: Fix voltage switch delay
ed1966245307 mmc: sdhci-sprd: Fix no reset data and command after voltage switch
ef767907e77d mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check
46ee041cd655 mmc: core: Fix ambiguous TRIM and DISCARD arg
b79be962b567 mmc: mmc_test: Fix removal of debugfs file
d4fc344c0d9c net: stmmac: Set MAC's flow control register to reflect current settings
549e24409ac5 pinctrl: intel: Save and restore pins in "direct IRQ" mode
471fb7b735bf x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3
e858917ab785 nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()
6ddf788400dd tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"
c099d12c5502 error-injection: Add prompt for function error injection
26b6f927bb86 riscv: vdso: fix section overlapping under some conditions
2b1d8f27e205 net/mlx5: DR, Fix uninitialized var warning
c40db1e5f316 hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
f06e0cd01eab hwmon: (coretemp) Check for null before removing sysfs attrs
d93522d04f84 net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
176ee6c673cc sctp: fix memory leak in sctp_stream_outq_migrate()
1c38c88acc96 packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE
5f442e1d403e net: tun: Fix use-after-free in tun_detach()
5fa0fc5876b5 afs: Fix fileserver probe RTT handling
7ca81a161e40 net: hsr: Fix potential use-after-free
a1ba595e35aa tipc: re-fetch skb cb after tipc_msg_validate
4621bdfff5f8 dsa: lan9303: Correct stat name
45752af02475 net: ethernet: nixge: fix NULL dereference
e01c1542379f net/9p: Fix a potential socket leak in p9_socket_open
b080d4668f3f net: net_netdev: Fix error handling in ntb_netdev_init_module()
fe6bc99c27c2 net: phy: fix null-ptr-deref while probe() failed
0184ede0ec61 wifi: mac8021: fix possible oob access in ieee80211_get_rate_duration
e2ed90fd3ae0 wifi: cfg80211: don't allow multi-BSSID in S1G
9e6b79a3cd17 wifi: cfg80211: fix buffer overflow in elem comparison
6922948c2ec1 aquantia: Do not purge addresses when setting the number of rings
fa59d49a49b0 qlcnic: fix sleep-in-atomic-context bugs caused by msleep
d753f554f25d can: cc770: cc770_isa_probe(): add missing free_cc770dev()
e74746bf0453 can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
0d2f9d95d9fb net/mlx5e: Fix use-after-free when reverting termination table
2cb84ff34938 net/mlx5: Fix uninitialized variable bug in outlen_write()
b775f37d9439 e100: Fix possible use after free in e100_xmit_prepare
086f656e447b e100: switch from 'pci_' to 'dma_' API
971c55f0763b iavf: Fix error handling in iavf_init_module()
d389a4c69877 iavf: remove redundant ret variable
fd4960ea5362 fm10k: Fix error handling in fm10k_init_module()
dd425cec79ba i40e: Fix error handling in i40e_init_module()
f166c62cad79 ixgbevf: Fix resource leak in ixgbevf_init_module()
8f7047f41810 of: property: decrement node refcount in of_fwnode_get_reference_args()
be006212bd53 bpf: Do not copy spin lock field from user in bpf_selem_alloc
90907cd4d113 hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails
7649bba2633d hwmon: (i5500_temp) fix missing pci_disable_device()
dddfc03f044b hwmon: (ina3221) Fix shunt sum critical calculation
984fcd3ec1aa hwmon: (ltc2947) fix temperature scaling
8a549ab67245 libbpf: Handle size overflow for ringbuf mmap
cc140c729c68 ARM: at91: rm9200: fix usb device clock id
592724b14da7 scripts/faddr2line: Fix regression in name resolution on ppc64le
353c3aaaf3c4 bpf, perf: Use subprog name when reporting subprog ksymbol
d48f6a578405 iio: light: rpr0521: add missing Kconfig dependencies
5eb114f55b37 iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
b1756af172fb iio: health: afe4403: Fix oob read in afe4403_read_raw
01d7c41eac91 btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()
d3f5be824669 drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"
00570fafc2bc drm/amdgpu: update drm_display_info correctly when the edid is read
44b204730bf3 drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code
1faf21bdd111 btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker
6050872f9f31 spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock
7b020665d482 btrfs: free btrfs_path before copying inodes to userspace
d5b7a34379fa btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
f3226d86f8ce Revert "xfrm: fix "disable_policy" on ipv4 early demux"
982d7f3eb8aa Merge 5.10.157 into android12-5.10-lts
37d3df60cb6a ANDROID: CRC ABI fixups in ip.h and ipv6.h
f4245f05389c Linux 5.10.157
4801672fb076 fuse: lock inode unconditionally in fuse_fallocate()
86f0082fb947 drm/i915: fix TLB invalidation for Gen12 video and compute engines
feb97cf45e77 drm/amdgpu: always register an MMU notifier for userptr
596b7d55d7c6 drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN
c86c1a7037cd btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()
1581830c0eca btrfs: free btrfs_path before copying subvol info to userspace
0bdb8f7ef87d btrfs: free btrfs_path before copying fspath to userspace
24a37ba2cb66 btrfs: free btrfs_path before copying root refs to userspace
b56d6e55857b genirq: Take the proposed affinity at face value if force==true
9d90a2b98e6e irqchip/gic-v3: Always trust the managed affinity provided by the core code
e0d2c59ee995 genirq: Always limit the affinity to online CPUs
f8f80d532f78 genirq/msi: Shutdown managed interrupts with unsatifiable affinities
3eb6b89a4e9f wifi: wilc1000: validate number of channels
5a068535c007 wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_CHANNEL_LIST attribute
905f886eae4b wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_OPER_CHANNEL attribute
7c6535fb4d67 wifi: wilc1000: validate pairwise and authentication suite offsets
64b7f9a7ddfb dm integrity: clear the journal on suspend
d306f73079f3 dm integrity: flush the journal on suspend
79d9a1167978 gpu: host1x: Avoid trying to use GART on Tegra20
a7f30b5b8d7c net: usb: qmi_wwan: add Telit 0x103a composition
7e8eaa939eea tcp: configurable source port perturb table size
0acc008cf98e platform/x86: hp-wmi: Ignore Smart Experience App event
0964b77bab54 zonefs: fix zone report size in __zonefs_io_error()
a5937dae662b platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)
52fb7bcea0c6 platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
4fa717ba2d25 xen/platform-pci: add missing free_irq() in error path
f45a5a6c9f6d xen-pciback: Allow setting PCI_MSIX_FLAGS_MASKALL too
9bbb58747243 Input: soc_button_array - add Acer Switch V 10 to dmi_use_low_level_irq[]
4ea4316dffda Input: soc_button_array - add use_low_level_irq module parameter
c1620e996d0a Input: goodix - try resetting the controller when no config is set
f4db0509587a serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()
7c3e39ccf5bd ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-01
36e0b976196c Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode
ae9e0cc973fb binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0
017de842533f binder: Address corner cases in deferred copy and fixup
2e3c27f24173 binder: fix pointer cast warning
c9d3f25a7f4e binder: defer copies of pre-patched txn data
5204296fc766 binder: read pre-translated fds from sender buffer
23e9d815fad8 binder: avoid potential data leakage when copying txn
22870431cd25 x86/ioremap: Fix page aligned size calculation in __ioremap_caller()
3fdeacf087ff KVM: x86: remove exit_int_info warning in svm_handle_exit
7e5cb13091e6 KVM: x86: nSVM: leave nested mode on vCPU free
d925dd3e444c mm: vmscan: fix extreme overreclaim and swap floods
a4a62a23fadc gcov: clang: fix the buffer overflow issue
e7f21d10e93e nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty
f06b7e6a77c1 usb: dwc3: gadget: Clear ep descriptor last
cff7523ab8b8 usb: dwc3: gadget: Return -ESHUTDOWN on ep disable
a32635528d65 usb: dwc3: gadget: conditionally remove requests
ca3a08e9d9eb ceph: fix NULL pointer dereference for req->r_session
00c004c070f2 ceph: Use kcalloc for allocating multiple elements
69263bf781be ceph: fix possible NULL pointer dereference for req->r_session
8e137ace5333 ceph: put the requests/sessions when it fails to alloc memory
38993788f40c ceph: fix off by one bugs in unsafe_request_wait()
8a31ae7f7794 ceph: flush the mdlog before waiting on unsafe reqs
78b2f546f789 ceph: flush mdlog before umounting
d94ba7b3b7e7 ceph: make iterate_sessions a global symbol
9ac038d3c2f2 ceph: make ceph_create_session_msg a global symbol
8382cdf0ab5d usb: cdns3: Add support for DRD CDNSP
57112da86b1b mmc: sdhci-brcmstb: Fix SDHCI_RESET_ALL for CQHCI
b5d770977b18 mmc: sdhci-brcmstb: Enable Clock Gating to save power
049194538cb8 mmc: sdhci-brcmstb: Re-organize flags
fbe955be268b nios2: add FORCE for vmlinuz.gz
c0a9c9973d24 init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
456e895fd0b8 iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails
fa9efcbfbf77 iio: light: apds9960: fix wrong register for gesture gain
bd1b8041c2f6 arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency
86ba9c859577 ext4: fix use-after-free in ext4_ext_shift_extents
350e98a08af1 usb: dwc3: exynos: Fix remove() function
d21d26e65b5f lib/vdso: use "grep -E" instead of "egrep"
c0cf8bc259e0 net: enetc: preserve TX ring priority across reconfiguration
de4dd4f9b3f6 net: enetc: cache accesses to &priv->si->hw
1f080b8caae9 net: enetc: manage ENETC_F_QBV in priv->active_offloads only when enabled
1d840c5d673d s390/crashdump: fix TOD programmable field size
11052f118879 net: thunderx: Fix the ACPI memory leak
b034fe2a0800 nfc: st-nci: fix memory leaks in EVT_TRANSACTION
e14583073fc0 nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
9cc863d52399 arcnet: fix potential memory leak in com20020_probe()
4d2be0cf27d9 net: arcnet: Fix RESET flag handling
e61b00374a6e s390/dasd: fix no record found for raw_track_access
aeebb0749972 ipv4: Fix error return code in fib_table_insert()
c0af4d005a26 dccp/tcp: Reset saddr on failure after inet6?_hash_connect().
b8e494240e69 netfilter: flowtable_offload: add missing locking
af9de5cdcb10 dma-buf: fix racing conflict of dma_heap_add()
c40b76dfa7e4 bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()
f81e9c0510b0 regulator: twl6030: re-add TWL6032_SUBCLASS
32b944b9c4b2 NFC: nci: fix memory leak in nci_rx_data_packet()
68a7aec3f4b5 net: sched: allow act_ct to be built without NF_NAT
8e2664e12bc6 sfc: fix potential memleak in __ef100_hard_start_xmit()
6b638a16ead1 xfrm: Fix ignored return value in xfrm6_init()
c7788361a645 tipc: check skb_linearize() return value in tipc_disc_rcv()
4058e3b74ab3 tipc: add an extra conn_get in tipc_conn_alloc
e87a077d09c0 tipc: set con sock in tipc_conn_alloc
891daa95b0bb net/mlx5: Fix handling of entry refcount when command is not issued to FW
e06ff9f8fedf net/mlx5: Fix FW tracer timestamp calculation
5689eba90a20 netfilter: ipset: regression in ip_set_hash_ip.c
e62e62ea912a netfilter: ipset: Limit the maximal range of consecutive elements to add/delete
8dca384970ac Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()
909186cf34de Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()
f42802e14a87 macsec: Fix invalid error code set
72be055615e0 nfp: add port from netdev validation for EEPROM access
ce41e03cacaa nfp: fill splittable of devlink_port_attrs correctly
0b553ded3450 net: pch_gbe: fix pci device refcount leak while module exiting
2c59ef9ab63d net/qla3xxx: fix potential memleak in ql3xxx_send()
a24d5f6c8b7b net/mlx4: Check retval of mlx4_bitmap_init
da86a63479e5 net: ethernet: mtk_eth_soc: fix error handling in mtk_open()
756534f7cf53 ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties
290a71ff721b ARM: mxs: fix memory leak in mxs_machine_init()
5c97af75f53c netfilter: conntrack: Fix data-races around ct mark
459332f8dbfb 9p/fd: fix issue of list_del corruption in p9_fd_cancel()
26bb8f6aaae3 net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
398a860a4429 nfc/nci: fix race with opening and closing
3535c632e6d1 rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]
23c03ee0eec4 rxrpc: Use refcount_t rather than atomic_t
bddde342c62e rxrpc: Allow list of in-use local UDP endpoints to be viewed in /proc
a2d5dba2fc69 net: liquidio: simplify if expression
8124a02e1717 ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl
b547bf71fa7e tee: optee: fix possible memory leak in optee_register_device()
b76c5a99f44a bus: sunxi-rsb: Support atomic transfers
0c059b7d2a6b regulator: core: fix UAF in destroy_regulator()
fcb2d286362b spi: dw-dma: decrease reference count in dw_spi_dma_init_mfld()
0b6441abfa5d regulator: core: fix kobject release warning and memory leak in regulator_register()
26d3d3ffa82b scsi: storvsc: Fix handling of srb_status and capacity change events
c34db0d6b88b ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()
4f6c7344ab26 ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove
164a5b50d104 ASoC: hdac_hda: fix hda pcm buffer overflow issue
7cfb4b8579d3 ARM: dts: am335x-pcm-953: Define fixed regulators in root node
b7000254c125 af_key: Fix send_acquire race with pfkey_register
51969d679ba4 xfrm: replay: Fix ESN wrap around for GSO
497653f6d239 xfrm: fix "disable_policy" on ipv4 early demux
836bbdfcf8ef MIPS: pic32: treat port as signed integer
c0bb600f0768 RISC-V: vdso: Do not add missing symbols to version section in linker script
81cc6d8400ac arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
fa5f2c72d39f block, bfq: fix null pointer dereference in bfq_bio_bfqg()
d29bde868945 drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)
f7ce6fb04e04 scsi: scsi_debug: Make the READ CAPACITY response compliant with ZBC
2574903ee260 scsi: ibmvfc: Avoid path failures during live migration
7fc62181c1d4 platform/x86: touchscreen_dmi: Add info for the RCA Cambio W101 v2 2-in-1
f54a11b6bf82 Revert "net: macsec: report real_dev features when HW offloading is enabled"
f4b8c0710ab6 selftests/bpf: Add verifier test for release_reference()
361a16509898 spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run
2c1ca23555ed wifi: mac80211: Fix ack frame idr leak when mesh has no route
8d39913158ad wifi: airo: do not assign -1 to unsigned char
8552e6048ec9 audit: fix undefined behavior in bit shift for AUDIT_BIT
1c9eb641d13e riscv: dts: sifive unleashed: Add PWM controlled LEDs
92ae6facd129 wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support
2fcc593b5047 wifi: mac80211: fix memory free error when registering wiphy fail
044bc6d3c2c0 ceph: avoid putting the realm twice when decoding snaps fails
d43219bb33d5 ceph: do not update snapshot context when there is no new snapshot
49c71b68141e iio: pressure: ms5611: fixed value compensation bug
879139bc7afb iio: ms5611: Simplify IO callback parameters
80c825e1e33b nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro
f4066fb91021 nvme: add a bogus subsystem NQN quirk for Micron MTFDKBA2T0TFH
4f0cea018e03 drm/display: Don't assume dual mode adaptors support i2c sub-addressing
347f1793b573 bridge: switchdev: Fix memory leaks when changing VLAN protocol
89a7f155e6b2 bridge: switchdev: Notify about VLAN protocol changes
f5cbd86ebf28 ata: libata-core: do not issue non-internal commands once EH is pending
4034d06a4dbe ata: libata-scsi: simplify __ata_scsi_queuecmd()
03aabcb88aee scsi: scsi_transport_sas: Fix error handling in sas_phy_add()
d9b90a99f34d Merge 5.10.156 into android12-5.10-lts
25af5a11f1da Merge 5.10.155 into android12-5.10-lts
e5d2cd6ad886 ANDROID: abi preservation for fscrypt change in 5.10.154
5bc3ece38082 Revert "serial: 8250: Let drivers request full 16550A feature probing"
f466ca1247d7 Merge 5.10.154 into android12-5.10-lts
6d46ef50b123 Linux 5.10.156
7be134eb691f Revert "net: broadcom: Fix BCMGENET Kconfig"
957732a09c38 ntfs: check overflow when iterating ATTR_RECORDs
6322dda48334 ntfs: fix out-of-bounds read in ntfs_attr_find()
b825bfbbaafb ntfs: fix use-after-free in ntfs_attr_find()
294ef12dccc6 mm: fs: initialize fsdata passed to write_begin/write_end interface
a8e2fc8f7b41 9p/trans_fd: always use O_NONBLOCK read/write
a5da76df467a gfs2: Switch from strlcpy to strscpy
5fa30be7ba81 gfs2: Check sb_bsize_shift after reading superblock
f14858bc77c5 9p: trans_fd/p9_conn_cancel: drop client lock earlier
4154b6afa2bd kcm: close race conditions on sk_receive_queue
7deb7a9d33e4 kcm: avoid potential race in kcm_tx_work
35309be06b6f tcp: cdg: allow tcp_cdg_release() to be called multiple times
e929ec98c0c3 macvlan: enforce a consistent minimal mtu
95ebea5a15e4 uapi/linux/stddef.h: Add include guards
3f25add5ecf8 Input: i8042 - fix leaking of platform device on module removal
7d606ae1abcc kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case
89ece5ff7dbe scsi: scsi_debug: Fix possible UAF in sdebug_add_host_helper()
75205f1b47a8 scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()
6e9334436d78 net: use struct_group to copy ip/ipv6 header addresses
9fd7bdaffe0e stddef: Introduce struct_group() helper macro
47c3bdd95505 usbnet: smsc95xx: Fix deadlock on runtime resume
8208c266fe27 ring-buffer: Include dropped pages in counting dirty patches
36b5095b07ac net: fix a concurrency bug in l2tp_tunnel_register()
023435a095d2 nvme: ensure subsystem reset is single threaded
b9a5ecf24180 nvme: restrict management ioctls to admin
5e2f14d77223 perf/x86/intel/pt: Fix sampling using single range output
62634b43d3c4 misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram()
c1eb46a65b09 docs: update mediator contact information in CoC doc
4423866d31a0 mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
440653a180f5 mmc: sdhci-pci-o2micro: fix card detect fail issue caused by CD# debounce timeout
8e70b1413178 mmc: core: properly select voltage range without power cycle
05b0f6624dda firmware: coreboot: Register bus in module init
deda86a0d84d iommu/vt-d: Set SRE bit only when hardware has SRS cap
d2c7d8f58e9c scsi: zfcp: Fix double free of FSF request when qdio send fails
db744288af73 maccess: Fix writing offset in case of fault in strncpy_from_kernel_nofault()
24cc679abbf3 Input: iforce - invert valid length check when fetching device IDs
5f4611fe012f serial: 8250_lpss: Configure DMA also w/o DMA filter
8679087e9357 serial: 8250: Flush DMA Rx on RLSI
a5eaad87bfca serial: 8250: Fall back to non-DMA Rx if IIR_RDI occurs
f59f5a269ca5 dm ioctl: fix misbehavior if list_versions races with module loading
67a75a9480fc iio: pressure: ms5611: changed hardcoded SPI speed to value limited
d95b85c5084a iio: adc: mp2629: fix potential array out of bound access
46b8bc62c5ea iio: adc: mp2629: fix wrong comparison of channel
8dddf2699da2 iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()
85d2a8b287a8 iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()
85cc1a2fd8bf usb: typec: mux: Enter safe mode only when pins need to be reconfigured
efaab055201b usb: chipidea: fix deadlock in ci_otg_del_timer
143ba5c2d2a7 usb: add NO_LPM quirk for Realforce 87U Keyboard
249cef723fee USB: serial: option: add Fibocom FM160 0x0111 composition
5c44c60358da USB: serial: option: add u-blox LARA-L6 modem
0e88a3cfa6ed USB: serial: option: add u-blox LARA-R6 00B modem
de707957d9d4 USB: serial: option: remove old LARA-R6 PID
878227a3ddb2 USB: serial: option: add Sierra Wireless EM9191
25c652811ddd USB: bcma: Make GPIO explicitly optional
eb3af3ea5bca speakup: fix a segfault caused by switching consoles
8cbaf4ed530e slimbus: stream: correct presence rate frequencies
15155f7c0e30 Revert "usb: dwc3: disable USB core PHY management"
100d1e53bb3b ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
c7dcc8948279 ALSA: hda/realtek: fix speakers for Samsung Galaxy Book Pro
a80369c8ca50 ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
28a54854a959 tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()
bb70fcae4115 tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()
315b149f0822 tracing: Fix wild-memory-access in register_synth_event()
65ba7e7c2411 tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()
5d4cc7bc1a8d tracing/ring-buffer: Have polling block on watermark
5fdebbeca5db ring_buffer: Do not deactivate non-existant pages
6a14828cadda ftrace: Fix null pointer dereference in ftrace_add_mod()
6ed60c60ec90 ftrace: Optimize the allocation for mcount entries
9569eed79bc0 ftrace: Fix the possible incorrect kernel message
5fc19c831320 cifs: add check for returning value of SMB2_set_info_init
0aeb0de528ec net: thunderbolt: Fix error handling in tbnet_init()
e13ef43813eb cifs: Fix wrong return value checking when GETFLAGS
9f00da9c866d net/x25: Fix skb leak in x25_lapb_receive_frame()
94822d23310a net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open()
3aeb13bc3db2 cifs: add check for returning value of SMB2_close_init
c24013273ed4 platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized
9ed51414aef6 drbd: use after free in drbd_create_device()
6b23a4b25204 net: ena: Fix error handling in ena_init()
2d5a49550135 net: ionic: Fix error handling in ionic_init_module()
bb9924a6edd9 xen/pcpu: fix possible memory leak in register_pcpu()
d6a561bd4c53 bnxt_en: Remove debugfs when pci_register_driver failed
389738f5dbc5 net: caif: fix double disconnect client in chnl_net_open()
fb5ee1560bab net: macvlan: Use built-in RCU list checking
709aa1f73d3e mISDN: fix misuse of put_device() in mISDN_register_device()
417f2d2edf30 net: liquidio: release resources when liquidio driver open failed
4cba73f2d6fc net: hinic: Fix error handling in hinic_module_init()
083a2c9ef82e mISDN: fix possible memory leak in mISDN_dsp_element_register()
6b23993d5bef net: bgmac: Drop free_netdev() from bgmac_enet_remove()
1f6a73b25dab bpf: Initialize same number of free nodes for each pcpu_freelist
ef2ac07ab831 ata: libata-transport: fix error handling in ata_tdev_add()
7377a14598f6 ata: libata-transport: fix error handling in ata_tlink_add()
b5362dc1634d ata: libata-transport: fix error handling in ata_tport_add()
ac471468f7c1 ata: libata-transport: fix double ata_host_put() in ata_tport_add()
ac4f404c250b arm64: dts: imx8mn: Fix NAND controller size-cells
30ece7dbeeca arm64: dts: imx8mm: Fix NAND controller size-cells
f68a9efd7895 ARM: dts: imx7: Fix NAND controller size-cells
1d160dfb3fdf drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker()
c47a823ea186 drm/drv: Fix potential memory leak in drm_dev_init()
c776a49d099c drm/panel: simple: set bpc field for logic technologies displays
777430aa4ddc pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map
bce3e6fe8ba7 parport_pc: Avoid FIFO port location truncation
a4b5423f88a1 siox: fix possible memory leak in siox_device_add()
0679f571d3de arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro
58636b5ff3f6 block: sed-opal: kmalloc the cmd/resp buffers
e27458b18b35 sctp: clear out_curr if all frag chunks of current msg are pruned
0b4c259b63ea sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent
7360e7c29d27 ASoC: soc-utils: Remove __exit for snd_soc_util_exit()
e60f37a1d379 bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()
b8fe1a5aa733 tty: n_gsm: fix sleep-in-atomic-context bug in gsm_control_send
0a3160f4ffc7 serial: imx: Add missing .thaw_noirq hook
7e1f908e65c5 serial: 8250: omap: Flush PM QOS work on remove
d833cba201ad serial: 8250: omap: Fix unpaired pm_runtime_put_sync() in omap8250_remove()
b0b6ea651ecf serial: 8250_omap: remove wait loop from Errata i202 workaround
f14c312c2189 serial: 8250: omap: Fix missing PM runtime calls for omap8250_set_mctrl()
85cdbf04b435 serial: 8250: Remove serial_rs485 sanitization from em485
f5dedad4059b ASoC: tas2764: Fix set_tdm_slot in case of single slot
9e82d78fbe54 ASoC: tas2770: Fix set_tdm_slot in case of single slot
8d21554ec768 ASoC: core: Fix use-after-free in snd_soc_exit()
38ca9bd336c8 spi: stm32: Print summary 'callbacks suppressed' message
a180da5564b5 drm/amdgpu: disable BACO on special BEIGE_GOBY card
f3adf0adf306 drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
b0faeff69a0a drm/amd/pm: Read BIF STRAP also for BACO check
6958556285ec drm/amd/pm: support power source switch on Sienna Cichlid
7daab001a6f6 mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA
65ac4d1807d2 spi: intel: Use correct mask for flash and protected regions
23793518a752 mtd: spi-nor: intel-spi: Disable write protection only if asked
a326fffdc78b ALSA: hda/realtek: fix speakers and micmute on HP 855 G8
24839d027c83 ASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> "Route"
bd487932408d Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm
ce75e9085988 btrfs: remove pointless and double ulist frees in error paths of qgroup tests
16743c4bf3ef drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid
df2747f295ac i2c: i801: add lis3lv02d's I2C address for Vostro 5568
959cb0fd6951 i2c: tegra: Allocate DMA memory for DMA engine
6cb657722e37 NFSv4: Retry LOCK on OLD_STATEID during delegation return
f0187227e2b8 drm/amd/display: Remove wrong pipe control lock
bb3edbd09287 ASoC: rt1308-sdw: add the default value of some registers
b1619f030776 selftests/intel_pstate: fix build for ARCH=x86_64
fdf680760629 selftests/futex: fix build for clang
c1f0defecbdc ASoC: codecs: jz4725b: fix capture selector naming
aeb7e8bc0d3e ASoC: codecs: jz4725b: use right control for Capture Volume
c87945c17385 ASoC: codecs: jz4725b: fix reported volume for Master ctl
9aae00961ab3 ASoC: codecs: jz4725b: add missed Line In power control bit
0b4d650f905c spi: intel: Fix the offset to get the 64K erase opcode
6910e7279f5d ASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPK
c7432616f6aa ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probe
a47606064cc0 ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"
f8f254c8b506 ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe"
c73aa2cc4156 ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe"
673a7341bdab Merge 5.10.153 into android12-5.10-lts
27b36ba7c21c Merge 5.10.152 into android12-5.10-lts
bf759deb0f59 Merge 5.10.151 into android12-5.10-lts
6b31c548a114 ANDROID: fix up struct sk_buf ABI breakage
bd66e91ad254 ANDROID: fix up CRC issue with struct tcp_sock
3905cfd1d672 Revert "serial: 8250: Toggle IER bits on only after irq has been set up"
41217963b1d9 Linux 5.10.155
0f544353fec8 io_uring: kill goto error handling in io_sqpoll_wait_sq()
154d744fbefc x86/cpu: Restore AMD's DE_CFG MSR after resume
e7294b01de40 mmc: sdhci-esdhc-imx: Convert the driver to DT-only
534762e261c8 net: tun: call napi_schedule_prep() to ensure we own a napi
367bc0fa988f dmaengine: at_hdmac: Check return code of dma_async_device_register
85f97c97efc5 dmaengine: at_hdmac: Fix impossible condition
f53a233eaad6 dmaengine: at_hdmac: Don't allow CPU to reorder channel enable
f4512855223c dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors
6be4ab08c863 dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardware
a35dd5dd98b6 dmaengine: at_hdmac: Fix concurrency over the active list
0f603bf553a7 dmaengine: at_hdmac: Free the memset buf without holding the chan lock
7f07cecc7411 dmaengine: at_hdmac: Fix concurrency over descriptor
1582cc3b4805 dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all()
9b69060a725d dmaengine: at_hdmac: Protect atchan->status with the channel lock
ee356822618e dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all
7078e935b410 dmaengine: at_hdmac: Fix premature completion of desc in issue_pending
ad4cbe8e9c3a dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending
24f9e93e506a dmaengine: at_hdmac: Don't start transactions at tx_submit level
4b51cce72ab7 dmaengine: at_hdmac: Fix at_lli struct definition
d37dfb9357e9 cert host tools: Stop complaining about deprecated OpenSSL functions
f8e0edeaa0f2 can: j1939: j1939_send_one(): fix missing CAN header initialization
0b692d41ee5c mm/memremap.c: map FS_DAX device memory as decrypted
03f9582a6a2e udf: Fix a slab-out-of-bounds write bug in udf_find_entry()
4ea3aa3b983b mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI
9c0accfa5a35 btrfs: selftests: fix wrong error check in btrfs_free_dummy_root()
8fa0c22ef824 platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi
b5ee579fcb14 drm/i915/dmabuf: fix sg_table handling in map_dma_buf
4feedde5486c nilfs2: fix use-after-free bug of ns_writer on remount
1d4ff7306209 nilfs2: fix deadlock in nilfs_count_free_blocks()
344ddbd688d8 ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure
516f9f23008b vmlinux.lds.h: Fix placement of '.data..decrypted' section
f6896fb69d50 ALSA: usb-audio: Add DSD support for Accuphase DAC-60
2032c2d32b2a ALSA: usb-audio: Add quirk entry for M-Audio Micro
a414a6d6ef3c ALSA: hda/realtek: Add Positivo C6300 model quirk
3a79f9568de0 ALSA: hda: fix potential memleak in 'add_widget_node'
380d64168da4 ALSA: hda/ca0132: add quirk for EVGA Z390 DARK
181cfff57bdc ALSA: hda/hdmi - enable runtime pm for more AMD display audio
ea6787e482ad mmc: sdhci-tegra: Fix SDHCI_RESET_ALL for CQHCI
0a8d4531a0d5 mmc: sdhci_am654: Fix SDHCI_RESET_ALL for CQHCI
3f558930add7 mmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCI
b55e64d0a3a3 mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI
4631cb040645 MIPS: jump_label: Fix compat branch range check
475fd3991a0d arm64: efi: Fix handling of misaligned runtime regions and drop warning
94ab8f88feb7 riscv: fix reserved memory setup
0cf9cb061493 riscv: Separate memory init from paging init
d7716240bca5 riscv: Enable CMA support
ecf78af5141f riscv: vdso: fix build with llvm
e56d18a976dd riscv: process: fix kernel info leakage
956e0216a199 net: macvlan: fix memory leaks of macvlan_common_newlink
59ec132386a0 ethernet: tundra: free irq when alloc ring failed in tsi108_open()
dd7beaec8b48 net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()
56d3b5531bf6 ethernet: s2io: disable napi when start nic failed in s2io_card_up()
05b222843457 net: atlantic: macsec: clear encryption keys from the stack
1a4e495edfe2 net: phy: mscc: macsec: clear encryption keys when freeing a flow
4ad684ba028c cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()
38aa7ed8c2c3 net: cxgb3_main: disable napi when bind qsets failed in cxgb_up()
fd52dd2d6e2f net: cpsw: disable napi in cpsw_ndo_open()
3b27e20601ab net/mlx5e: E-Switch, Fix comparing termination table instance
eb6fa0ac2a9c net/mlx5: Allow async trigger completion execution on single CPU systems
bdd282bba72d net: nixge: disable napi when enable interrupts failed in nixge_open()
5333cf1b7f68 net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
cf4853880e24 perf stat: Fix printing os->prefix in CSV metrics output
3a4a3c3b1fe6 drivers: net: xgene: disable napi when register irq failed in xgene_enet_open()
0b7ee3d50f32 dmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove()
6e2ffae69d17 dmaengine: pxa_dma: use platform_get_irq_optional
f31dd1585809 tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header
fbb4e8e6dc7b net: broadcom: Fix BCMGENET Kconfig
cb6d639bb1ef net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable()
d68fa77ee3d0 can: af_can: fix NULL pointer dereference in can_rx_register()
a033b86c7f76 ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network
02f8dfee7580 tcp: prohibit TCP_REPAIR_OPTIONS if data was already sent
f3aa8a7d9550 drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register()
bcb3bb10695f hamradio: fix issue of dev reference count leakage in bpq_device_event()
bc4591a86b8f net: lapbether: fix issue of dev reference count leakage in lapbeth_device_event()
2bf8b1c111ff KVM: s390: pv: don't allow userspace to set the clock under PV
a60cc64db72f KVM: s390x: fix SCK locking
fcbd2b336834 capabilities: fix undefined behavior in bit shift for CAP_TO_MASK
8aae24b0ed76 net: fman: Unregister ethernet device on removal
e2c5ee3b628f bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer
38147073c96d bnxt_en: Fix possible crash in bnxt_hwrm_set_coal()
3401f964028a net: tun: Fix memory leaks of napi_get_frags
adaa0f180de5 macsec: clear encryption keys from the stack after setting up offload
9dc7503bae33 macsec: fix detection of RXSCs when toggling offloading
7f4456f0119b macsec: fix secy->n_rx_sc accounting
3b05d9073ae2 macsec: delete new rxsc when offload fails
50868de7dc4e net: gso: fix panic on frag_list with mixed head alloc types
cedd4f01f67b bpf: Fix wrong reg type conversion in release_reference()
9069db2579e9 bpf: Add helper macro bpf_for_each_reg_in_vstate
95b6ec733752 bpf: Support for pointers beyond pkt_end.
8597b59e3d22 HID: hyperv: fix possible memory leak in mousevsc_probe()
8c80b2fca411 bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE
cc21dc48a78c bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queues
e1e12180321f wifi: cfg80211: fix memory leak in query_regdb_file()
914cb94e738b wifi: cfg80211: silence a sparse RCU warning
72ea2fc29962 phy: stm32: fix an error code in probe
925bf1ba7604 hwspinlock: qcom: correct MMIO max register for newer SoCs
76eba54f0ddf fuse: fix readdir cache race
7bcea6c5c90a ANDROID: gki_defconfig: remove CONFIG_INIT_STACK_ALL_ZERO=y
d2bc3376cd31 Revert "serial: 8250: Fix restoring termios speed after suspend"
0b500f5b168c Merge 5.10.150 into android12-5.10-lts
f5b40c0eb9ea Linux 5.10.154
bf506e366da4 ipc: remove memcg accounting for sops objects in do_semtimedop()
c6678c8f4f3f wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()
a6c57adec567 drm/i915/sdvo: Setup DDC fully before output init
b86830cc95af drm/i915/sdvo: Filter out invalid outputs more sensibly
9f3b8678080a drm/rockchip: dsi: Force synchronous probe
23f1fc7ce55f ext4,f2fs: fix readahead of verity data
e5cef906cb40 KVM: x86: emulator: update the emulation mode after CR0 write
ce9261accccd KVM: x86: emulator: introduce emulator_recalc_and_set_mode
c8a2fd7a715d KVM: x86: emulator: em_sysexit should update ctxt->mode
e0c7410378cd KVM: x86: Mask off reserved bits in CPUID.80000001H
9302ebc1c21d KVM: x86: Mask off reserved bits in CPUID.80000008H
cc40c5f3e921 KVM: x86: Mask off reserved bits in CPUID.8000001AH
bd64a88f364c KVM: x86: Mask off reserved bits in CPUID.80000006H
156451a67b93 ext4: fix BUG_ON() when directory entry has invalid rec_len
5370b965b7a9 ext4: fix warning in 'ext4_da_release_space'
c9598cf62953 parisc: Avoid printing the hardware path twice
98f836e80d21 parisc: Export iosapic_serial_irq() symbol for serial port driver
814af9a32b03 parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
29d106d086d2 perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]
98f6e7c33703 perf/x86/intel: Fix pebs event constraints for ICL
3be2d66822a0 efi: random: Use 'ACPI reclaim' memory for random seed
83294f7c7759 efi: random: reduce seed size to 32 bytes
f8e8cda869fd fuse: add file_modified() to fallocate
cdf01c807e97 capabilities: fix potential memleak on error path from vfs_getxattr_alloc()
ff32d8a099dc tracing/histogram: Update document for KEYS_MAX size
533bfacbacb8 tools/nolibc/string: Fix memcmp() implementation
f100a0274861 kprobe: reverse kp->flags when arm_kprobe failed
bef08acbe560 tracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()
2bf33b5ea46d tcp/udp: Make early_demux back namespacified.
ea5f2fd4640e ftrace: Fix use-after-free for dynamic ftrace_ops
06de93a47cec btrfs: fix type of parameter generation in btrfs_get_dentry
e33ce54cef5d coresight: cti: Fix hang in cti_disable_hw()
015ac18be7de binder: fix UAF of alloc->vma in race with munmap()
836686e1a01d memcg: enable accounting of ipc resources
e4e4b24b42e7 mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times
818c36b988b8 tcp/udp: Fix memory leak in ipv6_renew_options().
29997a6fa60d fscrypt: fix keyring memory leak on mount failure
391cceee6d43 fscrypt: stop using keyrings subsystem for fscrypt_master_key
092401142b95 fscrypt: simplify master key locking
54c13d3520ef ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devices
a0e2577cf3cc block, bfq: protect 'bfqd->queued' by 'bfqd->lock'
26ca2ac091b4 Bluetooth: L2CAP: Fix attempting to access uninitialized memory
6b6f94fb9a74 Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM
bfd5e62f9a7e i2c: piix4: Fix adapter not be removed in piix4_remove()
fc3e2fa0a5fb arm64: dts: juno: Add thermal critical trip points
b743ecf29ca7 firmware: arm_scmi: Make Rx chan_setup fail on memory errors
29e8e9bfc2f2 firmware: arm_scmi: Suppress the driver's bind attributes
d7b1e2cbe0a4 ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset
160d8904b2b5 efi/tpm: Pass correct address to memblock_reserve
c40b4d604b3e i2c: xiic: Add platform module alias
5bf8c7798b1c drm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case
496eb203d046 HID: saitek: add madcatz variant of MMO7 mouse device ID
ff06067b7086 scsi: core: Restrict legal sdev_state transitions via sysfs
9edf20e5a1d8 ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()
be6e22f54623 media: meson: vdec: fix possible refcount leak in vdec_probe()
c5fd54a65c35 media: dvb-frontends/drxk: initialize err to 0
7fdc58d8c213 media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE
1609231f8676 media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE
c46759e3703b media: rkisp1: Zero v4l2_subdev_format fields in when validating links
3144ce557440 media: rkisp1: Initialize color space on resizer sink and source pads
6b24d9c2acda s390/boot: add secure boot trailer
efc6420d65ae xhci-pci: Set runtime PM as default policy on all xHC 1.2 or later devices
37bb57908dd3 mtd: parsers: bcm47xxpart: Fix halfblock reads
85e458369c0f mtd: parsers: bcm47xxpart: print correct offset on read error
ec54104febdc fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards
f8c86d782952 video/fbdev/stifb: Implement the stifb_fillrect() function
e975d7aecad7 mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake
afeae13b8a3c mmc: sdhci-pci: Avoid comma separated statements
a06721767cfc mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus
59400c9b0d07 drm/msm/hdmi: fix IRQ lifetime
8225bdaec5b0 drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag
5dbb47ee8976 ipv6: fix WARNING in ip6_route_net_exit_late()
1c89642e7f2b net, neigh: Fix null-ptr-deref in neigh_table_clear()
634f066d02bd net: mdio: fix undefined behavior in bit shift for __mdiobus_register
d9ec6e2fbd4a Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()
cb1c012099ef Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
0a0dead4ad1a btrfs: fix ulist leaks in error paths of qgroup self tests
61e061281137 btrfs: fix inode list leak during backref walking at find_parent_nodes()
a52e24c7fcc3 btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
81204283ea13 isdn: mISDN: netjet: fix wrong check of device registration
e77d213843e6 mISDN: fix possible memory leak in mISDN_register_device()
f06186e5271b rose: Fix NULL pointer dereference in rose_send_frame()
2c8d81bdb268 ipvs: fix WARNING in ip_vs_app_net_cleanup()
931f56d59c85 ipvs: fix WARNING in __ip_vs_cleanup_batch()
d69328cdb92f ipvs: use explicitly signed chars
b2d7a92aff0f netfilter: nf_tables: release flow rule object from commit path
3583826b443a net: tun: fix bugs for oversize packet when napi frags enabled
5960b9081bac net: sched: Fix use after free in red_enqueue()
24f9c41435a8 ata: pata_legacy: fix pdc20230_set_piomode()
c85ee1c3cbc6 net: fec: fix improper use of NETDEV_TX_BUSY
52438e734c15 nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
0acfcd2aed4f nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()
9ae2c9a91ff0 nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
eecea068bf11 NFC: nxp-nci: remove unnecessary labels
e8c11ee2d07f nfc: fdp: Fix potential memory leak in fdp_nci_send()
31b83d6990c8 nfc: fdp: drop ftrace-like debugging messages
4e1e4485b252 RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()
d360e875c011 RDMA/core: Fix null-ptr-deref in ib_core_cleanup()
37a098fc9b42 net: dsa: Fix possible memory leaks in dsa_loop_init()
45aea4fbf61e nfs4: Fix kmemleak when allocate slot failed
f0f1c74fa670 NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot
10c554d72275 NFSv4.1: Handle RECLAIM_COMPLETE trunking errors
4813dd737dc4 NFSv4: Fix a potential state reclaim deadlock
7c4260f8f188 IB/hfi1: Correctly move list in sc_disable()
87ac93c8dd6d RDMA/cma: Use output interface for net_dev check
4dbb739eb29c KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTER
bb584caee895 KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()
9faacf442d11 KVM: x86: Protect the unused bits in MSR exiting flags
5bdbccc79c86 x86/topology: Fix duplicated core ID within a package
6c31fc028a65 x86/topology: Fix multiple packages shown on a single-package system
f5ad52da145a x86/topology: Set cpu_die_id only if DIE_TYPE found
570fa3bcd2f9 KVM: x86: Treat #DBs from the emulator as fault-like (code and DR7.GD=1)
e5d7c6786bef KVM: x86: Trace re-injected exceptions
8364786152d5 KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02
523e1dd9f8d4 KVM: nVMX: Pull KVM L0's desired controls directly from vmcs01
028fcabd8a67 serial: ar933x: Deassert Transmit Enable on ->rs485_config()
e6da7808c955 serial: 8250: Let drivers request full 16550A feature probing
95aa34f72132 Linux 5.10.153
26a2b9c468de serial: Deassert Transmit Enable on probe in driver-specific way
4a230f65d6a8 serial: core: move RS485 configuration tasks from drivers into core
eb69c07eca22 can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive
d5924531dd8a arm64/kexec: Test page size support with new TGRAN range values
c911f03f8d44 arm64/mm: Fix __enable_mmu() for new TGRAN range values
d523384766fd scsi: sd: Revert "scsi: sd: Remove a local variable"
52a43b82006d arm64: Add AMPERE1 to the Spectre-BHB affected list
9889ca7efa12 net: enetc: survive memory pressure without crashing
fdba224ab028 net/mlx5: Fix crash during sync firmware reset
bbcc06933f35 net/mlx5: Fix possible use-after-free in async command interface
16376ba5cfd7 net/mlx5e: Do not increment ESN when updating IPsec ESN state
0d88359092dd nh: fix scope used to find saddr when adding non gw nh
3519b5ddac21 net: ehea: fix possible memory leak in ehea_register_port()
79631daa5a51 openvswitch: switch from WARN to pr_warn
00d6f33f6782 ALSA: aoa: Fix I2S device accounting
ce6fd1c382a3 ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
97262705c0cb net: fec: limit register access on i.MX6UL
df67a8e625fc PM: domains: Fix handling of unavailable/disabled idle states
1f262d80882a net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()
6170b4579f36 i40e: Fix flow-type by setting GL_HASH_INSET registers
9abae363af5c i40e: Fix VF hang when reset is triggered on another VF
23d5599058a0 i40e: Fix ethtool rx-flow-hash setting for X722
44affe7ede59 ipv6: ensure sane device mtu in tunnels
905f05c0ab19 media: vivid: set num_in/outputs to 0 if not supported
b6c7446d0a38 media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
683015ae1634 media: v4l2-dv-timings: add sanity checks for blanking values
147b8f1892aa media: vivid: dev->bitmap_cap wasn't freed in all cases
1cf51d51581c media: vivid: s_fbuf: add more sanity checks
3221c2701d19 PM: hibernate: Allow hybrid sleep to work with s2idle
0eb19ecbd0a9 can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path
6b2d07fc0b0a can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
1634d5d39cfd tcp: fix indefinite deferral of RTO with SACK reneging
4f23cb2be530 tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
49713d7c3858 tcp: minor optimization in tcp_add_backlog()
aab883bd60bc net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY
c3edc6e80820 net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed
e2a28807b1ce kcm: annotate data-races around kcm->rx_wait
c325f92d8d9b kcm: annotate data-races around kcm->rx_psock
af7879529e5a atlantic: fix deadlock at aq_nic_stop
d7ccd49c4dd9 amd-xgbe: add the bit rate quirk for Molex cables
17350734fdca amd-xgbe: fix the SFP compliance codes check for DAC cables
b55d6ea965ba x86/unwind/orc: Fix unreliable stack dump with gcov
0ce1ef335300 net: hinic: fix the issue of double release MBOX callback of VF
6603843c80b1 net: hinic: fix the issue of CMDQ memory leaks
bb01910763f9 net: hinic: fix memory leak when reading function table
ce605b68db53 net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()
62f0a08e82a6 net: netsec: fix error handling in netsec_register_mdio()
32a3d4660b34 tipc: fix a null-ptr-deref in tipc_topsrv_accept
fb94152aae88 perf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()
bfce73088682 ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
2663b16c76d0 ASoC: qcom: lpass-cpu: Mark HDMI TX parity register as volatile
a52755729956 arc: iounmap() arg is volatile
648ac633e764 ASoC: qcom: lpass-cpu: mark HDMI TX registers as volatile
6571f6ca8a21 drm/msm: Fix return type of mdp4_lvds_connector_mode_valid
4953a989b72d media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
9d00384270b1 net: ieee802154: fix error return code in dgram_bind()
568e3812b177 mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
935a8b620210 mm/memory: add non-anonymous page check in the copy_present_page()
49db6cb81400 xen/gntdev: Prevent leaking grants
a3f2cc11d6b6 Xen/gntdev: don't ignore kernel unmapping error
467230b9ef40 s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
fe187c801a44 s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
449070996ce6 perf auxtrace: Fix address filter symbol name match for modules
6f72a3977ba9 kernfs: fix use-after-free in __kernfs_remove
0bcd1ab3e8b3 counter: microchip-tcb-capture: Handle Signal1 read and Synapse
8bf037279b58 mmc: core: Fix kernel panic when remove non-standard SDIO card
5684808b269b mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
b686ffc0acb8 drm/msm/dp: fix IRQ lifetime
08c7375fa27a drm/msm/hdmi: fix memory corruption with too many bridges
21c4679af01f drm/msm/dsi: fix memory corruption with too many bridges
44a86d96fac8 scsi: qla2xxx: Use transport-defined speed mask for supported_speeds
c368f751da8e mac802154: Fix LQI recording
9ba2990f4e80 exec: Copy oldsighand->action under spin-lock
706215300411 fs/binfmt_elf: Fix memory leak in load_elf_binary()
d9ddfeb01fb9 fbdev: smscufx: Fix several use-after-free bugs
f19f1a75d378 iio: temperature: ltc2983: allocate iio channels once
af236da8552e iio: light: tsl2583: Fix module unloading
90ff5bef2bc7 tools: iio: iio_utils: fix digit calculation
678d2cc2041c xhci: Remove device endpoints from bandwidth list when freeing the device
3b250824b6d3 xhci: Add quirk to reset host back to default state at shutdown
63c7df3c818e mtd: rawnand: marvell: Use correct logic for nand-keep-config
228101fc832f usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
2bc4f99ee243 usb: bdc: change state when port disconnected
e440957f9c8b usb: dwc3: gadget: Don't set IMI for no_interrupt
fb074d622ccc usb: dwc3: gadget: Stop processing more requests on IMI
c29fcef5791d USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM
4cc7a360ec3b ALSA: rme9652: use explicitly signed char
895909230008 ALSA: au88x0: use explicitly signed char
2bf5b1631569 ALSA: Use del_timer_sync() before freeing timer
ca1034bff85a can: kvaser_usb: Fix possible completions during init_completion
370be31cde50 can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()
7d51b4c67cfb Linux 5.10.152
43d5109296fa udp: Update reuse->has_conns under reuseport_lock.
a50ed2d28727 mm: /proc/pid/smaps_rollup: fix no vma's null-deref
31b1570677e8 blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
e2f9b62ead9a mmc: core: Add SD card quirk for broken discard
3a260e9844c9 Makefile.debug: re-enable debug info for .S files
6ab2287b26f1 x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB
67dafece56b6 ACPI: video: Force backlight native for more TongFang devices
dcaf6313202a hv_netvsc: Fix race between VF offering and VF association message from host
da54c5f4b5b5 perf/x86/intel/pt: Relax address filter validation
79c3482fbe20 riscv: topology: fix default topology reporting
a6e770733dc4 arm64: topology: move store_cpu_topology() to shared code
cb1024d8a4d0 arm64: dts: qcom: sc7180-trogdor: Fixup modem memory region
f687e2111b6f fcntl: fix potential deadlocks for &fown_struct.lock
b1efc196446a fcntl: make F_GETOWN(EX) return 0 on dead owner task
ca4c49838278 perf: Skip and warn on unknown format 'configN' attrs
dea47fefa6aa perf pmu: Validate raw event with sysfs exported format bits
86e995f964f6 riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
0e4c06ae7c54 riscv: Add machine name to kernel boot log and stack dump output
7fba4a389d07 mmc: sdhci-tegra: Use actual clock rate for SW tuning correction
3c6a888e3522 xen/gntdev: Accommodate VMA splitting
5232411f37d7 xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guests
ea82edad0aee tracing: Do not free snapshot if tracer is on cmdline
bd6af07e7993 tracing: Simplify conditional compilation code in tracing_set_tracer()
4e3a15ca24b3 dmaengine: mxs: use platform_driver_register
1da5d2497046 dmaengine: mxs-dma: Remove the unused .id_table
1414e9bf3c30 drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
d74196bb278b iommu/vt-d: Clean up si_domain in the init_dmars() error path
ef11e8ec00b9 iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()
35c92435be76 net: phy: dp83822: disable MDI crossover status change interrupt
7aa3d623c11b net: sched: fix race condition in qdisc_graft()
2974f3b330ef net: hns: fix possible memory leak in hnae_ae_register()
3032e316e0a9 sfc: include vport_id in filter spec hash and equal()
ded86c4191a3 net: sched: sfb: fix null pointer access issue when sfb_init() fails
305aa36b628e net: sched: delete duplicate cleanup of backlog and qlen
ae48bee2830b net: sched: cake: fix null pointer access issue when cake_init() fails
2008ad08a2ae nvme-hwmon: kmalloc the NVME SMART log buffer
770b7e3a2c1f nvme-hwmon: consistently ignore errors from nvme_hwmon_init
67106ac27243 nvme-hwmon: Return error code when registration fails
bc17f727b005 nvme-hwmon: rework to avoid devm allocation
191d71c6357e ionic: catch NULL pointer issue on reconfig
ff7ba7667583 net: hsr: avoid possible NULL deref in skb_clone()
7286f8755104 cifs: Fix xid leak in cifs_ses_add_channel()
2d08311aa305 cifs: Fix xid leak in cifs_flock()
bf49d4fe4ab7 cifs: Fix xid leak in cifs_copy_file_range()
05cc22c0085e net: phy: dp83867: Extend RX strap quirk for SGMII mode
118f412bedc5 net/atm: fix proc_mpc_write incorrect return value
c8310a99e7e4 sfc: Change VF mac via PF as first preference if available.
39d10f0dfb72 HID: magicmouse: Do not set BTN_MOUSE on double report
ed5baf3d0a33 i40e: Fix DMA mappings leak
e558e1489384 tipc: fix an information leak in tipc_topsrv_kern_subscr
1f4ed95ce617 tipc: Fix recognition of trial period
fc8c6b8bb294 ACPI: extlog: Handle multiple records
57e157749ad9 btrfs: fix processing of delayed tree block refs during backref walking
590929ef6972 btrfs: fix processing of delayed data refs during backref walking
cc841a8a704c r8152: add PID for the Lenovo OneLink+ Dock
51b96ecaedc0 arm64: errata: Remove AES hwcap for COMPAT tasks
910ba49b3345 blk-wbt: call rq_qos_add() after wb_normal is initialized
392536023da1 block: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_init
ab6aaa821024 media: venus: dec: Handle the case where find_format fails
bce5808fc95d media: mceusb: set timeout to at least timeout provided
6d725672ce85 KVM: arm64: vgic: Fix exit condition in scan_its_table()
34db701dc65f kvm: Add support for arch compat vm ioctls
e55feb31df3f cpufreq: qcom: fix memory leak in error path
303d0f761431 ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
6a2aadcb0186 ata: ahci-imx: Fix MODULE_ALIAS
d9f0159da05d hwmon/coretemp: Handle large core ID value
0fb04676c4fd x86/microcode/AMD: Apply the patch early on every logical thread
6dcf1f0802cc i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter
794ded0bc461 cpufreq: qcom: fix writes in read-only memory region
2723875e9d67 selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
0d65f040fdbb ocfs2: fix BUG when iput after ocfs2_mknod fails
b838dcfda164 ocfs2: clear dinode links count in case of error
c34d1b22fef3 Linux 5.10.151
ecad33121117 kbuild: Add skip_encoding_btf_enum64 option to pahole
c5006abb80e2 kbuild: Unify options for BTF generation for vmlinux and modules
f5f413cb3e8a kbuild: skip per-CPU BTF generation for pahole v1.18-v1.21
06481cd9f7f6 kbuild: Quote OBJCOPY var to avoid a pahole call break the build
bbaea0f1cd33 bpf: Generate BTF_KIND_FLOAT when linking vmlinux
a10a57a224f3 Linux 5.10.150
243c8f42ba10 Revert "drm/amdgpu: make sure to init common IP before gmc"
8026d58b495a gcov: support GCC 12.1 and newer compilers
cbf2c43b36e0 f2fs: fix wrong condition to trigger background checkpoint correctly
7b19858803d7 thermal: intel_powerclamp: Use first online CPU as control_cpu
f039b43cbaea inet: fully convert sk->sk_rx_dst to RCU rules
67de22cb0b6c ext4: continue to expand file system when the target size doesn't reach
357db159e965 Revert "drm/amdgpu: use dirty framebuffer helper"
98ab15bfdcda Revert "drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega"
791489a5c563 net/ieee802154: don't warn zero-sized raw_sendmsg()
a96336a5f28b Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
dc54ff9fc4a4 net: ieee802154: return -EINVAL for unknown addr type
45c33966759e mm: hugetlb: fix UAF in hugetlb_handle_userfault
c378c479c517 io_uring/af_unix: defer registered files gc to io_uring release
67cbc8865a66 io_uring: correct pinned_vm accounting
904f881b5736 arm64: topology: fix possible overflow in amu_fie_setup()
b5dc2f25789d perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
9b4e849777a9 clk: bcm2835: Make peripheral PLLC critical
b8bbae3236ab usb: idmouse: fix an uninit-value in idmouse_open
d5bb45f47b37 nvmet-tcp: add bounds check on Transfer Tag
b79da0080d81 nvme: copy firmware_rev on each init
e6cc39db24a6 staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
3a5a34ed9d68 Revert "usb: storage: Add quirk for Samsung Fit flash"
acf0006f2b2b usb: musb: Fix musb_gadget.c rxstate overflow bug
91271a3e772e usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
782b3e71c957 md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
dbcca76435a6 HID: roccat: Fix use-after-free in roccat_read()
f00c049ede46 soundwire: intel: fix error handling on dai registration issues
f04a673d4a27 soundwire: cadence: Don't overwrite msg->buf during write commands
c263516c2c20 bcache: fix set_at_max_writeback_rate() for multiple attached devices
fcad2ac86399 ata: libahci_platform: Sanity check the DT child nodes number
19c010ae44f0 blk-throttle: prevent overflow while calculating wait time
1b3cebeca99e staging: vt6655: fix potential memory leak
89f305a71418 power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
b2700f98b3f4 nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
5942e5c63dc9 scsi: 3w-9xxx: Avoid disabling device if failing to enable it
48727117bd62 usb: host: xhci-plat: suspend/resume clks for brcm
c13d0d2f5a48 usb: host: xhci-plat: suspend and resume clocks
12d31182de8d clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
c2257c8a5015 media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
d9e2585c3bce clk: zynqmp: Fix stack-out-of-bounds in strncpy`
70f8b48d0b61 btrfs: scrub: try to fix super block errors
8f554dd23c18 arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
451ce2521c21 kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT
017cabfb3f86 ARM: dts: imx6sx: add missing properties for sram
9d3ca48722d3 ARM: dts: imx6sll: add missing properties for sram
9735f2b62be9 ARM: dts: imx6sl: add missing properties for sram
2829b6ad30c2 ARM: dts: imx6qp: add missing properties for sram
0c3a0b3d5e9c ARM: dts: imx6dl: add missing properties for sram
2763a3b43ac3 ARM: dts: imx6q: add missing properties for sram
82e0d91484f7 ARM: dts: imx7d-sdb: config the max pressure for tsc2046
166feb964fc8 drm/amd/display: Remove interface for periodic interrupt 1
1bb6f4a8db5a drm/dp: Don't rewrite link config when setting phy test pattern
bb91c06b0be4 mmc: sdhci-msm: add compatible string check for sdm670
8a427a22839d drm/meson: explicitly remove aggregate driver at module unload time
1c7d957c5d81 drm/amdgpu: fix initial connector audio value
69130888b226 ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
54f2585e2de0 platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
a9d6a7c9b685 platform/chrome: cros_ec: Notify the PM of wake events during resume
e29d20deaf9a drm: panel-orientation-quirks: Add quirk for Anbernic Win600
bfdb391d57df drm/vc4: vec: Fix timings for VEC modes
b70f8abc1a44 drm: bridge: dw_hdmi: only trigger hotplug event on link change
bbe2f6f90310 udmabuf: Set ubuf->sg = NULL if the creation of sg table fails
0a4fddc95c63 drm/amd/display: fix overflow on MIN_I64 definition
3959e8faf8bf gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()
c28a8082b25c drm: Prevent drm_copy_field() to attempt copying a NULL pointer
e7d701800365 drm: Use size_t type for len variable in drm_copy_field()
3339a51bcd89 drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
484400d433ca r8152: Rate limit overflow messages
0c108cf3ad38 Bluetooth: L2CAP: Fix user-after-free
65029aaedd15 net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
4851303c8539 wifi: rt2x00: correctly set BBP register 86 for MT7620
a01614447954 wifi: rt2x00: set SoC wmac clock register
5aa0461d1180 wifi: rt2x00: set VGC gain for both chains of MT7620
8d9c00979a7e wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
27ed98e8a9b0 wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
3d67986e7208 can: bcm: check the result of can_send() in bcm_can_tx()
7b674dce4162 Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
e25ca9af8a13 Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
b051d9bf98bd regulator: core: Prevent integer underflow
e01d96494a9d wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
be81c44242b2 xfrm: Update ipcomp_scratches with NULL when freed
9661724f6206 wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
0958e487e81b tcp: annotate data-race around tcp_md5sig_pool_populated
129ca0db956e openvswitch: Fix overreporting of drops in dropwatch
4398e8a7fd6a openvswitch: Fix double reporting of drops in dropwatch
e3c9b9473453 bpftool: Clear errno after libcap's checks
50e45034c580 wifi: brcmfmac: fix invalid address access when enabling SCAN log level
bbacfcde5fff NFSD: fix use-after-free on source server when doing inter-server copy
3de402a5248a NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
1f730d4ae6f9 x86/entry: Work around Clang __bdos() bug
513943bf879d thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
708b9abe1b4a powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
b434edb0e9d1 MIPS: BCM47XX: Cast memcmp() of function to (void *)
6c61a37ea70e ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
0dd025483f15 rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
36d4ffbedff7 rcu: Back off upon fill_page_cache_func() allocation failure
278d8ba2b288 selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle
b60aa21e2f3a f2fs: fix to account FS_CP_DATA_IO correctly
0b8230d44ce7 f2fs: fix to avoid REQ_TIME and CP_TIME collision
ecbd95958c48 f2fs: fix race condition on setting FI_NO_EXTENT flag
110146ce8f84 ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
dce07e87ee1e thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
3a720eb89026 crypto: cavium - prevent integer overflow loading firmware
7bfa7d677353 crypto: marvell/octeontx - prevent integer overflows
cdd42eb4689b kbuild: rpm-pkg: fix breakage when V=1 is used
6d1aef17e7f2 kbuild: remove the target in signal traps when interrupted
8d76dd508093 tracing: kprobe: Make gen test module work in arm and riscv
c6512a6f0cb1 tracing: kprobe: Fix kprobe event gen test module on exit
9e6ba62d418d iommu/iova: Fix module config properly
426d5bc089e7 crypto: qat - fix DMA transfer direction
a43babc059a7 crypto: qat - use pre-allocated buffers in datapath
a91af5085027 crypto: qat - fix use of 'dma_map_single'
8a4ed09ed816 crypto: inside-secure - Change swab to swab32
d33935e66604 crypto: ccp - Release dma channels before dmaengine unrgister
a1354bdd191d crypto: akcipher - default implementation for setting a private key
2fee0dbfaeaa iommu/omap: Fix buffer overflow in debugfs
cfde58a8e41f cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
ab2485eb5dfa hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
d88b88514ef2 crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr
25f134247372 crypto: sahara - don't sleep when in softirq
2d285164fbe4 powerpc: Fix SPE Power ISA properties for e500v1 platforms
2bde4e1e4f01 powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
7ae8bed9087a x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
6315998170b4 powerpc/powernv: add missing of_node_put() in opal_export_attrs()
434db6d17b6b powerpc/pci_dn: Add missing of_node_put()
718e2d802388 powerpc/sysdev/fsl_msi: Add missing of_node_put()
592d283a656d powerpc/math_emu/efp: Include module.h
44c26ceffaa3 mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
b1616599c99a clk: ast2600: BCLK comes from EPLL
6d01017247ee clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
9b65fd651334 clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
9a6087a438ef clk: baikal-t1: Add SATA internal ref clock buffer
5f143f3bc2e0 clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
823fd523912f clk: baikal-t1: Fix invalid xGMAC PTP clock divider
2f19a1050e1b clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
92f52770a7af spmi: pmic-arb: correct duplicate APID to PPID mapping logic
a01c0c160049 dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
1dd5148445eb clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
6e58f2469ec5 mfd: sm501: Add check for platform_driver_register()
3469dd8e22ff mfd: fsl-imx25: Fix check for platform_get_irq() errors
b425e03c9639 mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
f7b438863622 mfd: lp8788: Fix an error handling path in lp8788_probe()
08d40518033d mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
28868b940b53 mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
382a5fc49e6e fsi: core: Check error number after calling ida_simple_get
ed8e6011b953 clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
884a788f0655 scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
a9e5176ead6d scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
8f740c11d891 serial: 8250: Fix restoring termios speed after suspend
ab5a3e714437 firmware: google: Test spinlock on panic path to avoid lockups
95ac62e8545b staging: vt6655: fix some erroneous memory clean-up loops
878f9871668f phy: qualcomm: call clk_disable_unprepare in the error handling
9a56ade124d4 tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
572fb97fce35 serial: 8250: Toggle IER bits on only after irq has been set up
3fbfa5e3cc0d serial: 8250: Add an empty line and remove some useless {}
71ffe5111f0f drivers: serial: jsm: fix some leaks in probe
7efdd91d54cb usb: gadget: function: fix dangling pnp_string in f_printer.c
cc952e3bf61c xhci: Don't show warning for reinit on known broken suspend
dac769dd7dc8 IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
360386e11c8d RDMA/cm: Use SLID in the work completion as the DLID in responder side
a1263294b55c md/raid5: Ensure stripe_fill happens on non-read IO with journal
76694e9ce0b2 md: Replace snprintf with scnprintf
7bd5f3b4a805 mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
f5325f3202b8 ata: fix ata_id_has_dipm()
f5a6fa1877f4 ata: fix ata_id_has_ncq_autosense()
3c34a91c8aa7 ata: fix ata_id_has_devslp()
fc61a0c8200a ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
e3917c85f41e RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
3a9d7d8dcf98 mtd: rawnand: fsl_elbc: Fix none ECC mode
f87f72081132 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
d06cc0e11d5b dyndbg: drop EXPORTed dynamic_debug_exec_queries
1d6598558914 dyndbg: let query-modname override actual module name
c0e206da44e5 dyndbg: fix module.dyndbg handling
5047bd3bd739 dyndbg: fix static_branch manipulation
af12e209a9d5 dmaengine: hisilicon: Add multi-thread support for a DMA channel
d3fd838536df dmaengine: hisilicon: Fix CQ head update
d5065ca461a4 dmaengine: hisilicon: Disable channels when unregister hisi_dma
f59861946fa5 fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
7ba19a60c74f misc: ocxl: fix possible refcount leak in afu_ioctl()
cf3bb86edd8f RDMA/rxe: Fix the error caused by qp->sk
cdce36a88def RDMA/rxe: Fix "kernel NULL pointer dereference" error
2630cc88327a media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
40aa0999a3e4 media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
551b87976a0c tty: xilinx_uartps: Fix the ignore_status
28cdf6c6fb7a media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
1f683bff1a9c HSI: omap_ssi_port: Fix dma_map_sg error check
962f22e7f769 HSI: omap_ssi: Fix refcount leak in ssi_probe
70f0a0a27d79 clk: tegra20: Fix refcount leak in tegra20_clock_init
c01bfd23cc13 clk: tegra: Fix refcount leak in tegra114_clock_init
f487137a53b1 clk: tegra: Fix refcount leak in tegra210_clock_init
59e90c4d9861 clk: sprd: Hold reference returned by of_get_parent()
57141b1dd689 clk: berlin: Add of_node_put() for of_get_parent()
dc190b46c63f clk: qoriq: Hold reference returned by of_get_parent()
baadc6f58fa8 clk: oxnas: Hold reference returned by of_get_parent()
b95f4f905461 clk: meson: Hold reference returned by of_get_parent()
beec2f02555c usb: common: debug: Check non-standard control requests
9d965a22f657 usb: common: move function's kerneldoc next to its definition
20b63631a38a usb: common: add function to get interval expressed in us unit
c1ef8c66a362 usb: common: Parse for USB SSP genXxY
ffffb159e1e5 usb: ch9: Add USB 3.2 SSP attributes
aa7aada4b7b8 iio: ABI: Fix wrong format of differential capacitance channel ABI.
b9a0526cd02b iio: inkern: only release the device node when done with it
44ec4b04fc99 iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
513c72d76df6 iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
d259b90f0c3d iio: adc: at91-sama5d2_adc: check return status for pressure and touch
bc2b97e177a9 iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
5b9bb0cbd9e7 ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
657de36c72f5 arm64: ftrace: fix module PLTs with mcount
40e966a404c7 ARM: Drop CMDLINE_* dependency on ATAGS
477dbf9d1bd5 ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
5bbd3dd7f923 soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
09c35f1520e7 ia64: export memory_add_physaddr_to_nid to fix cxl build error
e31c0e14cfad ARM: dts: kirkwood: lsxl: remove first ethernet port
df4f05b35634 ARM: dts: kirkwood: lsxl: fix serial line
43faaedf3a7f ARM: dts: turris-omnia: Fix mpp26 pin name and comment
d5c2051898fd soc: qcom: smem_state: Add refcounting for the 'state->of_node'
39781c98ad46 soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
1d312c12c91f memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
daaec4b3fe22 memory: of: Fix refcount leak bug in of_get_ddr_timings()
fde46754d548 memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
2c442b0c0624 ALSA: hda/hdmi: Don't skip notification handling during PM operation
f182de42d786 ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
37e3e01c9a78 ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
fb2356969935 ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
c1b269dda1e7 ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
71704c2e1b2c mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
c940636d9c74 ALSA: dmaengine: increment buffer pointer atomically
4993c1511d66 ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
ef59819976da drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
598d8f7d86f1 drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
a9a60d640572 ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
ad0b8ed172a1 mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
1f340e1c1c74 drm/omap: dss: Fix refcount leak bugs
cbe37857dda1 ALSA: hda: beep: Simplify keep-power-at-enable behavior
f0fb0817ebce ASoC: rsnd: Add check for rsnd_mod_power_on
877e92e9b1bd drm/bridge: megachips: Fix a null pointer dereference bug
c577b4e97227 drm: fix drm_mipi_dbi build errors
804d8e59f34f platform/x86: msi-laptop: Fix resource cleanup
c21c08fab716 platform/x86: msi-laptop: Fix old-ec check for backlight registering
b77755f58ede ASoC: tas2764: Fix mute/unmute
2e6b64df54cd ASoC: tas2764: Drop conflicting set_bias_level power setting
c2c6022e1004 ASoC: tas2764: Allow mono streams
868fc93b615b platform/chrome: fix memory corruption in ioctl
84da5cdf43d2 platform/chrome: fix double-free in chromeos_laptop_prepare()
5e25bfcd12d8 drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
ad06d6bed5f2 drm/dp_mst: fix drm_dp_dpcd_read return value checks
3f5889fd6500 drm/bridge: parade-ps8640: Fix regulator supply order
45120fa5e522 drm/mipi-dsi: Detach devices when removing the host
050b65050741 drm/bridge: Avoid uninitialized variable warning
7839f2b3495b drm: bridge: adv7511: fix CEC power down control register offset
29f50bcf0f8b net: mvpp2: fix mvpp2 debugfs leak
6cb54f21623d once: add DO_ONCE_SLOW() for sleepable contexts
67cb80a9d2c8 net/ieee802154: reject zero-sized raw_sendmsg()
6cc0e2afc6a1 bnx2x: fix potential memory leak in bnx2x_tpa_stop()
da349221c4d2 net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
d9e25dc053f6 spi: Ensure that sg_table won't be used after being freed
96a3ddb87031 tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
f65955340e00 sctp: handle the error returned from sctp_auth_asoc_init_active_key
2a1d03632085 mISDN: fix use-after-free bugs in l1oip timer handlers
b4a5905fd2ef vhost/vsock: Use kvmalloc/kvfree for larger packets.
d2b5dc3a5394 wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM
17196f2f98ab spi: s3c64xx: Fix large transfers with DMA
b284e1fe15c4 netfilter: nft_fib: Fix for rpath check with VRF devices
b384e8fb1606 Bluetooth: hci_core: Fix not handling link timeouts propertly
129f01116b8c i2c: mlxbf: support lock mechanism
534909fe3c92 spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
9da61e7b5993 spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe
1ef5798638bd x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype
6ed7b05a3592 x86/microcode/AMD: Track patch allocation size explicitly
07299e52e5b9 wifi: ath11k: fix number of VHT beamformee spatial streams
d7cc0d51ffcb Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
ed403bcd979d bpf: Ensure correct locking around vulnerable function find_vpid()
2a1c29dc9b7e net: fs_enet: Fix wrong check in do_pd_setup
795954d75197 wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask
226e6f241258 wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
0a60ac7a0dad bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
8398a45d3d72 spi: meson-spicc: do not rely on busy flag in pow2 clk ops
351cf55595d3 wifi: rtl8xxxu: Fix skb misuse in TX queue selection
1e911790576f spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
7b83d11d48ff spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
557600830515 selftests/xsk: Avoid use-after-free on ctx
c823df067941 wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
ea1b6b54098c Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend
07194ccbb14c Bluetooth: btusb: fix excessive stack usage
cdadf95435ff Bluetooth: btusb: Fine-tune mt7663 mechanism.
294395caacf1 x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
029a1de92ce2 spi: mt7621: Fix an error message in mt7621_spi_probe()
2afb93e4e416 bpftool: Fix a wrong type cast in btf_dumper_int
61905bbb6116 wifi: mac80211: allow bw change during channel switch in mesh
75652070667f leds: lm3601x: Don't use mutex after it was destroyed
08faf07717be wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
e060c4b9f33c nfsd: Fix a memory leak in an error handling path
730191a098d8 objtool: Preserve special st_shndx indexes in elf_update_symbol
84837738d406 ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
f1d6edeaa8d0 ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
da2aecef866b MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
0c667858c026 MIPS: SGI-IP27: Free some unused memory
35984456983b sh: machvec: Use char[] for section boundaries
6e4be747f15f userfaultfd: open userfaultfds with O_RDONLY
28d9b3973307 selinux: use "grep -E" instead of "egrep"
d11e09953cc0 smb3: must initialize two ACL struct fields to zero
abd13b21004d drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
fd37286f392a drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
5d6093c49c09 drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
57f1a89a8e4e drm/nouveau/kms/nv140-: Disable interlacing
d0febad83e29 staging: greybus: audio_helper: remove unused and wrong debugfs usage
ceeb8d4a43ac KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
83fe0b009bd0 KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
085ca1d33b19 KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
bda8120e5b10 media: cedrus: Set the platform driver data earlier
dbdd3b1448e5 efi: libstub: drop pointless get_memory_map() call
68158654b583 thunderbolt: Explicitly enable lane adapter hotplug events at startup
fc08f8438172 tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
0cf6c09dafee ring-buffer: Fix race between reset page and reading page
588f02f8b9d9 ring-buffer: Add ring_buffer_wake_waiters()
586f02c500b2 ring-buffer: Check pending waiters when doing wake ups as well
6617e5132c44 ring-buffer: Have the shortest_full queue be the shortest not longest
4a3bbd40e452 ring-buffer: Allow splice to read previous partially read pages
f2ca4609d0c3 ftrace: Properly unset FTRACE_HASH_FL_MOD
846f041203b9 livepatch: fix race between fork and KLP transition
2189756eabbb ext4: update 'state->fc_regions_size' after successful memory allocation
2cfb769d60a2 ext4: fix potential memory leak in ext4_fc_record_regions()
c9ce7766dc4e ext4: fix potential memory leak in ext4_fc_record_modified_inode()
d575fb52c466 ext4: fix miss release buffer head in ext4_fc_write_inode
74d2a398d2d8 ext4: place buffer head allocation before handle start
fbb0e601bd51 ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate
0e1764ad71ab ext4: don't increase iversion counter for ea_inodes
483831ad0440 ext4: fix check for block being out of directory size
ac66db1a4365 ext4: make ext4_lazyinit_thread freezable
f34ab9516276 ext4: fix null-ptr-deref in ext4_write_info
fb98cb61efff ext4: avoid crash when inline data creation follows DIO write
e65506ff181f jbd2: add miss release buffer head in fc_do_one_pass()
1d4d16daec2a jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
7a33dde572fc jbd2: fix potential buffer head reference count leak
eea3e455a3ae jbd2: wake up journal waiters in FIFO order, not LIFO
ba52e685d29b hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
bdcb1d7cf285 hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO
d621a87064fa hardening: Clarify Kconfig text for auto-var-init
4a8e8bf28070 f2fs: fix to do sanity check on summary info
73fb4bd2c055 f2fs: fix to do sanity check on destination blkaddr during recovery
12014eaf1b3f f2fs: increase the limit for reserve_root
47b5ffe86332 btrfs: fix race between quota enable and quota rescan ioctl
e50472949604 fbdev: smscufx: Fix use-after-free in ufx_ops_open()
9931bd05bb8d scsi: qedf: Populate sysfs attributes for vport
102c4b6e8c4b powerpc/boot: Explicitly disable usage of SPE instructions
7db60fd46e0c powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
9119a92ad93e PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
a3c08c021778 mm/mmap: undo ->mmap() when arch_validate_flags() fails
7d551b7d6114 block: fix inflight statistics of part0
0a129790893b drm/udl: Restore display mode on resume
f134f261d76a drm/virtio: Check whether transferred 2D BO is shmem
303436e301ba nvme-pci: set min_align_mask before calculating max_hw_sectors
6a73e6edcbf3 UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
1a053f597f42 riscv: Pass -mno-relax only on lld < 15.0.0
d15dca1d46ab riscv: Make VM_WRITE imply VM_READ
d8c6f9b2e194 riscv: Allow PROT_WRITE-only mmap()
a6dcc6cfa293 parisc: fbdev/stifb: Align graphics memory size to 4MB
2ce9fab94b8d RISC-V: Make port I/O string accessors actually work
ffb571e1232f regulator: qcom_rpm: Fix circular deferral regression
85909424a1f5 hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
8ef0e1c0ae50 ASoC: wcd934x: fix order of Slimbus unprepare/disable
9b2c82af65f7 ASoC: wcd9335: fix order of Slimbus unprepare/disable
1c20d672e3a5 platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
6b7ae4a904a4 quota: Check next/prev free block number after reading from quota file
5b1a56beb6b8 HID: multitouch: Add memory barriers
bfe60d7641b0 fs: dlm: handle -EBUSY first in lock arg validation
0b2d8e4db40c fs: dlm: fix race between test_bit() and queue_work()
057d5838c795 mmc: sdhci-sprd: Fix minimum clock limit
448fffc1aea6 can: kvaser_usb_leaf: Fix CAN state after restart
a3776e09b361 can: kvaser_usb_leaf: Fix TX queue out of sync after restart
0f8c88978da4 can: kvaser_usb_leaf: Fix overread with an invalid command
5d1cb7bfad21 can: kvaser_usb: Fix use of uninitialized completion
b239a0993aa2 usb: add quirks for Lenovo OneLink+ Dock
afbbf305dbac iio: pressure: dps310: Reset chip after timeout
9daadd1d1015 iio: pressure: dps310: Refactor startup procedure
ae49d80400e6 iio: adc: ad7923: fix channel readings for some variants
ea4dcd3d6acc iio: ltc2497: Fix reading conversion results
30e1bd0d3e66 iio: dac: ad5593r: Fix i2c read protocol requirements
9312e04b6c6b cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
64f23e5430d3 cifs: destage dirty pages before re-reading them for cache=none
50d3d895375c mtd: rawnand: atmel: Unmap streaming DMA mappings
e8eb44eeee59 ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
4491fbd0a79c ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
4285d06d1296 ALSA: hda/realtek: Correct pin configs for ASUS G533Z
768cd2cd1ae6 ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
3e29645fbaa6 ALSA: usb-audio: Fix NULL dererence at error path
bc1d16d282bc ALSA: usb-audio: Fix potential memory leaks
ef1658bc482c ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
026fcb6336d6 ALSA: oss: Fix potential deadlock at unregistration

Also update the .xml file to handle the few ABI changes in this merge
that required an update due to private pointers changing types and ABI
padding structures being used to preserve the ABI:

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

'struct fscrypt_info at fscrypt_private.h:195:1' changed:
  type size hasn't changed
  there are data member changes:
    type 'key*' of 'fscrypt_info::ci_master_key' changed:
      pointer type changed from: 'key*' to: 'fscrypt_master_key*'
  5197 impacted interfaces

'struct sk_buff at skbuff.h:717:1' changed:
  type size hasn't changed
  there are data member changes:
    data member u64 android_kabi_reserved1 at offset 1472 (in bits) became anonymous data member 'union {struct {__u8 scm_io_uring; __u8 android_kabi_reserved1_padding1; __u16 android_kabi_reserved1_padding2; __u32 android_kabi_reserved1_padding3;}; struct {u64 android_kabi_reserved1;}; union {};}'
  5197 impacted interfaces

'struct super_block at fs.h:1450:1' changed:
  type size hasn't changed
  there are data member changes:
    type 'key*' of 'super_block::s_master_keys' changed:
      pointer type changed from: 'key*' to: 'fscrypt_keyring*'
  5197 impacted interfaces

'struct tcp_sock at tcp.h:146:1' changed:
  type size hasn't changed
  one impacted interface

Change-Id: I6f2a7b91e1df96bede8aafa944a04b3e08ed33a1
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-01-21 12:06:54 +00:00
72e9dd90cf BACKPORT: f2fs: refactor extent_cache to support for read and more
This patch prepares extent_cache to be ready for addition.

Bug: 264453689
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 7cf42d77c7242d23988215297bdd2d215e208b6f)
Change-Id: I5ca06c274529187b804ddd4b0834dc44fe6aa8ad
2023-01-10 18:49:35 +00:00
0b500f5b16 This is the 5.10.150 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmNZGa8ACgkQONu9yGCS
 aT48lBAA04ORlv/P+tkaLh7gkJjuvnbsemni3KXdpq0hcOfUIpdquUvU06tD7T/P
 cnM20NPgBR+IZ1sIcGWdPhTpIOEId9yxu84HQT5ctOjAZPuGg98s2JOQaXWD3Jh2
 g88kbWgMeThfrJebPYZMofy5vRSZ5eMatAixhtjaM/2b/MXDSu2rIL4AoHZ99CKr
 wovy1r1bN2niJADu8DwC+jANrPTfStMsjJ9dcOpAqVt83EKz0j3ktCDfzcUftFIw
 z4y5leEx1qftUOWtY1DKPZEAhMZSpjZYLC1nldopwEl2JvZ7z9aGx3fFJyr/7zOt
 4/mNWT2Ra4S9Tqn2RuFnCdWfqGBOmrE0AJf37IdEdpnlcXol6NaGu4LsQsQq4ffk
 DxPc6tN6BGY1XXh+pNSlSW7jsXx6jbJ+OnL8JpSXV49ZOofz3XPTHQ/8tJEttfO4
 rURa3iMk4GFeORw+mrHKOVJuWcfpnjVoxStGv6XiKqPpHjwbtB8ZGBlr9pMDYDQP
 i2RBwkr/cz5JJzlaA4Q/n96nbZFAKpsiy0Vh1MWboxxlojIqLe3yIlZT6b2M3CFf
 jsoqlLfaBjBa7RGQP1rW/im2SqxG2ftTiRdGZXPvjEZKnfIpUZEFszD9TmSuIk8f
 uuJY2Tj6rSJ2nJPS0iui/KVQ78IWLz9PG3Xwm5E2A9QcPz1JAfk=
 =pfwB
 -----END PGP SIGNATURE-----

Merge 5.10.150 into android12-5.10-lts

Changes in 5.10.150
	ALSA: oss: Fix potential deadlock at unregistration
	ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
	ALSA: usb-audio: Fix potential memory leaks
	ALSA: usb-audio: Fix NULL dererence at error path
	ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
	ALSA: hda/realtek: Correct pin configs for ASUS G533Z
	ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
	ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
	mtd: rawnand: atmel: Unmap streaming DMA mappings
	cifs: destage dirty pages before re-reading them for cache=none
	cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
	iio: dac: ad5593r: Fix i2c read protocol requirements
	iio: ltc2497: Fix reading conversion results
	iio: adc: ad7923: fix channel readings for some variants
	iio: pressure: dps310: Refactor startup procedure
	iio: pressure: dps310: Reset chip after timeout
	usb: add quirks for Lenovo OneLink+ Dock
	can: kvaser_usb: Fix use of uninitialized completion
	can: kvaser_usb_leaf: Fix overread with an invalid command
	can: kvaser_usb_leaf: Fix TX queue out of sync after restart
	can: kvaser_usb_leaf: Fix CAN state after restart
	mmc: sdhci-sprd: Fix minimum clock limit
	fs: dlm: fix race between test_bit() and queue_work()
	fs: dlm: handle -EBUSY first in lock arg validation
	HID: multitouch: Add memory barriers
	quota: Check next/prev free block number after reading from quota file
	platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
	ASoC: wcd9335: fix order of Slimbus unprepare/disable
	ASoC: wcd934x: fix order of Slimbus unprepare/disable
	hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
	regulator: qcom_rpm: Fix circular deferral regression
	RISC-V: Make port I/O string accessors actually work
	parisc: fbdev/stifb: Align graphics memory size to 4MB
	riscv: Allow PROT_WRITE-only mmap()
	riscv: Make VM_WRITE imply VM_READ
	riscv: Pass -mno-relax only on lld < 15.0.0
	UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
	nvme-pci: set min_align_mask before calculating max_hw_sectors
	drm/virtio: Check whether transferred 2D BO is shmem
	drm/udl: Restore display mode on resume
	block: fix inflight statistics of part0
	mm/mmap: undo ->mmap() when arch_validate_flags() fails
	PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
	powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
	powerpc/boot: Explicitly disable usage of SPE instructions
	scsi: qedf: Populate sysfs attributes for vport
	fbdev: smscufx: Fix use-after-free in ufx_ops_open()
	btrfs: fix race between quota enable and quota rescan ioctl
	f2fs: increase the limit for reserve_root
	f2fs: fix to do sanity check on destination blkaddr during recovery
	f2fs: fix to do sanity check on summary info
	hardening: Clarify Kconfig text for auto-var-init
	hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO
	hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
	jbd2: wake up journal waiters in FIFO order, not LIFO
	jbd2: fix potential buffer head reference count leak
	jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
	jbd2: add miss release buffer head in fc_do_one_pass()
	ext4: avoid crash when inline data creation follows DIO write
	ext4: fix null-ptr-deref in ext4_write_info
	ext4: make ext4_lazyinit_thread freezable
	ext4: fix check for block being out of directory size
	ext4: don't increase iversion counter for ea_inodes
	ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate
	ext4: place buffer head allocation before handle start
	ext4: fix miss release buffer head in ext4_fc_write_inode
	ext4: fix potential memory leak in ext4_fc_record_modified_inode()
	ext4: fix potential memory leak in ext4_fc_record_regions()
	ext4: update 'state->fc_regions_size' after successful memory allocation
	livepatch: fix race between fork and KLP transition
	ftrace: Properly unset FTRACE_HASH_FL_MOD
	ring-buffer: Allow splice to read previous partially read pages
	ring-buffer: Have the shortest_full queue be the shortest not longest
	ring-buffer: Check pending waiters when doing wake ups as well
	ring-buffer: Add ring_buffer_wake_waiters()
	ring-buffer: Fix race between reset page and reading page
	tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
	thunderbolt: Explicitly enable lane adapter hotplug events at startup
	efi: libstub: drop pointless get_memory_map() call
	media: cedrus: Set the platform driver data earlier
	KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
	KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
	KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
	staging: greybus: audio_helper: remove unused and wrong debugfs usage
	drm/nouveau/kms/nv140-: Disable interlacing
	drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
	drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
	drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
	smb3: must initialize two ACL struct fields to zero
	selinux: use "grep -E" instead of "egrep"
	userfaultfd: open userfaultfds with O_RDONLY
	sh: machvec: Use char[] for section boundaries
	MIPS: SGI-IP27: Free some unused memory
	MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
	ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
	ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
	objtool: Preserve special st_shndx indexes in elf_update_symbol
	nfsd: Fix a memory leak in an error handling path
	wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
	leds: lm3601x: Don't use mutex after it was destroyed
	wifi: mac80211: allow bw change during channel switch in mesh
	bpftool: Fix a wrong type cast in btf_dumper_int
	spi: mt7621: Fix an error message in mt7621_spi_probe()
	x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
	Bluetooth: btusb: Fine-tune mt7663 mechanism.
	Bluetooth: btusb: fix excessive stack usage
	Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend
	wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
	selftests/xsk: Avoid use-after-free on ctx
	spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
	spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
	wifi: rtl8xxxu: Fix skb misuse in TX queue selection
	spi: meson-spicc: do not rely on busy flag in pow2 clk ops
	bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
	wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
	wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask
	net: fs_enet: Fix wrong check in do_pd_setup
	bpf: Ensure correct locking around vulnerable function find_vpid()
	Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
	wifi: ath11k: fix number of VHT beamformee spatial streams
	x86/microcode/AMD: Track patch allocation size explicitly
	x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype
	spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe
	spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
	i2c: mlxbf: support lock mechanism
	Bluetooth: hci_core: Fix not handling link timeouts propertly
	netfilter: nft_fib: Fix for rpath check with VRF devices
	spi: s3c64xx: Fix large transfers with DMA
	wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM
	vhost/vsock: Use kvmalloc/kvfree for larger packets.
	mISDN: fix use-after-free bugs in l1oip timer handlers
	sctp: handle the error returned from sctp_auth_asoc_init_active_key
	tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
	spi: Ensure that sg_table won't be used after being freed
	net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
	bnx2x: fix potential memory leak in bnx2x_tpa_stop()
	net/ieee802154: reject zero-sized raw_sendmsg()
	once: add DO_ONCE_SLOW() for sleepable contexts
	net: mvpp2: fix mvpp2 debugfs leak
	drm: bridge: adv7511: fix CEC power down control register offset
	drm/bridge: Avoid uninitialized variable warning
	drm/mipi-dsi: Detach devices when removing the host
	drm/bridge: parade-ps8640: Fix regulator supply order
	drm/dp_mst: fix drm_dp_dpcd_read return value checks
	drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
	platform/chrome: fix double-free in chromeos_laptop_prepare()
	platform/chrome: fix memory corruption in ioctl
	ASoC: tas2764: Allow mono streams
	ASoC: tas2764: Drop conflicting set_bias_level power setting
	ASoC: tas2764: Fix mute/unmute
	platform/x86: msi-laptop: Fix old-ec check for backlight registering
	platform/x86: msi-laptop: Fix resource cleanup
	drm: fix drm_mipi_dbi build errors
	drm/bridge: megachips: Fix a null pointer dereference bug
	ASoC: rsnd: Add check for rsnd_mod_power_on
	ALSA: hda: beep: Simplify keep-power-at-enable behavior
	drm/omap: dss: Fix refcount leak bugs
	mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
	ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
	drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
	drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
	ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
	ALSA: dmaengine: increment buffer pointer atomically
	mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
	ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
	ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
	ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
	ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
	ALSA: hda/hdmi: Don't skip notification handling during PM operation
	memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
	memory: of: Fix refcount leak bug in of_get_ddr_timings()
	memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
	soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
	soc: qcom: smem_state: Add refcounting for the 'state->of_node'
	ARM: dts: turris-omnia: Fix mpp26 pin name and comment
	ARM: dts: kirkwood: lsxl: fix serial line
	ARM: dts: kirkwood: lsxl: remove first ethernet port
	ia64: export memory_add_physaddr_to_nid to fix cxl build error
	soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
	ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
	ARM: Drop CMDLINE_* dependency on ATAGS
	arm64: ftrace: fix module PLTs with mcount
	ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
	iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
	iio: adc: at91-sama5d2_adc: check return status for pressure and touch
	iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
	iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
	iio: inkern: only release the device node when done with it
	iio: ABI: Fix wrong format of differential capacitance channel ABI.
	usb: ch9: Add USB 3.2 SSP attributes
	usb: common: Parse for USB SSP genXxY
	usb: common: add function to get interval expressed in us unit
	usb: common: move function's kerneldoc next to its definition
	usb: common: debug: Check non-standard control requests
	clk: meson: Hold reference returned by of_get_parent()
	clk: oxnas: Hold reference returned by of_get_parent()
	clk: qoriq: Hold reference returned by of_get_parent()
	clk: berlin: Add of_node_put() for of_get_parent()
	clk: sprd: Hold reference returned by of_get_parent()
	clk: tegra: Fix refcount leak in tegra210_clock_init
	clk: tegra: Fix refcount leak in tegra114_clock_init
	clk: tegra20: Fix refcount leak in tegra20_clock_init
	HSI: omap_ssi: Fix refcount leak in ssi_probe
	HSI: omap_ssi_port: Fix dma_map_sg error check
	media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
	tty: xilinx_uartps: Fix the ignore_status
	media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
	media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
	RDMA/rxe: Fix "kernel NULL pointer dereference" error
	RDMA/rxe: Fix the error caused by qp->sk
	misc: ocxl: fix possible refcount leak in afu_ioctl()
	fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
	dmaengine: hisilicon: Disable channels when unregister hisi_dma
	dmaengine: hisilicon: Fix CQ head update
	dmaengine: hisilicon: Add multi-thread support for a DMA channel
	dyndbg: fix static_branch manipulation
	dyndbg: fix module.dyndbg handling
	dyndbg: let query-modname override actual module name
	dyndbg: drop EXPORTed dynamic_debug_exec_queries
	mtd: devices: docg3: check the return value of devm_ioremap() in the probe
	mtd: rawnand: fsl_elbc: Fix none ECC mode
	RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
	ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
	ata: fix ata_id_has_devslp()
	ata: fix ata_id_has_ncq_autosense()
	ata: fix ata_id_has_dipm()
	mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
	md: Replace snprintf with scnprintf
	md/raid5: Ensure stripe_fill happens on non-read IO with journal
	RDMA/cm: Use SLID in the work completion as the DLID in responder side
	IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
	xhci: Don't show warning for reinit on known broken suspend
	usb: gadget: function: fix dangling pnp_string in f_printer.c
	drivers: serial: jsm: fix some leaks in probe
	serial: 8250: Add an empty line and remove some useless {}
	serial: 8250: Toggle IER bits on only after irq has been set up
	tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
	phy: qualcomm: call clk_disable_unprepare in the error handling
	staging: vt6655: fix some erroneous memory clean-up loops
	firmware: google: Test spinlock on panic path to avoid lockups
	serial: 8250: Fix restoring termios speed after suspend
	scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
	scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
	clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
	fsi: core: Check error number after calling ida_simple_get
	mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
	mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
	mfd: lp8788: Fix an error handling path in lp8788_probe()
	mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
	mfd: fsl-imx25: Fix check for platform_get_irq() errors
	mfd: sm501: Add check for platform_driver_register()
	clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
	dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
	spmi: pmic-arb: correct duplicate APID to PPID mapping logic
	clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
	clk: baikal-t1: Fix invalid xGMAC PTP clock divider
	clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
	clk: baikal-t1: Add SATA internal ref clock buffer
	clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
	clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
	clk: ast2600: BCLK comes from EPLL
	mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
	powerpc/math_emu/efp: Include module.h
	powerpc/sysdev/fsl_msi: Add missing of_node_put()
	powerpc/pci_dn: Add missing of_node_put()
	powerpc/powernv: add missing of_node_put() in opal_export_attrs()
	x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
	powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
	powerpc: Fix SPE Power ISA properties for e500v1 platforms
	crypto: sahara - don't sleep when in softirq
	crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr
	hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
	cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
	iommu/omap: Fix buffer overflow in debugfs
	crypto: akcipher - default implementation for setting a private key
	crypto: ccp - Release dma channels before dmaengine unrgister
	crypto: inside-secure - Change swab to swab32
	crypto: qat - fix use of 'dma_map_single'
	crypto: qat - use pre-allocated buffers in datapath
	crypto: qat - fix DMA transfer direction
	iommu/iova: Fix module config properly
	tracing: kprobe: Fix kprobe event gen test module on exit
	tracing: kprobe: Make gen test module work in arm and riscv
	kbuild: remove the target in signal traps when interrupted
	kbuild: rpm-pkg: fix breakage when V=1 is used
	crypto: marvell/octeontx - prevent integer overflows
	crypto: cavium - prevent integer overflow loading firmware
	thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
	ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
	f2fs: fix race condition on setting FI_NO_EXTENT flag
	f2fs: fix to avoid REQ_TIME and CP_TIME collision
	f2fs: fix to account FS_CP_DATA_IO correctly
	selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle
	rcu: Back off upon fill_page_cache_func() allocation failure
	rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
	ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
	MIPS: BCM47XX: Cast memcmp() of function to (void *)
	powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
	thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
	x86/entry: Work around Clang __bdos() bug
	NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
	NFSD: fix use-after-free on source server when doing inter-server copy
	wifi: brcmfmac: fix invalid address access when enabling SCAN log level
	bpftool: Clear errno after libcap's checks
	openvswitch: Fix double reporting of drops in dropwatch
	openvswitch: Fix overreporting of drops in dropwatch
	tcp: annotate data-race around tcp_md5sig_pool_populated
	wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
	xfrm: Update ipcomp_scratches with NULL when freed
	wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
	regulator: core: Prevent integer underflow
	Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
	Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
	can: bcm: check the result of can_send() in bcm_can_tx()
	wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
	wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
	wifi: rt2x00: set VGC gain for both chains of MT7620
	wifi: rt2x00: set SoC wmac clock register
	wifi: rt2x00: correctly set BBP register 86 for MT7620
	net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
	Bluetooth: L2CAP: Fix user-after-free
	r8152: Rate limit overflow messages
	drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
	drm: Use size_t type for len variable in drm_copy_field()
	drm: Prevent drm_copy_field() to attempt copying a NULL pointer
	gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()
	drm/amd/display: fix overflow on MIN_I64 definition
	udmabuf: Set ubuf->sg = NULL if the creation of sg table fails
	drm: bridge: dw_hdmi: only trigger hotplug event on link change
	drm/vc4: vec: Fix timings for VEC modes
	drm: panel-orientation-quirks: Add quirk for Anbernic Win600
	platform/chrome: cros_ec: Notify the PM of wake events during resume
	platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
	ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
	drm/amdgpu: fix initial connector audio value
	drm/meson: explicitly remove aggregate driver at module unload time
	mmc: sdhci-msm: add compatible string check for sdm670
	drm/dp: Don't rewrite link config when setting phy test pattern
	drm/amd/display: Remove interface for periodic interrupt 1
	ARM: dts: imx7d-sdb: config the max pressure for tsc2046
	ARM: dts: imx6q: add missing properties for sram
	ARM: dts: imx6dl: add missing properties for sram
	ARM: dts: imx6qp: add missing properties for sram
	ARM: dts: imx6sl: add missing properties for sram
	ARM: dts: imx6sll: add missing properties for sram
	ARM: dts: imx6sx: add missing properties for sram
	kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT
	arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
	btrfs: scrub: try to fix super block errors
	clk: zynqmp: Fix stack-out-of-bounds in strncpy`
	media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
	clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
	usb: host: xhci-plat: suspend and resume clocks
	usb: host: xhci-plat: suspend/resume clks for brcm
	scsi: 3w-9xxx: Avoid disabling device if failing to enable it
	nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
	power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
	staging: vt6655: fix potential memory leak
	blk-throttle: prevent overflow while calculating wait time
	ata: libahci_platform: Sanity check the DT child nodes number
	bcache: fix set_at_max_writeback_rate() for multiple attached devices
	soundwire: cadence: Don't overwrite msg->buf during write commands
	soundwire: intel: fix error handling on dai registration issues
	HID: roccat: Fix use-after-free in roccat_read()
	md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
	usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
	usb: musb: Fix musb_gadget.c rxstate overflow bug
	Revert "usb: storage: Add quirk for Samsung Fit flash"
	staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
	nvme: copy firmware_rev on each init
	nvmet-tcp: add bounds check on Transfer Tag
	usb: idmouse: fix an uninit-value in idmouse_open
	clk: bcm2835: Make peripheral PLLC critical
	perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
	arm64: topology: fix possible overflow in amu_fie_setup()
	io_uring: correct pinned_vm accounting
	io_uring/af_unix: defer registered files gc to io_uring release
	mm: hugetlb: fix UAF in hugetlb_handle_userfault
	net: ieee802154: return -EINVAL for unknown addr type
	Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
	net/ieee802154: don't warn zero-sized raw_sendmsg()
	Revert "drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega"
	Revert "drm/amdgpu: use dirty framebuffer helper"
	ext4: continue to expand file system when the target size doesn't reach
	inet: fully convert sk->sk_rx_dst to RCU rules
	thermal: intel_powerclamp: Use first online CPU as control_cpu
	f2fs: fix wrong condition to trigger background checkpoint correctly
	gcov: support GCC 12.1 and newer compilers
	Revert "drm/amdgpu: make sure to init common IP before gmc"
	Linux 5.10.150

Change-Id: I54f32f1f0149ec614c8bc7944e15adb5d80cd51a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2022-11-15 19:14:08 +00:00
0118fb827b Merge branch 'android12-5.10' into branch 'android12-5.10-lts'
Sync up with android12-5.10 for the following commits:

af699fd6a21c ANDROID: vendor_hook: skip trace_android_vh_page_trylock_set when ignore_references is true
5aec776ef8c9 BACKPORT: ANDROID: dma-buf: Move sysfs work out of DMA-BUF export path
d61d7ebf6f56 UPSTREAM: wifi: mac80211: fix MBSSID parsing use-after-free
173913b365bc UPSTREAM: wifi: mac80211: don't parse mbssid in assoc response
9ed9ab8ca922 UPSTREAM: mac80211: mlme: find auth challenge directly
d6e68e31b8db UPSTREAM: wifi: cfg80211: update hidden BSSes to avoid WARN_ON
3ea906ba30eb UPSTREAM: wifi: mac80211: fix crash in beacon protection for P2P-device
241426b24bf9 UPSTREAM: wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
50e27143a5f7 UPSTREAM: wifi: cfg80211: avoid nontransmitted BSS list corruption
05a012229532 UPSTREAM: wifi: cfg80211: fix BSS refcounting bugs
2e8c292e35cd UPSTREAM: wifi: cfg80211: ensure length byte is present before access
5f6b14356a93 UPSTREAM: wifi: cfg80211/mac80211: reject bad MBSSID elements
6aeb3ccf098f UPSTREAM: wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
13a84bfa4f11 ANDROID: GKI: Update symbols to symbol list
09f4246296ff ANDROID: sched: add restricted hooks to replace the former hooks
376aaf803fcf ANDROID: GKI: Add symbol snd_pcm_stop_xrun
8512c353a2fa ANDROID: ABI: update allowed list for galaxy
439fc06787e7 ANDROID: GKI: Update symbols to symbol list
beaaa7bff89d UPSTREAM: dma-buf: ensure unique directory name for dmabuf stats
d71115b1bf5a UPSTREAM: dma-buf: call dma_buf_stats_setup after dmabuf is in valid list
f9a66cbe7091 ANDROID: GKI: Update symbol list for mtk AIoT projects
a3835ce695a4 UPSTREAM: psi: Fix psi state corruption when schedule() races with cgroup move
3b39e9130138 BACKPORT: HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report
c35cda5280ba BACKPORT: mm: don't be stuck to rmap lock on reclaim path
9613bc53b51d Revert "firmware_loader: use kernel credentials when reading firmware"
95f23ced4176 UPSTREAM: crypto: jitter - add oversampling of noise source
b046e2dca512 ANDROID: Fix kenelci build-break for !CONFIG_PERF_EVENTS
24220df8028a FROMGIT: f2fs: support recording stop_checkpoint reason into super_block
f18e68a2344c UPSTREAM: wifi: mac80211_hwsim: use 32-bit skb cookie
08cb67eb3376 UPSTREAM: wifi: mac80211_hwsim: add back erroneously removed cast
9b080edfbde3 UPSTREAM: wifi: mac80211_hwsim: fix race condition in pending packet

Update the .xml file with the newly tracked symbols:

Leaf changes summary: 30 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 24 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 6 Added variables

24 Added functions:

  [A] 'function void __rtnl_link_unregister(rtnl_link_ops*)'
  [A] 'function int __traceiter_android_rvh_alloc_si(void*, swap_info_struct**, bool*)'
  [A] 'function int __traceiter_android_rvh_alloc_swap_slot_cache(void*, swap_slots_cache*, int*, bool*)'
  [A] 'function int __traceiter_android_rvh_drain_slots_cache_cpu(void*, swap_slots_cache*, unsigned int, bool, bool*)'
  [A] 'function int __traceiter_android_rvh_free_swap_slot(void*, swp_entry_t, swap_slots_cache*, bool*)'
  [A] 'function int __traceiter_android_rvh_get_swap_page(void*, page*, swp_entry_t*, swap_slots_cache*, bool*)'
  [A] 'function int __traceiter_android_rvh_handle_pte_fault_end(void*, vm_fault*, unsigned long int)'
  [A] 'function net_device* dev_get_by_index_rcu(net*, int)'
  [A] 'function phy_device* fixed_phy_register(unsigned int, fixed_phy_status*, device_node*)'
  [A] 'function void fixed_phy_unregister(phy_device*)'
  [A] 'function irq_domain* irq_domain_add_simple(device_node*, unsigned int, unsigned int, const irq_domain_ops*, void*)'
  [A] 'function int nf_register_net_hook(net*, const nf_hook_ops*)'
  [A] 'function void nf_unregister_net_hook(net*, const nf_hook_ops*)'
  [A] 'function int phy_ethtool_set_wol(phy_device*, ethtool_wolinfo*)'
  [A] 'function int phy_register_fixup_for_uid(u32, u32, int (phy_device*)*)'
  [A] 'function int phy_save_page(phy_device*)'
  [A] 'function int phy_unregister_fixup_for_uid(u32, u32)'
  [A] 'function int snd_pcm_stop_xrun(snd_pcm_substream*)'
  [A] 'function void tty_encode_baud_rate(tty_struct*, speed_t, speed_t)'
  [A] 'function int usb_autopm_get_interface_async(usb_interface*)'
  [A] 'function void usb_autopm_put_interface_async(usb_interface*)'
  [A] 'function int usb_clear_halt(usb_device*, int)'
  [A] 'function int usb_interrupt_msg(usb_device*, unsigned int, void*, int, int*, int)'
  [A] 'function int usb_unlink_urb(urb*)'

6 Added variables:

  [A] 'tracepoint __tracepoint_android_rvh_alloc_si'
  [A] 'tracepoint __tracepoint_android_rvh_alloc_swap_slot_cache'
  [A] 'tracepoint __tracepoint_android_rvh_drain_slots_cache_cpu'
  [A] 'tracepoint __tracepoint_android_rvh_free_swap_slot'
  [A] 'tracepoint __tracepoint_android_rvh_get_swap_page'
  [A] 'tracepoint __tracepoint_android_rvh_handle_pte_fault_end'

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I225d5838de38d886151cf619654412ee8c5428b2
2022-10-27 09:01:03 +00:00
4a8e8bf280 f2fs: fix to do sanity check on summary info
commit c6ad7fd16657ebd34a87a97d9588195aae87597d upstream.

As Wenqing Liu reported in bugzilla:

https://bugzilla.kernel.org/show_bug.cgi?id=216456

BUG: KASAN: use-after-free in recover_data+0x63ae/0x6ae0 [f2fs]
Read of size 4 at addr ffff8881464dcd80 by task mount/1013

CPU: 3 PID: 1013 Comm: mount Tainted: G        W          6.0.0-rc4 #1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.15.0-1 04/01/2014
Call Trace:
 dump_stack_lvl+0x45/0x5e
 print_report.cold+0xf3/0x68d
 kasan_report+0xa8/0x130
 recover_data+0x63ae/0x6ae0 [f2fs]
 f2fs_recover_fsync_data+0x120d/0x1fc0 [f2fs]
 f2fs_fill_super+0x4665/0x61e0 [f2fs]
 mount_bdev+0x2cf/0x3b0
 legacy_get_tree+0xed/0x1d0
 vfs_get_tree+0x81/0x2b0
 path_mount+0x47e/0x19d0
 do_mount+0xce/0xf0
 __x64_sys_mount+0x12c/0x1a0
 do_syscall_64+0x38/0x90
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

The root cause is: in fuzzed image, SSA table is corrupted: ofs_in_node
is larger than ADDRS_PER_PAGE(), result in out-of-range access on 4k-size
page.

- recover_data
 - do_recover_data
  - check_index_in_prev_nodes
   - f2fs_data_blkaddr

This patch adds sanity check on summary info in recovery and GC flow
in where the flows rely on them.

After patch:
[   29.310883] F2FS-fs (loop0): Inconsistent ofs_in_node:65286 in summary, ino:0, nid:6, max:1018

Cc: stable@vger.kernel.org
Reported-by: Wenqing Liu <wenqingliu0120@gmail.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-26 13:25:12 +02:00
24220df802 FROMGIT: f2fs: support recording stop_checkpoint reason into super_block
This patch supports to record stop_checkpoint error into
f2fs_super_block.s_stop_reason[].

Bug: 247456379
Bug: 246094874
(cherry picked from commit 93523dddd98b9838896277fa9cad238a72214f02
https: //git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev)
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Change-Id: I3e5fb355a7a7413b1e4bb4937791491ca73e6853
2022-10-04 10:14:40 -07:00
fbe6a13851 This is the 5.10.137 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmMCMDQACgkQONu9yGCS
 aT6TwRAAvj1dnV1nLVVNET3jcelTO65SVUUpQjiyGD1npZQaQdH5PoGR0VhMWk7y
 mLUIwJyp/rR7+OLD3BMFwxDimDWHviFGdbmm/8fsyDrARuOeRd/M1fvtHXjIRQdb
 nOvfo1yTQWp4xA1k/JwJZslkvRFDsofXWHCRf+ffEryTRanFAVc7u5aFIg92W0b/
 JWYWEFe99C4TJ7LACpDoGaP9gE6WXsupaxSZBIu+Wxa+PfDmIeRRTkQn+j4Khn0h
 I6w+LkLd6ZP3l7sbe9KfS9ZGo1wWLgSng4zz742Z9IaFgxyj2ArS9tNsYCLkkhAM
 gLSXXkiPBAxUvAtDxR1tc0YROHc1bjAttSoxNXcaaacspSo/Vi0VAtp7t6boK0bI
 /8P3dh+Hq9u/Q1ClhZtVoFpp+GVj0fDbDd56qVcr2Cp6IokpqRJog1Jhgj0CVCoG
 iElr3n0+y7/IZfmE6/U1cK00SNcW86e2YduuIy4ifCawRT574zkRiSYZalpaO3qM
 z1lF9p+zUNq3v2q0wxXuBDLi/yPoJzbJgmCGScj4ryjjr6TOvR1udSVWkJ02dR4H
 s9km3lNLgoUPCYCLBMlZl7em4T49E09/+4YCrnj/Ezp+YdImf2+QzZyd/gG3ITl2
 fW7lpbK1dx3d/19JFP6Xkj9PaIlMl9e8Ne04G+Dabv67uN+0U+g=
 =Z4rz
 -----END PGP SIGNATURE-----

Merge 5.10.137 into android12-5.10-lts

Changes in 5.10.137
	Makefile: link with -z noexecstack --no-warn-rwx-segments
	x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments
	Revert "pNFS: nfs3_set_ds_client should set NFS_CS_NOPING"
	scsi: Revert "scsi: qla2xxx: Fix disk failure to rediscover"
	ALSA: bcd2000: Fix a UAF bug on the error path of probing
	ALSA: hda/realtek: Add quirk for Clevo NV45PZ
	ALSA: hda/realtek: Add quirk for HP Spectre x360 15-eb0xxx
	wifi: mac80211_hwsim: fix race condition in pending packet
	wifi: mac80211_hwsim: add back erroneously removed cast
	wifi: mac80211_hwsim: use 32-bit skb cookie
	add barriers to buffer_uptodate and set_buffer_uptodate
	HID: wacom: Only report rotation for art pen
	HID: wacom: Don't register pad_input for touch switch
	KVM: nVMX: Snapshot pre-VM-Enter BNDCFGS for !nested_run_pending case
	KVM: nVMX: Snapshot pre-VM-Enter DEBUGCTL for !nested_run_pending case
	KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0
	KVM: s390: pv: don't present the ecall interrupt twice
	KVM: nVMX: Let userspace set nVMX MSR to any _host_ supported value
	KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks
	KVM: x86: Set error code to segment selector on LLDT/LTR non-canonical #GP
	KVM: x86: Tag kvm_mmu_x86_module_init() with __init
	riscv: set default pm_power_off to NULL
	mm: Add kvrealloc()
	xfs: only set IOMAP_F_SHARED when providing a srcmap to a write
	xfs: fix I_DONTCACHE
	mm/mremap: hold the rmap lock in write mode when moving page table entries.
	ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model
	ALSA: hda/cirrus - support for iMac 12,1 model
	ALSA: hda/realtek: Add quirk for another Asus K42JZ model
	ALSA: hda/realtek: Add a quirk for HP OMEN 15 (8786) mute LED
	tty: vt: initialize unicode screen buffer
	vfs: Check the truncate maximum size in inode_newsize_ok()
	fs: Add missing umask strip in vfs_tmpfile
	thermal: sysfs: Fix cooling_device_stats_setup() error code path
	fbcon: Fix boundary checks for fbcon=vc:n1-n2 parameters
	fbcon: Fix accelerated fbdev scrolling while logo is still shown
	usbnet: Fix linkwatch use-after-free on disconnect
	ovl: drop WARN_ON() dentry is NULL in ovl_encode_fh()
	parisc: Fix device names in /proc/iomem
	parisc: Check the return value of ioremap() in lba_driver_probe()
	parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode
	drm/gem: Properly annotate WW context on drm_gem_lock_reservations() error
	drm/vc4: hdmi: Disable audio if dmas property is present but empty
	drm/nouveau: fix another off-by-one in nvbios_addr
	drm/nouveau: Don't pm_runtime_put_sync(), only pm_runtime_put_autosuspend()
	drm/nouveau/acpi: Don't print error when we get -EINPROGRESS from pm_runtime
	drm/amdgpu: Check BO's requested pinning domains against its preferred_domains
	mtd: rawnand: arasan: Update NAND bus clock instead of system clock
	iio: light: isl29028: Fix the warning in isl29028_remove()
	scsi: sg: Allow waiting for commands to complete on removed device
	scsi: qla2xxx: Fix incorrect display of max frame size
	scsi: qla2xxx: Zero undefined mailbox IN registers
	fuse: limit nsec
	serial: mvebu-uart: uart2 error bits clearing
	md-raid: destroy the bitmap after destroying the thread
	md-raid10: fix KASAN warning
	media: [PATCH] pci: atomisp_cmd: fix three missing checks on list iterator
	ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr()
	PCI: Add defines for normal and subtractive PCI bridges
	powerpc/fsl-pci: Fix Class Code of PCIe Root Port
	powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E
	powerpc/powernv: Avoid crashing if rng is NULL
	MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
	coresight: Clear the connection field properly
	usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion
	USB: HCD: Fix URB giveback issue in tasklet function
	ARM: dts: uniphier: Fix USB interrupts for PXs2 SoC
	arm64: dts: uniphier: Fix USB interrupts for PXs3 SoC
	usb: dwc3: gadget: refactor dwc3_repare_one_trb
	usb: dwc3: gadget: fix high speed multiplier setting
	lockdep: Allow tuning tracing capacity constants.
	netfilter: nf_tables: do not allow SET_ID to refer to another table
	netfilter: nf_tables: do not allow CHAIN_ID to refer to another table
	netfilter: nf_tables: do not allow RULE_ID to refer to another chain
	netfilter: nf_tables: fix null deref due to zeroed list head
	epoll: autoremove wakers even more aggressively
	x86: Handle idle=nomwait cmdline properly for x86_idle
	arm64: Do not forget syscall when starting a new thread.
	arm64: fix oops in concurrently setting insn_emulation sysctls
	ext2: Add more validity checks for inode counts
	genirq: Don't return error on missing optional irq_request_resources()
	irqchip/mips-gic: Only register IPI domain when SMP is enabled
	genirq: GENERIC_IRQ_IPI depends on SMP
	irqchip/mips-gic: Check the return value of ioremap() in gic_of_init()
	wait: Fix __wait_event_hrtimeout for RT/DL tasks
	ARM: dts: imx6ul: add missing properties for sram
	ARM: dts: imx6ul: change operating-points to uint32-matrix
	ARM: dts: imx6ul: fix keypad compatible
	ARM: dts: imx6ul: fix csi node compatible
	ARM: dts: imx6ul: fix lcdif node compatible
	ARM: dts: imx6ul: fix qspi node compatible
	ARM: dts: BCM5301X: Add DT for Meraki MR26
	spi: synquacer: Add missing clk_disable_unprepare()
	ARM: OMAP2+: display: Fix refcount leak bug
	ACPI: EC: Remove duplicate ThinkPad X1 Carbon 6th entry from DMI quirks
	ACPI: EC: Drop the EC_FLAGS_IGNORE_DSDT_GPE quirk
	ACPI: PM: save NVS memory for Lenovo G40-45
	ACPI: LPSS: Fix missing check in register_device_clock()
	arm64: dts: qcom: ipq8074: fix NAND node name
	arm64: dts: allwinner: a64: orangepi-win: Fix LED node name
	ARM: shmobile: rcar-gen2: Increase refcount for new reference
	firmware: tegra: Fix error check return value of debugfs_create_file()
	PM: hibernate: defer device probing when resuming from hibernation
	selinux: Add boundary check in put_entry()
	powerpc/64s: Disable stack variable initialisation for prom_init
	spi: spi-rspi: Fix PIO fallback on RZ platforms
	ARM: findbit: fix overflowing offset
	meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init
	arm64: dts: renesas: beacon: Fix regulator node names
	ARM: bcm: Fix refcount leak in bcm_kona_smc_init
	ACPI: processor/idle: Annotate more functions to live in cpuidle section
	ARM: dts: imx7d-colibri-emmc: add cpu1 supply
	Input: atmel_mxt_ts - fix up inverted RESET handler
	soc: renesas: r8a779a0-sysc: Fix A2DP1 and A2CV[2357] PDR values
	soc: amlogic: Fix refcount leak in meson-secure-pwrc.c
	arm64: dts: renesas: Fix thermal-sensors on single-zone sensors
	x86/pmem: Fix platform-device leak in error path
	ARM: dts: ast2500-evb: fix board compatible
	ARM: dts: ast2600-evb: fix board compatible
	hexagon: select ARCH_WANT_LD_ORPHAN_WARN
	arm64: cpufeature: Allow different PMU versions in ID_DFR0_EL1
	locking/lockdep: Fix lockdep_init_map_*() confusion
	soc: fsl: guts: machine variable might be unset
	block: fix infinite loop for invalid zone append
	ARM: dts: qcom: mdm9615: add missing PMIC GPIO reg
	ARM: OMAP2+: Fix refcount leak in omapdss_init_of
	ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init
	cpufreq: zynq: Fix refcount leak in zynq_get_revision
	regulator: qcom_smd: Fix pm8916_pldo range
	ACPI: APEI: Fix _EINJ vs EFI_MEMORY_SP
	soc: qcom: ocmem: Fix refcount leak in of_get_ocmem
	soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register
	ARM: dts: qcom: pm8841: add required thermal-sensor-cells
	bus: hisi_lpc: fix missing platform_device_put() in hisi_lpc_acpi_probe()
	arm64: dts: mt7622: fix BPI-R64 WPS button
	arm64: tegra: Fix SDMMC1 CD on P2888
	erofs: avoid consecutive detection for Highmem memory
	blk-mq: don't create hctx debugfs dir until q->debugfs_dir is created
	hwmon: (drivetemp) Add module alias
	block: remove the request_queue to argument request based tracepoints
	blktrace: Trace remapped requests correctly
	regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
	soc: qcom: Make QCOM_RPMPD depend on PM
	arm64: dts: qcom: qcs404: Fix incorrect USB2 PHYs assignment
	drivers/perf: arm_spe: Fix consistency of SYS_PMSCR_EL1.CX
	nohz/full, sched/rt: Fix missed tick-reenabling bug in dequeue_task_rt()
	selftests/seccomp: Fix compile warning when CC=clang
	thermal/tools/tmon: Include pthread and time headers in tmon.h
	dm: return early from dm_pr_call() if DM device is suspended
	pwm: sifive: Don't check the return code of pwmchip_remove()
	pwm: sifive: Simplify offset calculation for PWMCMP registers
	pwm: sifive: Ensure the clk is enabled exactly once per running PWM
	pwm: sifive: Shut down hardware only after pwmchip_remove() completed
	pwm: lpc18xx-sct: Convert to devm_platform_ioremap_resource()
	drm/bridge: tc358767: Move (e)DP bridge endpoint parsing into dedicated function
	drm/bridge: tc358767: Make sure Refclk clock are enabled
	ath10k: do not enforce interrupt trigger type
	drm/st7735r: Fix module autoloading for Okaya RH128128T
	wifi: rtlwifi: fix error codes in rtl_debugfs_set_write_h2c()
	ath11k: fix netdev open race
	drm/mipi-dbi: align max_chunk to 2 in spi_transfer
	ath11k: Fix incorrect debug_mask mappings
	drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()
	drm/mediatek: Modify dsi funcs to atomic operations
	drm/mediatek: Separate poweron/poweroff from enable/disable and define new funcs
	drm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff function
	i2c: npcm: Remove own slave addresses 2:10
	i2c: npcm: Correct slave role behavior
	virtio-gpu: fix a missing check to avoid NULL dereference
	drm: adv7511: override i2c address of cec before accessing it
	crypto: sun8i-ss - do not allocate memory when handling hash requests
	crypto: sun8i-ss - fix error codes in allocate_flows()
	net: fix sk_wmem_schedule() and sk_rmem_schedule() errors
	i2c: Fix a potential use after free
	crypto: sun8i-ss - fix infinite loop in sun8i_ss_setup_ivs()
	media: tw686x: Register the irq at the end of probe
	ath9k: fix use-after-free in ath9k_hif_usb_rx_cb
	wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_fill_link_cmd()
	drm/radeon: fix incorrrect SPDX-License-Identifiers
	test_bpf: fix incorrect netdev features
	crypto: ccp - During shutdown, check SEV data pointer before using
	drm: bridge: adv7511: Add check for mipi_dsi_driver_register
	drm/mcde: Fix refcount leak in mcde_dsi_bind
	media: hdpvr: fix error value returns in hdpvr_read
	media: v4l2-mem2mem: prevent pollerr when last_buffer_dequeued is set
	media: tw686x: Fix memory leak in tw686x_video_init
	drm/vc4: plane: Remove subpixel positioning check
	drm/vc4: plane: Fix margin calculations for the right/bottom edges
	drm/vc4: dsi: Correct DSI divider calculations
	drm/vc4: dsi: Correct pixel order for DSI0
	drm/vc4: drv: Remove the DSI pointer in vc4_drv
	drm/vc4: dsi: Use snprintf for the PHY clocks instead of an array
	drm/vc4: dsi: Introduce a variant structure
	drm/vc4: dsi: Register dsi0 as the correct vc4 encoder type
	drm/vc4: dsi: Fix dsi0 interrupt support
	drm/vc4: dsi: Add correct stop condition to vc4_dsi_encoder_disable iteration
	drm/vc4: hdmi: Remove firmware logic for MAI threshold setting
	drm/vc4: hdmi: Avoid full hdmi audio fifo writes
	drm/vc4: hdmi: Don't access the connector state in reset if kmalloc fails
	drm/vc4: hdmi: Limit the BCM2711 to the max without scrambling
	drm/vc4: hdmi: Fix timings for interlaced modes
	drm/vc4: hdmi: Correct HDMI timing registers for interlaced modes
	crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE
	selftests/xsk: Destroy BPF resources only when ctx refcount drops to 0
	drm/rockchip: vop: Don't crash for invalid duplicate_state()
	drm/rockchip: Fix an error handling path rockchip_dp_probe()
	drm/mediatek: dpi: Remove output format of YUV
	drm/mediatek: dpi: Only enable dpi after the bridge is enabled
	drm: bridge: sii8620: fix possible off-by-one
	lib: bitmap: order includes alphabetically
	lib: bitmap: provide devm_bitmap_alloc() and devm_bitmap_zalloc()
	hinic: Use the bitmap API when applicable
	net: hinic: fix bug that ethtool get wrong stats
	net: hinic: avoid kernel hung in hinic_get_stats64()
	drm/msm/mdp5: Fix global state lock backoff
	crypto: hisilicon/sec - fixes some coding style
	crypto: hisilicon/sec - don't sleep when in softirq
	crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq
	media: platform: mtk-mdp: Fix mdp_ipi_comm structure alignment
	mt76: mt76x02u: fix possible memory leak in __mt76x02u_mcu_send_msg
	mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()
	drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.
	tcp: make retransmitted SKB fit into the send window
	libbpf: Fix the name of a reused map
	selftests: timers: valid-adjtimex: build fix for newer toolchains
	selftests: timers: clocksource-switch: fix passing errors from child
	bpf: Fix subprog names in stack traces.
	fs: check FMODE_LSEEK to control internal pipe splicing
	wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()
	wifi: p54: Fix an error handling path in p54spi_probe()
	wifi: p54: add missing parentheses in p54_flush()
	selftests/bpf: fix a test for snprintf() overflow
	can: pch_can: do not report txerr and rxerr during bus-off
	can: rcar_can: do not report txerr and rxerr during bus-off
	can: sja1000: do not report txerr and rxerr during bus-off
	can: hi311x: do not report txerr and rxerr during bus-off
	can: sun4i_can: do not report txerr and rxerr during bus-off
	can: kvaser_usb_hydra: do not report txerr and rxerr during bus-off
	can: kvaser_usb_leaf: do not report txerr and rxerr during bus-off
	can: usb_8dev: do not report txerr and rxerr during bus-off
	can: error: specify the values of data[5..7] of CAN error frames
	can: pch_can: pch_can_error(): initialize errc before using it
	Bluetooth: hci_intel: Add check for platform_driver_register
	i2c: cadence: Support PEC for SMBus block read
	i2c: mux-gpmux: Add of_node_put() when breaking out of loop
	wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`
	wifi: iwlwifi: mvm: fix double list_add at iwl_mvm_mac_wake_tx_queue
	wifi: libertas: Fix possible refcount leak in if_usb_probe()
	media: cedrus: hevc: Add check for invalid timestamp
	net/mlx5e: Remove WARN_ON when trying to offload an unsupported TLS cipher/version
	net/mlx5e: Fix the value of MLX5E_MAX_RQ_NUM_MTTS
	crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq
	crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of
	crypto: hisilicon/sec - fix auth key size error
	inet: add READ_ONCE(sk->sk_bound_dev_if) in INET_MATCH()
	tcp: sk->sk_bound_dev_if once in inet_request_bound_dev_if()
	ipv6: add READ_ONCE(sk->sk_bound_dev_if) in INET6_MATCH()
	tcp: Fix data-races around sysctl_tcp_l3mdev_accept.
	net: allow unbound socket for packets in VRF when tcp_l3mdev_accept set
	iavf: Fix max_rate limiting
	netdevsim: Avoid allocation warnings triggered from user space
	net: rose: fix netdev reference changes
	net: ionic: fix error check for vlan flags in ionic_set_nic_features()
	dccp: put dccp_qpolicy_full() and dccp_qpolicy_push() in the same lock
	wireguard: ratelimiter: use hrtimer in selftest
	wireguard: allowedips: don't corrupt stack when detecting overflow
	clk: renesas: r9a06g032: Fix UART clkgrp bitsel
	mtd: maps: Fix refcount leak in of_flash_probe_versatile
	mtd: maps: Fix refcount leak in ap_flash_init
	mtd: rawnand: meson: Fix a potential double free issue
	PCI: tegra194: Fix PM error handling in tegra_pcie_config_ep()
	HID: cp2112: prevent a buffer overflow in cp2112_xfer()
	mtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release
	mtd: partitions: Fix refcount leak in parse_redboot_of
	mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path
	fpga: altera-pr-ip: fix unsigned comparison with less than zero
	usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
	usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
	usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()
	usb: xhci: tegra: Fix error check
	netfilter: xtables: Bring SPDX identifier back
	iio: accel: bma400: Fix the scale min and max macro values
	platform/chrome: cros_ec: Always expose last resume result
	iio: accel: bma400: Reordering of header files
	clk: mediatek: reset: Fix written reset bit offset
	KVM: Don't set Accessed/Dirty bits for ZERO_PAGE
	mwifiex: Ignore BTCOEX events from the 88W8897 firmware
	mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv
	dmaengine: dw-edma: Fix eDMA Rd/Wr-channels and DMA-direction semantics
	misc: rtsx: Fix an error handling path in rtsx_pci_probe()
	driver core: fix potential deadlock in __driver_attach
	clk: qcom: clk-krait: unlock spin after mux completion
	usb: host: xhci: use snprintf() in xhci_decode_trb()
	clk: qcom: ipq8074: fix NSS core PLL-s
	clk: qcom: ipq8074: SW workaround for UBI32 PLL lock
	clk: qcom: ipq8074: fix NSS port frequency tables
	clk: qcom: ipq8074: set BRANCH_HALT_DELAY flag for UBI clocks
	clk: qcom: camcc-sdm845: Fix topology around titan_top power domain
	PCI: dwc: Add unroll iATU space support to dw_pcie_disable_atu()
	PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
	PCI: dwc: Always enable CDM check if "snps,enable-cdm-check" exists
	soundwire: bus_type: fix remove and shutdown support
	KVM: arm64: Don't return from void function
	dmaengine: sf-pdma: apply proper spinlock flags in sf_pdma_prep_dma_memcpy()
	dmaengine: sf-pdma: Add multithread support for a DMA channel
	PCI: endpoint: Don't stop controller when unbinding endpoint function
	intel_th: Fix a resource leak in an error handling path
	intel_th: msu-sink: Potential dereference of null pointer
	intel_th: msu: Fix vmalloced buffers
	staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback
	mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch
	memstick/ms_block: Fix some incorrect memory allocation
	memstick/ms_block: Fix a memory leak
	mmc: sdhci-of-at91: fix set_uhs_signaling rewriting of MC1R
	mmc: block: Add single read for 4k sector cards
	KVM: s390: pv: leak the topmost page table when destroy fails
	PCI/portdrv: Don't disable AER reporting in get_port_device_capability()
	PCI: qcom: Set up rev 2.1.0 PARF_PHY before enabling clocks
	scsi: smartpqi: Fix DMA direction for RAID requests
	xtensa: iss/network: provide release() callback
	xtensa: iss: fix handling error cases in iss_net_configure()
	usb: gadget: udc: amd5536 depends on HAS_DMA
	usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()
	usb: dwc3: core: Deprecate GCTL.CORESOFTRESET
	usb: dwc3: core: Do not perform GCTL_CORE_SOFTRESET during bootup
	usb: dwc3: qcom: fix missing optional irq warnings
	eeprom: idt_89hpesx: uninitialized data in idt_dbgfs_csr_write()
	interconnect: imx: fix max_node_id
	um: random: Don't initialise hwrng struct with zero
	RDMA/rtrs: Define MIN_CHUNK_SIZE
	RDMA/rtrs: Avoid Wtautological-constant-out-of-range-compare
	RDMA/rtrs-srv: Fix modinfo output for stringify
	RDMA/qedr: Improve error logs for rdma_alloc_tid error return
	RDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()
	RDMA/hns: Fix incorrect clearing of interrupt status register
	RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event
	RDMA/hfi1: fix potential memory leak in setup_base_ctxt()
	gpio: gpiolib-of: Fix refcount bugs in of_mm_gpiochip_add_data()
	HID: mcp2221: prevent a buffer overflow in mcp_smbus_write()
	mmc: cavium-octeon: Add of_node_put() when breaking out of loop
	mmc: cavium-thunderx: Add of_node_put() when breaking out of loop
	HID: alps: Declare U1_UNICORN_LEGACY support
	PCI: tegra194: Fix Root Port interrupt handling
	PCI: tegra194: Fix link up retry sequence
	USB: serial: fix tty-port initialized comments
	usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
	platform/olpc: Fix uninitialized data in debugfs write
	RDMA/srpt: Duplicate port name members
	RDMA/srpt: Introduce a reference count in struct srpt_device
	RDMA/srpt: Fix a use-after-free
	mm/mmap.c: fix missing call to vm_unacct_memory in mmap_region
	selftests: kvm: set rax before vmcall
	RDMA/mlx5: Add missing check for return value in get namespace flow
	RDMA/rxe: Fix error unwind in rxe_create_qp()
	null_blk: fix ida error handling in null_add_dev()
	nvme: use command_id instead of req->tag in trace_nvme_complete_rq()
	jbd2: fix outstanding credits assert in jbd2_journal_commit_transaction()
	ext4: recover csum seed of tmp_inode after migrating to extents
	jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted
	usb: cdns3: Don't use priv_dev uninitialized in cdns3_gadget_ep_enable()
	opp: Fix error check in dev_pm_opp_attach_genpd()
	ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe
	ASoC: samsung: Fix error handling in aries_audio_probe
	ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe
	ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe
	ASoC: codecs: da7210: add check for i2c_add_driver
	ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe
	serial: 8250: Export ICR access helpers for internal use
	serial: 8250_dw: Store LSR into lsr_saved_flags in dw8250_tx_wait_empty()
	ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV
	ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV
	rpmsg: mtk_rpmsg: Fix circular locking dependency
	remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init
	selftests/livepatch: better synchronize test_klp_callbacks_busy
	profiling: fix shift too large makes kernel panic
	ASoC: samsung: h1940_uda1380: include proepr GPIO consumer header
	powerpc/perf: Optimize clearing the pending PMI and remove WARN_ON for PMI check in power_pmu_disable
	ASoC: samsung: change gpiod_speaker_power and rx1950_audio from global to static variables
	tty: n_gsm: Delete gsmtty open SABM frame when config requester
	tty: n_gsm: fix user open not possible at responder until initiator open
	tty: n_gsm: fix wrong queuing behavior in gsm_dlci_data_output()
	tty: n_gsm: fix non flow control frames during mux flow off
	tty: n_gsm: fix packet re-transmission without open control channel
	tty: n_gsm: fix race condition in gsmld_write()
	ASoC: qcom: Fix missing of_node_put() in asoc_qcom_lpass_cpu_platform_probe()
	remoteproc: qcom: wcnss: Fix handling of IRQs
	vfio: Remove extra put/gets around vfio_device->group
	vfio: Simplify the lifetime logic for vfio_device
	vfio: Split creation of a vfio_device into init and register ops
	vfio/mdev: Make to_mdev_device() into a static inline
	vfio/ccw: Do not change FSM state in subchannel event
	tty: n_gsm: fix wrong T1 retry count handling
	tty: n_gsm: fix DM command
	tty: n_gsm: fix missing corner cases in gsmld_poll()
	iommu/exynos: Handle failed IOMMU device registration properly
	rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge
	kfifo: fix kfifo_to_user() return type
	lib/smp_processor_id: fix imbalanced instrumentation_end() call
	remoteproc: sysmon: Wait for SSCTL service to come up
	mfd: t7l66xb: Drop platform disable callback
	mfd: max77620: Fix refcount leak in max77620_initialise_fps
	iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
	perf tools: Fix dso_id inode generation comparison
	s390/dump: fix old lowcore virtual vs physical address confusion
	s390/zcore: fix race when reading from hardware system area
	ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format
	ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp()
	fuse: Remove the control interface for virtio-fs
	ASoC: audio-graph-card: Add of_node_put() in fail path
	watchdog: armada_37xx_wdt: check the return value of devm_ioremap() in armada_37xx_wdt_probe()
	video: fbdev: amba-clcd: Fix refcount leak bugs
	video: fbdev: sis: fix typos in SiS_GetModeID()
	ASoC: mchp-spdifrx: disable end of block interrupt on failures
	powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32
	powerpc/pci: Prefer PCI domain assignment via DT 'linux,pci-domain' and alias
	f2fs: don't set GC_FAILURE_PIN for background GC
	f2fs: write checkpoint during FG_GC
	f2fs: fix to remove F2FS_COMPR_FL and tag F2FS_NOCOMP_FL at the same time
	powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
	powerpc/xive: Fix refcount leak in xive_get_max_prio
	powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
	perf symbol: Fail to read phdr workaround
	kprobes: Forbid probing on trampoline and BPF code areas
	powerpc/pci: Fix PHB numbering when using opal-phbid
	genelf: Use HAVE_LIBCRYPTO_SUPPORT, not the never defined HAVE_LIBCRYPTO
	scripts/faddr2line: Fix vmlinux detection on arm64
	sched/deadline: Merge dl_task_can_attach() and dl_cpu_busy()
	sched, cpuset: Fix dl_cpu_busy() panic due to empty cs->cpus_allowed
	x86/numa: Use cpumask_available instead of hardcoded NULL check
	video: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()
	tools/thermal: Fix possible path truncations
	sched: Fix the check of nr_running at queue wakelist
	x86/entry: Build thunk_$(BITS) only if CONFIG_PREEMPTION=y
	video: fbdev: vt8623fb: Check the size of screen before memset_io()
	video: fbdev: arkfb: Check the size of screen before memset_io()
	video: fbdev: s3fb: Check the size of screen before memset_io()
	scsi: zfcp: Fix missing auto port scan and thus missing target ports
	scsi: qla2xxx: Fix discovery issues in FC-AL topology
	scsi: qla2xxx: Turn off multi-queue for 8G adapters
	scsi: qla2xxx: Fix erroneous mailbox timeout after PCI error injection
	scsi: qla2xxx: Fix losing FCP-2 targets on long port disable with I/Os
	scsi: qla2xxx: Fix losing FCP-2 targets during port perturbation tests
	x86/bugs: Enable STIBP for IBPB mitigated RETBleed
	ftrace/x86: Add back ftrace_expected assignment
	x86/olpc: fix 'logical not is only applied to the left hand side'
	posix-cpu-timers: Cleanup CPU timers before freeing them during exec
	Input: gscps2 - check return value of ioremap() in gscps2_probe()
	__follow_mount_rcu(): verify that mount_lock remains unchanged
	spmi: trace: fix stack-out-of-bound access in SPMI tracing functions
	drm/i915/dg1: Update DMC_DEBUG3 register
	drm/mediatek: Allow commands to be sent during video mode
	drm/mediatek: Keep dsi as LP00 before dcs cmds transfer
	HID: Ignore battery for Elan touchscreen on HP Spectre X360 15-df0xxx
	HID: hid-input: add Surface Go battery quirk
	drm/vc4: drv: Adopt the dma configuration from the HVS or V3D component
	mtd: rawnand: Add a helper to clarify the interface configuration
	mtd: rawnand: arasan: Check the proposed data interface is supported
	mtd: rawnand: Add NV-DDR timings
	mtd: rawnand: arasan: Fix a macro parameter
	mtd: rawnand: arasan: Support NV-DDR interface
	mtd: rawnand: arasan: Fix clock rate in NV-DDR
	usbnet: smsc95xx: Don't clear read-only PHY interrupt
	usbnet: smsc95xx: Avoid link settings race on interrupt reception
	firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
	intel_th: pci: Add Meteor Lake-P support
	intel_th: pci: Add Raptor Lake-S PCH support
	intel_th: pci: Add Raptor Lake-S CPU support
	KVM: set_msr_mce: Permit guests to ignore single-bit ECC errors
	KVM: x86: Signal #GP, not -EPERM, on bad WRMSR(MCi_CTL/STATUS)
	iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE)
	PCI/AER: Write AER Capability only when we control it
	PCI/ERR: Bind RCEC devices to the Root Port driver
	PCI/ERR: Rename reset_link() to reset_subordinates()
	PCI/ERR: Simplify by using pci_upstream_bridge()
	PCI/ERR: Simplify by computing pci_pcie_type() once
	PCI/ERR: Use "bridge" for clarity in pcie_do_recovery()
	PCI/ERR: Avoid negated conditional for clarity
	PCI/ERR: Add pci_walk_bridge() to pcie_do_recovery()
	PCI/ERR: Recover from RCEC AER errors
	PCI/AER: Iterate over error counters instead of error strings
	serial: 8250: Dissociate 4MHz Titan ports from Oxford ports
	serial: 8250: Correct the clock for OxSemi PCIe devices
	serial: 8250_pci: Refactor the loop in pci_ite887x_init()
	serial: 8250_pci: Replace dev_*() by pci_*() macros
	serial: 8250: Fold EndRun device support into OxSemi Tornado code
	dm writecache: set a default MAX_WRITEBACK_JOBS
	kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification
	dm thin: fix use-after-free crash in dm_sm_register_threshold_callback
	timekeeping: contribute wall clock to rng on time change
	um: Allow PM with suspend-to-idle
	btrfs: reject log replay if there is unsupported RO compat flag
	btrfs: reset block group chunk force if we have to wait
	ACPI: CPPC: Do not prevent CPPC from working in the future
	KVM: VMX: Drop guest CPUID check for VMXE in vmx_set_cr4()
	KVM: VMX: Drop explicit 'nested' check from vmx_set_cr4()
	KVM: SVM: Drop VMXE check from svm_set_cr4()
	KVM: x86: Move vendor CR4 validity check to dedicated kvm_x86_ops hook
	KVM: nVMX: Inject #UD if VMXON is attempted with incompatible CR0/CR4
	KVM: x86/pmu: preserve IA32_PERF_CAPABILITIES across CPUID refresh
	KVM: x86/pmu: Use binary search to check filtered events
	KVM: x86/pmu: Use different raw event masks for AMD and Intel
	KVM: x86/pmu: Introduce the ctrl_mask value for fixed counter
	KVM: VMX: Mark all PERF_GLOBAL_(OVF)_CTRL bits reserved if there's no vPMU
	KVM: x86/pmu: Ignore pmu->global_ctrl check if vPMU doesn't support global_ctrl
	xen-blkback: fix persistent grants negotiation
	xen-blkback: Apply 'feature_persistent' parameter when connect
	xen-blkfront: Apply 'feature_persistent' parameter when connect
	KEYS: asymmetric: enforce SM2 signature use pkey algo
	tpm: eventlog: Fix section mismatch for DEBUG_SECTION_MISMATCH
	tracing: Use a struct alignof to determine trace event field alignment
	ext4: check if directory block is within i_size
	ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
	ext4: fix warning in ext4_iomap_begin as race between bmap and write
	ext4: make sure ext4_append() always allocates new block
	ext4: fix use-after-free in ext4_xattr_set_entry
	ext4: update s_overhead_clusters in the superblock during an on-line resize
	ext4: fix extent status tree race in writeback error recovery path
	ext4: correct max_inline_xattr_value_size computing
	ext4: correct the misjudgment in ext4_iget_extra_inode
	dm raid: fix address sanitizer warning in raid_resume
	dm raid: fix address sanitizer warning in raid_status
	net_sched: cls_route: remove from list when handle is 0
	KVM: Add infrastructure and macro to mark VM as bugged
	KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
	KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
	mac80211: fix a memory leak where sta_info is not freed
	tcp: fix over estimation in sk_forced_mem_schedule()
	Revert "mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv"
	drm/bridge: tc358767: Fix (e)DP bridge endpoint parsing in dedicated function
	drm/vc4: change vc4_dma_range_matches from a global to static
	Revert "net: usb: ax88179_178a needs FLAG_SEND_ZLP"
	Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression
	mtd: rawnand: arasan: Prevent an unsupported configuration
	kvm: x86/pmu: Fix the compare function used by the pmu event filter
	tee: add overflow check in register_shm_helper()
	net/9p: Initialize the iounit field during fid creation
	net_sched: cls_route: disallow handle of 0
	sched/fair: Fix fault in reweight_entity
	btrfs: only write the sectors in the vertical stripe which has data stripes
	btrfs: raid56: don't trust any cached sector in __raid56_parity_recover()
	Linux 5.10.137

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I5775ddfad6460c5a737b1ad3f8e0b8f798338786
2022-08-29 16:53:14 +02:00
ec769406d0 f2fs: write checkpoint during FG_GC
[ Upstream commit a9163b947ae8f7af7cb8d63606cd87b9facbfe74 ]

If there's not enough free sections each of which consistis of large segments,
we can hit no free section for upcoming section allocation. Let's reclaim some
prefree segments by writing checkpoints.

Signed-off-by: Byungki Lee <dominicus79@gmail.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-21 15:16:11 +02:00
d031105739 f2fs: don't set GC_FAILURE_PIN for background GC
[ Upstream commit 642c0969916eaa4878cb74f36752108e590b0389 ]

So that it can reduce the possibility that file be unpinned forcely by
foreground GC due to .i_gc_failures[GC_FAILURE_PIN] exceeds threshold.

Signed-off-by: Chao Yu <chao.yu@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-21 15:16:11 +02:00
95f4203fc9 This is the 5.10.110 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmJQLWwACgkQONu9yGCS
 aT4R2BAAr/cGnf2/BQ6+zNPW+LlfGn75803yd+oWNL8WzjNiQGrTsQavE1jL0LXP
 45iPxvY6eOlP9oEoJGYyNYhzQfUM92Unysa/KemB/xUBsb2If0ZdWk1WB9Lnw0xq
 m65kACXovbcg4LsZGpgCv7ln1ykogo+bNMES9P6CLxwKR/DMKUeJxbRNKE/AkD5l
 DxF7IJEP+YRbKAtoLM2Xj4KdjVSfRIfs+Pf0A1t43GqAw6tt3beqmzeCwDzuzz5a
 DHpXS6PeJjTZOjz4LkuBSbyK5cKGFv1C6o7JVjWSZhDyI5E4OLdNDpNKqcjsXAN+
 wMqS1eh4gYUBXmPE44BGwkkugPyaR0/KHUebfkFZG2/H/8DfvrGqlbvsGSFNXxsV
 jH2/AV/rOxAFeM/U0c1I4Ve42MU18kdf1MRBo0Dq5xSoN9HFQhNp+HE5jpppgsvi
 FYpMqZoQzH31GIjOq7g0zLdj4NTBrkO9dh7kbpH0Xay1yBmigvD2PA4qpsL1+VMI
 v73Iq/RJVGUJFAeiYFjn9IGs9EsiKNG08v9uoKS+1m1VLrpVdgwtzo+RjJ/E51Mt
 Nk4WK94MyoivkRFKulDasv9yBWdcZCfljc91271UCKCERlyO/bmsTqhffeATGGRh
 N/7oxa71BHvxp0VYqvKD6xFUs+jFt9DQmIX7Pl1/yLpaz+sN0no=
 =31mv
 -----END PGP SIGNATURE-----

Merge 5.10.110 into android12-5.10-lts

Changes in 5.10.110
	swiotlb: fix info leak with DMA_FROM_DEVICE
	USB: serial: pl2303: add IBM device IDs
	USB: serial: simple: add Nokia phone driver
	hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
	netdevice: add the case if dev is NULL
	HID: logitech-dj: add new lightspeed receiver id
	xfrm: fix tunnel model fragmentation behavior
	ARM: mstar: Select HAVE_ARM_ARCH_TIMER
	virtio_console: break out of buf poll on remove
	vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
	tools/virtio: fix virtio_test execution
	ethernet: sun: Free the coherent when failing in probing
	gpio: Revert regression in sysfs-gpio (gpiolib.c)
	spi: Fix invalid sgs value
	net:mcf8390: Use platform_get_irq() to get the interrupt
	Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
	spi: Fix erroneous sgs value with min_t()
	Input: zinitix - do not report shadow fingers
	af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
	net: dsa: microchip: add spi_device_id tables
	locking/lockdep: Avoid potential access of invalid memory in lock_class
	iommu/iova: Improve 32-bit free space estimate
	tpm: fix reference counting for struct tpm_chip
	virtio-blk: Use blk_validate_block_size() to validate block size
	USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
	xhci: fix garbage USBSTS being logged in some cases
	xhci: fix runtime PM imbalance in USB2 resume
	xhci: make xhci_handshake timeout for xhci_reset() adjustable
	xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
	mei: me: add Alder Lake N device id.
	mei: avoid iterator usage outside of list_for_each_entry
	coresight: Fix TRCCONFIGR.QE sysfs interface
	iio: afe: rescale: use s64 for temporary scale calculations
	iio: inkern: apply consumer scale on IIO_VAL_INT cases
	iio: inkern: apply consumer scale when no channel scale is available
	iio: inkern: make a best effort on offset calculation
	greybus: svc: fix an error handling bug in gb_svc_hello()
	clk: uniphier: Fix fixed-rate initialization
	ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
	KEYS: fix length validation in keyctl_pkey_params_get_2()
	Documentation: add link to stable release candidate tree
	Documentation: update stable tree link
	firmware: stratix10-svc: add missing callback parameter on RSU
	HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
	SUNRPC: avoid race between mod_timer() and del_timer_sync()
	NFSD: prevent underflow in nfssvc_decode_writeargs()
	NFSD: prevent integer overflow on 32 bit systems
	f2fs: fix to unlock page correctly in error path of is_alive()
	f2fs: quota: fix loop condition at f2fs_quota_sync()
	f2fs: fix to do sanity check on .cp_pack_total_block_count
	remoteproc: Fix count check in rproc_coredump_write()
	pinctrl: samsung: drop pin banks references on error paths
	spi: mxic: Fix the transmit path
	mtd: rawnand: protect access to rawnand devices while in suspend
	can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
	jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
	jffs2: fix memory leak in jffs2_do_mount_fs
	jffs2: fix memory leak in jffs2_scan_medium
	mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
	mm: invalidate hwpoison page cache page in fault path
	mempolicy: mbind_range() set_policy() after vma_merge()
	scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
	qed: display VF trust config
	qed: validate and restrict untrusted VFs vlan promisc mode
	riscv: Fix fill_callchain return value
	riscv: Increase stack size under KASAN
	Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
	cifs: prevent bad output lengths in smb2_ioctl_query_info()
	cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
	ALSA: cs4236: fix an incorrect NULL check on list iterator
	ALSA: hda: Avoid unsol event during RPM suspending
	ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
	ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
	mm: madvise: skip unmapped vma holes passed to process_madvise
	mm: madvise: return correct bytes advised with process_madvise
	Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
	mm,hwpoison: unmap poisoned page before invalidation
	mm/kmemleak: reset tag when compare object pointer
	dm integrity: set journal entry unused when shrinking device
	drbd: fix potential silent data corruption
	can: isotp: sanitize CAN ID checks in isotp_bind()
	powerpc/kvm: Fix kvm_use_magic_page
	udp: call udp_encap_enable for v6 sockets when enabling encap
	arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
	arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
	arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
	arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
	ACPI: properties: Consistently return -ENOENT if there are no more references
	coredump: Also dump first pages of non-executable ELF libraries
	ext4: fix ext4_fc_stats trace point
	ext4: fix fs corruption when tring to remove a non-empty directory with IO error
	drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
	mailbox: tegra-hsp: Flush whole channel
	block: limit request dispatch loop duration
	block: don't merge across cgroup boundaries if blkcg is enabled
	drm/edid: check basic audio support on CEA extension block
	video: fbdev: sm712fb: Fix crash in smtcfb_read()
	video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
	ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
	ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
	ARM: dts: exynos: add missing HDMI supplies on SMDK5250
	ARM: dts: exynos: add missing HDMI supplies on SMDK5420
	mgag200 fix memmapsl configuration in GCTL6 register
	carl9170: fix missing bit-wise or operator for tx_params
	pstore: Don't use semaphores in always-atomic-context code
	thermal: int340x: Increase bitmap size
	lib/raid6/test: fix multiple definition linking error
	exec: Force single empty string when argv is empty
	crypto: rsa-pkcs1pad - only allow with rsa
	crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
	crypto: rsa-pkcs1pad - restore signature length check
	crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
	bcache: fixup multiple threads crash
	DEC: Limit PMAX memory probing to R3k systems
	media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
	media: davinci: vpif: fix unbalanced runtime PM get
	media: davinci: vpif: fix unbalanced runtime PM enable
	xtensa: fix stop_machine_cpuslocked call in patch_text
	xtensa: fix xtensa_wsr always writing 0
	brcmfmac: firmware: Allocate space for default boardrev in nvram
	brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
	brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
	brcmfmac: pcie: Fix crashes due to early IRQs
	drm/i915/opregion: check port number bounds for SWSCI display power state
	drm/i915/gem: add missing boundary check in vm_access
	PCI: pciehp: Clear cmd_busy bit in polling mode
	PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
	regulator: qcom_smd: fix for_each_child.cocci warnings
	selinux: check return value of sel_make_avc_files
	hwrng: cavium - Check health status while reading random data
	hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
	crypto: sun8i-ss - really disable hash on A80
	crypto: authenc - Fix sleep in atomic context in decrypt_tail
	crypto: mxs-dcp - Fix scatterlist processing
	thermal: int340x: Check for NULL after calling kmemdup()
	spi: tegra114: Add missing IRQ check in tegra_spi_probe
	arm64/mm: avoid fixmap race condition when create pud mapping
	selftests/x86: Add validity check and allow field splitting
	crypto: rockchip - ECB does not need IV
	audit: log AUDIT_TIME_* records only from rules
	EVM: fix the evm= __setup handler return value
	crypto: ccree - don't attempt 0 len DMA mappings
	spi: pxa2xx-pci: Balance reference count for PCI DMA device
	hwmon: (pmbus) Add mutex to regulator ops
	hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
	nvme: cleanup __nvme_check_ids
	block: don't delete queue kobject before its children
	PM: hibernate: fix __setup handler error handling
	PM: suspend: fix return value of __setup handler
	spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
	hwrng: atmel - disable trng on failure path
	crypto: sun8i-ss - call finalize with bh disabled
	crypto: sun8i-ce - call finalize with bh disabled
	crypto: amlogic - call finalize with bh disabled
	crypto: vmx - add missing dependencies
	clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
	clocksource/drivers/exynos_mct: Refactor resources allocation
	clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
	clocksource/drivers/timer-microchip-pit64b: Use notrace
	clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
	ACPI: APEI: fix return value of __setup handlers
	crypto: ccp - ccp_dmaengine_unregister release dma channels
	crypto: ccree - Fix use after free in cc_cipher_exit()
	vfio: platform: simplify device removal
	amba: Make the remove callback return void
	hwrng: nomadik - Change clk_disable to clk_disable_unprepare
	hwmon: (pmbus) Add Vin unit off handling
	clocksource: acpi_pm: fix return value of __setup handler
	io_uring: terminate manual loop iterator loop correctly for non-vecs
	watch_queue: Fix NULL dereference in error cleanup
	watch_queue: Actually free the watch
	f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
	sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
	sched/core: Export pelt_thermal_tp
	rseq: Optimise rseq_get_rseq_cs() and clear_rseq_cs()
	rseq: Remove broken uapi field layout on 32-bit little endian
	perf/core: Fix address filter parser for multiple filters
	perf/x86/intel/pt: Fix address filter config for 32-bit kernel
	f2fs: fix missing free nid in f2fs_handle_failed_inode
	nfsd: more robust allocation failure handling in nfsd_file_cache_init
	f2fs: fix to avoid potential deadlock
	btrfs: fix unexpected error path when reflinking an inline extent
	f2fs: compress: remove unneeded read when rewrite whole cluster
	f2fs: fix compressed file start atomic write may cause data corruption
	selftests, x86: fix how check_cc.sh is being invoked
	kunit: make kunit_test_timeout compatible with comment
	media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
	media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
	media: mtk-vcodec: potential dereference of null pointer
	media: bttv: fix WARNING regression on tunerless devices
	ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
	ASoC: generic: simple-card-utils: remove useless assignment
	media: coda: Fix missing put_device() call in coda_get_vdoa_data
	media: meson: vdec: potential dereference of null pointer
	media: hantro: Fix overfill bottom register field name
	media: aspeed: Correct value for h-total-pixels
	video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
	video: fbdev: controlfb: Fix set but not used warnings
	video: fbdev: controlfb: Fix COMPILE_TEST build
	video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
	video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
	video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
	firmware: qcom: scm: Remove reassignment to desc following initializer
	ARM: dts: qcom: ipq4019: fix sleep clock
	soc: qcom: rpmpd: Check for null return of devm_kcalloc
	soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
	soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
	arm64: dts: qcom: sdm845: fix microphone bias properties and values
	arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
	firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
	soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
	ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
	ARM: dts: imx: Add missing LVDS decoder on M53Menlo
	media: video/hdmi: handle short reads of hdmi info frame.
	media: em28xx: initialize refcount before kref_get
	media: usb: go7007: s2250-board: fix leak in probe()
	media: cedrus: H265: Fix neighbour info buffer size
	media: cedrus: h264: Fix neighbour info buffer size
	ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
	uaccess: fix nios2 and microblaze get_user_8()
	ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
	ASoC: ti: davinci-i2s: Add check for clk_enable()
	ALSA: spi: Add check for clk_enable()
	arm64: dts: ns2: Fix spi-cpol and spi-cpha property
	arm64: dts: broadcom: Fix sata nodename
	printk: fix return value of printk.devkmsg __setup handler
	ASoC: mxs-saif: Handle errors for clk_enable
	ASoC: atmel_ssc_dai: Handle errors for clk_enable
	ASoC: dwc-i2s: Handle errors for clk_enable
	ASoC: soc-compress: prevent the potentially use of null pointer
	memory: emif: Add check for setup_interrupts
	memory: emif: check the pointer temp in get_device_details()
	ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
	arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
	m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
	media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
	media: vidtv: Check for null return of vzalloc
	ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
	ASoC: wm8350: Handle error for wm8350_register_irq
	ASoC: fsi: Add check for clk_enable
	video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
	media: saa7134: convert list_for_each to entry variant
	media: saa7134: fix incorrect use to determine if list is empty
	ivtv: fix incorrect device_caps for ivtvfb
	ASoC: rockchip: i2s: Use devm_platform_get_and_ioremap_resource()
	ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
	ASoC: SOF: Add missing of_node_put() in imx8m_probe
	ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
	ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
	ASoC: fsl_spdif: Disable TX clock when stop
	ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
	ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
	mmc: davinci_mmc: Handle error for clk_enable
	ASoC: atmel: sam9x5_wm8731: use devm_snd_soc_register_card()
	ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
	ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
	ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
	ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
	drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
	drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
	drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
	drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
	drm: bridge: adv7511: Fix ADV7535 HPD enablement
	ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
	drm/panfrost: Check for error num after setting mask
	libbpf: Fix possible NULL pointer dereference when destroying skeleton
	udmabuf: validate ubuf->pagecount
	Bluetooth: hci_serdev: call init_rwsem() before p->open()
	mtd: onenand: Check for error irq
	mtd: rawnand: gpmi: fix controller timings setting
	drm/edid: Don't clear formats if using deep color
	ionic: fix type complaint in ionic_dev_cmd_clean()
	drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
	drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
	drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
	ath9k_htc: fix uninit value bugs
	RDMA/core: Set MR type in ib_reg_user_mr
	KVM: PPC: Fix vmx/vsx mixup in mmio emulation
	i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
	i40e: respect metadata on XSK Rx to skb
	power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
	ray_cs: Check ioremap return value
	powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
	KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
	powerpc/perf: Don't use perf_hw_context for trace IMC PMU
	mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
	mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
	mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
	mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
	net: dsa: mv88e6xxx: Enable port policy support on 6097
	scripts/dtc: Call pkg-config POSIXly correct
	livepatch: Fix build failure on 32 bits processors
	PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
	drm/bridge: dw-hdmi: use safe format when first in bridge chain
	power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
	HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
	iommu/ipmmu-vmsa: Check for error num after setting mask
	drm/amd/pm: enable pm sysfs write for one VF mode
	drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
	IB/cma: Allow XRC INI QPs to set their local ACK timeout
	dax: make sure inodes are flushed before destroy cache
	iwlwifi: Fix -EIO error code that is never returned
	iwlwifi: mvm: Fix an error code in iwl_mvm_up()
	drm/msm/dp: populate connector of struct dp_panel
	drm/msm/dpu: add DSPP blocks teardown
	drm/msm/dpu: fix dp audio condition
	dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
	scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
	scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
	scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
	scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
	scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
	scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
	scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
	scsi: pm8001: Fix NCQ NON DATA command task initialization
	scsi: pm8001: Fix NCQ NON DATA command completion handling
	scsi: pm8001: Fix abort all task initialization
	RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
	drm/amd/display: Remove vupdate_int_entry definition
	TOMOYO: fix __setup handlers return values
	ext2: correct max file size computing
	drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
	power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
	scsi: hisi_sas: Change permission of parameter prot_mask
	drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
	bpf, arm64: Call build_prologue() first in first JIT pass
	bpf, arm64: Feed byte-offset into bpf line info
	gpu: host1x: Fix a memory leak in 'host1x_remove()'
	libbpf: Skip forward declaration when counting duplicated type names
	powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
	powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
	KVM: x86: Fix emulation in writing cr8
	KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
	hv_balloon: rate-limit "Unhandled message" warning
	i2c: xiic: Make bus names unique
	power: supply: wm8350-power: Handle error for wm8350_register_irq
	power: supply: wm8350-power: Add missing free in free_charger_irq
	IB/hfi1: Allow larger MTU without AIP
	PCI: Reduce warnings on possible RW1C corruption
	net: axienet: fix RX ring refill allocation failure handling
	mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
	powerpc/sysdev: fix incorrect use to determine if list is empty
	mfd: mc13xxx: Add check for mc13xxx_irq_request
	libbpf: Unmap rings when umem deleted
	selftests/bpf: Make test_lwt_ip_encap more stable and faster
	platform/x86: huawei-wmi: check the return value of device_create_file()
	powerpc: 8xx: fix a return value error in mpc8xx_pic_init
	vxcan: enable local echo for sent CAN frames
	ath10k: Fix error handling in ath10k_setup_msa_resources
	mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
	MIPS: RB532: fix return value of __setup handler
	MIPS: pgalloc: fix memory leak caused by pgd_free()
	mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
	RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
	bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
	bpf, sockmap: Fix more uncharged while msg has more_data
	bpf, sockmap: Fix double uncharge the mem of sk_msg
	samples/bpf, xdpsock: Fix race when running for fix duration of time
	USB: storage: ums-realtek: fix error code in rts51x_read_mem()
	can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
	can: isotp: support MSG_TRUNC flag when reading from socket
	bareudp: use ipv6_mod_enabled to check if IPv6 enabled
	selftests/bpf: Fix error reporting from sock_fields programs
	Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
	Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
	ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
	af_netlink: Fix shift out of bounds in group mask calculation
	i2c: meson: Fix wrong speed use from probe
	i2c: mux: demux-pinctrl: do not deactivate a master that is not active
	selftests/bpf/test_lirc_mode2.sh: Exit with proper code
	PCI: Avoid broken MSI on SB600 USB devices
	net: bcmgenet: Use stronger register read/writes to assure ordering
	tcp: ensure PMTU updates are processed during fastopen
	openvswitch: always update flow key after nat
	tipc: fix the timer expires after interval 100ms
	mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
	mxser: fix xmit_buf leak in activate when LSR == 0xff
	pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
	fsi: aspeed: convert to devm_platform_ioremap_resource
	fsi: Aspeed: Fix a potential double free
	misc: alcor_pci: Fix an error handling path
	cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
	soundwire: intel: fix wrong register name in intel_shim_wake
	clk: qcom: ipq8074: fix PCI-E clock oops
	iio: mma8452: Fix probe failing when an i2c_device_id is used
	staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
	pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
	pinctrl: renesas: checker: Fix miscalculation of number of states
	clk: qcom: ipq8074: Use floor ops for SDCC1 clock
	phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
	serial: 8250_mid: Balance reference count for PCI DMA device
	serial: 8250_lpss: Balance reference count for PCI DMA device
	NFS: Use of mapping_set_error() results in spurious errors
	serial: 8250: Fix race condition in RTS-after-send handling
	iio: adc: Add check for devm_request_threaded_irq
	habanalabs: Add check for pci_enable_device
	NFS: Return valid errors from nfs2/3_decode_dirent()
	dma-debug: fix return value of __setup handlers
	clk: imx7d: Remove audio_mclk_root_clk
	clk: at91: sama7g5: fix parents of PDMCs' GCLK
	clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
	clk: qcom: clk-rcg2: Update the frac table for pixel clock
	dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
	remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
	remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
	remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
	nvdimm/region: Fix default alignment for small regions
	clk: actions: Terminate clk_div_table with sentinel element
	clk: loongson1: Terminate clk_div_table with sentinel element
	clk: clps711x: Terminate clk_div_table with sentinel element
	clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
	NFS: remove unneeded check in decode_devicenotify_args()
	staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
	staging: mt7621-dts: fix formatting
	staging: mt7621-dts: fix pinctrl properties for ethernet
	staging: mt7621-dts: fix GB-PC2 devicetree
	pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
	pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
	pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
	pinctrl: mediatek: paris: Fix pingroup pin config state readback
	pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
	pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
	pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
	tty: hvc: fix return value of __setup handler
	kgdboc: fix return value of __setup handler
	serial: 8250: fix XOFF/XON sending when DMA is used
	kgdbts: fix return value of __setup handler
	firmware: google: Properly state IOMEM dependency
	driver core: dd: fix return value of __setup handler
	jfs: fix divide error in dbNextAG
	netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
	NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
	kdb: Fix the putarea helper function
	clk: qcom: gcc-msm8994: Fix gpll4 width
	clk: Initialize orphan req_rate
	xen: fix is_xen_pmu()
	net: enetc: report software timestamping via SO_TIMESTAMPING
	net: hns3: fix bug when PF set the duplicate MAC address for VFs
	net: phy: broadcom: Fix brcm_fet_config_init()
	selftests: test_vxlan_under_vrf: Fix broken test case
	qlcnic: dcb: default to returning -EOPNOTSUPP
	net/x25: Fix null-ptr-deref caused by x25_disconnect
	NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
	net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
	fs: fd tables have to be multiples of BITS_PER_LONG
	lib/test: use after free in register_test_dev_kmod()
	fs: fix fd table size alignment properly
	LSM: general protection fault in legacy_parse_param
	regulator: rpi-panel: Handle I2C errors/timing to the Atmel
	gcc-plugins/stackleak: Exactly match strings instead of prefixes
	pinctrl: npcm: Fix broken references to chip->parent_device
	block, bfq: don't move oom_bfqq
	selinux: use correct type for context length
	selinux: allow FIOCLEX and FIONCLEX with policy capability
	loop: use sysfs_emit() in the sysfs xxx show()
	Fix incorrect type in assignment of ipv6 port for audit
	irqchip/qcom-pdc: Fix broken locking
	irqchip/nvic: Release nvic_base upon failure
	fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
	bfq: fix use-after-free in bfq_dispatch_request
	ACPICA: Avoid walking the ACPI Namespace if it is not there
	lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
	Revert "Revert "block, bfq: honor already-setup queue merges""
	ACPI/APEI: Limit printable size of BERT table data
	PM: core: keep irq flags in device_pm_check_callbacks()
	parisc: Fix handling off probe non-access faults
	nvme-tcp: lockdep: annotate in-kernel sockets
	spi: tegra20: Use of_device_get_match_data()
	locking/lockdep: Iterate lock_classes directly when reading lockdep files
	ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
	ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
	ext4: don't BUG if someone dirty pages without asking ext4 first
	f2fs: fix to do sanity check on curseg->alloc_type
	NFSD: Fix nfsd_breaker_owns_lease() return values
	f2fs: compress: fix to print raw data size in error path of lz4 decompression
	ntfs: add sanity check on allocation size
	media: staging: media: zoran: move videodev alloc
	media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
	media: staging: media: zoran: fix various V4L2 compliance errors
	media: ir_toy: free before error exiting
	video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
	video: fbdev: w100fb: Reset global state
	video: fbdev: cirrusfb: check pixclock to avoid divide by zero
	video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
	ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
	ARM: dts: bcm2837: Add the missing L1/L2 cache information
	ASoC: madera: Add dependencies on MFD
	media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
	media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
	ARM: ftrace: avoid redundant loads or clobbering IP
	ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
	arm64: defconfig: build imx-sdma as a module
	video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
	video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
	video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
	ARM: dts: bcm2711: Add the missing L1/L2 cache information
	ASoC: soc-core: skip zero num_dai component in searching dai name
	media: cx88-mpeg: clear interrupt status register before streaming video
	uaccess: fix type mismatch warnings from access_ok()
	lib/test_lockup: fix kernel pointer check for separate address spaces
	ARM: tegra: tamonten: Fix I2C3 pad setting
	ARM: mmp: Fix failure to remove sram device
	video: fbdev: sm712fb: Fix crash in smtcfb_write()
	media: Revert "media: em28xx: add missing em28xx_close_extension"
	media: hdpvr: initialize dev->worker at hdpvr_register_videodev
	mmc: host: Return an error when ->enable_sdio_irq() ops is missing
	media: atomisp: fix bad usage at error handling logic
	ALSA: hda/realtek: Add alc256-samsung-headphone fixup
	KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
	powerpc/kasan: Fix early region not updated correctly
	powerpc/lib/sstep: Fix 'sthcx' instruction
	powerpc/lib/sstep: Fix build errors with newer binutils
	powerpc: Fix build errors with newer binutils
	scsi: qla2xxx: Fix stuck session in gpdb
	scsi: qla2xxx: Fix scheduling while atomic
	scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
	scsi: qla2xxx: Fix warning for missing error code
	scsi: qla2xxx: Fix device reconnect in loop topology
	scsi: qla2xxx: Add devids and conditionals for 28xx
	scsi: qla2xxx: Check for firmware dump already collected
	scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
	scsi: qla2xxx: Fix disk failure to rediscover
	scsi: qla2xxx: Fix incorrect reporting of task management failure
	scsi: qla2xxx: Fix hang due to session stuck
	scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
	scsi: qla2xxx: Fix N2N inconsistent PLOGI
	scsi: qla2xxx: Reduce false trigger to login
	scsi: qla2xxx: Use correct feature type field during RFF_ID processing
	platform: chrome: Split trace include file
	KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
	KVM: Prevent module exit until all VMs are freed
	KVM: x86: fix sending PV IPI
	KVM: SVM: fix panic on out-of-bounds guest IRQ
	ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
	ubifs: rename_whiteout: Fix double free for whiteout_ui->data
	ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
	ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
	ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
	ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
	ubifs: Fix to add refcount once page is set private
	ubifs: rename_whiteout: correct old_dir size computing
	wireguard: queueing: use CFI-safe ptr_ring cleanup function
	wireguard: socket: free skb in send6 when ipv6 is disabled
	wireguard: socket: ignore v6 endpoints when ipv6 is disabled
	XArray: Fix xas_create_range() when multi-order entry present
	can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
	can: mcba_usb: properly check endpoint type
	can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
	XArray: Update the LRU list in xas_split()
	rtc: check if __rtc_read_time was successful
	gfs2: Make sure FITRIM minlen is rounded up to fs block size
	net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
	rxrpc: Fix call timer start racing with call destruction
	mailbox: imx: fix wakeup failure from freeze mode
	crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
	watch_queue: Free the page array when watch_queue is dismantled
	pinctrl: pinconf-generic: Print arguments for bias-pull-*
	watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
	pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
	pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
	ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
	ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
	ARM: iop32x: offset IRQ numbers by 1
	io_uring: fix memory leak of uid in files registration
	riscv module: remove (NOLOAD)
	ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
	platform/chrome: cros_ec_typec: Check for EC device
	can: isotp: restore accidentally removed MSG_PEEK feature
	proc: bootconfig: Add null pointer check
	staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
	ASoC: soc-compress: Change the check for codec_dai
	batman-adv: Check ptr for NULL before reducing its refcnt
	mm/mmap: return 1 from stack_guard_gap __setup() handler
	ARM: 9187/1: JIVE: fix return value of __setup handler
	mm/memcontrol: return 1 from cgroup.memory __setup() handler
	mm/usercopy: return 1 from hardened_usercopy __setup() handler
	bpf: Adjust BPF stack helper functions to accommodate skip > 0
	bpf: Fix comment for helper bpf_current_task_under_cgroup()
	dt-bindings: mtd: nand-controller: Fix the reg property description
	dt-bindings: mtd: nand-controller: Fix a comment in the examples
	dt-bindings: spi: mxic: The interrupt property is not mandatory
	ubi: fastmap: Return error code if memory allocation fails in add_aeb()
	ASoC: topology: Allow TLV control to be either read or write
	ARM: dts: spear1340: Update serial node properties
	ARM: dts: spear13xx: Update SPI dma properties
	um: Fix uml_mconsole stop/go
	docs: sysctl/kernel: add missing bit to panic_print
	openvswitch: Fixed nd target mask field in the flow dump.
	KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
	can: m_can: m_can_tx_handler(): fix use after free of skb
	can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
	coredump: Snapshot the vmas in do_coredump
	coredump: Remove the WARN_ON in dump_vma_snapshot
	coredump/elf: Pass coredump_params into fill_note_info
	coredump: Use the vma snapshot in fill_files_note
	arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
	PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
	Linux 5.10.110

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I12fbe227793dd40c0582588e1700cf88cafd0ac6
2022-04-18 17:41:18 +02:00
ec67040703 f2fs: fix to unlock page correctly in error path of is_alive()
commit 6d18762ed5cd549fde74fd0e05d4d87bac5a3beb upstream.

As Pavel Machek reported in below link [1]:

After commit 77900c45ee5c ("f2fs: fix to do sanity check in is_alive()"),
node page should be unlock via calling f2fs_put_page() in the error path
of is_alive(), otherwise, f2fs may hang when it tries to lock the node
page, fix it.

[1] https://lore.kernel.org/stable/20220124203637.GA19321@duo.ucw.cz/

Fixes: 77900c45ee5c ("f2fs: fix to do sanity check in is_alive()")
Cc: <stable@vger.kernel.org>
Reported-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 14:39:51 +02:00
ca562bf79c Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

2a2327c4e8ac FROMLIST: power_supply: Use of-thermal cdev registration API
b90fe5ef8f96 FROMLIST: power_supply: Register cooling device outside of probe
fc64efcd068c Revert "UPSTREAM: tracefs: Have tracefs directories not set OTH permission bits by default"
1eb3049da0eb FROMGIT: usb: dwc3: gadget: Prevent core from processing stale TRBs
ee1e2de73cc5 UPSTREAM: cgroup-v1: Require capabilities to set release_agent
7e6f112bebea FROMGIT: f2fs: move f2fs to use reader-unfair rwsems
23686f5ee870 UPSTREAM: f2fs: do not bother checkpoint by f2fs_get_node_info
fa055ddfd585 BACKPORT: f2fs: avoid down_write on nat_tree_lock during checkpoint
c8701aa0a76b ANDROID: GKI: enable RCU_BOOST
c34fa06f4bbb FROMLIST: rcu: Don't deboost before reporting expedited quiescent state
3a49d3b67726 FROMGIT: usb: f_fs: Fix use-after-free for epfile
250abe08bbb4 UPSTREAM: usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.
d449d91bc954 ANDROID: update new gki symbol
b2fcb7b63b30 ANDROID: abi: qcom: Add dma_{alloc,free}_noncoherent
5d79e49205a6 UPSTREAM: binder: fix async_free_space accounting for empty parcels
6aa9e78d6e98 FROMGIT: rcu: Allow expedited RCU grace periods on incoming CPUs
2f61ec09b01c ANDROID: abi_gki_aarch64_qcom: Add iommu_setup_dma_ops restricted vh
6a9ff8fa2669 ANDROID: iommu: Add restricted vendor hook
2aba795b317c FROMLIST: arm64: cpufeature: List early Cortex-A510 parts as having broken dbm
2861bbc5b5a4 FROMLIST: arm64: Add Cortex-A510 CPU part definition
b0d13db791b8 FROMGIT: printk: ringbuffer: Improve prb_next_seq() performance
4b1862e4fc69 ANDROID: incremental-fs: fix GPF in pending_reads_dispatch_ioctl
445019bbca5d UPSTREAM: bpf: Fix integer overflow in argument calculation for bpf_map_area_alloc
032a6762957f UPSTREAM: tee: handle lookup of shm with reference count 0
d461f54be339 ANDROID: Incremental-fs: Doc: correct a sysfs path in incfs.rst
1bfc9c16ae45 ANDROID: selftests: fix incfs_test
fd4c6594f5ce ANDROID: incremental-fs: fix mount_fs issue
a512242e66ce BACKPORT: arm64: errata: Add workaround for TSB flush failures
e48051244a03 UPSTREAM: arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
dd3256d4392c UPSTREAM: coresight: trbe: Defer the probe on offline CPUs
71aebf8793c5 UPSTREAM: coresight: etm4x: Use Trace Filtering controls dynamically
2bb8b3c90759 BACKPORT: coresight: etm4x: Save restore TRFCR_EL1
79b64fa78085 UPSTREAM: coresight: tmc-etr: Speed up for bounce buffer in flat mode
aee6af704646 UPSTREAM: coresight: tmc-etr: Add barrier after updating AUX ring buffer
a0009ade3873 Revert half of "ANDROID: cpu/hotplug: create vendor hook for cpu_up/cpu_down"
a863cef344a0 Revert half of "ANDROID: arm64: add vendor hooks for bti and pauth fault"
9f58bcd61459 Revert half of "ANDROID: vendor_hooks: Add param for android_vh_cpu_up/down"
4b3396046c76 Revert "ANDROID: vendor_hooks: Add a hook for task tagging"
d8fe0b1fc2f5 Revert "ANDROID: GKI: net: add vendor hooks for 'struct nf_conn' lifecycle"
92ab2aeca5ae Revert "ANDROID: GKI: net: add vendor hooks for 'struct sock' lifecycle"
b3e6d6eec69f Revert "ANDROID: vendor_hooks: add hook and OEM data for slab shrink"
e09000ee1915 Revert half of "ANDROID: vendor_hooks: Add hooks for memory when debug"
3f305a910171 Revert half of "ANDROID: gic-v3: Add vendor hook to GIC v3"
3b4ca92614fd Merge tag 'android12-5.10.81_r00' into android12-5.10
bdc732d112f3 UPSTREAM: tracefs: Set all files to the same group ownership as the mount option
8455746a4564 UPSTREAM: tracefs: Have new files inherit the ownership of their parent
9c63be2adac9 UPSTREAM: tracefs: Have tracefs directories not set OTH permission bits by default
64095600fd53 Revert "ANDROID: vendor_hooks: Add hooks to recognize special worker thread."
7887091009b2 Revert "ANDROID: sysrq: add vendor hook for sysrq crash information"
63e7148b2729 Revert "ANDROID: user: Add vendor hook to user for GKI purpose"
18975040b944 Revert portions of "ANDROID: sched: Add vendor hooks for sched."
96c08d921060 Revert portions of "ANDROID: vendor_hooks: Add hooks for scheduler"
a32e89883a53 UPSTREAM: vfs: fs_context: fix up param length parsing in legacy_parse_param

New functions/variables are now being tracked as well, that came from
the android12-5.10 branch:

Leaf changes summary: 5 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 4 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable

4 Added functions:

  [A] 'function int __traceiter_android_rvh_iommu_setup_dma_ops(void*, device*, u64, u64)'
  [A] 'function void* dma_alloc_noncoherent(device*, size_t, dma_addr_t*, dma_data_direction, gfp_t)'
  [A] 'function void dma_free_noncoherent(device*, size_t, void*, dma_addr_t, dma_data_direction)'
  [A] 'function void static_key_enable_cpuslocked(static_key*)'

1 Added variable:

  [A] 'tracepoint __tracepoint_android_rvh_iommu_setup_dma_ops'

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7a5a82681cc94f6b3dcd17e159da8976be0bcb78
2022-02-09 18:16:30 +01:00
7e6f112beb FROMGIT: f2fs: move f2fs to use reader-unfair rwsems
f2fs rw_semaphores work better if writers can starve readers,
especially for the checkpoint thread, because writers are strictly
more important than reader threads. This prevents significant priority
inversion between low-priority readers that blocked while trying to
acquire the read lock and a second acquisition of the write lock that
might be blocking high priority work.

Bug: 214413989
Signed-off-by: Tim Murray <timmurray@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit e4544b63a7ee49e7fbebf35ece0a6acd3b9617ae
  git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev)
Change-Id: Ia0eb86447488c5ba9845a6b2eb98652200e08281
2022-02-05 17:19:05 +00:00
23686f5ee8 UPSTREAM: f2fs: do not bother checkpoint by f2fs_get_node_info
This patch tries to mitigate lock contention between f2fs_write_checkpoint and
f2fs_get_node_info along with nat_tree_lock.

The idea is, if checkpoint is currently running, other threads that try to grab
nat_tree_lock would be better to wait for checkpoint.

Bug: 214413989
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit a9419b63bf414775e8aeee95d8c4a5e0df690748
    git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master)
Change-Id: I7e253e8bf26012e451330ba6ce00bfc3839bdda3
2022-02-05 17:18:56 +00:00
4ec3c2eea5 This is the 5.10.94 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmHya+IACgkQONu9yGCS
 aT7k/RAAqdd8bNhAiO6iDpvZbQtxq9jepx4KCkcd+gsYvSvePEnBQHaTaavfCK/7
 +taWsc2i6Hwc1Z4oVfUiU02cCsqMJJXqb0nfJaavE5cZspbTc7QeS0zv9BkzSKUZ
 +DxXWyjzeJquI7EbdU0n7inb0iwvBxmTGNIg2j1pPi81Q7XnpjmDsSvuoftRQ0AN
 DGYefowWL1VcfsZRfhEudnpxWC/DjOdB8zD34SgXxKat6/O8YG4T5pM2BOUlKtOW
 QcXFhpG6gU0XqmI3QQDvAESujOQxzC1u3AwIOHYJ/tlFYsUJXjiZIEVnMqPYGpNl
 fXS8xcNSeo6fipXWkzsc489Tteq9H+bfm8sBG0jhExRnyGckkihJDhRFZ9yBrzo/
 1PtUdUIJ4d5fUmdZp7gxucncFyIYFsyJm/5nsYmObP794oStPGKsH8llhp/PcEFF
 ua1+Gy2WW2f6BOaDVFmt+jWZRMa/3oZnFhe8/FPRsAjGOj+q/+V6bsksGDYupsrM
 x8/QQI6OVlnOZsrdpX7zkW46qLov0J0bO9cANTm7kcRaesrkikFKqiIF2uIW2OU6
 W0tZZf0Jy/gSLEljkZ3SuMHCmldWKm/KxMYSjnQ3Y34QvOLYPNAZGF78rbV3s8/0
 otGR3ra5TKCz1kxuDaE1FqZXxpPQidXbF4QUoaRIaPwA1k5NvLY=
 =ktJL
 -----END PGP SIGNATURE-----

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
08283b076f f2fs: fix to do sanity check in is_alive()
commit 77900c45ee5cd5da63bd4d818a41dbdf367e81cd upstream.

In fuzzed image, SSA table may indicate that a data block belongs to
invalid node, which node ID is out-of-range (0, 1, 2 or max_nid), in
order to avoid migrating inconsistent data in such corrupted image,
let's do sanity check anyway before data block migration.

Cc: stable@vger.kernel.org
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-27 10:53:41 +01:00
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
45cb5f86c1 f2fs: fix to account missing .skipped_gc_rwsem
[ Upstream commit ad126ebddecbf696e0cf214ff56c7b170fa9f0f7 ]

There is a missing place we forgot to account .skipped_gc_rwsem, fix it.

Fixes: 6f8d4455060d ("f2fs: avoid fi->i_gc_rwsem[WRITE] lock in f2fs_gc")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-18 13:40:16 +02:00
2830dd2faa f2fs: atgc: fix to set default age threshold
[ Upstream commit 89e53ff1651a61cf2abef9356e2f60d0086215be ]

Default age threshold value is missed to set, fix it.

Fixes: 093749e296e2 ("f2fs: support age threshold based garbage collection")
Reported-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:05:49 +02:00
11cec52238 FROMGIT: f2fs: add sysfs nodes to get GC info for each GC mode
Added gc_reclaimed_segments and gc_segment_mode sysfs nodes.
1) "gc_reclaimed_segments" shows how many segments have been
reclaimed by GC during a specific GC mode.
2) "gc_segment_mode" is used to control for which gc mode
the "gc_reclaimed_segments" node shows.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

Bug: 182708936
(cherry picked from commit 07c6b5933ebf58b6132aea9f3e72a62486882bfb
 git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev)
Change-Id: Ie8c2ccf5d36ce2f388c98b77e22848f3ff6645c3
Signed-off-by: Daeho Jeong <daehojeong@google.com>
2021-07-16 00:21:51 +00:00
c81ac64da1 f2fs: remove false alarm on iget failure during GC
This patch removes setting SBI_NEED_FSCK when GC gets an error on f2fs_iget,
since f2fs_iget can give ENOMEM and others by race condition.
If we set this critical fsck flag, we'll get EIO during fsync via the below
code path.

In f2fs_inplace_write_data(),

	if (is_sbi_flag_set(sbi, SBI_NEED_FSCK) || f2fs_cp_error(sbi)) {
		err = -EIO;
		goto drop_bio;
	}

Fixes: 9557727876674 ("f2fs: drop inplace IO if fs status is abnormal")
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-06-23 01:41:57 -07:00
ec3ea14d2f f2fs: compress: add compress_inode to cache compressed blocks
Support to use address space of inner inode to cache compressed block,
in order to improve cache hit ratio of random read.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-06-07 10:21:37 -07:00
b5a393c8a8 f2fs: logging neatening
Update the logging uses that have unnecessary newlines as the f2fs_printk
function and so its f2fs_<level> macro callers already adds one.

This allows searching single line logging entries with an easier grep and
also avoids unnecessary blank lines in the logging.

Miscellanea:

o Coalesce formats
o Align to open parenthesis

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-06-07 10:21:33 -07:00
bb5f20d10c f2fs: atgc: fix to set default age threshold
Default age threshold value is missed to set, fix it.

Fixes: 093749e296e2 ("f2fs: support age threshold based garbage collection")
Reported-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-05-24 10:21:04 -07:00
bdc14e1a49 f2fs: restructure f2fs page.private layout
Restruct f2fs page private layout for below reasons:

There are some cases that f2fs wants to set a flag in a page to
indicate a specified status of page:
a) page is in transaction list for atomic write
b) page contains dummy data for aligned write
c) page is migrating for GC
d) page contains inline data for inline inode flush
e) page belongs to merkle tree, and is verified for fsverity
f) page is dirty and has filesystem/inode reference count for writeback
g) page is temporary and has decompress io context reference for compression

There are existed places in page structure we can use to store
f2fs private status/data:
- page.flags: PG_checked, PG_private
- page.private

However it was a mess when we using them, which may cause potential
confliction:
		page.private	PG_private	PG_checked	page._refcount (+1 at most)
a)		-1		set				+1
b)		-2		set
c), d), e)					set
f)		0		set				+1
g)		pointer		set

The other problem is page.flags has no free slot, if we can avoid set
zero to page.private and set PG_private flag, then we use non-zero value
to indicate PG_private status, so that we may have chance to reclaim
PG_private slot for other usage. [1]

The other concern is f2fs has bad scalability in aspect of indicating
more page status.

So in this patch, let's restructure f2fs' page.private as below to
solve above issues:

Layout A: lowest bit should be 1
| bit0 = 1 | bit1 | bit2 | ... | bit MAX | private data .... |
 bit 0	PAGE_PRIVATE_NOT_POINTER
 bit 1	PAGE_PRIVATE_ATOMIC_WRITE
 bit 2	PAGE_PRIVATE_DUMMY_WRITE
 bit 3	PAGE_PRIVATE_ONGOING_MIGRATION
 bit 4	PAGE_PRIVATE_INLINE_INODE
 bit 5	PAGE_PRIVATE_REF_RESOURCE
 bit 6-	f2fs private data

Layout B: lowest bit should be 0
 page.private is a wrapped pointer.

After the change:
		page.private	PG_private	PG_checked	page._refcount (+1 at most)
a)		11		set				+1
b)		101		set				+1
c)		1001		set				+1
d)		10001		set				+1
e)						set
f)		100001		set				+1
g)		pointer		set				+1

[1] https://lore.kernel.org/linux-f2fs-devel/20210422154705.GO3596236@casper.infradead.org/T/#u

Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-05-24 10:21:02 -07:00
105155a814 f2fs: fix to avoid touching checkpointed data in get_victim()
[ Upstream commit 61461fc921b756ae16e64243f72af2bfc2e620db ]

In CP disabling mode, there are two issues when using LFS or SSR | AT_SSR
mode to select victim:

1. LFS is set to find source section during GC, the victim should have
no checkpointed data, since after GC, section could not be set free for
reuse.

Previously, we only check valid chpt blocks in current segment rather
than section, fix it.

2. SSR | AT_SSR are set to find target segment for writes which can be
fully filled by checkpointed and newly written blocks, we should never
select such segment, otherwise it can cause panic or data corruption
during allocation, potential case is described as below:

 a) target segment has 'n' (n < 512) ckpt valid blocks
 b) GC migrates 'n' valid blocks to other segment (segment is still
    in dirty list)
 c) GC migrates '512 - n' blocks to target segment (segment has 'n'
    cp_vblocks and '512 - n' vblocks)
 d) If GC selects target segment via {AT,}SSR allocator, however there
    is no free space in targe segment.

Fixes: 4354994f097d ("f2fs: checkpoint disabling")
Fixes: 093749e296e2 ("f2fs: support age threshold based garbage collection")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-19 10:13:02 +02:00
1c20a48964 f2fs: fix panic during f2fs_resize_fs()
[ Upstream commit 3ab0598e6d860ef49d029943ba80f627c15c15d6 ]

f2fs_resize_fs() hangs in below callstack with testcase:
- mkfs 16GB image & mount image
- dd 8GB fileA
- dd 8GB fileB
- sync
- rm fileA
- sync
- resize filesystem to 8GB

kernel BUG at segment.c:2484!
Call Trace:
 allocate_segment_by_default+0x92/0xf0 [f2fs]
 f2fs_allocate_data_block+0x44b/0x7e0 [f2fs]
 do_write_page+0x5a/0x110 [f2fs]
 f2fs_outplace_write_data+0x55/0x100 [f2fs]
 f2fs_do_write_data_page+0x392/0x850 [f2fs]
 move_data_page+0x233/0x320 [f2fs]
 do_garbage_collect+0x14d9/0x1660 [f2fs]
 free_segment_range+0x1f7/0x310 [f2fs]
 f2fs_resize_fs+0x118/0x330 [f2fs]
 __f2fs_ioctl+0x487/0x3680 [f2fs]
 __x64_sys_ioctl+0x8e/0xd0
 do_syscall_64+0x33/0x80
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

The root cause is we forgot to check that whether we have enough space
in resized filesystem to store all valid blocks in before-resizing
filesystem, then allocator will run out-of-space during block migration
in free_segment_range().

Fixes: b4b10061ef98 ("f2fs: refactor resize_fs to avoid meta updates in progress")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-19 10:13:00 +02:00
81ba1634d1 f2fs: fix to allow migrating fully valid segment
[ Upstream commit 7dede88659df38f96128ab3922c50dde2d29c574 ]

F2FS_IOC_FLUSH_DEVICE/F2FS_IOC_RESIZE_FS needs to migrate all blocks of
target segment to other place, no matter the segment has partially or fully
valid blocks.

However, after commit 803e74be04b3 ("f2fs: stop GC when the victim becomes
fully valid"), we may skip migration due to target segment is fully valid,
result in failing the ioctl interface, fix this.

Fixes: 803e74be04b3 ("f2fs: stop GC when the victim becomes fully valid")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-19 10:13:00 +02:00
f10ea3ce74 f2fs: clean up build warnings
This patch combined the below three clean-up patches.

- modify open brace '{' following function definitions
- ERROR: spaces required around that ':'
- ERROR: spaces required before the open parenthesis '('
- ERROR: spaces prohibited before that ','
- Made suggested modifications from checkpatch in reference to WARNING:
 Missing a blank line after declarations

Signed-off-by: Yi Zhuang <zhuangyi1@huawei.com>
Signed-off-by: Jia Yang <jiayang5@huawei.com>
Signed-off-by: Jack Qiu <jack.qiu@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-04-11 20:34:05 -07:00
b667340b25 f2fs: introduce gc_merge mount option
In this patch, we will add two new mount options: "gc_merge" and
"nogc_merge", when background_gc is on, "gc_merge" option can be
set to let background GC thread to handle foreground GC requests,
it can eliminate the sluggish issue caused by slow foreground GC
operation when GC is triggered from a process with limited I/O
and CPU resources.

Original idea is from Xiang.

Signed-off-by: Gao Xiang <xiang@kernel.org>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-03-30 20:59:19 -07:00
adbeec301c f2fs: fix to avoid touching checkpointed data in get_victim()
In CP disabling mode, there are two issues when using LFS or SSR | AT_SSR
mode to select victim:

1. LFS is set to find source section during GC, the victim should have
no checkpointed data, since after GC, section could not be set free for
reuse.

Previously, we only check valid chpt blocks in current segment rather
than section, fix it.

2. SSR | AT_SSR are set to find target segment for writes which can be
fully filled by checkpointed and newly written blocks, we should never
select such segment, otherwise it can cause panic or data corruption
during allocation, potential case is described as below:

 a) target segment has 128 ckpt valid blocks
 b) GC migrates 'n' (n < 512) valid blocks to other segment (segment is
    still in dirty list)
 c) GC migrates '512 - n' blocks to target segment (segment has 'n'
    cp_vblocks and '512 - n' vblocks)
 d) If GC selects target segment via {AT,}SSR allocator, however there
    is no free space in targe segment.

Fixes: 4354994f097d ("f2fs: checkpoint disabling")
Fixes: 093749e296e2 ("f2fs: support age threshold based garbage collection")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-03-25 18:26:16 -07:00
f7dca8471d f2fs: do not use AT_SSR mode in FG_GC & high urgent BG_GC
AT_SSR mode is introduced by age threshold based GC for better
hot/cold data seperation and avoiding free segment cost. However,
LFS write mode is preferred in the scenario of foreground or high
urgent GC, which should be finished ASAP. Let's only use AT_SSR
in background GC and not high urgent GC modes.

Signed-off-by: Weichao Guo <guoweichao@oppo.com>
Signed-off-by: Huang Jianan <huangjianan@oppo.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-03-25 18:26:15 -07:00
841a52ae07 f2fs: fix panic during f2fs_resize_fs()
f2fs_resize_fs() hangs in below callstack with testcase:
- mkfs 16GB image & mount image
- dd 8GB fileA
- dd 8GB fileB
- sync
- rm fileA
- sync
- resize filesystem to 8GB

kernel BUG at segment.c:2484!
Call Trace:
 allocate_segment_by_default+0x92/0xf0 [f2fs]
 f2fs_allocate_data_block+0x44b/0x7e0 [f2fs]
 do_write_page+0x5a/0x110 [f2fs]
 f2fs_outplace_write_data+0x55/0x100 [f2fs]
 f2fs_do_write_data_page+0x392/0x850 [f2fs]
 move_data_page+0x233/0x320 [f2fs]
 do_garbage_collect+0x14d9/0x1660 [f2fs]
 free_segment_range+0x1f7/0x310 [f2fs]
 f2fs_resize_fs+0x118/0x330 [f2fs]
 __f2fs_ioctl+0x487/0x3680 [f2fs]
 __x64_sys_ioctl+0x8e/0xd0
 do_syscall_64+0x33/0x80
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

The root cause is we forgot to check that whether we have enough space
in resized filesystem to store all valid blocks in before-resizing
filesystem, then allocator will run out-of-space during block migration
in free_segment_range().

Fixes: b4b10061ef98 ("f2fs: refactor resize_fs to avoid meta updates in progress")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-03-24 15:50:08 -07:00
ba25abde92 f2fs: fix to allow migrating fully valid segment
F2FS_IOC_FLUSH_DEVICE/F2FS_IOC_RESIZE_FS needs to migrate all blocks of
target segment to other place, no matter the segment has partially or fully
valid blocks.

However, after commit 803e74be04b3 ("f2fs: stop GC when the victim becomes
fully valid"), we may skip migration due to target segment is fully valid,
result in failing the ioctl interface, fix this.

Fixes: 803e74be04b3 ("f2fs: stop GC when the victim becomes fully valid")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-03-24 15:50:07 -07:00
e12d322bd5 f2fs: trival cleanup in move_data_block()
Trival cleanups:
- relocate set_summary() before its use
- relocate "allocate block address" to correct place
- remove unneeded f2fs_wait_on_page_writeback()

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-01-26 23:06:00 -08:00
301e31717e f2fs: change to use rwsem for cp_mutex
Use rwsem to ensure serialization of the callers and to avoid
starvation of high priority tasks, when the system is under
heavy IO workload.

Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-12-21 13:33:14 -08:00
c8eb702484 f2fs: clean up kvfree
After commit 0b6d4ca04a86 ("f2fs: don't return vmalloc() memory from
f2fs_kmalloc()"), f2fs_k{m,z}alloc() will not return vmalloc()'ed
memory, so clean up to use kfree() instead of kvfree() to free
vmalloc()'ed memory.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-09-14 11:15:37 -07:00
093749e296 f2fs: support age threshold based garbage collection
There are several issues in current background GC algorithm:
- valid blocks is one of key factors during cost overhead calculation,
so if segment has less valid block, however even its age is young or
it locates hot segment, CB algorithm will still choose the segment as
victim, it's not appropriate.
- GCed data/node will go to existing logs, no matter in-there datas'
update frequency is the same or not, it may mix hot and cold data
again.
- GC alloctor mainly use LFS type segment, it will cost free segment
more quickly.

This patch introduces a new algorithm named age threshold based
garbage collection to solve above issues, there are three steps
mainly:

1. select a source victim:
- set an age threshold, and select candidates beased threshold:
e.g.
 0 means youngest, 100 means oldest, if we set age threshold to 80
 then select dirty segments which has age in range of [80, 100] as
 candiddates;
- set candidate_ratio threshold, and select candidates based the
ratio, so that we can shrink candidates to those oldest segments;
- select target segment with fewest valid blocks in order to
migrate blocks with minimum cost;

2. select a target victim:
- select candidates beased age threshold;
- set candidate_radius threshold, search candidates whose age is
around source victims, searching radius should less than the
radius threshold.
- select target segment with most valid blocks in order to avoid
migrating current target segment.

3. merge valid blocks from source victim into target victim with
SSR alloctor.

Test steps:
- create 160 dirty segments:
 * half of them have 128 valid blocks per segment
 * left of them have 384 valid blocks per segment
- run background GC

Benefit: GC count and block movement count both decrease obviously:

- Before:
  - Valid: 86
  - Dirty: 1
  - Prefree: 11
  - Free: 6001 (6001)

GC calls: 162 (BG: 220)
  - data segments : 160 (160)
  - node segments : 2 (2)
Try to move 41454 blocks (BG: 41454)
  - data blocks : 40960 (40960)
  - node blocks : 494 (494)

IPU: 0 blocks
SSR: 0 blocks in 0 segments
LFS: 41364 blocks in 81 segments

- After:

  - Valid: 87
  - Dirty: 0
  - Prefree: 4
  - Free: 6008 (6008)

GC calls: 75 (BG: 76)
  - data segments : 74 (74)
  - node segments : 1 (1)
Try to move 12813 blocks (BG: 12813)
  - data blocks : 12544 (12544)
  - node blocks : 269 (269)

IPU: 0 blocks
SSR: 12032 blocks in 77 segments
LFS: 855 blocks in 2 segments

Signed-off-by: Chao Yu <yuchao0@huawei.com>
[Jaegeuk Kim: fix a bug along with pinfile in-mem segment & clean up]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-09-11 11:11:15 -07:00
c5d02785c5 f2fs: inherit mtime of original block during GC
Don't let f2fs inner GC ruins original aging degree of segment.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-09-10 14:03:30 -07:00
d0b9e42ab6 f2fs: introduce inmem curseg
Previous implementation of aligned pinfile allocation will:
- allocate new segment on cold data log no matter whether last used
segment is partially used or not, it makes IOs more random;
- force concurrent cold data/GCed IO going into warm data area, it
can make a bad effect on hot/cold data separation;

In this patch, we introduce a new type of log named 'inmem curseg',
the differents from normal curseg is:
- it reuses existed segment type (CURSEG_XXX_NODE/DATA);
- it only exists in memory, its segno, blkofs, summary will not b
 persisted into checkpoint area;

With this new feature, we can enhance scalability of log, special
allocators can be created for purposes:
- pure lfs allocator for aligned pinfile allocation or file
defragmentation
- pure ssr allocator for later feature

So that, let's update aligned pinfile allocation to use this new
inmem curseg fwk.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-09-10 14:03:30 -07:00
de881df977 f2fs: support zone capacity less than zone size
NVMe Zoned Namespace devices can have zone-capacity less than zone-size.
Zone-capacity indicates the maximum number of sectors that are usable in
a zone beginning from the first sector of the zone. This makes the sectors
sectors after the zone-capacity till zone-size to be unusable.
This patch set tracks zone-size and zone-capacity in zoned devices and
calculate the usable blocks per segment and usable segments per section.

If zone-capacity is less than zone-size mark only those segments which
start before zone-capacity as free segments. All segments at and beyond
zone-capacity are treated as permanently used segments. In cases where
zone-capacity does not align with segment size the last segment will start
before zone-capacity and end beyond the zone-capacity of the zone. For
such spanning segments only sectors within the zone-capacity are used.

During writes and GC manage the usable segments in a section and usable
blocks per segment. Segments which are beyond zone-capacity are never
allocated, and do not need to be garbage collected, only the segments
which are before zone-capacity needs to garbage collected.
For spanning segments based on the number of usable blocks in that
segment, write to blocks only up to zone-capacity.

Zone-capacity is device specific and cannot be configured by the user.
Since NVMe ZNS device zones are sequentially write only, a block device
with conventional zones or any normal block device is needed along with
the ZNS device for the metadata operations of F2fs.

A typical nvme-cli output of a zoned device shows zone start and capacity
and write pointer as below:

SLBA: 0x0     WP: 0x0     Cap: 0x18800 State: EMPTY Type: SEQWRITE_REQ
SLBA: 0x20000 WP: 0x20000 Cap: 0x18800 State: EMPTY Type: SEQWRITE_REQ
SLBA: 0x40000 WP: 0x40000 Cap: 0x18800 State: EMPTY Type: SEQWRITE_REQ

Here zone size is 64MB, capacity is 49MB, WP is at zone start as the zones
are in EMPTY state. For each zone, only zone start + 49MB is usable area,
any lba/sector after 49MB cannot be read or written to, the drive will fail
any attempts to read/write. So, the second zone starts at 64MB and is
usable till 113MB (64 + 49) and the range between 113 and 128MB is
again unusable. The next zone starts at 128MB, and so on.

Signed-off-by: Aravind Ramesh <aravind.ramesh@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-09-10 14:03:29 -07:00
0e5e81114d f2fs: add GC_URGENT_LOW mode in gc_urgent
Added a new gc_urgent mode, GC_URGENT_LOW, in which mode
F2FS will lower the bar of checking idle in order to
process outstanding discard commands and GC a little bit
aggressively.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-07-07 21:51:49 -07:00
d7cd3702ca f2fs: fix return value of move_data_block()
If f2fs_grab_cache_page() fails, it needs to return -ENOMEM.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-07-07 21:51:48 -07:00
9776750078 f2fs: add f2fs_gc exception handle in f2fs_ioc_gc_range
When f2fs_ioc_gc_range performs multiple segments gc ops, the return
value of f2fs_ioc_gc_range is determined by the last segment gc ops.
If its ops failed, the f2fs_ioc_gc_range will be considered to be failed
despite some of previous segments gc ops succeeded. Therefore, so we
fix: Redefine the return value of getting victim ops and add exception
handle for f2fs_gc. In particular, 1).if target has no valid block, it
will go on. 2).if target sectoion has valid block(s), but it is current
section, we will reminder the caller.

Signed-off-by: Qilong Zhang <zhangqilong3@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-07-07 21:51:44 -07:00
f608c38c59 f2fs: clean up parameter of f2fs_allocate_data_block()
Use validation of @fio to inidcate whether caller want to serialize IOs
in io.io_list or not, then @add_list will be redundant, remove it.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-07-07 21:51:44 -07:00
0ef818335f f2fs: add prefix for exported symbols
to avoid polluting global symbol namespace.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-07-07 21:51:43 -07:00
da52f8ade4 f2fs: get the right gc victim section when section has several segments
Assume each section has 4 segment:
     .___________________________.
     |_Segment0_|_..._|_Segment3_|
     .                          .
     .                  .
     .__________.
     |_section0_|

Segment 0~2 has 0 valid block, segment 3 has 512 valid blocks.
It will fail if we want to gc section0 in this scenes,
because all 4 segments in section0 is not dirty.
So we should use dirty section bitmap instead of dirty segment bitmap
to get right victim section.

Signed-off-by: Jack Qiu <jack.qiu@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-06-18 12:35:38 -07:00
9c1223845a f2fs: add compressed/gc data read IO stat
in order to account data read IOs more accurately.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-05-11 20:37:13 -07:00
b4b10061ef f2fs: refactor resize_fs to avoid meta updates in progress
Sahitya raised an issue:
- prevent meta updates while checkpoint is in progress

allocate_segment_for_resize() can cause metapage updates if
it requires to change the current node/data segments for resizing.
Stop these meta updates when there is a checkpoint already
in progress to prevent inconsistent CP data.

Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-05-11 20:37:13 -07:00
8b83ac81f4 f2fs: support read iostat
Adds to support accounting read IOs from userspace/kernel.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2020-04-17 09:17:00 -07:00