Commit Graph

245 Commits

Author SHA1 Message Date
Greg Kroah-Hartman
e09000ee19 Revert half of "ANDROID: vendor_hooks: Add hooks for memory when debug"
This reverts parts of commit 24149445ad.

The hooks android_vh_alloc_pages_slowpath,
android_vh_print_slabinfo_header, and android_vh_cache_show are not used
by any vendor, so remove them to help with merge issues with future LTS
releases.

If this is needed by any real user, it can easily be reverted to add it
back and then the symbol should be added to the abi list at the same
time to prevent it from being removed again later.

Bug: 182443489
Cc: Liujie Xie <xieliujie@oppo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I63621110c0c38b7e5d5e5e6f85c513bf00ecc00b
2022-01-21 13:11:10 +01:00
Greg Kroah-Hartman
66379c1ee5 Merge tag 'android12-5.10.66_r00' into android12-5.10
This is the merge of the upstream LTS release of 5.10.66 into the
android12-5.10 branch.

There are 2 new symbols added to be tracked:

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

2 Added functions:

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

It contains the following new commits:

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

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4cb43e42abd29006bab26b7e65ecfa052e10eed9
2021-10-21 09:45:02 +02:00
Vlastimil Babka
96beb15eb2 UPSTREAM: mm, slub: move slub_debug static key enabling outside slab_mutex
Paul E.  McKenney reported [1] that commit 1f0723a4c0df ("mm, slub: enable
slub_debug static key when creating cache with explicit debug flags")
results in the lockdep complaint:

 ======================================================
 WARNING: possible circular locking dependency detected
 5.12.0+ #15 Not tainted
 ------------------------------------------------------
 rcu_torture_sta/109 is trying to acquire lock:
 ffffffff96063cd0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_enable+0x9/0x20

 but task is already holding lock:
 ffffffff96173c28 (slab_mutex){+.+.}-{3:3}, at: kmem_cache_create_usercopy+0x2d/0x250

 which lock already depends on the new lock.

 the existing dependency chain (in reverse order) is:

 -> #1 (slab_mutex){+.+.}-{3:3}:
        lock_acquire+0xb9/0x3a0
        __mutex_lock+0x8d/0x920
        slub_cpu_dead+0x15/0xf0
        cpuhp_invoke_callback+0x17a/0x7c0
        cpuhp_invoke_callback_range+0x3b/0x80
        _cpu_down+0xdf/0x2a0
        cpu_down+0x2c/0x50
        device_offline+0x82/0xb0
        remove_cpu+0x1a/0x30
        torture_offline+0x80/0x140
        torture_onoff+0x147/0x260
        kthread+0x10a/0x140
        ret_from_fork+0x22/0x30

 -> #0 (cpu_hotplug_lock){++++}-{0:0}:
        check_prev_add+0x8f/0xbf0
        __lock_acquire+0x13f0/0x1d80
        lock_acquire+0xb9/0x3a0
        cpus_read_lock+0x21/0xa0
        static_key_enable+0x9/0x20
        __kmem_cache_create+0x38d/0x430
        kmem_cache_create_usercopy+0x146/0x250
        kmem_cache_create+0xd/0x10
        rcu_torture_stats+0x79/0x280
        kthread+0x10a/0x140
        ret_from_fork+0x22/0x30

 other info that might help us debug this:

  Possible unsafe locking scenario:

        CPU0                    CPU1
        ----                    ----
   lock(slab_mutex);
                                lock(cpu_hotplug_lock);
                                lock(slab_mutex);
   lock(cpu_hotplug_lock);

  *** DEADLOCK ***

 1 lock held by rcu_torture_sta/109:
  #0: ffffffff96173c28 (slab_mutex){+.+.}-{3:3}, at: kmem_cache_create_usercopy+0x2d/0x250

 stack backtrace:
 CPU: 3 PID: 109 Comm: rcu_torture_sta Not tainted 5.12.0+ #15
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-1ubuntu1.1 04/01/2014
 Call Trace:
  dump_stack+0x6d/0x89
  check_noncircular+0xfe/0x110
  ? lock_is_held_type+0x98/0x110
  check_prev_add+0x8f/0xbf0
  __lock_acquire+0x13f0/0x1d80
  lock_acquire+0xb9/0x3a0
  ? static_key_enable+0x9/0x20
  ? mark_held_locks+0x49/0x70
  cpus_read_lock+0x21/0xa0
  ? static_key_enable+0x9/0x20
  static_key_enable+0x9/0x20
  __kmem_cache_create+0x38d/0x430
  kmem_cache_create_usercopy+0x146/0x250
  ? rcu_torture_stats_print+0xd0/0xd0
  kmem_cache_create+0xd/0x10
  rcu_torture_stats+0x79/0x280
  ? rcu_torture_stats_print+0xd0/0xd0
  kthread+0x10a/0x140
  ? kthread_park+0x80/0x80
  ret_from_fork+0x22/0x30

This is because there's one order of locking from the hotplug callbacks:

lock(cpu_hotplug_lock); // from hotplug machinery itself
lock(slab_mutex); // in e.g. slab_mem_going_offline_callback()

And commit 1f0723a4c0df made the reverse sequence possible:
lock(slab_mutex); // in kmem_cache_create_usercopy()
lock(cpu_hotplug_lock); // kmem_cache_open() -> static_key_enable()

The simplest fix is to move static_key_enable() to a place before slab_mutex is
taken. That means kmem_cache_create_usercopy() in mm/slab_common.c which is not
ideal for SLUB-specific code, but the #ifdef CONFIG_SLUB_DEBUG makes it
at least self-contained and obvious.

[1] https://lore.kernel.org/lkml/20210502171827.GA3670492@paulmck-ThinkPad-P17-Gen-1/

Link: https://lkml.kernel.org/r/20210504120019.26791-1-vbabka@suse.cz
Fixes: 1f0723a4c0df ("mm, slub: enable slub_debug static key when creating cache with explicit debug flags")
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reported-by: Paul E. McKenney <paulmck@kernel.org>
Tested-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit afe0c26d1968fe3bbef6a45df945bfeff774ca75)

Bug: 199581299
Signed-off-by: Liujie Xie <xieliujie@oppo.com>
Change-Id: I72fd0d24e4ca0ee9bd261547133fb6046c8b5f6a
2021-09-16 11:46:17 +08:00
Greg Kroah-Hartman
639159686b Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

6c3417436a ANDROID: kernel: fix module info for debug_kinfo
774f1bd29c ANDROID: Disable CFI on restricted vendor hooks in TRACE_HEADER_MULTI_READ
90c60a51f5 UPSTREAM: f2fs: guarantee to write dirty data when enabling checkpoint back
8cf5bb6946 UPSTREAM: mm: memblock: fix section mismatch warning again
f00a543047 FROMLIST: usb: gadget: u_audio: EP-OUT bInterval in fback frequency
3f26745cae FROMLIST: usb: gadget: f_uac2: fixed EP-IN wMaxPacketSize
ab9ceb4334 FROMLIST: usb: gadget: f_uac2: Add missing companion descriptor for feedback EP
35afadf0da FROMLIST: thermal: Fix a NULL pointer dereference
3d371f087c UPSTREAM: usb: gadget: f_uac2: fixup feedback endpoint stop
406a51b486 UPSTREAM: usb: gadget: u_audio: add real feedback implementation
d33287acf3 UPSTREAM: usb: gadget: f_uac2: add adaptive sync support for capture
c71892dd9e UPSTREAM: usb: gadget: f_uac2/u_audio: add feedback endpoint support
a844dfbbcb UPSTREAM: usb: gadget: u_audio: convert to strscpy
955f917251 ANDROID: vendor_hooks: Add hook in try_to_unmap_one()
878e0caa77 ANDROID: vendor_hooks: Add hook in mmap_region()
b0778aaff4 ANDROID: vendor_hooks: export android_vh_kmalloc_slab
94fbab9d6c ANDROID: vendor_hooks: Add hook in kmalloc_slab()
73839b71c8 FROMGIT: usb: dwc3: Decouple USB 2.0 L1 & L2 events
2c68b9071d ANDROID: GKI: update xiaomi symbol list
8da32d526d ANDROID: cfi: explicitly clear diag in __cfi_slowpath

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I71c4d03d373d9cef0c467ceea52b62ada755e701
2021-09-13 18:12:07 +02:00
Liujie Xie
94fbab9d6c ANDROID: vendor_hooks: Add hook in kmalloc_slab()
Add hook in kmalloc_slab() for debug kmalloc slab memory leak.

Bug: 197614797

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

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I99f37c9f257f90ccdb091306f3d4cfb7c32e3880
2021-06-23 17:53:08 +02:00
Kees Cook
4314c8c63b mm/slub: fix redzoning for small allocations
commit 74c1d3e081533825f2611e46edea1fcdc0701985 upstream.

The redzone area for SLUB exists between s->object_size and s->inuse
(which is at least the word-aligned object_size).  If a cache were
created with an object_size smaller than sizeof(void *), the in-object
stored freelist pointer would overwrite the redzone (e.g.  with boot
param "slub_debug=ZF"):

  BUG test (Tainted: G    B            ): Right Redzone overwritten
  -----------------------------------------------------------------------------

  INFO: 0xffff957ead1c05de-0xffff957ead1c05df @offset=1502. First byte 0x1a instead of 0xbb
  INFO: Slab 0xffffef3950b47000 objects=170 used=170 fp=0x0000000000000000 flags=0x8000000000000200
  INFO: Object 0xffff957ead1c05d8 @offset=1496 fp=0xffff957ead1c0620

  Redzone  (____ptrval____): bb bb bb bb bb bb bb bb    ........
  Object   (____ptrval____): f6 f4 a5 40 1d e8          ...@..
  Redzone  (____ptrval____): 1a aa                      ..
  Padding  (____ptrval____): 00 00 00 00 00 00 00 00    ........

Store the freelist pointer out of line when object_size is smaller than
sizeof(void *) and redzoning is enabled.

Additionally remove the "smaller than sizeof(void *)" check under
CONFIG_DEBUG_VM in kmem_cache_sanity_check() as it is now redundant:
SLAB and SLOB both handle small sizes.

(Note that no caches within this size range are known to exist in the
kernel currently.)

Link: https://lkml.kernel.org/r/20210608183955.280836-3-keescook@chromium.org
Fixes: 81819f0fc8 ("SLUB core")
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Christoph Lameter <cl@linux.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: "Lin, Zhenpeng" <zplin@psu.edu>
Cc: Marco Elver <elver@google.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Roman Gushchin <guro@fb.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-23 14:42:54 +02:00
Faiyaz Mohammed
54e7412d4f FROMGIT: mm: slub: move sysfs slab alloc/free interfaces to debugfs
alloc_calls and free_calls implementation in sysfs have two issues, one is
PAGE_SIZE limitation of sysfs and other is it does not adhere to "one
value per file" rule.

To overcome this issues, move the alloc_calls and free_calls
implementation to debugfs.

Debugfs cache will be created if SLAB_STORE_USER flag is set.

Rename the alloc_calls/free_calls to alloc_traces/free_traces, to be
inline with what it does.

Link: https://lkml.kernel.org/r/1623438200-19361-1-git-send-email-faiyazm@codeaurora.org
Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
BUG: 176858818
(cherry picked from commit d48f3da28a5b4c63bb76a2b4dea983aee38d9d2e
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit?h=next-20210615&id=d48f3da28a5b4c63bb76a2b4dea983aee38d9d2e)

Change-Id: I5426e48b13fe9944b9d4666e3cd9f2a7a4896018
Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org>
2021-06-15 18:11:57 +00:00
Greg Kroah-Hartman
e054456ced Merge 5.10.37 into android12-5.10
Changes in 5.10.37
	Bluetooth: verify AMP hci_chan before amp_destroy
	bluetooth: eliminate the potential race condition when removing the HCI controller
	net/nfc: fix use-after-free llcp_sock_bind/connect
	io_uring: truncate lengths larger than MAX_RW_COUNT on provide buffers
	Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL"
	usb: roles: Call try_module_get() from usb_role_switch_find_by_fwnode()
	tty: moxa: fix TIOCSSERIAL jiffies conversions
	tty: amiserial: fix TIOCSSERIAL permission check
	USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
	staging: greybus: uart: fix TIOCSSERIAL jiffies conversions
	USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
	staging: fwserial: fix TIOCSSERIAL jiffies conversions
	tty: moxa: fix TIOCSSERIAL permission check
	staging: fwserial: fix TIOCSSERIAL permission check
	drm: bridge: fix LONTIUM use of mipi_dsi_() functions
	usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
	usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply
	usb: typec: tcpm: update power supply once partner accepts
	usb: xhci-mtk: remove or operator for setting schedule parameters
	usb: xhci-mtk: improve bandwidth scheduling with TT
	ASoC: samsung: tm2_wm5110: check of of_parse return value
	ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function
	ASoC: tlv320aic32x4: Register clocks before registering component
	ASoC: tlv320aic32x4: Increase maximum register in regmap
	MIPS: pci-mt7620: fix PLL lock check
	MIPS: pci-rt2880: fix slot 0 configuration
	FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
	PCI: Allow VPD access for QLogic ISP2722
	KVM: x86: Defer the MMU unload to the normal path on an global INVPCID
	PCI: xgene: Fix cfg resource mapping
	PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c
	PM / devfreq: Unlock mutex and free devfreq struct in error path
	soc/tegra: regulators: Fix locking up when voltage-spread is out of range
	iio: inv_mpu6050: Fully validate gyro and accel scale writes
	iio:accel:adis16201: Fix wrong axis assignment that prevents loading
	iio:adc:ad7476: Fix remove handling
	sc16is7xx: Defer probe if device read fails
	phy: cadence: Sierra: Fix PHY power_on sequence
	misc: lis3lv02d: Fix false-positive WARN on various HP models
	phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()
	misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
	misc: vmw_vmci: explicitly initialize vmci_datagram payload
	selinux: add proper NULL termination to the secclass_map permissions
	x86, sched: Treat Intel SNC topology as default, COD as exception
	async_xor: increase src_offs when dropping destination page
	md/bitmap: wait for external bitmap writes to complete during tear down
	md-cluster: fix use-after-free issue when removing rdev
	md: split mddev_find
	md: factor out a mddev_find_locked helper from mddev_find
	md: md_open returns -EBUSY when entering racing area
	md: Fix missing unused status line of /proc/mdstat
	mt76: mt7615: use ieee80211_free_txskb() in mt7615_tx_token_put()
	ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
	cfg80211: scan: drop entry from hidden_list on overflow
	rtw88: Fix array overrun in rtw_get_tx_power_params()
	mt76: fix potential DMA mapping leak
	FDDI: defxx: Make MMIO the configuration default except for EISA
	drm/i915/gvt: Fix virtual display setup for BXT/APL
	drm/i915/gvt: Fix vfio_edid issue for BXT/APL
	drm/qxl: use ttm bo priorities
	drm/panfrost: Clear MMU irqs before handling the fault
	drm/panfrost: Don't try to map pages that are already mapped
	drm/radeon: fix copy of uninitialized variable back to userspace
	drm/dp_mst: Revise broadcast msg lct & lcr
	drm/dp_mst: Set CLEAR_PAYLOAD_ID_TABLE as broadcast
	drm: bridge/panel: Cleanup connector on bridge detach
	drm/amd/display: Reject non-zero src_y and src_x for video planes
	drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2
	ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
	ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
	ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries
	ALSA: hda/realtek: Re-order ALC269 HP quirk table entries
	ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries
	ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries
	ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries
	ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
	ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries
	ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries
	ALSA: hda/realtek: Re-order ALC662 quirk table entries
	ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
	ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable
	ALSA: hda/realtek: Fix speaker amp on HP Envy AiO 32
	KVM: s390: VSIE: correctly handle MVPG when in VSIE
	KVM: s390: split kvm_s390_logical_to_effective
	KVM: s390: fix guarded storage control register handling
	s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
	KVM: s390: VSIE: fix MVPG handling for prefixing and MSO
	KVM: s390: split kvm_s390_real_to_abs
	KVM: s390: extend kvm_s390_shadow_fault to return entry pointer
	KVM: x86/mmu: Alloc page for PDPTEs when shadowing 32-bit NPT with 64-bit
	KVM: x86: Remove emulator's broken checks on CR0/CR3/CR4 loads
	KVM: nSVM: Set the shadow root level to the TDP level for nested NPT
	KVM: SVM: Don't strip the C-bit from CR2 on #PF interception
	KVM: SVM: Do not allow SEV/SEV-ES initialization after vCPUs are created
	KVM: SVM: Inject #GP on guest MSR_TSC_AUX accesses if RDTSCP unsupported
	KVM: nVMX: Defer the MMU reload to the normal path on an EPTP switch
	KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit
	KVM: nVMX: Truncate base/index GPR value on address calc in !64-bit
	KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
	KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU
	KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
	KVM: arm64: Fully zero the vcpu state on reset
	KVM: arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read
	Revert "drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit"
	Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
	ovl: fix missing revert_creds() on error path
	Revert "drm/qxl: do not run release if qxl failed to init"
	usb: gadget: pch_udc: Revert d3cb25a121 completely
	Revert "tools/power turbostat: adjust for temperature offset"
	firmware: xilinx: Fix dereferencing freed memory
	firmware: xilinx: Add a blank line after function declaration
	firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)
	fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER
	crypto: sun8i-ss - fix result memory leak on error path
	memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]
	ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100
	ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family
	ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family
	ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family
	ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family
	ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250
	ARM: dts: exynos: correct PMIC interrupt trigger level on Snow
	ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family
	ARM: dts: renesas: Add mmc aliases into R-Car Gen2 board dts files
	arm64: dts: renesas: Add mmc aliases into board dts files
	x86/platform/uv: Set section block size for hubless architectures
	serial: stm32: fix code cleaning warnings and checks
	serial: stm32: add "_usart" prefix in functions name
	serial: stm32: fix probe and remove order for dma
	serial: stm32: Use of_device_get_match_data()
	serial: stm32: fix startup by enabling usart for reception
	serial: stm32: fix incorrect characters on console
	serial: stm32: fix TX and RX FIFO thresholds
	serial: stm32: fix a deadlock condition with wakeup event
	serial: stm32: fix wake-up flag handling
	serial: stm32: fix a deadlock in set_termios
	serial: stm32: fix tx dma completion, release channel
	serial: stm32: call stm32_transmit_chars locked
	serial: stm32: fix FIFO flush in startup and set_termios
	serial: stm32: add FIFO flush when port is closed
	serial: stm32: fix tx_empty condition
	usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS
	usb: typec: tps6598x: Fix return value check in tps6598x_probe()
	usb: typec: stusb160x: fix return value check in stusb160x_probe()
	regmap: set debugfs_name to NULL after it is freed
	spi: rockchip: avoid objtool warning
	mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
	mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
	mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions()
	mtd: rawnand: qcom: Return actual error code instead of -ENODEV
	mtd: don't lock when recursively deleting partitions
	mtd: maps: fix error return code of physmap_flash_remove()
	ARM: dts: stm32: fix usart 2 & 3 pinconf to wake up with flow control
	arm64: dts: qcom: sm8250: Fix level triggered PMU interrupt polarity
	arm64: dts: qcom: sm8250: Fix timer interrupt to specify EL2 physical timer
	arm64: dts: qcom: sdm845: fix number of pins in 'gpio-ranges'
	arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges'
	arm64: dts: qcom: sm8250: fix number of pins in 'gpio-ranges'
	arm64: dts: qcom: db845c: fix correct powerdown pin for WSA881x
	crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
	spi: stm32: drop devres version of spi_register_master
	regulator: bd9576: Fix return from bd957x_probe()
	arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding
	spi: stm32: Fix use-after-free on unbind
	x86/microcode: Check for offline CPUs before requesting new microcode
	devtmpfs: fix placement of complete() call
	usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
	usb: gadget: pch_udc: Check if driver is present before calling ->setup()
	usb: gadget: pch_udc: Check for DMA mapping error
	usb: gadget: pch_udc: Initialize device pointer before use
	usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)
	crypto: ccp - fix command queuing to TEE ring buffer
	crypto: qat - don't release uninitialized resources
	crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
	fotg210-udc: Fix DMA on EP0 for length > max packet size
	fotg210-udc: Fix EP0 IN requests bigger than two packets
	fotg210-udc: Remove a dubious condition leading to fotg210_done
	fotg210-udc: Mask GRP2 interrupts we don't handle
	fotg210-udc: Don't DMA more than the buffer can take
	fotg210-udc: Complete OUT requests on short packets
	usb: gadget: s3c: Fix incorrect resources releasing
	usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()'
	dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'
	mtd: require write permissions for locking and badblock ioctls
	arm64: dts: renesas: r8a779a0: Fix PMU interrupt
	bus: qcom: Put child node before return
	soundwire: bus: Fix device found flag correctly
	phy: ti: j721e-wiz: Delete "clk_div_sel" clk provider during cleanup
	phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
	arm64: dts: mediatek: fix reset GPIO level on pumpkin
	NFSD: Fix sparse warning in nfs4proc.c
	NFSv4.2: fix copy stateid copying for the async copy
	crypto: poly1305 - fix poly1305_core_setkey() declaration
	crypto: qat - fix error path in adf_isr_resource_alloc()
	usb: gadget: aspeed: fix dma map failure
	USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR()
	drivers: nvmem: Fix voltage settings for QTI qfprom-efuse
	driver core: platform: Declare early_platform_cleanup() prototype
	memory: pl353: fix mask of ECC page_size config register
	soundwire: stream: fix memory leak in stream config error path
	m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
	firmware: qcom_scm: Make __qcom_scm_is_call_available() return bool
	firmware: qcom_scm: Reduce locking section for __get_convention()
	firmware: qcom_scm: Workaround lack of "is available" call on SC7180
	iio: adc: Kconfig: make AD9467 depend on ADI_AXI_ADC symbol
	mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init
	irqchip/gic-v3: Fix OF_BAD_ADDR error handling
	staging: comedi: tests: ni_routes_test: Fix compilation error
	staging: rtl8192u: Fix potential infinite loop
	staging: fwserial: fix TIOCSSERIAL implementation
	staging: fwserial: fix TIOCGSERIAL implementation
	staging: greybus: uart: fix unprivileged TIOCCSERIAL
	soc: qcom: pdr: Fix error return code in pdr_register_listener
	PM / devfreq: Use more accurate returned new_freq as resume_freq
	clocksource/drivers/timer-ti-dm: Fix posted mode status check order
	clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped
	clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe()
	spi: Fix use-after-free with devm_spi_alloc_*
	spi: fsl: add missing iounmap() on error in of_fsl_spi_probe()
	soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
	soc: qcom: mdt_loader: Detect truncated read of segments
	PM: runtime: Replace inline function pm_runtime_callbacks_present()
	cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration
	ACPI: CPPC: Replace cppc_attr with kobj_attribute
	crypto: allwinner - add missing CRYPTO_ prefix
	crypto: sun8i-ss - Fix memory leak of pad
	crypto: sa2ul - Fix memory leak of rxd
	crypto: qat - Fix a double free in adf_create_ring
	cpufreq: armada-37xx: Fix setting TBG parent for load levels
	clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock
	cpufreq: armada-37xx: Fix the AVS value for load L1
	clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz
	clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0
	cpufreq: armada-37xx: Fix driver cleanup when registration failed
	cpufreq: armada-37xx: Fix determining base CPU frequency
	spi: spi-zynqmp-gqspi: use wait_for_completion_timeout to make zynqmp_qspi_exec_op not interruptible
	spi: spi-zynqmp-gqspi: add mutex locking for exec_op
	spi: spi-zynqmp-gqspi: transmit dummy circles by using the controller's internal functionality
	spi: spi-zynqmp-gqspi: fix incorrect operating mode in zynqmp_qspi_read_op
	spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
	usb: gadget: r8a66597: Add missing null check on return from platform_get_resource
	USB: cdc-acm: fix unprivileged TIOCCSERIAL
	USB: cdc-acm: fix TIOCGSERIAL implementation
	tty: actually undefine superseded ASYNC flags
	tty: fix return value for unsupported ioctls
	tty: Remove dead termiox code
	tty: fix return value for unsupported termiox ioctls
	serial: core: return early on unsupported ioctls
	firmware: qcom-scm: Fix QCOM_SCM configuration
	node: fix device cleanups in error handling code
	crypto: chelsio - Read rxchannel-id from firmware
	usbip: vudc: fix missing unlock on error in usbip_sockfd_store()
	m68k: Add missing mmap_read_lock() to sys_cacheflush()
	spi: spi-zynqmp-gqspi: Fix missing unlock on error in zynqmp_qspi_exec_op()
	memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
	memory: samsung: exynos5422-dmc: handle clk_set_parent() failure
	security: keys: trusted: fix TPM2 authorizations
	platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table
	ARM: dts: aspeed: Rainier: Fix humidity sensor bus address
	Drivers: hv: vmbus: Use after free in __vmbus_open()
	spi: spi-zynqmp-gqspi: fix clk_enable/disable imbalance issue
	spi: spi-zynqmp-gqspi: fix hang issue when suspend/resume
	spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op
	spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails
	x86/platform/uv: Fix !KEXEC build failure
	hwmon: (pmbus/pxe1610) don't bail out when not all pages are active
	Drivers: hv: vmbus: Increase wait time for VMbus unload
	PM: hibernate: x86: Use crc32 instead of md5 for hibernation e820 integrity check
	usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
	usb: dwc2: Fix hibernation between host and device modes.
	ttyprintk: Add TTY hangup callback.
	serial: omap: don't disable rs485 if rts gpio is missing
	serial: omap: fix rs485 half-duplex filtering
	xen-blkback: fix compatibility bug with single page rings
	soc: aspeed: fix a ternary sign expansion bug
	drm/tilcdc: send vblank event when disabling crtc
	drm/stm: Fix bus_flags handling
	drm/amd/display: Fix off by one in hdmi_14_process_transaction()
	drm/mcde/panel: Inverse misunderstood flag
	sched/fair: Fix shift-out-of-bounds in load_balance()
	afs: Fix updating of i_mode due to 3rd party change
	rcu: Remove spurious instrumentation_end() in rcu_nmi_enter()
	media: vivid: fix assignment of dev->fbuf_out_flags
	media: saa7134: use sg_dma_len when building pgtable
	media: saa7146: use sg_dma_len when building pgtable
	media: omap4iss: return error code when omap4iss_get() failed
	media: rkisp1: rsz: crash fix when setting src format
	media: aspeed: fix clock handling logic
	drm/probe-helper: Check epoch counter in output_poll_execute()
	media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'
	media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
	media: m88ds3103: fix return value check in m88ds3103_probe()
	media: docs: Fix data organization of MEDIA_BUS_FMT_RGB101010_1X30
	media: [next] staging: media: atomisp: fix memory leak of object flash
	media: atomisp: Fixed error handling path
	media: m88rs6000t: avoid potential out-of-bounds reads on arrays
	media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()
	drm/amdkfd: fix build error with AMD_IOMMU_V2=m
	of: overlay: fix for_each_child.cocci warnings
	x86/kprobes: Fix to check non boostable prefixes correctly
	selftests: fix prepending $(OUTPUT) to $(TEST_PROGS)
	pata_arasan_cf: fix IRQ check
	pata_ipx4xx_cf: fix IRQ check
	sata_mv: add IRQ checks
	ata: libahci_platform: fix IRQ check
	seccomp: Fix CONFIG tests for Seccomp_filters
	nvme-tcp: block BH in sk state_change sk callback
	nvmet-tcp: fix incorrect locking in state_change sk callback
	clk: imx: Fix reparenting of UARTs not associated with stdout
	power: supply: bq25980: Move props from battery node
	nvme: retrigger ANA log update if group descriptor isn't found
	media: i2c: imx219: Move out locking/unlocking of vflip and hflip controls from imx219_set_stream
	media: i2c: imx219: Balance runtime PM use-count
	media: v4l2-ctrls.c: fix race condition in hdl->requests list
	vfio/fsl-mc: Re-order vfio_fsl_mc_probe()
	vfio/pci: Move VGA and VF initialization to functions
	vfio/pci: Re-order vfio_pci_probe()
	vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer
	clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback
	clk: zynqmp: pll: add set_pll_mode to check condition in zynqmp_pll_enable
	drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train()
	clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
	clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE
	drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct
	drm/radeon: Fix a missing check bug in radeon_dp_mst_detect()
	clk: uniphier: Fix potential infinite loop
	scsi: pm80xx: Increase timeout for pm80xx mpi_uninit_check()
	scsi: pm80xx: Fix potential infinite loop
	scsi: ufs: ufshcd-pltfrm: Fix deferred probing
	scsi: hisi_sas: Fix IRQ checks
	scsi: jazz_esp: Add IRQ check
	scsi: sun3x_esp: Add IRQ check
	scsi: sni_53c710: Add IRQ check
	scsi: ibmvfc: Fix invalid state machine BUG_ON()
	mailbox: sprd: Introduce refcnt when clients requests/free channels
	mfd: stm32-timers: Avoid clearing auto reload register
	nvmet-tcp: fix a segmentation fault during io parsing error
	nvme-pci: don't simple map sgl when sgls are disabled
	media: cedrus: Fix H265 status definitions
	HSI: core: fix resource leaks in hsi_add_client_from_dt()
	x86/events/amd/iommu: Fix sysfs type mismatch
	perf/amd/uncore: Fix sysfs type mismatch
	io_uring: fix overflows checks in provide buffers
	sched/debug: Fix cgroup_path[] serialization
	drivers/block/null_blk/main: Fix a double free in null_init.
	xsk: Respect device's headroom and tailroom on generic xmit path
	HID: plantronics: Workaround for double volume key presses
	perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars
	ASoC: Intel: boards: sof-wm8804: add check for PLL setting
	ASoC: Intel: Skylake: Compile when any configuration is selected
	RDMA/mlx5: Fix mlx5 rates to IB rates map
	wilc1000: write value to WILC_INTR2_ENABLE register
	KVM: x86/mmu: Retry page faults that hit an invalid memslot
	Bluetooth: avoid deadlock between hci_dev->lock and socket lock
	net: lapbether: Prevent racing when checking whether the netif is running
	libbpf: Add explicit padding to bpf_xdp_set_link_opts
	bpftool: Fix maybe-uninitialized warnings
	iommu: Check dev->iommu in iommu_dev_xxx functions
	iommu/vt-d: Reject unsupported page request modes
	selftests/bpf: Re-generate vmlinux.h and BPF skeletons if bpftool changed
	libbpf: Add explicit padding to btf_dump_emit_type_decl_opts
	powerpc/fadump: Mark fadump_calculate_reserve_size as __init
	powerpc/prom: Mark identical_pvr_fixup as __init
	MIPS: fix local_irq_{disable,enable} in asmmacro.h
	ima: Fix the error code for restoring the PCR value
	inet: use bigger hash table for IP ID generation
	pinctrl: pinctrl-single: remove unused parameter
	pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero
	MIPS: loongson64: fix bug when PAGE_SIZE > 16KB
	ASoC: wm8960: Remove bitclk relax condition in wm8960_configure_sysclk
	iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK
	RDMA/mlx5: Fix drop packet rule in egress table
	IB/isert: Fix a use after free in isert_connect_request
	powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration
	MIPS/bpf: Enable bpf_probe_read{, str}() on MIPS again
	gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP
	ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
	net: phy: lan87xx: fix access to wrong register of LAN87xx
	udp: never accept GSO_FRAGLIST packets
	powerpc/pseries: Only register vio drivers if vio bus exists
	net/tipc: fix missing destroy_workqueue() on error in tipc_crypto_start()
	bug: Remove redundant condition check in report_bug
	RDMA/core: Fix corrupted SL on passive side
	nfc: pn533: prevent potential memory corruption
	net: hns3: Limiting the scope of vector_ring_chain variable
	mips: bmips: fix syscon-reboot nodes
	iommu/vt-d: Don't set then clear private data in prq_event_thread()
	iommu: Fix a boundary issue to avoid performance drop
	iommu/vt-d: Report right snoop capability when using FL for IOVA
	iommu/vt-d: Report the right page fault address
	iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
	iommu/vt-d: Remove WO permissions on second-level paging entries
	iommu/vt-d: Invalidate PASID cache when root/context entry changed
	ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls
	HID: lenovo: Use brightness_set_blocking callback for setting LEDs brightness
	HID: lenovo: Fix lenovo_led_set_tp10ubkbd() error handling
	HID: lenovo: Check hid_get_drvdata() returns non NULL in lenovo_event()
	HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE
	KVM: arm64: Initialize VCPU mdcr_el2 before loading it
	ASoC: simple-card: fix possible uninitialized single_cpu local variable
	liquidio: Fix unintented sign extension of a left shift of a u16
	IB/hfi1: Use kzalloc() for mmu_rb_handler allocation
	powerpc/64s: Fix pte update for kernel memory on radix
	powerpc/perf: Fix PMU constraint check for EBB events
	powerpc: iommu: fix build when neither PCI or IBMVIO is set
	mac80211: bail out if cipher schemes are invalid
	perf vendor events amd: Fix broken L2 Cache Hits from L2 HWPF metric
	xfs: fix return of uninitialized value in variable error
	rtw88: Fix an error code in rtw_debugfs_set_rsvd_page()
	mt7601u: fix always true expression
	mt76: mt7615: fix tx skb dma unmap
	mt76: mt7915: fix tx skb dma unmap
	mt76: mt7915: fix aggr len debugfs node
	mt76: mt7615: fix mib stats counter reporting to mac80211
	mt76: mt7915: fix mib stats counter reporting to mac80211
	mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation
	mt76: mt7663s: fix the possible device hang in high traffic
	KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit
	ovl: invalidate readdir cache on changes to dir with origin
	RDMA/qedr: Fix error return code in qedr_iw_connect()
	IB/hfi1: Fix error return code in parse_platform_config()
	RDMA/bnxt_re: Fix error return code in bnxt_qplib_cq_process_terminal()
	cxgb4: Fix unintentional sign extension issues
	net: thunderx: Fix unintentional sign extension issue
	RDMA/srpt: Fix error return code in srpt_cm_req_recv()
	RDMA/rtrs-clt: destroy sysfs after removing session from active list
	i2c: cadence: fix reference leak when pm_runtime_get_sync fails
	i2c: img-scb: fix reference leak when pm_runtime_get_sync fails
	i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails
	i2c: imx: fix reference leak when pm_runtime_get_sync fails
	i2c: omap: fix reference leak when pm_runtime_get_sync fails
	i2c: sprd: fix reference leak when pm_runtime_get_sync fails
	i2c: stm32f7: fix reference leak when pm_runtime_get_sync fails
	i2c: xiic: fix reference leak when pm_runtime_get_sync fails
	i2c: cadence: add IRQ check
	i2c: emev2: add IRQ check
	i2c: jz4780: add IRQ check
	i2c: mlxbf: add IRQ check
	i2c: rcar: make sure irq is not threaded on Gen2 and earlier
	i2c: rcar: protect against supurious interrupts on V3U
	i2c: rcar: add IRQ check
	i2c: sh7760: add IRQ check
	powerpc/xive: Drop check on irq_data in xive_core_debug_show()
	powerpc/xive: Fix xmon command "dxi"
	ASoC: ak5558: correct reset polarity
	net/mlx5: Fix bit-wise and with zero
	net/packet: make packet_fanout.arr size configurable up to 64K
	net/packet: remove data races in fanout operations
	drm/i915/gvt: Fix error code in intel_gvt_init_device()
	iommu/amd: Put newline after closing bracket in warning
	perf beauty: Fix fsconfig generator
	drm/amd/pm: fix error code in smu_set_power_limit()
	MIPS: pci-legacy: stop using of_pci_range_to_resource
	powerpc/pseries: extract host bridge from pci_bus prior to bus removal
	powerpc/smp: Reintroduce cpu_core_mask
	KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is valid
	rtlwifi: 8821ae: upgrade PHY and RF parameters
	wlcore: fix overlapping snprintf arguments in debugfs
	i2c: sh7760: fix IRQ error path
	i2c: mediatek: Fix wrong dma sync flag
	mwl8k: Fix a double Free in mwl8k_probe_hw
	netfilter: nft_payload: fix C-VLAN offload support
	netfilter: nftables_offload: VLAN id needs host byteorder in flow dissector
	netfilter: nftables_offload: special ethertype handling for VLAN
	vsock/vmci: log once the failed queue pair allocation
	libbpf: Initialize the bpf_seq_printf parameters array field by field
	net: ethernet: ixp4xx: Set the DMA masks explicitly
	gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check
	RDMA/cxgb4: add missing qpid increment
	RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails
	ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails
	sfc: ef10: fix TX queue lookup in TX event handling
	vsock/virtio: free queued packets when closing socket
	net: marvell: prestera: fix port event handling on init
	net: davinci_emac: Fix incorrect masking of tx and rx error channel
	mt76: mt7615: fix memleak when mt7615_unregister_device()
	crypto: ccp: Detect and reject "invalid" addresses destined for PSP
	nfp: devlink: initialize the devlink port attribute "lanes"
	net: stmmac: fix TSO and TBS feature enabling during driver open
	net: renesas: ravb: Fix a stuck issue when a lot of frames are received
	net: phy: intel-xway: enable integrated led functions
	RDMA/rxe: Fix a bug in rxe_fill_ip_info()
	RDMA/core: Add CM to restrack after successful attachment to a device
	powerpc/64: Fix the definition of the fixmap area
	ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices
	ath10k: Fix a use after free in ath10k_htc_send_bundle
	ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
	wlcore: Fix buffer overrun by snprintf due to incorrect buffer size
	powerpc/perf: Fix the threshold event selection for memory events in power10
	powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
	net: phy: marvell: fix m88e1011_set_downshift
	net: phy: marvell: fix m88e1111_set_downshift
	net: enetc: fix link error again
	bnxt_en: fix ternary sign extension bug in bnxt_show_temp()
	ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
	arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
	net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb
	selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static
	selftests: mlxsw: Remove a redundant if statement in tc_flower_scale test
	bnxt_en: Fix RX consumer index logic in the error path.
	KVM: VMX: Intercept FS/GS_BASE MSR accesses for 32-bit KVM
	net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send
	selftests/bpf: Fix BPF_CORE_READ_BITFIELD() macro
	selftests/bpf: Fix field existence CO-RE reloc tests
	selftests/bpf: Fix core_reloc test runner
	bpf: Fix propagation of 32 bit unsigned bounds from 64 bit bounds
	RDMA/siw: Fix a use after free in siw_alloc_mr
	RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res
	net: bridge: mcast: fix broken length + header check for MRDv6 Adv.
	net:nfc:digital: Fix a double free in digital_tg_recv_dep_req
	perf tools: Change fields type in perf_record_time_conv
	perf jit: Let convert_timestamp() to be backwards-compatible
	perf session: Add swap operation for event TIME_CONV
	ia64: fix EFI_DEBUG build
	kfifo: fix ternary sign extension bugs
	mm/sl?b.c: remove ctor argument from kmem_cache_flags
	mm: memcontrol: slab: fix obtain a reference to a freeing memcg
	mm/sparse: add the missing sparse_buffer_fini() in error branch
	mm/memory-failure: unnecessary amount of unmapping
	afs: Fix speculative status fetches
	bpf: Fix alu32 const subreg bound tracking on bitwise operations
	bpf, ringbuf: Deny reserve of buffers larger than ringbuf
	bpf: Prevent writable memory-mapping of read-only ringbuf pages
	arm64: Remove arm64_dma32_phys_limit and its uses
	net: Only allow init netns to set default tcp cong to a restricted algo
	smp: Fix smp_call_function_single_async prototype
	Revert "net/sctp: fix race condition in sctp_destroy_sock"
	sctp: delay auto_asconf init until binding the first addr
	Linux 5.10.37

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I5bee89c285d9dd72de967b0e70d96951ae4e06ae
2021-05-15 09:28:55 +02:00
Nikolay Borisov
2e95bc6cfe mm/sl?b.c: remove ctor argument from kmem_cache_flags
[ Upstream commit 3754000872188e3e4713d9d847fe3c615a47c220 ]

This argument hasn't been used since e153362a50 ("slub: Remove objsize
check in kmem_cache_flags()") so simply remove it.

Link: https://lkml.kernel.org/r/20210126095733.974665-1-nborisov@suse.com
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Christoph Lameter <cl@linux.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:45 +02:00
Liujie Xie
24149445ad ANDROID: vendor_hooks: Add hooks for memory when debug
Add vendors hooks for recording memory used

Bug: 182443489
Signed-off-by: Liujie Xie <xieliujie@oppo.com>
Change-Id: I62d8bb2b6650d8b187b433f97eb833ef0b784df1
2021-03-19 04:54:07 +00:00
Greg Kroah-Hartman
d8c7f0a3cd Merge 5.10.20 into android12-5.10
Changes in 5.10.20
	vmlinux.lds.h: add DWARF v5 sections
	vdpa/mlx5: fix param validation in mlx5_vdpa_get_config()
	debugfs: be more robust at handling improper input in debugfs_lookup()
	debugfs: do not attempt to create a new file before the filesystem is initalized
	scsi: libsas: docs: Remove notify_ha_event()
	scsi: qla2xxx: Fix mailbox Ch erroneous error
	kdb: Make memory allocations more robust
	w1: w1_therm: Fix conversion result for negative temperatures
	PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
	PCI: Decline to resize resources if boot config must be preserved
	virt: vbox: Do not use wait_event_interruptible when called from kernel context
	bfq: Avoid false bfq queue merging
	ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode
	MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
	vmlinux.lds.h: Define SANTIZER_DISCARDS with CONFIG_GCOV_KERNEL=y
	random: fix the RNDRESEEDCRNG ioctl
	ALSA: pcm: Call sync_stop at disconnection
	ALSA: pcm: Assure sync with the pending stop operation at suspend
	ALSA: pcm: Don't call sync_stop if it hasn't been stopped
	drm/i915/gt: One more flush for Baytrail clear residuals
	ath10k: Fix error handling in case of CE pipe init failure
	Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
	Bluetooth: hci_uart: Fix a race for write_work scheduling
	Bluetooth: Fix initializing response id after clearing struct
	arm64: dts: renesas: beacon kit: Fix choppy Bluetooth Audio
	arm64: dts: renesas: beacon: Fix audio-1.8V pin enable
	ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5
	ARM: dts: exynos: correct PMIC interrupt trigger level on Monk
	ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato
	ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
	ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
	ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid XU3 family
	arm64: dts: exynos: correct PMIC interrupt trigger level on TM2
	arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
	memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
	Bluetooth: hci_qca: Fix memleak in qca_controller_memdump
	staging: vchiq: Fix bulk userdata handling
	staging: vchiq: Fix bulk transfers on 64-bit builds
	arm64: dts: qcom: msm8916-samsung-a5u: Fix iris compatible
	net: stmmac: dwmac-meson8b: fix enabling the timing-adjustment clock
	bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
	bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
	firmware: arm_scmi: Fix call site of scmi_notification_exit
	arm64: dts: allwinner: A64: properly connect USB PHY to port 0
	arm64: dts: allwinner: H6: properly connect USB PHY to port 0
	arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
	arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
	arm64: dts: allwinner: A64: Limit MMC2 bus frequency to 150 MHz
	arm64: dts: qcom: msm8916-samsung-a2015: Fix sensors
	cpufreq: brcmstb-avs-cpufreq: Free resources in error path
	cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
	arm64: dts: rockchip: rk3328: Add clock_in_out property to gmac2phy node
	ACPICA: Fix exception code class checks
	usb: gadget: u_audio: Free requests only after callback
	arm64: dts: qcom: sdm845-db845c: Fix reset-pin of ov8856 node
	soc: qcom: socinfo: Fix an off by one in qcom_show_pmic_model()
	soc: ti: pm33xx: Fix some resource leak in the error handling paths of the probe function
	staging: media: atomisp: Fix size_t format specifier in hmm_alloc() debug statemenet
	Bluetooth: drop HCI device reference before return
	Bluetooth: Put HCI device if inquiry procedure interrupts
	memory: ti-aemif: Drop child node when jumping out loop
	ARM: dts: Configure missing thermal interrupt for 4430
	usb: dwc2: Do not update data length if it is 0 on inbound transfers
	usb: dwc2: Abort transaction after errors with unknown reason
	usb: dwc2: Make "trimming xfer length" a debug message
	staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules
	x86/MSR: Filter MSR writes through X86_IOC_WRMSR_REGS ioctl too
	arm64: dts: renesas: beacon: Fix EEPROM compatible value
	can: mcp251xfd: mcp251xfd_probe(): fix errata reference
	ARM: dts: armada388-helios4: assign pinctrl to LEDs
	ARM: dts: armada388-helios4: assign pinctrl to each fan
	arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware
	opp: Correct debug message in _opp_add_static_v2()
	Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
	soc: qcom: ocmem: don't return NULL in of_get_ocmem
	arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
	arm64: dts: meson: fix broken wifi node for Khadas VIM3L
	iwlwifi: mvm: set enabled in the PPAG command properly
	ARM: s3c: fix fiq for clang IAS
	optee: simplify i2c access
	staging: wfx: fix possible panic with re-queued frames
	ARM: at91: use proper asm syntax in pm_suspend
	ath10k: Fix suspicious RCU usage warning in ath10k_wmi_tlv_parse_peer_stats_info()
	ath10k: Fix lockdep assertion warning in ath10k_sta_statistics
	ath11k: fix a locking bug in ath11k_mac_op_start()
	soc: aspeed: snoop: Add clock control logic
	iwlwifi: mvm: fix the type we use in the PPAG table validity checks
	iwlwifi: mvm: store PPAG enabled/disabled flag properly
	iwlwifi: mvm: send stored PPAG command instead of local
	iwlwifi: mvm: assign SAR table revision to the command later
	iwlwifi: mvm: don't check if CSA event is running before removing
	bpf_lru_list: Read double-checked variable once without lock
	iwlwifi: pnvm: set the PNVM again if it was already loaded
	iwlwifi: pnvm: increment the pointer before checking the TLV
	ath9k: fix data bus crash when setting nf_override via debugfs
	selftests/bpf: Convert test_xdp_redirect.sh to bash
	ibmvnic: Set to CLOSED state even on error
	bnxt_en: reverse order of TX disable and carrier off
	bnxt_en: Fix devlink info's stored fw.psid version format.
	xen/netback: fix spurious event detection for common event case
	dpaa2-eth: fix memory leak in XDP_REDIRECT
	net: phy: consider that suspend2ram may cut off PHY power
	net/mlx5e: Don't change interrupt moderation params when DIM is enabled
	net/mlx5e: Change interrupt moderation channel params also when channels are closed
	net/mlx5: Fix health error state handling
	net/mlx5e: Replace synchronize_rcu with synchronize_net
	net/mlx5e: kTLS, Use refcounts to free kTLS RX priv context
	net/mlx5: Disable devlink reload for multi port slave device
	net/mlx5: Disallow RoCE on multi port slave device
	net/mlx5: Disallow RoCE on lag device
	net/mlx5: Disable devlink reload for lag devices
	net/mlx5e: CT: manage the lifetime of the ct entry object
	net/mlx5e: Check tunnel offload is required before setting SWP
	mac80211: fix potential overflow when multiplying to u32 integers
	libbpf: Ignore non function pointer member in struct_ops
	bpf: Fix an unitialized value in bpf_iter
	bpf, devmap: Use GFP_KERNEL for xdp bulk queue allocation
	bpf: Fix bpf_fib_lookup helper MTU check for SKB ctx
	selftests: mptcp: fix ACKRX debug message
	tcp: fix SO_RCVLOWAT related hangs under mem pressure
	net: axienet: Handle deferred probe on clock properly
	cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
	b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
	bpf: Clear subreg_def for global function return values
	ibmvnic: add memory barrier to protect long term buffer
	ibmvnic: skip send_request_unmap for timeout reset
	net: dsa: felix: perform teardown in reverse order of setup
	net: dsa: felix: don't deinitialize unused ports
	net: phy: mscc: adding LCPLL reset to VSC8514
	net: amd-xgbe: Reset the PHY rx data path when mailbox command timeout
	net: amd-xgbe: Fix NETDEV WATCHDOG transmit queue timeout warning
	net: amd-xgbe: Reset link when the link never comes back
	net: amd-xgbe: Fix network fluctuations when using 1G BELFUSE SFP
	net: mvneta: Remove per-cpu queue mapping for Armada 3700
	net: enetc: fix destroyed phylink dereference during unbind
	tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer
	tty: implement read_iter
	fbdev: aty: SPARC64 requires FB_ATY_CT
	drm/gma500: Fix error return code in psb_driver_load()
	gma500: clean up error handling in init
	drm/fb-helper: Add missed unlocks in setcmap_legacy()
	drm/panel: mantix: Tweak init sequence
	drm/vc4: hdmi: Take into account the clock doubling flag in atomic_check
	crypto: sun4i-ss - linearize buffers content must be kept
	crypto: sun4i-ss - fix kmap usage
	crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
	hwrng: ingenic - Fix a resource leak in an error handling path
	media: allegro: Fix use after free on error
	kcsan: Rewrite kcsan_prandom_u32_max() without prandom_u32_state()
	drm: rcar-du: Fix PM reference leak in rcar_cmm_enable()
	drm: rcar-du: Fix crash when using LVDS1 clock for CRTC
	drm: rcar-du: Fix the return check of of_parse_phandle and of_find_device_by_node
	drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
	MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
	MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
	drm/virtio: make sure context is created in gem open
	drm/fourcc: fix Amlogic format modifier masks
	media: ipu3-cio2: Build only for x86
	media: i2c: ov5670: Fix PIXEL_RATE minimum value
	media: imx: Unregister csc/scaler only if registered
	media: imx: Fix csc/scaler unregister
	media: mtk-vcodec: fix error return code in vdec_vp9_decode()
	media: camss: missing error code in msm_video_register()
	media: vsp1: Fix an error handling path in the probe function
	media: em28xx: Fix use-after-free in em28xx_alloc_urbs
	media: media/pci: Fix memleak in empress_init
	media: tm6000: Fix memleak in tm6000_start_stream
	media: aspeed: fix error return code in aspeed_video_setup_video()
	ASoC: cs42l56: fix up error handling in probe
	ASoC: qcom: qdsp6: Move frontend AIFs to q6asm-dai
	evm: Fix memleak in init_desc
	crypto: bcm - Rename struct device_private to bcm_device_private
	sched/fair: Avoid stale CPU util_est value for schedutil in task dequeue
	drm/sun4i: tcon: fix inverted DCLK polarity
	media: imx7: csi: Fix regression for parallel cameras on i.MX6UL
	media: imx7: csi: Fix pad link validation
	media: ti-vpe: cal: fix write to unallocated memory
	MIPS: properly stop .eh_frame generation
	MIPS: Compare __SYNC_loongson3_war against 0
	drm/tegra: Fix reference leak when pm_runtime_get_sync() fails
	drm/amdgpu: toggle on DF Cstate after finishing xgmi injection
	bsg: free the request before return error code
	macintosh/adb-iop: Use big-endian autopoll mask
	drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction.
	drm/amd/display: Fix HDMI deep color output for DCE 6-11.
	media: software_node: Fix refcounts in software_node_get_next_child()
	media: lmedm04: Fix misuse of comma
	media: vidtv: psi: fix missing crc for PMT
	media: atomisp: Fix a buffer overflow in debug code
	media: qm1d1c0042: fix error return code in qm1d1c0042_init()
	media: cx25821: Fix a bug when reallocating some dma memory
	media: mtk-vcodec: fix argument used when DEBUG is defined
	media: pxa_camera: declare variable when DEBUG is defined
	media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
	sched/eas: Don't update misfit status if the task is pinned
	f2fs: compress: fix potential deadlock
	ASoC: qcom: lpass-cpu: Remove bit clock state check
	ASoC: SOF: Intel: hda: cancel D0i3 work during runtime suspend
	perf/arm-cmn: Fix PMU instance naming
	perf/arm-cmn: Move IRQs when migrating context
	mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
	crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
	crypto: talitos - Fix ctr(aes) on SEC1
	drm/nouveau: bail out of nouveau_channel_new if channel init fails
	mm: proc: Invalidate TLB after clearing soft-dirty page state
	ata: ahci_brcm: Add back regulators management
	ASoC: cpcap: fix microphone timeslot mask
	ASoC: codecs: add missing max_register in regmap config
	mtd: parsers: afs: Fix freeing the part name memory in failure
	f2fs: fix to avoid inconsistent quota data
	drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()
	f2fs: fix a wrong condition in __submit_bio
	ASoC: qcom: Fix typo error in HDMI regmap config callbacks
	KVM: nSVM: Don't strip host's C-bit from guest's CR3 when reading PDPTRs
	drm/mediatek: Check if fb is null
	Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
	ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A5E
	ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A3E
	locking/lockdep: Avoid unmatched unlock
	ASoC: qcom: lpass: Fix i2s ctl register bit map
	ASoC: rt5682: Fix panic in rt5682_jack_detect_handler happening during system shutdown
	ASoC: SOF: debug: Fix a potential issue on string buffer termination
	btrfs: clarify error returns values in __load_free_space_cache
	btrfs: fix double accounting of ordered extent for subpage case in btrfs_invalidapge
	KVM: x86: Restore all 64 bits of DR6 and DR7 during RSM on x86-64
	s390/zcrypt: return EIO when msg retry limit reached
	drm/vc4: hdmi: Move hdmi reset to bind
	drm/vc4: hdmi: Fix register offset with longer CEC messages
	drm/vc4: hdmi: Fix up CEC registers
	drm/vc4: hdmi: Restore cec physical address on reconnect
	drm/vc4: hdmi: Compute the CEC clock divider from the clock rate
	drm/vc4: hdmi: Update the CEC clock divider on HSM rate change
	drm/lima: fix reference leak in lima_pm_busy
	drm/dp_mst: Don't cache EDIDs for physical ports
	hwrng: timeriomem - Fix cooldown period calculation
	crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
	io_uring: fix possible deadlock in io_uring_poll
	nvmet-tcp: fix receive data digest calculation for multiple h2cdata PDUs
	nvmet-tcp: fix potential race of tcp socket closing accept_work
	nvme-multipath: set nr_zones for zoned namespaces
	nvmet: remove extra variable in identify ns
	nvmet: set status to 0 in case for invalid nsid
	ASoC: SOF: sof-pci-dev: add missing Up-Extreme quirk
	ima: Free IMA measurement buffer on error
	ima: Free IMA measurement buffer after kexec syscall
	ASoC: simple-card-utils: Fix device module clock
	fs/jfs: fix potential integer overflow on shift of a int
	jffs2: fix use after free in jffs2_sum_write_data()
	ubifs: Fix memleak in ubifs_init_authentication
	ubifs: replay: Fix high stack usage, again
	ubifs: Fix error return code in alloc_wbufs()
	irqchip/imx: IMX_INTMUX should not default to y, unconditionally
	smp: Process pending softirqs in flush_smp_call_function_from_idle()
	drm/amdgpu/display: remove hdcp_srm sysfs on device removal
	capabilities: Don't allow writing ambiguous v3 file capabilities
	HSI: Fix PM usage counter unbalance in ssi_hw_init
	power: supply: cpcap: Add missing IRQF_ONESHOT to fix regression
	clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
	clk: meson: clk-pll: make "ret" a signed integer
	clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
	selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
	regulator: qcom-rpmh-regulator: add pm8009-1 chip revision
	arm64: dts: qcom: qrb5165-rb5: fix pm8009 regulators
	quota: Fix memory leak when handling corrupted quota file
	i2c: iproc: handle only slave interrupts which are enabled
	i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
	i2c: iproc: handle master read request
	spi: cadence-quadspi: Abort read if dummy cycles required are too many
	clk: sunxi-ng: h6: Fix CEC clock
	clk: renesas: r8a779a0: Remove non-existent S2 clock
	clk: renesas: r8a779a0: Fix parent of CBFUSA clock
	HID: core: detect and skip invalid inputs to snto32()
	RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
	dmaengine: fsldma: Fix a resource leak in the remove function
	dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
	dmaengine: owl-dma: Fix a resource leak in the remove function
	dmaengine: hsu: disable spurious interrupt
	mfd: bd9571mwv: Use devm_mfd_add_devices()
	power: supply: cpcap-charger: Fix missing power_supply_put()
	power: supply: cpcap-battery: Fix missing power_supply_put()
	power: supply: cpcap-charger: Fix power_supply_put on null battery pointer
	fdt: Properly handle "no-map" field in the memory region
	of/fdt: Make sure no-map does not remove already reserved regions
	RDMA/rtrs: Extend ibtrs_cq_qp_create
	RDMA/rtrs-srv: Release lock before call into close_sess
	RDMA/rtrs-srv: Use sysfs_remove_file_self for disconnect
	RDMA/rtrs-clt: Set mininum limit when create QP
	RDMA/rtrs: Call kobject_put in the failure path
	RDMA/rtrs-srv: Fix missing wr_cqe
	RDMA/rtrs-clt: Refactor the failure cases in alloc_clt
	RDMA/rtrs-srv: Init wr_cnt as 1
	power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
	rtc: s5m: select REGMAP_I2C
	dmaengine: idxd: set DMA channel to be private
	power: supply: fix sbs-charger build, needs REGMAP_I2C
	clocksource/drivers/ixp4xx: Select TIMER_OF when needed
	clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
	spi: imx: Don't print error on -EPROBEDEFER
	RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
	IB/mlx5: Add mutex destroy call to cap_mask_mutex mutex
	clk: sunxi-ng: h6: Fix clock divider range on some clocks
	platform/chrome: cros_ec_proto: Use EC_HOST_EVENT_MASK not BIT
	platform/chrome: cros_ec_proto: Add LID and BATTERY to default mask
	regulator: axp20x: Fix reference cout leak
	watch_queue: Drop references to /dev/watch_queue
	certs: Fix blacklist flag type confusion
	regulator: s5m8767: Fix reference count leak
	spi: atmel: Put allocated master before return
	regulator: s5m8767: Drop regulators OF node reference
	power: supply: axp20x_usb_power: Init work before enabling IRQs
	power: supply: smb347-charger: Fix interrupt usage if interrupt is unavailable
	regulator: core: Avoid debugfs: Directory ... already present! error
	isofs: release buffer head before return
	watchdog: intel-mid_wdt: Postpone IRQ handler registration till SCU is ready
	auxdisplay: ht16k33: Fix refresh rate handling
	objtool: Fix error handling for STD/CLD warnings
	objtool: Fix retpoline detection in asm code
	objtool: Fix ".cold" section suffix check for newer versions of GCC
	scsi: lpfc: Fix ancient double free
	iommu: Switch gather->end to the inclusive end
	IB/umad: Return EIO in case of when device disassociated
	IB/umad: Return EPOLLERR in case of when device disassociated
	KVM: PPC: Make the VMX instruction emulation routines static
	powerpc/47x: Disable 256k page size
	powerpc/time: Enable sched clock for irqtime
	mmc: owl-mmc: Fix a resource leak in an error handling path and in the remove function
	mmc: sdhci-sprd: Fix some resource leaks in the remove function
	mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
	mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes
	ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
	i2c: qcom-geni: Store DMA mapping data in geni_i2c_dev struct
	amba: Fix resource leak for drivers without .remove
	iommu: Move iotlb_sync_map out from __iommu_map
	iommu: Properly pass gfp_t in _iommu_map() to avoid atomic sleeping
	IB/mlx5: Return appropriate error code instead of ENOMEM
	IB/cm: Avoid a loop when device has 255 ports
	tracepoint: Do not fail unregistering a probe due to memory failure
	rtc: zynqmp: depend on HAS_IOMEM
	perf tools: Fix DSO filtering when not finding a map for a sampled address
	perf vendor events arm64: Fix Ampere eMag event typo
	RDMA/rxe: Fix coding error in rxe_recv.c
	RDMA/rxe: Fix coding error in rxe_rcv_mcast_pkt
	RDMA/rxe: Correct skb on loopback path
	spi: stm32: properly handle 0 byte transfer
	mfd: altera-sysmgr: Fix physical address storing more
	mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
	powerpc/pseries/dlpar: handle ibm, configure-connector delay status
	powerpc/8xx: Fix software emulation interrupt
	clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs
	kunit: tool: fix unit test cleanup handling
	kselftests: dmabuf-heaps: Fix Makefile's inclusion of the kernel's usr/include dir
	RDMA/hns: Fixed wrong judgments in the goto branch
	RDMA/siw: Fix calculation of tx_valid_cpus size
	RDMA/hns: Fix type of sq_signal_bits
	RDMA/hns: Disable RQ inline by default
	clk: divider: fix initialization with parent_hw
	spi: pxa2xx: Fix the controller numbering for Wildcat Point
	powerpc/uaccess: Avoid might_fault() when user access is enabled
	powerpc/kuap: Restore AMR after replaying soft interrupts
	regulator: qcom-rpmh: fix pm8009 ldo7
	clk: aspeed: Fix APLL calculate formula from ast2600-A2
	selftests/ftrace: Update synthetic event syntax errors
	perf symbols: Use (long) for iterator for bfd symbols
	regulator: bd718x7, bd71828, Fix dvs voltage levels
	spi: dw: Avoid stack content exposure
	spi: Skip zero-length transfers in spi_transfer_one_message()
	printk: avoid prb_first_valid_seq() where possible
	perf symbols: Fix return value when loading PE DSO
	nfsd: register pernet ops last, unregister first
	svcrdma: Hold private mutex while invoking rdma_accept()
	ceph: fix flush_snap logic after putting caps
	RDMA/hns: Fixes missing error code of CMDQ
	RDMA/ucma: Fix use-after-free bug in ucma_create_uevent
	RDMA/rtrs-srv: Fix stack-out-of-bounds
	RDMA/rtrs: Only allow addition of path to an already established session
	RDMA/rtrs-srv: fix memory leak by missing kobject free
	RDMA/rtrs-srv-sysfs: fix missing put_device
	RDMA/rtrs-srv: Do not pass a valid pointer to PTR_ERR()
	Input: sur40 - fix an error code in sur40_probe()
	perf record: Fix continue profiling after draining the buffer
	perf intel-pt: Fix missing CYC processing in PSB
	perf intel-pt: Fix premature IPC
	perf intel-pt: Fix IPC with CYC threshold
	perf test: Fix unaligned access in sample parsing test
	Input: elo - fix an error code in elo_connect()
	sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
	sparc: fix led.c driver when PROC_FS is not enabled
	Input: zinitix - fix return type of zinitix_init_touch()
	ARM: 9065/1: OABI compat: fix build when EPOLL is not enabled
	misc: eeprom_93xx46: Fix module alias to enable module autoprobe
	phy: rockchip-emmc: emmc_phy_init() always return 0
	phy: cadence-torrent: Fix error code in cdns_torrent_phy_probe()
	misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
	PCI: rcar: Always allocate MSI addresses in 32bit space
	soundwire: cadence: fix ACK/NAK handling
	pwm: rockchip: Enable APB clock during register access while probing
	pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
	pwm: rockchip: Eliminate potential race condition when probing
	PCI: xilinx-cpm: Fix reference count leak on error path
	VMCI: Use set_page_dirty_lock() when unregistering guest memory
	PCI: Align checking of syscall user config accessors
	mei: hbm: call mei_set_devstate() on hbm stop response
	drm/msm: Fix MSM_INFO_GET_IOVA with carveout
	drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
	drm/msm/mdp5: Fix wait-for-commit for cmd panels
	drm/msm: Fix race of GPU init vs timestamp power management.
	drm/msm: Fix races managing the OOB state for timestamp vs timestamps.
	drm/msm/dp: trigger unplug event in msm_dp_display_disable
	vfio/iommu_type1: Populate full dirty when detach non-pinned group
	vfio/iommu_type1: Fix some sanity checks in detach group
	vfio-pci/zdev: fix possible segmentation fault issue
	ext4: fix potential htree index checksum corruption
	phy: USB_LGM_PHY should depend on X86
	coresight: etm4x: Skip accessing TRCPDCR in save/restore
	nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
	nvmem: core: skip child nodes not matching binding
	soundwire: bus: use sdw_update_no_pm when initializing a device
	soundwire: bus: use sdw_write_no_pm when setting the bus scale registers
	soundwire: export sdw_write/read_no_pm functions
	soundwire: bus: fix confusion on device used by pm_runtime
	misc: fastrpc: fix incorrect usage of dma_map_sgtable
	remoteproc/mediatek: acknowledge watchdog IRQ after handled
	regmap: sdw: use _no_pm functions in regmap_read/write
	ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it
	mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL
	device-dax: Fix default return code of range_parse()
	PCI: pci-bridge-emul: Fix array overruns, improve safety
	PCI: cadence: Fix DMA range mapping early return error
	i40e: Fix flow for IPv6 next header (extension header)
	i40e: Add zero-initialization of AQ command structures
	i40e: Fix overwriting flow control settings during driver loading
	i40e: Fix addition of RX filters after enabling FW LLDP agent
	i40e: Fix VFs not created
	Take mmap lock in cacheflush syscall
	nios2: fixed broken sys_clone syscall
	i40e: Fix add TC filter for IPv6
	octeontx2-af: Fix an off by one in rvu_dbg_qsize_write()
	pwm: iqs620a: Fix overflow and optimize calculations
	vfio/type1: Use follow_pte()
	ice: report correct max number of TCs
	ice: Account for port VLAN in VF max packet size calculation
	ice: Fix state bits on LLDP mode switch
	ice: update the number of available RSS queues
	net: stmmac: fix CBS idleslope and sendslope calculation
	net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
	PCI: rockchip: Make 'ep-gpios' DT property optional
	vxlan: move debug check after netdev unregister
	wireguard: device: do not generate ICMP for non-IP packets
	wireguard: kconfig: use arm chacha even with no neon
	ocfs2: fix a use after free on error
	mm: memcontrol: fix NR_ANON_THPS accounting in charge moving
	mm: memcontrol: fix slub memory accounting
	mm/memory.c: fix potential pte_unmap_unlock pte error
	mm/hugetlb: fix potential double free in hugetlb_register_node() error path
	mm/hugetlb: suppress wrong warning info when alloc gigantic page
	mm/compaction: fix misbehaviors of fast_find_migrateblock()
	r8169: fix jumbo packet handling on RTL8168e
	NFSv4: Fixes for nfs4_bitmask_adjust()
	KVM: SVM: Intercept INVPCID when it's disabled to inject #UD
	KVM: x86/mmu: Expand collapsible SPTE zap for TDP MMU to ZONE_DEVICE and HugeTLB pages
	arm64: Add missing ISB after invalidating TLB in __primary_switch
	i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
	i2c: exynos5: Preserve high speed master code
	mm,thp,shmem: make khugepaged obey tmpfs mount flags
	mm: fix memory_failure() handling of dax-namespace metadata
	mm/rmap: fix potential pte_unmap on an not mapped pte
	proc: use kvzalloc for our kernel buffer
	csky: Fix a size determination in gpr_get()
	scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
	scsi: sd: sd_zbc: Don't pass GFP_NOIO to kvcalloc
	block: reopen the device in blkdev_reread_part
	ide/falconide: Fix module unload
	scsi: sd: Fix Opal support
	blk-settings: align max_sectors on "logical_block_size" boundary
	soundwire: intel: fix possible crash when no device is detected
	ACPI: property: Fix fwnode string properties matching
	ACPI: configfs: add missing check after configfs_register_default_group()
	cpufreq: ACPI: Set cpuinfo.max_freq directly if max boost is known
	HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
	HID: wacom: Ignore attempts to overwrite the touch_max value from HID
	Input: raydium_ts_i2c - do not send zero length
	Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
	Input: joydev - prevent potential read overflow in ioctl
	Input: i8042 - add ASUS Zenbook Flip to noselftest list
	media: mceusb: Fix potential out-of-bounds shift
	USB: serial: option: update interface mapping for ZTE P685M
	usb: musb: Fix runtime PM race in musb_queue_resume_work
	usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
	usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
	USB: serial: ftdi_sio: fix FTX sub-integer prescaler
	USB: serial: pl2303: fix line-speed handling on newer chips
	USB: serial: mos7840: fix error code in mos7840_write()
	USB: serial: mos7720: fix error code in mos7720_write()
	phy: lantiq: rcu-usb2: wait after clock enable
	ALSA: fireface: fix to parse sync status register of latter protocol
	ALSA: hda: Add another CometLake-H PCI ID
	ALSA: hda/hdmi: Drop bogus check at closing a stream
	ALSA: hda/realtek: modify EAPD in the ALC886
	ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
	MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too
	MIPS: Support binutils configured with --enable-mips-fix-loongson3-llsc=yes
	MIPS: VDSO: Use CLANG_FLAGS instead of filtering out '--target='
	Revert "MIPS: Octeon: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y"
	Revert "bcache: Kill btree_io_wq"
	bcache: Give btree_io_wq correct semantics again
	bcache: Move journal work to new flush wq
	Revert "drm/amd/display: Update NV1x SR latency values"
	drm/amd/display: Add FPU wrappers to dcn21_validate_bandwidth()
	drm/amd/display: Remove Assert from dcn10_get_dig_frontend
	drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
	drm/amdkfd: Fix recursive lock warnings
	drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2)
	drm/nouveau/kms: handle mDP connectors
	drm/modes: Switch to 64bit maths to avoid integer overflow
	drm/sched: Cancel and flush all outstanding jobs before finish.
	drm/panel: kd35t133: allow using non-continuous dsi clock
	drm/rockchip: Require the YTR modifier for AFBC
	ASoC: siu: Fix build error by a wrong const prefix
	selinux: fix inconsistency between inode_getxattr and inode_listsecurity
	erofs: initialized fields can only be observed after bit is set
	tpm_tis: Fix check_locality for correct locality acquisition
	tpm_tis: Clean up locality release
	KEYS: trusted: Fix incorrect handling of tpm_get_random()
	KEYS: trusted: Fix migratable=1 failing
	KEYS: trusted: Reserve TPM for seal and unseal operations
	btrfs: do not cleanup upper nodes in btrfs_backref_cleanup_node
	btrfs: do not warn if we can't find the reloc root when looking up backref
	btrfs: add asserts for deleting backref cache nodes
	btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
	btrfs: fix reloc root leak with 0 ref reloc roots on recovery
	btrfs: splice remaining dirty_bg's onto the transaction dirty bg list
	btrfs: handle space_info::total_bytes_pinned inside the delayed ref itself
	btrfs: account for new extents being deleted in total_bytes_pinned
	btrfs: fix extent buffer leak on failure to copy root
	drm/i915/gt: Flush before changing register state
	drm/i915/gt: Correct surface base address for renderclear
	crypto: arm64/sha - add missing module aliases
	crypto: aesni - prevent misaligned buffers on the stack
	crypto: michael_mic - fix broken misalignment handling
	crypto: sun4i-ss - checking sg length is not sufficient
	crypto: sun4i-ss - IV register does not work on A10 and A13
	crypto: sun4i-ss - handle BigEndian for cipher
	crypto: sun4i-ss - initialize need_fallback
	soc: samsung: exynos-asv: don't defer early on not-supported SoCs
	soc: samsung: exynos-asv: handle reading revision register error
	seccomp: Add missing return in non-void function
	arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL)
	misc: rtsx: init of rts522a add OCP power off when no card is present
	drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
	pstore: Fix typo in compression option name
	dts64: mt7622: fix slow sd card access
	arm64: dts: agilex: fix phy interface bit shift for gmac1 and gmac2
	staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
	staging: gdm724x: Fix DMA from stack
	staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
	floppy: reintroduce O_NDELAY fix
	media: i2c: max9286: fix access to unallocated memory
	media: ir_toy: add another IR Droid device
	media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt()
	media: marvell-ccic: power up the device on mclk enable
	media: smipcie: fix interrupt handling and IR timeout
	x86/virt: Eat faults on VMXOFF in reboot flows
	x86/reboot: Force all cpus to exit VMX root if VMX is supported
	x86/fault: Fix AMD erratum #91 errata fixup for user code
	x86/entry: Fix instrumentation annotation
	powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
	rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers
	rcu/nocb: Perform deferred wake up before last idle's need_resched() check
	kprobes: Fix to delay the kprobes jump optimization
	arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
	iommu/arm-smmu-qcom: Fix mask extraction for bootloader programmed SMRs
	arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
	arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
	arm64 module: set plt* section addresses to 0x0
	arm64: spectre: Prevent lockdep splat on v4 mitigation enable path
	riscv: Disable KSAN_SANITIZE for vDSO
	watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ
	watchdog: mei_wdt: request stop on unregister
	coresight: etm4x: Handle accesses to TRCSTALLCTLR
	mtd: spi-nor: sfdp: Fix last erase region marking
	mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region
	mtd: spi-nor: core: Fix erase type discovery for overlaid region
	mtd: spi-nor: core: Add erase size check for erase command initialization
	mtd: spi-nor: hisi-sfc: Put child node np on error path
	fs/affs: release old buffer head on error path
	seq_file: document how per-entry resources are managed.
	x86: fix seq_file iteration for pat/memtype.c
	mm: memcontrol: fix swap undercounting in cgroup2
	mm: memcontrol: fix get_active_memcg return value
	hugetlb: fix update_and_free_page contig page struct assumption
	hugetlb: fix copy_huge_page_from_user contig page struct assumption
	mm/vmscan: restore zone_reclaim_mode ABI
	mm, compaction: make fast_isolate_freepages() stay within zone
	KVM: nSVM: fix running nested guests when npt=0
	nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer
	module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
	mmc: sdhci-esdhc-imx: fix kernel panic when remove module
	mmc: sdhci-pci-o2micro: Bug fix for SDR104 HW tuning failure
	powerpc/32: Preserve cr1 in exception prolog stack check to fix build error
	powerpc/kexec_file: fix FDT size estimation for kdump kernel
	powerpc/32s: Add missing call to kuep_lock on syscall entry
	spmi: spmi-pmic-arb: Fix hw_irq overflow
	mei: fix transfer over dma with extended header
	mei: me: emmitsburg workstation DID
	mei: me: add adler lake point S DID
	mei: me: add adler lake point LP DID
	gpio: pcf857x: Fix missing first interrupt
	mfd: gateworks-gsc: Fix interrupt type
	printk: fix deadlock when kernel panic
	exfat: fix shift-out-of-bounds in exfat_fill_super()
	zonefs: Fix file size of zones in full condition
	kcmp: Support selection of SYS_kcmp without CHECKPOINT_RESTORE
	thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error
	cpufreq: qcom-hw: drop devm_xxx() calls from init/exit hooks
	cpufreq: intel_pstate: Change intel_pstate_get_hwp_max() argument
	cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
	proc: don't allow async path resolution of /proc/thread-self components
	s390/vtime: fix inline assembly clobber list
	virtio/s390: implement virtio-ccw revision 2 correctly
	um: mm: check more comprehensively for stub changes
	um: defer killing userspace on page table update failures
	irqchip/loongson-pch-msi: Use bitmap_zalloc() to allocate bitmap
	f2fs: fix out-of-repair __setattr_copy()
	f2fs: enforce the immutable flag on open files
	f2fs: flush data when enabling checkpoint back
	sparc32: fix a user-triggerable oops in clear_user()
	spi: fsl: invert spisel_boot signal on MPC8309
	spi: spi-synquacer: fix set_cs handling
	gfs2: fix glock confusion in function signal_our_withdraw
	gfs2: Don't skip dlm unlock if glock has an lvb
	gfs2: Lock imbalance on error path in gfs2_recover_one
	gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
	dm: fix deadlock when swapping to encrypted device
	dm table: fix iterate_devices based device capability checks
	dm table: fix DAX iterate_devices based device capability checks
	dm table: fix zoned iterate_devices based device capability checks
	dm writecache: fix performance degradation in ssd mode
	dm writecache: return the exact table values that were set
	dm writecache: fix writing beyond end of underlying device when shrinking
	dm era: Recover committed writeset after crash
	dm era: Update in-core bitset after committing the metadata
	dm era: Verify the data block size hasn't changed
	dm era: Fix bitset memory leaks
	dm era: Use correct value size in equality function of writeset tree
	dm era: Reinitialize bitset cache before digesting a new writeset
	dm era: only resize metadata in preresume
	drm/i915: Reject 446-480MHz HDMI clock on GLK
	kgdb: fix to kill breakpoints on initmem after boot
	ipv6: silence compilation warning for non-IPV6 builds
	net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
	wireguard: selftests: test multiple parallel streams
	wireguard: queueing: get rid of per-peer ring buffers
	net: sched: fix police ext initialization
	net: qrtr: Fix memory leak in qrtr_tun_open
	net_sched: fix RTNL deadlock again caused by request_module()
	ARM: dts: aspeed: Add LCLK to lpc-snoop
	Linux 5.10.20

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I3fbcecd9413ce212dac68d5cc800c9457feba56a
2021-03-07 12:33:33 +01:00
Muchun Song
cbb86d6a5d mm: memcontrol: fix slub memory accounting
[ Upstream commit 96403bfe50c344b587ea53894954a9d152af1c9d ]

SLUB currently account kmalloc() and kmalloc_node() allocations larger
than order-1 page per-node.  But it forget to update the per-memcg
vmstats.  So it can lead to inaccurate statistics of "slab_unreclaimable"
which is from memory.stat.  Fix it by using mod_lruvec_page_state instead
of mod_node_page_state.

Link: https://lkml.kernel.org/r/20210223092423.42420-1-songmuchun@bytedance.com
Fixes: 6a486c0ad4 ("mm, sl[ou]b: improve memory accounting")
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Reviewed-by: Roman Gushchin <guro@fb.com>
Reviewed-by: Michal Koutný <mkoutny@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:38:19 +01:00
Andrey Konovalov
fd10db46d0 FROMGIT: kasan, mm: optimize krealloc poisoning
Currently, krealloc() always calls ksize(), which unpoisons the whole
object including the redzone.  This is inefficient, as kasan_krealloc()
repoisons the redzone for objects that fit into the same buffer.

This patch changes krealloc() instrumentation to use uninstrumented
__ksize() that doesn't unpoison the memory.  Instead, kasan_kreallos() is
changed to unpoison the memory excluding the redzone.

For objects that don't fit into the old allocation, this patch disables
KASAN accessibility checks when copying memory into a new object instead
of unpoisoning it.

Link: https://lkml.kernel.org/r/9bef90327c9cb109d736c40115684fd32f49e6b0.1612546384.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit a6c302dfca616f6e225d5a319df0e41bff04ee54
 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Bug: 172318110
Change-Id: I775cf1d9eed1f91b09366f15fe9cdcde7596187e
2021-02-16 15:33:32 +01:00
Andrey Konovalov
4f62c69f01 FROMGIT: kasan, mm: fail krealloc on freed objects
Currently, if krealloc() is called on a freed object with KASAN enabled,
it allocates and returns a new object, but doesn't copy any memory from
the old one as ksize() returns 0.  This makes the caller believe that
krealloc() succeeded (KASAN report is printed though).

This patch adds an accessibility check into __do_krealloc().  If the check
fails, krealloc() returns NULL.  This check duplicates the one in ksize();
this is fixed in the following patch.

This patch also adds a KASAN-KUnit test to check krealloc() behaviour when
it's called on a freed object.

Link: https://lkml.kernel.org/r/cbcf7b02be0a1ca11de4f833f2ff0b3f2c9b00c8.1612546384.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 5042e07bc0ff0d680daf5fc2fd3dd3dc51232786
 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Bug: 172318110
Change-Id: I56f28d8970c3c2cdbeeb8a213ef5fb80ee836710
2021-02-16 15:33:32 +01:00
Andrey Konovalov
ef8fe2476d FROMGIT: kasan, mm: don't save alloc stacks twice
Patch series "kasan: optimizations and fixes for HW_TAGS", v4.

This patchset makes the HW_TAGS mode more efficient, mostly by reworking
poisoning approaches and simplifying/inlining some internal helpers.

With this change, the overhead of HW_TAGS annotations excluding setting
and checking memory tags is ~3%.  The performance impact caused by tags
will be unknown until we have hardware that supports MTE.

As a side-effect, this patchset speeds up generic KASAN by ~15%.

This patch (of 13):

Currently KASAN saves allocation stacks in both kasan_slab_alloc() and
kasan_kmalloc() annotations.  This patch changes KASAN to save allocation
stacks for slab objects from kmalloc caches in kasan_kmalloc() only, and
stacks for other slab objects in kasan_slab_alloc() only.

This change requires ____kasan_kmalloc() knowing whether the object
belongs to a kmalloc cache.  This is implemented by adding a flag field to
the kasan_info structure.  That flag is only set for kmalloc caches via a
new kasan_cache_create_kmalloc() annotation.

Link: https://lkml.kernel.org/r/cover.1612546384.git.andreyknvl@google.com
Link: https://lkml.kernel.org/r/7c673ebca8d00f40a7ad6f04ab9a2bddeeae2097.1612546384.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit 4148624e017d86a9443238b71261afd950a54021
 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Bug: 172318110
Change-Id: Ifa1dd4f0af652b03777daed60a012588c71f0123
2021-02-16 15:33:31 +01:00
Andrey Konovalov
696574e5ac FROMGIT: kasan: fix bug detection via ksize for HW_TAGS mode
The currently existing kasan_check_read/write() annotations are intended
to be used for kernel modules that have KASAN compiler instrumentation
disabled. Thus, they are only relevant for the software KASAN modes that
rely on compiler instrumentation.

However there's another use case for these annotations: ksize() checks
that the object passed to it is indeed accessible before unpoisoning the
whole object. This is currently done via __kasan_check_read(), which is
compiled away for the hardware tag-based mode that doesn't rely on
compiler instrumentation. This leads to KASAN missing detecting some
memory corruptions.

Provide another annotation called kasan_check_byte() that is available
for all KASAN modes. As the implementation rename and reuse
kasan_check_invalid_free(). Use this new annotation in ksize().
To avoid having ksize() as the top frame in the reported stack trace
pass _RET_IP_ to __kasan_check_byte().

Also add a new ksize_uaf() test that checks that a use-after-free is
detected via ksize() itself, and via plain accesses that happen later.

Link: https://linux-review.googlesource.com/id/Iaabf771881d0f9ce1b969f2a62938e99d3308ec5
Link: https://lkml.kernel.org/r/f32ad74a60b28d8402482a38476f02bb7600f620.1610733117.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
(cherry picked from commit bc4e8e92cfa1b2bdd04003dd802a3a31e1bd56e5
 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm)
Bug: 172318110
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Change-Id: I73705987ce6279a22763c260655acc0b98b8db60
2021-02-07 13:41:42 -08:00
Alexander Potapenko
6ba57f3a0c BACKPORT: mm, kfence: insert KFENCE hooks for SLAB
Inserts KFENCE hooks into the SLAB allocator.

To pass the originally requested size to KFENCE, add an argument
'orig_size' to slab_alloc*(). The additional argument is required to
preserve the requested original size for kmalloc() allocations, which
uses size classes (e.g. an allocation of 272 bytes will return an object
of size 512). Therefore, kmem_cache::size does not represent the
kmalloc-caller's requested size, and we must introduce the argument
'orig_size' to propagate the originally requested size to KFENCE.

Without the originally requested size, we would not be able to detect
out-of-bounds accesses for objects placed at the end of a KFENCE object
page if that object is not equal to the kmalloc-size class it was
bucketed into.

When KFENCE is disabled, there is no additional overhead, since
slab_alloc*() functions are __always_inline.

Link: https://lkml.kernel.org/r/20201103175841.3495947-5-elver@google.com
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Alexander Potapenko <glider@google.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Co-developed-by: Marco Elver <elver@google.com>

Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Hillf Danton <hdanton@sina.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jann Horn <jannh@google.com>
Cc: Joern Engel <joern@purestorage.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Kees Cook <keescook@chromium.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: SeongJae Park <sjpark@amazon.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

[glider: resolved minor API change in mm/slab_common.c]
Bug: 177201466
(cherry picked from commit 840c0553e89413319d67971a321bcc07114da9b8
    https://github.com/hnaz/linux-mm v5.11-rc4-mmots-2021-01-21-20-10)
Test: CONFIG_KFENCE_KUNIT_TEST=y passes on Cuttlefish
Signed-off-by: Alexander Potapenko <glider@google.com>
Change-Id: Iab2ba9c7b06b9a234d93ba892be639941861f8ab
2021-02-05 09:20:53 -08:00
Andrey Konovalov
6d847f846e UPSTREAM: kasan, mm: allow cache merging with no metadata
[ Upstream commit e86f8b09f215e3755cd2d56930487dec2de02433 ]

The reason cache merging is disabled with KASAN is because KASAN puts its
metadata right after the allocated object. When the merged caches have
slightly different sizes, the metadata ends up in different places, which
KASAN doesn't support.

It might be possible to adjust the metadata allocation algorithm and make
it friendly to the cache merging code. Instead this change takes a simpler
approach and allows merging caches when no metadata is present. Which is
the case for hardware tag-based KASAN with kasan.mode=prod.

Link: https://lkml.kernel.org/r/37497e940bfd4b32c0a93a702a9ae4cf061d5392.1606162397.git.andreyknvl@google.com
Co-developed-by: Vincenzo Frascino <Vincenzo.Frascino@arm.com>
Signed-off-by: Vincenzo Frascino <Vincenzo.Frascino@arm.com>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Bug: 172318110
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Change-Id: I11e722c583fbaa6d08bb726f2da684106859b86e
2021-01-19 21:47:32 -08:00
Andrey Konovalov
37f77a6fb3 UPSTREAM: kasan: rename (un)poison_shadow to (un)poison_range
[ Upstream commit cebd0eb29acdfc2f5e44e5f356ffcd0c44f16b4a ]

This is a preparatory commit for the upcoming addition of a new hardware
tag-based (MTE-based) KASAN mode.

The new mode won't be using shadow memory.  Rename external annotation
kasan_unpoison_shadow() to kasan_unpoison_range(), and introduce internal
functions (un)poison_range() (without kasan_ prefix).

Co-developed-by: Marco Elver <elver@google.com>
Link: https://lkml.kernel.org/r/fccdcaa13dc6b2211bf363d6c6d499279a54fe3a.1606161801.git.andreyknvl@google.com
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Bug: 172318110
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Change-Id: If25b1b58a3a38a2643367a165e1c9bbd69d42455
2021-01-19 21:47:27 -08:00
Randy Dunlap
081a06fa29 mm/slab_common.c: delete duplicated word
Drop the repeated word "and".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Link: http://lkml.kernel.org/r/20200801173822.14973-12-rdunlap@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-12 10:57:58 -07:00
Roman Gushchin
10befea91b mm: memcg/slab: use a single set of kmem_caches for all allocations
Instead of having two sets of kmem_caches: one for system-wide and
non-accounted allocations and the second one shared by all accounted
allocations, we can use just one.

The idea is simple: space for obj_cgroup metadata can be allocated on
demand and filled only for accounted allocations.

It allows to remove a bunch of code which is required to handle kmem_cache
clones for accounted allocations.  There is no more need to create them,
accumulate statistics, propagate attributes, etc.  It's a quite
significant simplification.

Also, because the total number of slab_caches is reduced almost twice (not
all kmem_caches have a memcg clone), some additional memory savings are
expected.  On my devvm it additionally saves about 3.5% of slab memory.

[guro@fb.com: fix build on MIPS]
  Link: http://lkml.kernel.org/r/20200717214810.3733082-1-guro@fb.com

Suggested-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Naresh Kamboju <naresh.kamboju@linaro.org>
Link: http://lkml.kernel.org/r/20200623174037.3951353-18-guro@fb.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:25 -07:00
Roman Gushchin
15999eef7f mm: memcg/slab: remove redundant check in memcg_accumulate_slabinfo()
memcg_accumulate_slabinfo() is never called with a non-root kmem_cache as
a first argument, so the is_root_cache(s) check is redundant and can be
removed without any functional change.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20200623174037.3951353-17-guro@fb.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:25 -07:00
Roman Gushchin
c7094406fc mm: memcg/slab: deprecate slab_root_caches
Currently there are two lists of kmem_caches:
1) slab_caches, which contains all kmem_caches,
2) slab_root_caches, which contains only root kmem_caches.

And there is some preprocessor magic to have a single list if
CONFIG_MEMCG_KMEM isn't enabled.

It was required earlier because the number of non-root kmem_caches was
proportional to the number of memory cgroups and could reach really big
values.  Now, when it cannot exceed the number of root kmem_caches, there
is really no reason to maintain two lists.

We never iterate over the slab_root_caches list on any hot paths, so it's
perfectly fine to iterate over slab_caches and filter out non-root
kmem_caches.

It allows to remove a lot of config-dependent code and two pointers from
the kmem_cache structure.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20200623174037.3951353-16-guro@fb.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:25 -07:00
Roman Gushchin
272911a4ad mm: memcg/slab: remove memcg_kmem_get_cache()
The memcg_kmem_get_cache() function became really trivial, so let's just
inline it into the single call point: memcg_slab_pre_alloc_hook().

It will make the code less bulky and can also help the compiler to
generate a better code.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20200623174037.3951353-15-guro@fb.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:25 -07:00
Roman Gushchin
d797b7d054 mm: memcg/slab: simplify memcg cache creation
Because the number of non-root kmem_caches doesn't depend on the number of
memory cgroups anymore and is generally not very big, there is no more
need for a dedicated workqueue.

Also, as there is no more need to pass any arguments to the
memcg_create_kmem_cache() except the root kmem_cache, it's possible to
just embed the work structure into the kmem_cache and avoid the dynamic
allocation of the work structure.

This will also simplify the synchronization: for each root kmem_cache
there is only one work.  So there will be no more concurrent attempts to
create a non-root kmem_cache for a root kmem_cache: the second and all
following attempts to queue the work will fail.

On the kmem_cache destruction path there is no more need to call the
expensive flush_workqueue() and wait for all pending works to be finished.
Instead, cancel_work_sync() can be used to cancel/wait for only one work.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20200623174037.3951353-14-guro@fb.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:25 -07:00
Roman Gushchin
9855609bde mm: memcg/slab: use a single set of kmem_caches for all accounted allocations
This is fairly big but mostly red patch, which makes all accounted slab
allocations use a single set of kmem_caches instead of creating a separate
set for each memory cgroup.

Because the number of non-root kmem_caches is now capped by the number of
root kmem_caches, there is no need to shrink or destroy them prematurely.
They can be perfectly destroyed together with their root counterparts.
This allows to dramatically simplify the management of non-root
kmem_caches and delete a ton of code.

This patch performs the following changes:
1) introduces memcg_params.memcg_cache pointer to represent the
   kmem_cache which will be used for all non-root allocations
2) reuses the existing memcg kmem_cache creation mechanism
   to create memcg kmem_cache on the first allocation attempt
3) memcg kmem_caches are named <kmemcache_name>-memcg,
   e.g. dentry-memcg
4) simplifies memcg_kmem_get_cache() to just return memcg kmem_cache
   or schedule it's creation and return the root cache
5) removes almost all non-root kmem_cache management code
   (separate refcounter, reparenting, shrinking, etc)
6) makes slab debugfs to display root_mem_cgroup css id and never
   show :dead and :deact flags in the memcg_slabinfo attribute.

Following patches in the series will simplify the kmem_cache creation.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20200623174037.3951353-13-guro@fb.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:25 -07:00
Roman Gushchin
4330a26bc4 mm: memcg/slab: deprecate memory.kmem.slabinfo
Deprecate memory.kmem.slabinfo.

An empty file will be presented if corresponding config options are
enabled.

The interface is implementation dependent, isn't present in cgroup v2, and
is generally useful only for core mm debugging purposes.  In other words,
it doesn't provide any value for the absolute majority of users.

A drgn-based replacement can be found in
tools/cgroup/memcg_slabinfo.py.  It does support cgroup v1 and v2,
mimics memory.kmem.slabinfo output and also allows to get any
additional information without a need to recompile the kernel.

If a drgn-based solution is too slow for a task, a bpf-based tracing tool
can be used, which can easily keep track of all slab allocations belonging
to a memory cgroup.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20200623174037.3951353-11-guro@fb.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:24 -07:00
Roman Gushchin
d42f3245c7 mm: memcg: convert vmstat slab counters to bytes
In order to prepare for per-object slab memory accounting, convert
NR_SLAB_RECLAIMABLE and NR_SLAB_UNRECLAIMABLE vmstat items to bytes.

To make it obvious, rename them to NR_SLAB_RECLAIMABLE_B and
NR_SLAB_UNRECLAIMABLE_B (similar to NR_KERNEL_STACK_KB).

Internally global and per-node counters are stored in pages, however memcg
and lruvec counters are stored in bytes.  This scheme may look weird, but
only for now.  As soon as slab pages will be shared between multiple
cgroups, global and node counters will reflect the total number of slab
pages.  However memcg and lruvec counters will be used for per-memcg slab
memory tracking, which will take separate kernel objects in the account.
Keeping global and node counters in pages helps to avoid additional
overhead.

The size of slab memory shouldn't exceed 4Gb on 32-bit machines, so it
will fit into atomic_long_t we use for vmstats.

Signed-off-by: Roman Gushchin <guro@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Christoph Lameter <cl@linux.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20200623174037.3951353-4-guro@fb.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:24 -07:00
Long Li
444050990d mm, slab: check GFP_SLAB_BUG_MASK before alloc_pages in kmalloc_order
kmalloc cannot allocate memory from HIGHMEM.  Allocating large amounts of
memory currently bypasses the check and will simply leak the memory when
page_address() returns NULL.  To fix this, factor the GFP_SLAB_BUG_MASK
check out of slab & slub, and call it from kmalloc_order() as well.  In
order to make the code clear, the warning message is put in one place.

Signed-off-by: Long Li <lonuxli.64@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Link: http://lkml.kernel.org/r/20200704035027.GA62481@lilong
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:22 -07:00
William Kucharski
fa9ba3aa89 mm: ksize() should silently accept a NULL pointer
Other mm routines such as kfree() and kzfree() silently do the right thing
if passed a NULL pointer, so ksize() should do the same.

Signed-off-by: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Link: http://lkml.kernel.org/r/20200616225409.4670-1-william.kucharski@oracle.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:22 -07:00
Waiman Long
453431a549 mm, treewide: rename kzfree() to kfree_sensitive()
As said by Linus:

  A symmetric naming is only helpful if it implies symmetries in use.
  Otherwise it's actively misleading.

  In "kzalloc()", the z is meaningful and an important part of what the
  caller wants.

  In "kzfree()", the z is actively detrimental, because maybe in the
  future we really _might_ want to use that "memfill(0xdeadbeef)" or
  something. The "zero" part of the interface isn't even _relevant_.

The main reason that kzfree() exists is to clear sensitive information
that should not be leaked to other future users of the same memory
objects.

Rename kzfree() to kfree_sensitive() to follow the example of the recently
added kvfree_sensitive() and make the intention of the API more explicit.
In addition, memzero_explicit() is used to clear the memory to make sure
that it won't get optimized away by the compiler.

The renaming is done by using the command sequence:

  git grep -w --name-only kzfree |\
  xargs sed -i 's/kzfree/kfree_sensitive/'

followed by some editing of the kfree_sensitive() kerneldoc and adding
a kzfree backward compatibility macro in slab.h.

[akpm@linux-foundation.org: fs/crypto/inline_crypt.c needs linux/slab.h]
[akpm@linux-foundation.org: fix fs/crypto/inline_crypt.c some more]

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Cc: James Morris <jmorris@namei.org>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Cc: Joe Perches <joe@perches.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: "Jason A . Donenfeld" <Jason@zx2c4.com>
Link: http://lkml.kernel.org/r/20200616154311.12314-3-longman@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:22 -07:00
Muchun Song
d38a2b7a9c mm: memcg/slab: fix memory leak at non-root kmem_cache destroy
If the kmem_cache refcount is greater than one, we should not mark the
root kmem_cache as dying.  If we mark the root kmem_cache dying
incorrectly, the non-root kmem_cache can never be destroyed.  It
resulted in memory leak when memcg was destroyed.  We can use the
following steps to reproduce.

  1) Use kmem_cache_create() to create a new kmem_cache named A.
  2) Coincidentally, the kmem_cache A is an alias for kmem_cache B,
     so the refcount of B is just increased.
  3) Use kmem_cache_destroy() to destroy the kmem_cache A, just
     decrease the B's refcount but mark the B as dying.
  4) Create a new memory cgroup and alloc memory from the kmem_cache
     B. It leads to create a non-root kmem_cache for allocating memory.
  5) When destroy the memory cgroup created in the step 4), the
     non-root kmem_cache can never be destroyed.

If we repeat steps 4) and 5), this will cause a lot of memory leak.  So
only when refcount reach zero, we mark the root kmem_cache as dying.

Fixes: 92ee383f6d ("mm: fix race between kmem_cache destroy, create and deactivate")
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Roman Gushchin <guro@fb.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: <stable@vger.kernel.org>
Link: http://lkml.kernel.org/r/20200716165103.83462-1-songmuchun@bytedance.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-07-24 12:42:41 -07:00
Waiman Long
8982ae527f mm/slab: use memzero_explicit() in kzfree()
The kzfree() function is normally used to clear some sensitive
information, like encryption keys, in the buffer before freeing it back to
the pool.  Memset() is currently used for buffer clearing.  However
unlikely, there is still a non-zero probability that the compiler may
choose to optimize away the memory clearing especially if LTO is being
used in the future.

To make sure that this optimization will never happen,
memzero_explicit(), which is introduced in v3.18, is now used in
kzfree() to future-proof it.

Link: http://lkml.kernel.org/r/20200616154311.12314-2-longman@redhat.com
Fixes: 3ef0e5ba46 ("slab: introduce kzfree()")
Signed-off-by: Waiman Long <longman@redhat.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Cc: James Morris <jmorris@namei.org>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Cc: Joe Perches <joe@perches.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: "Jason A . Donenfeld" <Jason@zx2c4.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-26 00:27:37 -07:00
Vlastimil Babka
49f2d2419d usercopy: mark dma-kmalloc caches as usercopy caches
We have seen a "usercopy: Kernel memory overwrite attempt detected to
SLUB object 'dma-kmalloc-1 k' (offset 0, size 11)!" error on s390x, as
IUCV uses kmalloc() with __GFP_DMA because of memory address
restrictions.  The issue has been discussed [2] and it has been noted
that if all the kmalloc caches are marked as usercopy, there's little
reason not to mark dma-kmalloc caches too.  The 'dma' part merely means
that __GFP_DMA is used to restrict memory address range.

As Jann Horn put it [3]:
 "I think dma-kmalloc slabs should be handled the same way as normal
  kmalloc slabs. When a dma-kmalloc allocation is freshly created, it is
  just normal kernel memory - even if it might later be used for DMA -,
  and it should be perfectly fine to copy_from_user() into such
  allocations at that point, and to copy_to_user() out of them at the
  end. If you look at the places where such allocations are created, you
  can see things like kmemdup(), memcpy() and so on - all normal
  operations that shouldn't conceptually be different from usercopy in
  any relevant way."

Thus this patch marks the dma-kmalloc-* caches as usercopy.

[1] https://bugzilla.suse.com/show_bug.cgi?id=1156053
[2] https://lore.kernel.org/kernel-hardening/bfca96db-bbd0-d958-7732-76e36c667c68@suse.cz/
[3] https://lore.kernel.org/kernel-hardening/CAG48ez1a4waGk9kB0WLaSbs4muSoK0AYAVk8=XYaKj4_+6e6Hg@mail.gmail.com/

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jann Horn <jannh@google.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Christopher Lameter <cl@linux.com>
Cc: Julian Wiedmann <jwi@linux.ibm.com>
Cc: Ursula Braun <ubraun@linux.ibm.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: David Windsor <dave@nullcore.net>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Laura Abbott <labbott@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Luis de Bethencourt <luisbg@kernel.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Matthew Garrett <mjg59@google.com>
Cc: Michal Kubecek <mkubecek@suse.cz>
Link: http://lkml.kernel.org/r/7d810f6d-8085-ea2f-7805-47ba3842dc50@suse.cz
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-02 10:59:06 -07:00
Qiujun Huang
b991cee567 mm, slab_common: fix a typo in comment "eariler"->"earlier"
There is a typo in comment, fix it.
s/eariler/earlier/

Signed-off-by: Qiujun Huang <hqjagain@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Christoph Lameter <cl@linux.com>
Link: http://lkml.kernel.org/r/20200405160544.1246-1-hqjagain@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-10 15:36:20 -07:00
Alexey Dobriyan
d919b33daf proc: faster open/read/close with "permanent" files
Now that "struct proc_ops" exist we can start putting there stuff which
could not fly with VFS "struct file_operations"...

Most of fs/proc/inode.c file is dedicated to make open/read/.../close
reliable in the event of disappearing /proc entries which usually happens
if module is getting removed.  Files like /proc/cpuinfo which never
disappear simply do not need such protection.

Save 2 atomic ops, 1 allocation, 1 free per open/read/close sequence for such
"permanent" files.

Enable "permanent" flag for

	/proc/cpuinfo
	/proc/kmsg
	/proc/modules
	/proc/slabinfo
	/proc/stat
	/proc/sysvipc/*
	/proc/swaps

More will come once I figure out foolproof way to prevent out module
authors from marking their stuff "permanent" for performance reasons
when it is not.

This should help with scalability: benchmark is "read /proc/cpuinfo R times
by N threads scattered over the system".

	N	R	t, s (before)	t, s (after)
	-----------------------------------------------------
	64	4096	1.582458	1.530502	-3.2%
	256	4096	6.371926	6.125168	-3.9%
	1024	4096	25.64888	24.47528	-4.6%

Benchmark source:

#include <chrono>
#include <iostream>
#include <thread>
#include <vector>

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

const int NR_CPUS = sysconf(_SC_NPROCESSORS_ONLN);
int N;
const char *filename;
int R;

int xxx = 0;

int glue(int n)
{
	cpu_set_t m;
	CPU_ZERO(&m);
	CPU_SET(n, &m);
	return sched_setaffinity(0, sizeof(cpu_set_t), &m);
}

void f(int n)
{
	glue(n % NR_CPUS);

	while (*(volatile int *)&xxx == 0) {
	}

	for (int i = 0; i < R; i++) {
		int fd = open(filename, O_RDONLY);
		char buf[4096];
		ssize_t rv = read(fd, buf, sizeof(buf));
		asm volatile ("" :: "g" (rv));
		close(fd);
	}
}

int main(int argc, char *argv[])
{
	if (argc < 4) {
		std::cerr << "usage: " << argv[0] << ' ' << "N /proc/filename R
";
		return 1;
	}

	N = atoi(argv[1]);
	filename = argv[2];
	R = atoi(argv[3]);

	for (int i = 0; i < NR_CPUS; i++) {
		if (glue(i) == 0)
			break;
	}

	std::vector<std::thread> T;
	T.reserve(N);
	for (int i = 0; i < N; i++) {
		T.emplace_back(f, i);
	}

	auto t0 = std::chrono::system_clock::now();
	{
		*(volatile int *)&xxx = 1;
		for (auto& t: T) {
			t.join();
		}
	}
	auto t1 = std::chrono::system_clock::now();
	std::chrono::duration<double> dt = t1 - t0;
	std::cout << dt.count() << '
';

	return 0;
}

P.S.:
Explicit randomization marker is added because adding non-function pointer
will silently disable structure layout randomization.

[akpm@linux-foundation.org: coding style fixes]
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Joe Perches <joe@perches.com>
Link: http://lkml.kernel.org/r/20200222201539.GA22576@avx2
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-07 10:43:42 -07:00
Yafang Shao
a87425a36f mm, memcg: fix build error around the usage of kmem_caches
When I manually set default n to MEMCG_KMEM in init/Kconfig, bellow error
occurs,

  mm/slab_common.c: In function 'memcg_slab_start':
  mm/slab_common.c:1530:30: error: 'struct mem_cgroup' has no member named
  'kmem_caches'
    return seq_list_start(&memcg->kmem_caches, *pos);
                                ^
  mm/slab_common.c: In function 'memcg_slab_next':
  mm/slab_common.c:1537:32: error: 'struct mem_cgroup' has no member named
  'kmem_caches'
    return seq_list_next(p, &memcg->kmem_caches, pos);
                                  ^
  mm/slab_common.c: In function 'memcg_slab_show':
  mm/slab_common.c:1551:16: error: 'struct mem_cgroup' has no member named
  'kmem_caches'
    if (p == memcg->kmem_caches.next)
                  ^
    CC      arch/x86/xen/smp.o
  mm/slab_common.c: In function 'memcg_slab_start':
  mm/slab_common.c:1531:1: warning: control reaches end of non-void function
  [-Wreturn-type]
   }
   ^
  mm/slab_common.c: In function 'memcg_slab_next':
  mm/slab_common.c:1538:1: warning: control reaches end of non-void function
  [-Wreturn-type]
   }
   ^

That's because kmem_caches is defined only when CONFIG_MEMCG_KMEM is set,
while memcg_slab_start() will use it no matter CONFIG_MEMCG_KMEM is defined
or not.

By the way, the reason I mannuly undefined CONFIG_MEMCG_KMEM is to verify
whether my some other code change is still stable when CONFIG_MEMCG_KMEM is
not set. Unfortunately, the existing code has been already unstable since
v4.11.

Fixes: bc2791f857 ("slab: link memcg kmem_caches on their associated memory cgroup")
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Link: http://lkml.kernel.org/r/1580970260-2045-1-git-send-email-laoar.shao@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-02 09:35:28 -07:00
Alexey Dobriyan
97a32539b9 proc: convert everything to "struct proc_ops"
The most notable change is DEFINE_SHOW_ATTRIBUTE macro split in
seq_file.h.

Conversion rule is:

	llseek		=> proc_lseek
	unlocked_ioctl	=> proc_ioctl

	xxx		=> proc_xxx

	delete ".owner = THIS_MODULE" line

[akpm@linux-foundation.org: fix drivers/isdn/capi/kcapi_proc.c]
[sfr@canb.auug.org.au: fix kernel/sched/psi.c]
  Link: http://lkml.kernel.org/r/20200122180545.36222f50@canb.auug.org.au
Link: http://lkml.kernel.org/r/20191225172546.GB13378@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-02-04 03:05:26 +00:00
Florian Westphal
1c948715a1 mm: remove __krealloc
Since 5.5-rc1 the last user of this function is gone, so remove the
functionality.

See commit
2ad9d7747c ("netfilter: conntrack: free extension area immediately")
for details.

Link: http://lkml.kernel.org/r/20191212223442.22141-1-fw@strlen.de
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-02-04 03:05:24 +00:00
Adrian Huang
2fe20210fc mm: memcg/slab: call flush_memcg_workqueue() only if memcg workqueue is valid
When booting with amd_iommu=off, the following WARNING message
appears:

  AMD-Vi: AMD IOMMU disabled on kernel command-line
  ------------[ cut here ]------------
  WARNING: CPU: 0 PID: 0 at kernel/workqueue.c:2772 flush_workqueue+0x42e/0x450
  Modules linked in:
  CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.5.0-rc3-amd-iommu #6
  Hardware name: Lenovo ThinkSystem SR655-2S/7D2WRCZ000, BIOS D8E101L-1.00 12/05/2019
  RIP: 0010:flush_workqueue+0x42e/0x450
  Code: ff 0f 0b e9 7a fd ff ff 4d 89 ef e9 33 fe ff ff 0f 0b e9 7f fd ff ff 0f 0b e9 bc fd ff ff 0f 0b e9 a8 fd ff ff e8 52 2c fe ff <0f> 0b 31 d2 48 c7 c6 e0 88 c5 95 48 c7 c7 d8 ad f0 95 e8 19 f5 04
  Call Trace:
   kmem_cache_destroy+0x69/0x260
   iommu_go_to_state+0x40c/0x5ab
   amd_iommu_prepare+0x16/0x2a
   irq_remapping_prepare+0x36/0x5f
   enable_IR_x2apic+0x21/0x172
   default_setup_apic_routing+0x12/0x6f
   apic_intr_mode_init+0x1a1/0x1f1
   x86_late_time_init+0x17/0x1c
   start_kernel+0x480/0x53f
   secondary_startup_64+0xb6/0xc0
  ---[ end trace 30894107c3749449 ]---
  x2apic: IRQ remapping doesn't support X2APIC mode
  x2apic disabled

The warning is caused by the calling of 'kmem_cache_destroy()'
in free_iommu_resources(). Here is the call path:

  free_iommu_resources
    kmem_cache_destroy
      flush_memcg_workqueue
        flush_workqueue

The root cause is that the IOMMU subsystem runs before the workqueue
subsystem, which the variable 'wq_online' is still 'false'.  This leads
to the statement 'if (WARN_ON(!wq_online))' in flush_workqueue() is
'true'.

Since the variable 'memcg_kmem_cache_wq' is not allocated during the
time, it is unnecessary to call flush_memcg_workqueue().  This prevents
the WARNING message triggered by flush_workqueue().

Link: http://lkml.kernel.org/r/20200103085503.1665-1-ahuang12@lenovo.com
Fixes: 92ee383f6d ("mm: fix race between kmem_cache destroy, create and deactivate")
Signed-off-by: Adrian Huang <ahuang12@lenovo.com>
Reported-by: Xiaochun Lee <lixc17@lenovo.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-01-13 18:19:02 -08:00
Roman Gushchin
a264df74df mm: memcg/slab: wait for !root kmem_cache refcnt killing on root kmem_cache destruction
Christian reported a warning like the following obtained during running
some KVM-related tests on s390:

    WARNING: CPU: 8 PID: 208 at lib/percpu-refcount.c:108 percpu_ref_exit+0x50/0x58
    Modules linked in: kvm(-) xt_CHECKSUM xt_MASQUERADE bonding xt_tcpudp ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ip6table_na>
    CPU: 8 PID: 208 Comm: kworker/8:1 Not tainted 5.2.0+ #66
    Hardware name: IBM 2964 NC9 712 (LPAR)
    Workqueue: events sysfs_slab_remove_workfn
    Krnl PSW : 0704e00180000000 0000001529746850 (percpu_ref_exit+0x50/0x58)
               R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:2 PM:0 RI:0 EA:3
    Krnl GPRS: 00000000ffff8808 0000001529746740 000003f4e30e8e18 0036008100000000
               0000001f00000000 0035008100000000 0000001fb3573ab8 0000000000000000
               0000001fbdb6de00 0000000000000000 0000001529f01328 0000001fb3573b00
               0000001fbb27e000 0000001fbdb69300 000003e009263d00 000003e009263cd0
    Krnl Code: 0000001529746842: f0a0000407fe        srp        4(11,%r0),2046,0
               0000001529746848: 47000700            bc         0,1792
              #000000152974684c: a7f40001            brc        15,152974684e
              >0000001529746850: a7f4fff2            brc        15,1529746834
               0000001529746854: 0707                bcr        0,%r7
               0000001529746856: 0707                bcr        0,%r7
               0000001529746858: eb8ff0580024        stmg       %r8,%r15,88(%r15)
               000000152974685e: a738ffff            lhi        %r3,-1
    Call Trace:
    ([<000003e009263d00>] 0x3e009263d00)
     [<00000015293252ea>] slab_kmem_cache_release+0x3a/0x70
     [<0000001529b04882>] kobject_put+0xaa/0xe8
     [<000000152918cf28>] process_one_work+0x1e8/0x428
     [<000000152918d1b0>] worker_thread+0x48/0x460
     [<00000015291942c6>] kthread+0x126/0x160
     [<0000001529b22344>] ret_from_fork+0x28/0x30
     [<0000001529b2234c>] kernel_thread_starter+0x0/0x10
    Last Breaking-Event-Address:
     [<000000152974684c>] percpu_ref_exit+0x4c/0x58
    ---[ end trace b035e7da5788eb09 ]---

The problem occurs because kmem_cache_destroy() is called immediately
after deleting of a memcg, so it races with the memcg kmem_cache
deactivation.

flush_memcg_workqueue() at the beginning of kmem_cache_destroy() is
supposed to guarantee that all deactivation processes are finished, but
failed to do so.  It waits for an rcu grace period, after which all
children kmem_caches should be deactivated.  During the deactivation
percpu_ref_kill() is called for non root kmem_cache refcounters, but it
requires yet another rcu grace period to finish the transition to the
atomic (dead) state.

So in a rare case when not all children kmem_caches are destroyed at the
moment when the root kmem_cache is about to be gone, we need to wait
another rcu grace period before destroying the root kmem_cache.

This issue can be triggered only with dynamically created kmem_caches
which are used with memcg accounting.  In this case per-memcg child
kmem_caches are created.  They are deactivated from the cgroup removing
path.  If the destruction of the root kmem_cache is racing with the
removal of the cgroup (both are quite complicated multi-stage
processes), the described issue can occur.  The only known way to
trigger it in the real life, is to unload some kernel module which
creates a dedicated kmem_cache, used from different memory cgroups with
GFP_ACCOUNT flag.  If the unloading happens immediately after calling
rmdir on the corresponding cgroup, there is some chance to trigger the
issue.

Link: http://lkml.kernel.org/r/20191129025011.3076017-1-guro@fb.com
Fixes: f0a3a24b53 ("mm: memcg/slab: rework non-root kmem_cache lifecycle management")
Signed-off-by: Roman Gushchin <guro@fb.com>
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-12-04 19:44:11 -08:00
Pengfei Li
13657d0ad9 mm, slab_common: use enum kmalloc_cache_type to iterate over kmalloc caches
The type of local variable *type* of new_kmalloc_cache() should be enum
kmalloc_cache_type instead of int, so correct it.

Link: http://lkml.kernel.org/r/1569241648-26908-4-git-send-email-lpf.vector@gmail.com
Signed-off-by: Pengfei Li <lpf.vector@gmail.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Roman Gushchin <guro@fb.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-12-01 06:29:17 -08:00
Pengfei Li
dc0a7f7558 mm, slab: remove unused kmalloc_size()
The size of kmalloc can be obtained from kmalloc_info[], so remove
kmalloc_size() that will not be used anymore.

Link: http://lkml.kernel.org/r/1569241648-26908-3-git-send-email-lpf.vector@gmail.com
Signed-off-by: Pengfei Li <lpf.vector@gmail.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Roman Gushchin <guro@fb.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-12-01 06:29:17 -08:00
Pengfei Li
cb5d9fb38c mm, slab: make kmalloc_info[] contain all types of names
Patch series "mm, slab: Make kmalloc_info[] contain all types of names", v6.

There are three types of kmalloc, KMALLOC_NORMAL, KMALLOC_RECLAIM
and KMALLOC_DMA.

The name of KMALLOC_NORMAL is contained in kmalloc_info[].name,
but the names of KMALLOC_RECLAIM and KMALLOC_DMA are dynamically
generated by kmalloc_cache_name().

Patch1 predefines the names of all types of kmalloc to save
the time spent dynamically generating names.

These changes make sense, and the time spent by new_kmalloc_cache()
has been reduced by approximately 36.3%.

                         Time spent by new_kmalloc_cache()
                                  (CPU cycles)
5.3-rc7                              66264
5.3-rc7+patch                        42188

This patch (of 3):

There are three types of kmalloc, KMALLOC_NORMAL, KMALLOC_RECLAIM and
KMALLOC_DMA.

The name of KMALLOC_NORMAL is contained in kmalloc_info[].name, but the
names of KMALLOC_RECLAIM and KMALLOC_DMA are dynamically generated by
kmalloc_cache_name().

This patch predefines the names of all types of kmalloc to save the time
spent dynamically generating names.

Besides, remove the kmalloc_cache_name() that is no longer used.

Link: http://lkml.kernel.org/r/1569241648-26908-2-git-send-email-lpf.vector@gmail.com
Signed-off-by: Pengfei Li <lpf.vector@gmail.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Roman Gushchin <guro@fb.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-12-01 06:29:17 -08:00
Roman Gushchin
b749ecfaf6 mm: memcg/slab: fix panic in __free_slab() caused by premature memcg pointer release
Karsten reported the following panic in __free_slab() happening on a s390x
machine:

  Unable to handle kernel pointer dereference in virtual kernel address space
  Failing address: 0000000000000000 TEID: 0000000000000483
  Fault in home space mode while using kernel ASCE.
  AS:00000000017d4007 R3:000000007fbd0007 S:000000007fbff000 P:000000000000003d
  Oops: 0004 ilc:3 Ý#1¨ PREEMPT SMP
  Modules linked in: tcp_diag inet_diag xt_tcpudp ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_at nf_nat
  CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.3.0-05872-g6133e3e4bada-dirty #14
  Hardware name: IBM 2964 NC9 702 (z/VM 6.4.0)
  Krnl PSW : 0704d00180000000 00000000003cadb6 (__free_slab+0x686/0x6b0)
             R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:1 PM:0 RI:0 EA:3
  Krnl GPRS: 00000000f3a32928 0000000000000000 000000007fbf5d00 000000000117c4b8
             0000000000000000 000000009e3291c1 0000000000000000 0000000000000000
             0000000000000003 0000000000000008 000000002b478b00 000003d080a97600
             0000000000000003 0000000000000008 000000002b478b00 000003d080a97600
             000000000117ba00 000003e000057db0 00000000003cabcc 000003e000057c78
  Krnl Code: 00000000003cada6: e310a1400004        lg      %r1,320(%r10)
             00000000003cadac: c0e50046c286        brasl   %r14,ca32b8
            #00000000003cadb2: a7f4fe36            brc     15,3caa1e
            >00000000003cadb6: e32060800024        stg     %r2,128(%r6)
             00000000003cadbc: a7f4fd9e            brc     15,3ca8f8
             00000000003cadc0: c0e50046790c        brasl   %r14,c99fd8
             00000000003cadc6: a7f4fe2c            brc     15,3caa
             00000000003cadc6: a7f4fe2c            brc     15,3caa1e
             00000000003cadca: ecb1ffff00d9        aghik   %r11,%r1,-1
  Call Trace:
  (<00000000003cabcc> __free_slab+0x49c/0x6b0)
   <00000000001f5886> rcu_core+0x5a6/0x7e0
   <0000000000ca2dea> __do_softirq+0xf2/0x5c0
   <0000000000152644> irq_exit+0x104/0x130
   <000000000010d222> do_IRQ+0x9a/0xf0
   <0000000000ca2344> ext_int_handler+0x130/0x134
   <0000000000103648> enabled_wait+0x58/0x128
  (<0000000000103634> enabled_wait+0x44/0x128)
   <0000000000103b00> arch_cpu_idle+0x40/0x58
   <0000000000ca0544> default_idle_call+0x3c/0x68
   <000000000018eaa4> do_idle+0xec/0x1c0
   <000000000018ee0e> cpu_startup_entry+0x36/0x40
   <000000000122df34> arch_call_rest_init+0x5c/0x88
   <0000000000000000> 0x0
  INFO: lockdep is turned off.
  Last Breaking-Event-Address:
   <00000000003ca8f4> __free_slab+0x1c4/0x6b0
  Kernel panic - not syncing: Fatal exception in interrupt

The kernel panics on an attempt to dereference the NULL memcg pointer.
When shutdown_cache() is called from the kmem_cache_destroy() context, a
memcg kmem_cache might have empty slab pages in a partial list, which are
still charged to the memory cgroup.

These pages are released by free_partial() at the beginning of
shutdown_cache(): either directly or by scheduling a RCU-delayed work
(if the kmem_cache has the SLAB_TYPESAFE_BY_RCU flag).  The latter case
is when the reported panic can happen: memcg_unlink_cache() is called
immediately after shrinking partial lists, without waiting for scheduled
RCU works.  It sets the kmem_cache->memcg_params.memcg pointer to NULL,
and the following attempt to dereference it by __free_slab() from the
RCU work context causes the panic.

To fix the issue, let's postpone the release of the memcg pointer to
destroy_memcg_params().  It's called from a separate work context by
slab_caches_to_rcu_destroy_workfn(), which contains a full RCU barrier.
This guarantees that all scheduled page release RCU works will complete
before the memcg pointer will be zeroed.

Big thanks for Karsten for the perfect report containing all necessary
information, his help with the analysis of the problem and testing of the
fix.

Link: http://lkml.kernel.org/r/20191010160549.1584316-1-guro@fb.com
Fixes: fb2f2b0adb ("mm: memcg/slab: reparent memcg kmem_caches on cgroup removal")
Signed-off-by: Roman Gushchin <guro@fb.com>
Reported-by: Karsten Graul <kgraul@linux.ibm.com>
Tested-by: Karsten Graul <kgraul@linux.ibm.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Karsten Graul <kgraul@linux.ibm.com>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-10-19 06:32:32 -04:00
Vlastimil Babka
59bb47985c mm, sl[aou]b: guarantee natural alignment for kmalloc(power-of-two)
In most configurations, kmalloc() happens to return naturally aligned
(i.e.  aligned to the block size itself) blocks for power of two sizes.

That means some kmalloc() users might unknowingly rely on that
alignment, until stuff breaks when the kernel is built with e.g.
CONFIG_SLUB_DEBUG or CONFIG_SLOB, and blocks stop being aligned.  Then
developers have to devise workaround such as own kmem caches with
specified alignment [1], which is not always practical, as recently
evidenced in [2].

The topic has been discussed at LSF/MM 2019 [3].  Adding a
'kmalloc_aligned()' variant would not help with code unknowingly relying
on the implicit alignment.  For slab implementations it would either
require creating more kmalloc caches, or allocate a larger size and only
give back part of it.  That would be wasteful, especially with a generic
alignment parameter (in contrast with a fixed alignment to size).

Ideally we should provide to mm users what they need without difficult
workarounds or own reimplementations, so let's make the kmalloc()
alignment to size explicitly guaranteed for power-of-two sizes under all
configurations.  What this means for the three available allocators?

* SLAB object layout happens to be mostly unchanged by the patch.  The
  implicitly provided alignment could be compromised with
  CONFIG_DEBUG_SLAB due to redzoning, however SLAB disables redzoning for
  caches with alignment larger than unsigned long long.  Practically on at
  least x86 this includes kmalloc caches as they use cache line alignment,
  which is larger than that.  Still, this patch ensures alignment on all
  arches and cache sizes.

* SLUB layout is also unchanged unless redzoning is enabled through
  CONFIG_SLUB_DEBUG and boot parameter for the particular kmalloc cache.
  With this patch, explicit alignment is guaranteed with redzoning as
  well.  This will result in more memory being wasted, but that should be
  acceptable in a debugging scenario.

* SLOB has no implicit alignment so this patch adds it explicitly for
  kmalloc().  The potential downside is increased fragmentation.  While
  pathological allocation scenarios are certainly possible, in my testing,
  after booting a x86_64 kernel+userspace with virtme, around 16MB memory
  was consumed by slab pages both before and after the patch, with
  difference in the noise.

[1] https://lore.kernel.org/linux-btrfs/c3157c8e8e0e7588312b40c853f65c02fe6c957a.1566399731.git.christophe.leroy@c-s.fr/
[2] https://lore.kernel.org/linux-fsdevel/20190225040904.5557-1-ming.lei@redhat.com/
[3] https://lwn.net/Articles/787740/

[akpm@linux-foundation.org: documentation fixlet, per Matthew]
Link: http://lkml.kernel.org/r/20190826111627.7505-3-vbabka@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Cc: David Sterba <dsterba@suse.cz>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Dave Chinner <david@fromorbit.com>
Cc: "Darrick J . Wong" <darrick.wong@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-10-07 15:47:20 -07:00
Vlastimil Babka
6a486c0ad4 mm, sl[ou]b: improve memory accounting
Patch series "guarantee natural alignment for kmalloc()", v2.

This patch (of 2):

SLOB currently doesn't account its pages at all, so in /proc/meminfo the
Slab field shows zero.  Modifying a counter on page allocation and
freeing should be acceptable even for the small system scenarios SLOB is
intended for.  Since reclaimable caches are not separated in SLOB,
account everything as unreclaimable.

SLUB currently doesn't account kmalloc() and kmalloc_node() allocations
larger than order-1 page, that are passed directly to the page
allocator.  As they also don't appear in /proc/slabinfo, it might look
like a memory leak.  For consistency, account them as well.  (SLAB
doesn't actually use page allocator directly, so no change there).

Ideally SLOB and SLUB would be handled in separate patches, but due to
the shared kmalloc_order() function and different kfree()
implementations, it's easier to patch both at once to prevent
inconsistencies.

Link: http://lkml.kernel.org/r/20190826111627.7505-2-vbabka@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: "Darrick J . Wong" <darrick.wong@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-10-07 15:47:20 -07:00
Waiman Long
04f768a39d mm, slab: extend slab/shrink to shrink all memcg caches
Currently, a value of '1" is written to /sys/kernel/slab/<slab>/shrink
file to shrink the slab by flushing out all the per-cpu slabs and free
slabs in partial lists.  This can be useful to squeeze out a bit more
memory under extreme condition as well as making the active object counts
in /proc/slabinfo more accurate.

This usually applies only to the root caches, as the SLUB_MEMCG_SYSFS_ON
option is usually not enabled and "slub_memcg_sysfs=1" not set.  Even if
memcg sysfs is turned on, it is too cumbersome and impractical to manage
all those per-memcg sysfs files in a real production system.

So there is no practical way to shrink memcg caches.  Fix this by enabling
a proper write to the shrink sysfs file of the root cache to scan all the
available memcg caches and shrink them as well.  For a non-root memcg
cache (when SLUB_MEMCG_SYSFS_ON or slub_memcg_sysfs is on), only that
cache will be shrunk when written.

On a 2-socket 64-core 256-thread arm64 system with 64k page after
a parallel kernel build, the the amount of memory occupied by slabs
before shrinking slabs were:

 # grep task_struct /proc/slabinfo
 task_struct        53137  53192   4288   61    4 : tunables    0    0
 0 : slabdata    872    872      0
 # grep "^S[lRU]" /proc/meminfo
 Slab:            3936832 kB
 SReclaimable:     399104 kB
 SUnreclaim:      3537728 kB

After shrinking slabs (by echoing "1" to all shrink files):

 # grep "^S[lRU]" /proc/meminfo
 Slab:            1356288 kB
 SReclaimable:     263296 kB
 SUnreclaim:      1092992 kB
 # grep task_struct /proc/slabinfo
 task_struct         2764   6832   4288   61    4 : tunables    0    0
 0 : slabdata    112    112      0

Link: http://lkml.kernel.org/r/20190723151445.7385-1-longman@redhat.com
Signed-off-by: Waiman Long <longman@redhat.com>
Acked-by: Roman Gushchin <guro@fb.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-09-24 15:54:07 -07:00
Arnd Bergmann
a07057dce2 mm/slab_common.c: work around clang bug #42570
Clang gets rather confused about two variables in the same special
section when one of them is not initialized, leading to an assembler
warning later:

  /tmp/slab_common-18f869.s: Assembler messages:
  /tmp/slab_common-18f869.s:7526: Warning: ignoring changed section attributes for .data..ro_after_init

Adding an initialization to kmalloc_caches is rather silly here
but does avoid the issue.

Link: https://bugs.llvm.org/show_bug.cgi?id=42570
Link: http://lkml.kernel.org/r/20190712090455.266021-1-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Roman Gushchin <guro@fb.com>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-07-16 19:23:21 -07:00