Commit Graph

1150 Commits

Author SHA1 Message Date
JianMin Liu
4442801a43 ANDROID: sched: Introducing PELT multiplier
The new sysctl sched_pelt_multiplier allows a user to set a clock
multiplier x2 or x4 (x1 being the default). This clock multiplier
artificially speed-up PELT ramp up/down similarly to a faster half-life.
Indeed, if we write PELT as a first order filter:

  y(t) = G * (1 - exp(t/tau))

Then we can see that multiplying the time by a constant X, is the same
as
dividing the time constant tau by X.

  y(t) = G * (1 - exp((t*X)/tau))
  y(t) = G * (1 - exp(t/(tau/X)))

Tau being half-life*ln(2), multiplying the PELT time is the same as
dividing the half-life:

  - x1: 32ms half-life
  - x2: 16ms half-life
  - x4: 8ms  half-life

Internally, a new clock is created: rq->clock_task_mult. It sits in the
clock hierarchy between rq->clock_task and rq->clock_pelt.

Bug: 177593580
Bug: 237219700
Change-Id: I67e6ca7994bebea22bf75732ee11d2b10e0d6b7e
Suggested-by: Morten Rasmussen <morten.rasmussen@arm.com>
Signed-off-by: Vincent Donnefort <vincent.donnefort@arm.com>
Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com>
2022-07-27 21:20:26 +00:00
Greg Kroah-Hartman
ca9b002a16 Merge 5.10.113 into android12-5.10-lts
Changes in 5.10.113
	etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
	mm: page_alloc: fix building error on -Werror=array-compare
	tracing: Dump stacktrace trigger to the corresponding instance
	perf tools: Fix segfault accessing sample_id xyarray
	gfs2: assign rgrp glock before compute_bitstructs
	net/sched: cls_u32: fix netns refcount changes in u32_change()
	ALSA: usb-audio: Clear MIDI port active flag after draining
	ALSA: hda/realtek: Add quirk for Clevo NP70PNP
	dm: fix mempool NULL pointer race when completing IO
	ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
	ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
	ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
	dmaengine: imx-sdma: Fix error checking in sdma_event_remap
	dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
	spi: spi-mtk-nor: initialize spi controller after resume
	esp: limit skb_page_frag_refill use to a single page
	igc: Fix infinite loop in release_swfw_sync
	igc: Fix BUG: scheduling while atomic
	rxrpc: Restore removed timer deletion
	net/smc: Fix sock leak when release after smc_shutdown()
	net/packet: fix packet_sock xmit return value checking
	ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
	ip6_gre: Fix skb_under_panic in __gre6_xmit()
	net/sched: cls_u32: fix possible leak in u32_init_knode()
	l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
	ipv6: make ip6_rt_gc_expire an atomic_t
	netlink: reset network and mac headers in netlink_dump()
	net: stmmac: Use readl_poll_timeout_atomic() in atomic state
	dmaengine: idxd: add RO check for wq max_batch_size write
	dmaengine: idxd: add RO check for wq max_transfer_size write
	selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
	arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad()
	arm64: mm: fix p?d_leaf()
	ARM: vexpress/spc: Avoid negative array index when !SMP
	reset: tegra-bpmp: Restore Handle errors in BPMP response
	platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
	ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
	arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
	vxlan: fix error return code in vxlan_fdb_append
	cifs: Check the IOCB_DIRECT flag, not O_DIRECT
	net: atlantic: Avoid out-of-bounds indexing
	mt76: Fix undefined behavior due to shift overflowing the constant
	brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
	dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
	drm/msm/mdp5: check the return of kzalloc()
	net: macb: Restart tx only if queue pointer is lagging
	scsi: qedi: Fix failed disconnect handling
	stat: fix inconsistency between struct stat and struct compat_stat
	nvme: add a quirk to disable namespace identifiers
	nvme-pci: disable namespace identifiers for Qemu controllers
	EDAC/synopsys: Read the error count from the correct register
	mm, hugetlb: allow for "high" userspace addresses
	oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
	mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
	ata: pata_marvell: Check the 'bmdma_addr' beforing reading
	dma: at_xdmac: fix a missing check on list iterator
	net: atlantic: invert deep par in pm functions, preventing null derefs
	xtensa: patch_text: Fixup last cpu should be master
	xtensa: fix a7 clobbering in coprocessor context load/store
	openvswitch: fix OOB access in reserve_sfa_size()
	gpio: Request interrupts after IRQ is initialized
	ASoC: soc-dapm: fix two incorrect uses of list iterator
	e1000e: Fix possible overflow in LTR decoding
	ARC: entry: fix syscall_trace_exit argument
	arm_pmu: Validate single/group leader events
	sched/pelt: Fix attach_entity_load_avg() corner case
	perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
	drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
	drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
	KVM: PPC: Fix TCE handling for VFIO
	drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
	powerpc/perf: Fix power9 event alternatives
	perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
	ext4: fix fallocate to use file_modified to update permissions consistently
	ext4: fix symlink file size not match to file content
	ext4: fix use-after-free in ext4_search_dir
	ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
	ext4, doc: fix incorrect h_reserved size
	ext4: fix overhead calculation to account for the reserved gdt blocks
	ext4: force overhead calculation if the s_overhead_cluster makes no sense
	can: isotp: stop timeout monitoring when no first frame was sent
	jbd2: fix a potential race while discarding reserved buffers after an abort
	spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
	staging: ion: Prevent incorrect reference counting behavour
	block/compat_ioctl: fix range check in BLKGETSIZE
	Revert "net: micrel: fix KS8851_MLL Kconfig"
	Linux 5.10.113

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4ed10699cbb32b89caf79b8b4a2a35b3d8824115
2022-05-12 11:23:35 +02:00
kuyo chang
88fcfd6ee6 sched/pelt: Fix attach_entity_load_avg() corner case
[ Upstream commit 40f5aa4c5eaebfeaca4566217cb9c468e28ed682 ]

The warning in cfs_rq_is_decayed() triggered:

    SCHED_WARN_ON(cfs_rq->avg.load_avg ||
		  cfs_rq->avg.util_avg ||
		  cfs_rq->avg.runnable_avg)

There exists a corner case in attach_entity_load_avg() which will
cause load_sum to be zero while load_avg will not be.

Consider se_weight is 88761 as per the sched_prio_to_weight[] table.
Further assume the get_pelt_divider() is 47742, this gives:
se->avg.load_avg is 1.

However, calculating load_sum:

  se->avg.load_sum = div_u64(se->avg.load_avg * se->avg.load_sum, se_weight(se));
  se->avg.load_sum = 1*47742/88761 = 0.

Then enqueue_load_avg() adds this to the cfs_rq totals:

  cfs_rq->avg.load_avg += se->avg.load_avg;
  cfs_rq->avg.load_sum += se_weight(se) * se->avg.load_sum;

Resulting in load_avg being 1 with load_sum is 0, which will trigger
the WARN.

Fixes: f207934fb7 ("sched/fair: Align PELT windows between cfs_rq and its se")
Signed-off-by: kuyo chang <kuyo.chang@mediatek.com>
[peterz: massage changelog]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Link: https://lkml.kernel.org/r/20220414090229.342-1-kuyo.chang@mediatek.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-27 13:53:56 +02:00
Greg Kroah-Hartman
ca562bf79c Merge branch 'android12-5.10' into android12-5.10-lts
Sync up with android12-5.10 for the following commits:

2a2327c4e8 FROMLIST: power_supply: Use of-thermal cdev registration API
b90fe5ef8f FROMLIST: power_supply: Register cooling device outside of probe
fc64efcd06 Revert "UPSTREAM: tracefs: Have tracefs directories not set OTH permission bits by default"
1eb3049da0 FROMGIT: usb: dwc3: gadget: Prevent core from processing stale TRBs
ee1e2de73c UPSTREAM: cgroup-v1: Require capabilities to set release_agent
7e6f112beb FROMGIT: f2fs: move f2fs to use reader-unfair rwsems
23686f5ee8 UPSTREAM: f2fs: do not bother checkpoint by f2fs_get_node_info
fa055ddfd5 BACKPORT: f2fs: avoid down_write on nat_tree_lock during checkpoint
c8701aa0a7 ANDROID: GKI: enable RCU_BOOST
c34fa06f4b FROMLIST: rcu: Don't deboost before reporting expedited quiescent state
3a49d3b677 FROMGIT: usb: f_fs: Fix use-after-free for epfile
250abe08bb UPSTREAM: usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.
d449d91bc9 ANDROID: update new gki symbol
b2fcb7b63b ANDROID: abi: qcom: Add dma_{alloc,free}_noncoherent
5d79e49205 UPSTREAM: binder: fix async_free_space accounting for empty parcels
6aa9e78d6e FROMGIT: rcu: Allow expedited RCU grace periods on incoming CPUs
2f61ec09b0 ANDROID: abi_gki_aarch64_qcom: Add iommu_setup_dma_ops restricted vh
6a9ff8fa26 ANDROID: iommu: Add restricted vendor hook
2aba795b31 FROMLIST: arm64: cpufeature: List early Cortex-A510 parts as having broken dbm
2861bbc5b5 FROMLIST: arm64: Add Cortex-A510 CPU part definition
b0d13db791 FROMGIT: printk: ringbuffer: Improve prb_next_seq() performance
4b1862e4fc ANDROID: incremental-fs: fix GPF in pending_reads_dispatch_ioctl
445019bbca UPSTREAM: bpf: Fix integer overflow in argument calculation for bpf_map_area_alloc
032a676295 UPSTREAM: tee: handle lookup of shm with reference count 0
d461f54be3 ANDROID: Incremental-fs: Doc: correct a sysfs path in incfs.rst
1bfc9c16ae ANDROID: selftests: fix incfs_test
fd4c6594f5 ANDROID: incremental-fs: fix mount_fs issue
a512242e66 BACKPORT: arm64: errata: Add workaround for TSB flush failures
e48051244a UPSTREAM: arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
dd3256d439 UPSTREAM: coresight: trbe: Defer the probe on offline CPUs
71aebf8793 UPSTREAM: coresight: etm4x: Use Trace Filtering controls dynamically
2bb8b3c907 BACKPORT: coresight: etm4x: Save restore TRFCR_EL1
79b64fa780 UPSTREAM: coresight: tmc-etr: Speed up for bounce buffer in flat mode
aee6af7046 UPSTREAM: coresight: tmc-etr: Add barrier after updating AUX ring buffer
a0009ade38 Revert half of "ANDROID: cpu/hotplug: create vendor hook for cpu_up/cpu_down"
a863cef344 Revert half of "ANDROID: arm64: add vendor hooks for bti and pauth fault"
9f58bcd614 Revert half of "ANDROID: vendor_hooks: Add param for android_vh_cpu_up/down"
4b3396046c Revert "ANDROID: vendor_hooks: Add a hook for task tagging"
d8fe0b1fc2 Revert "ANDROID: GKI: net: add vendor hooks for 'struct nf_conn' lifecycle"
92ab2aeca5 Revert "ANDROID: GKI: net: add vendor hooks for 'struct sock' lifecycle"
b3e6d6eec6 Revert "ANDROID: vendor_hooks: add hook and OEM data for slab shrink"
e09000ee19 Revert half of "ANDROID: vendor_hooks: Add hooks for memory when debug"
3f305a9101 Revert half of "ANDROID: gic-v3: Add vendor hook to GIC v3"
3b4ca92614 Merge tag 'android12-5.10.81_r00' into android12-5.10
bdc732d112 UPSTREAM: tracefs: Set all files to the same group ownership as the mount option
8455746a45 UPSTREAM: tracefs: Have new files inherit the ownership of their parent
9c63be2ada UPSTREAM: tracefs: Have tracefs directories not set OTH permission bits by default
64095600fd Revert "ANDROID: vendor_hooks: Add hooks to recognize special worker thread."
7887091009 Revert "ANDROID: sysrq: add vendor hook for sysrq crash information"
63e7148b27 Revert "ANDROID: user: Add vendor hook to user for GKI purpose"
18975040b9 Revert portions of "ANDROID: sched: Add vendor hooks for sched."
96c08d9210 Revert portions of "ANDROID: vendor_hooks: Add hooks for scheduler"
a32e89883a UPSTREAM: vfs: fs_context: fix up param length parsing in legacy_parse_param

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

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

4 Added functions:

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

1 Added variable:

  [A] 'tracepoint __tracepoint_android_rvh_iommu_setup_dma_ops'

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7a5a82681cc94f6b3dcd17e159da8976be0bcb78
2022-02-09 18:16:30 +01:00
Greg Kroah-Hartman
0b4470b56e Merge 5.10.96 into android12-5.10-lts
Changes in 5.10.96
	Bluetooth: refactor malicious adv data check
	media: venus: core: Drop second v4l2 device unregister
	net: sfp: ignore disabled SFP node
	net: stmmac: skip only stmmac_ptp_register when resume from suspend
	s390/module: fix loading modules with a lot of relocations
	s390/hypfs: include z/VM guests with access control group set
	bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
	scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices
	udf: Restore i_lenAlloc when inode expansion fails
	udf: Fix NULL ptr deref when converting from inline format
	efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
	PM: wakeup: simplify the output logic of pm_show_wakelocks()
	tracing/histogram: Fix a potential memory leak for kstrdup()
	tracing: Don't inc err_log entry count if entry allocation fails
	ceph: properly put ceph_string reference after async create attempt
	ceph: set pool_ns in new inode layout for async creates
	fsnotify: fix fsnotify hooks in pseudo filesystems
	Revert "KVM: SVM: avoid infinite loop on NPF from bad address"
	perf/x86/intel/uncore: Fix CAS_COUNT_WRITE issue for ICX
	drm/etnaviv: relax submit size limits
	KVM: x86: Update vCPU's runtime CPUID on write to MSR_IA32_XSS
	arm64: errata: Fix exec handling in erratum 1418040 workaround
	netfilter: nft_payload: do not update layer 4 checksum when mangling fragments
	serial: 8250: of: Fix mapped region size when using reg-offset property
	serial: stm32: fix software flow control transfer
	tty: n_gsm: fix SW flow control encoding/handling
	tty: Add support for Brainboxes UC cards.
	usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
	usb: xhci-plat: fix crash when suspend if remote wake enable
	usb: common: ulpi: Fix crash in ulpi_match()
	usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
	USB: core: Fix hang in usb_kill_urb by adding memory barriers
	usb: typec: tcpm: Do not disconnect while receiving VBUS off
	ucsi_ccg: Check DEV_INT bit only when starting CCG4
	jbd2: export jbd2_journal_[grab|put]_journal_head
	ocfs2: fix a deadlock when commit trans
	sched/membarrier: Fix membarrier-rseq fence command missing from query bitmask
	x86/MCE/AMD: Allow thresholding interface updates after init
	powerpc/32s: Allocate one 256k IBAT instead of two consecutives 128k IBATs
	powerpc/32s: Fix kasan_init_region() for KASAN
	powerpc/32: Fix boot failure with GCC latent entropy plugin
	i40e: Increase delay to 1 s after global EMP reset
	i40e: Fix issue when maximum queues is exceeded
	i40e: Fix queues reservation for XDP
	i40e: Fix for failed to init adminq while VF reset
	i40e: fix unsigned stat widths
	usb: roles: fix include/linux/usb/role.h compile issue
	rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
	rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
	scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()
	ipv6_tunnel: Rate limit warning messages
	net: fix information leakage in /proc/net/ptype
	hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
	hwmon: (lm90) Mark alert as broken for MAX6680
	ping: fix the sk_bound_dev_if match in ping_lookup
	ipv4: avoid using shared IP generator for connected sockets
	hwmon: (lm90) Reduce maximum conversion rate for G781
	NFSv4: Handle case where the lookup of a directory fails
	NFSv4: nfs_atomic_open() can race when looking up a non-regular file
	net-procfs: show net devices bound packet types
	drm/msm: Fix wrong size calculation
	drm/msm/dsi: Fix missing put_device() call in dsi_get_phy
	drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
	ipv6: annotate accesses to fn->fn_sernum
	NFS: Ensure the server has an up to date ctime before hardlinking
	NFS: Ensure the server has an up to date ctime before renaming
	powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06
	netfilter: conntrack: don't increment invalid counter on NF_REPEAT
	kernel: delete repeated words in comments
	perf: Fix perf_event_read_local() time
	sched/pelt: Relax the sync of util_sum with util_avg
	net: phy: broadcom: hook up soft_reset for BCM54616S
	phylib: fix potential use-after-free
	octeontx2-pf: Forward error codes to VF
	rxrpc: Adjust retransmission backoff
	efi/libstub: arm64: Fix image check alignment at entry
	hwmon: (lm90) Mark alert as broken for MAX6654
	powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending
	net: ipv4: Move ip_options_fragment() out of loop
	net: ipv4: Fix the warning for dereference
	ipv4: fix ip option filtering for locally generated fragments
	ibmvnic: init ->running_cap_crqs early
	ibmvnic: don't spin in tasklet
	video: hyperv_fb: Fix validation of screen resolution
	drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
	drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc
	yam: fix a memory leak in yam_siocdevprivate()
	net: cpsw: Properly initialise struct page_pool_params
	net: hns3: handle empty unknown interrupt for VF
	Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"
	net: bridge: vlan: fix single net device option dumping
	ipv4: raw: lock the socket in raw_bind()
	ipv4: tcp: send zero IPID in SYNACK messages
	ipv4: remove sparse error in ip_neigh_gw4()
	net: bridge: vlan: fix memory leak in __allowed_ingress
	dt-bindings: can: tcan4x5x: fix mram-cfg RX FIFO config
	usr/include/Makefile: add linux/nfc.h to the compile-test coverage
	fsnotify: invalidate dcache before IN_DELETE event
	block: Fix wrong offset in bio_truncate()
	mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
	Linux 5.10.96

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ie34be06fa082557e93eda246f1a9ebf9f155a138
2022-02-07 11:17:58 +01:00
Vincent Guittot
57b2f3632b sched/pelt: Relax the sync of util_sum with util_avg
[ Upstream commit 98b0d890220d45418cfbc5157b3382e6da5a12ab ]

Rick reported performance regressions in bugzilla because of cpu frequency
being lower than before:
    https://bugzilla.kernel.org/show_bug.cgi?id=215045

He bisected the problem to:
commit 1c35b07e6d39 ("sched/fair: Ensure _sum and _avg values stay consistent")

This commit forces util_sum to be synced with the new util_avg after
removing the contribution of a task and before the next periodic sync. By
doing so util_sum is rounded to its lower bound and might lost up to
LOAD_AVG_MAX-1 of accumulated contribution which has not yet been
reflected in util_avg.

Instead of always setting util_sum to the low bound of util_avg, which can
significantly lower the utilization of root cfs_rq after propagating the
change down into the hierarchy, we revert the change of util_sum and
propagate the difference.

In addition, we also check that cfs's util_sum always stays above the
lower bound for a given util_avg as it has been observed that
sched_entity's util_sum is sometimes above cfs one.

Fixes: 1c35b07e6d39 ("sched/fair: Ensure _sum and _avg values stay consistent")
Reported-by: Rick Yiu <rickyiu@google.com>
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Sachin Sant <sachinp@linux.ibm.com>
Link: https://lkml.kernel.org/r/20220111134659.24961-2-vincent.guittot@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-02-01 17:25:45 +01:00
Randy Dunlap
cffed7e631 kernel: delete repeated words in comments
[ Upstream commit c034f48e99907d5be147ac8f0f3e630a9307c2be ]

Drop repeated words in kernel/events/.
{if, the, that, with, time}

Drop repeated words in kernel/locking/.
{it, no, the}

Drop repeated words in kernel/sched/.
{in, not}

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

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I857f2417c899508815a1ba13d1285fd400a1f133
2022-01-27 11:49:22 +01:00
Vincent Donnefort
b77ef5b4ea sched/fair: Fix per-CPU kthread and wakee stacking for asym CPU capacity
[ Upstream commit 014ba44e8184e1acf93e0cbb7089ee847802f8f0 ]

select_idle_sibling() has a special case for tasks woken up by a per-CPU
kthread where the selected CPU is the previous one. For asymmetric CPU
capacity systems, the assumption was that the wakee couldn't have a
bigger utilization during task placement than it used to have during the
last activation. That was not considering uclamp.min which can completely
change between two task activations and as a consequence mandates the
fitness criterion asym_fits_capacity(), even for the exit path described
above.

Fixes: b4c9c9f156 ("sched/fair: Prefer prev cpu in asymmetric wakeup path")
Signed-off-by: Vincent Donnefort <vincent.donnefort@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Link: https://lkml.kernel.org/r/20211129173115.4006346-1-vincent.donnefort@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 10:53:53 +01:00
Vincent Donnefort
d7d5b3bc52 sched/fair: Fix detection of per-CPU kthreads waking a task
[ Upstream commit 8b4e74ccb582797f6f0b0a50372ebd9fd2372a27 ]

select_idle_sibling() has a special case for tasks woken up by a per-CPU
kthread, where the selected CPU is the previous one. However, the current
condition for this exit path is incomplete. A task can wake up from an
interrupt context (e.g. hrtimer), while a per-CPU kthread is running. A
such scenario would spuriously trigger the special case described above.
Also, a recent change made the idle task like a regular per-CPU kthread,
hence making that situation more likely to happen
(is_per_cpu_kthread(swapper) being true now).

Checking for task context makes sure select_idle_sibling() will not
interpret a wake up from any other context as a wake up by a per-CPU
kthread.

Fixes: 52262ee567 ("sched/fair: Allow a per-CPU kthread waking a task to stack on the same CPU, to fix XFS performance regression")
Signed-off-by: Vincent Donnefort <vincent.donnefort@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: Valentin Schneider <valentin.schneider@arm.com>
Link: https://lore.kernel.org/r/20211201143450.479472-1-vincent.donnefort@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 10:53:53 +01:00
Greg Kroah-Hartman
18975040b9 Revert portions of "ANDROID: sched: Add vendor hooks for sched."
This reverts part of commit 54f66141a8.

The hook android_rvh_entity_tick is not used by any vendor, so remove
it 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: 203756332
Bug: 183674818
Cc: lijianzhong <lijianzhong@xiaomi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I92acc11802939d1ebfcc8253490193019567695d
2022-01-20 10:04:49 +01:00
Greg Kroah-Hartman
96c08d9210 Revert portions of "ANDROID: vendor_hooks: Add hooks for scheduler"
This reverts part of commit 53e8099784.

The hook android_rvh_check_preempt_wakeup_ignore is not used by any
vendor, so remove it 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: 203756332
Bug: 182441701
Cc: xieliujie <xieliujie@oppo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I69bdc14143760bfdd07bbd72ed3d5a4127fbc4c8
2022-01-20 10:04:49 +01:00
Rick Yiu
d736cbf8d9 Revert "sched/fair: Keep load_avg and load_sum synced"
This reverts commit 4c37b062ed.

Bug: 205915994
Test: build pass
Signed-off-by: Rick Yiu <rickyiu@google.com>
Change-Id: Ifb4ca2d5beab425665b1cc047899e33ceb0ded23
2021-11-16 21:07:58 +00:00
Rick Yiu
de0ba4ea3c Revert "sched/pelt: Ensure that *_sum is always synced with *_avg"
This reverts commit 813ff24f1d.

Bug: 205915994
Test: build pass
Signed-off-by: Rick Yiu <rickyiu@google.com>
Change-Id: I77d9a103d71da43ce2fe9b630c7a5e12b62e8e42
2021-11-16 21:06:58 +00:00
Rick Yiu
8630facf34 Revert "sched/fair: Ensure _sum and _avg values stay consistent"
This reverts commit 20285dc271, which
causes serious performance downgrade because the calculated cpu
frequency will be much lower than before due to change of cpu util.

Bug: 205915994
Test: build pass
Change-Id: I68dced7a58547a3324fcfeebea6c02bb30c4182d
Signed-off-by: Rick Yiu <rickyiu@google.com>
2021-11-16 21:05:40 +00:00
Liujie Xie
a61d61bab7 ANDROID: vendor_hooks: Add hooks to record the time of the process in various states
These hooks will do the following works:
a) record the time of the process in various states
b) Make corresponding optimization strategies in different hooks

Bug: 205938967

Signed-off-by: Liujie Xie <xieliujie@oppo.com>
Change-Id: Ia3c47bbf0aadd17337ce18fd910343b1b8c3ef93
2021-11-11 22:15:49 +08:00
JianMin Liu
8c2c4d12bb ANDROID: sched: Add vendor hooks for sync_entity_load_avg
Add vendor hooks to monitor more update load-avg point
where tasks on the run-queue will go through.

Bug: 204857484

Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com>
Change-Id: I440d7b9686a37508bd7568454472ab014ba0d0c9
2021-11-04 18:49:18 +00:00
Greg Kroah-Hartman
66379c1ee5 Merge tag 'android12-5.10.66_r00' into android12-5.10
This is the merge of the upstream LTS release of 5.10.66 into the
android12-5.10 branch.

There are 2 new symbols added to be tracked:

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

2 Added functions:

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

It contains the following new commits:

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

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4cb43e42abd29006bab26b7e65ecfa052e10eed9
2021-10-21 09:45:02 +02:00
Martin Liu
44447dec6e ANDROID: sched: move blocked reason trace point to cover all class
Now, we only export CFS taks' blocked reasons but it's
important and useful to know other class' blocked
reasons such as RT tasks.

Move the blocked reason trace point to where the scheduler
core layer and before the task's state moves to the waking
state. Thus, we could cover all the sched classes.

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

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ie0b9306ba6ee4193de3200df7cdacaeba152b83e
2021-09-15 14:16:47 +02:00
Mika Penttilä
718180c246 sched/numa: Fix is_core_idle()
[ Upstream commit 1c6829cfd3d5124b125e6df41158665aea413b35 ]

Use the loop variable instead of the function argument to test the
other SMT siblings for idle.

Fixes: ff7db0bf24 ("sched/numa: Prefer using an idle CPU as a migration target instead of comparing tasks")
Signed-off-by: Mika Penttilä <mika.penttila@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Link: https://lkml.kernel.org/r/20210722063946.28951-1-mika.penttila@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:50:28 +02:00
Greg Kroah-Hartman
674d2ac211 Merge 5.10.62 into android12-5.10-lts
Changes in 5.10.62
	net: qrtr: fix another OOB Read in qrtr_endpoint_post
	bpf: Fix ringbuf helper function compatibility
	bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper
	ASoC: rt5682: Adjust headset volume button threshold
	ASoC: component: Remove misplaced prefix handling in pin control functions
	ARC: Fix CONFIG_STACKDEPOT
	netfilter: conntrack: collect all entries in one cycle
	once: Fix panic when module unload
	blk-iocost: fix lockdep warning on blkcg->lock
	ovl: fix uninitialized pointer read in ovl_lookup_real_one()
	net: mscc: Fix non-GPL export of regmap APIs
	can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
	ceph: correctly handle releasing an embedded cap flush
	riscv: Ensure the value of FP registers in the core dump file is up to date
	Revert "btrfs: compression: don't try to compress if we don't have enough pages"
	drm/amdgpu: Cancel delayed work when GFXOFF is disabled
	Revert "USB: serial: ch341: fix character loss at high transfer rates"
	USB: serial: option: add new VID/PID to support Fibocom FG150
	usb: renesas-xhci: Prefer firmware loading on unknown ROM state
	usb: dwc3: gadget: Fix dwc3_calc_trbs_left()
	usb: dwc3: gadget: Stop EP0 transfers during pullup disable
	scsi: core: Fix hang of freezing queue between blocking and running device
	RDMA/bnxt_re: Add missing spin lock initialization
	IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()
	RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init()
	ice: do not abort devlink info if board identifier can't be found
	net: usb: pegasus: fixes of set_register(s) return value evaluation;
	igc: fix page fault when thunderbolt is unplugged
	igc: Use num_tx_queues when iterating over tx_ring queue
	e1000e: Fix the max snoop/no-snoop latency for 10M
	e1000e: Do not take care about recovery NVM checksum
	RDMA/efa: Free IRQ vectors on error flow
	ip_gre: add validation for csum_start
	xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
	net: marvell: fix MVNETA_TX_IN_PRGRS bit number
	ucounts: Increase ucounts reference counter before the security hook
	net/sched: ets: fix crash when flipping from 'strict' to 'quantum'
	ipv6: use siphash in rt6_exception_hash()
	ipv4: use siphash instead of Jenkins in fnhe_hashfun()
	cxgb4: dont touch blocked freelist bitmap after free
	rtnetlink: Return correct error on changing device netns
	net: hns3: clear hardware resource when loading driver
	net: hns3: add waiting time before cmdq memory is released
	net: hns3: fix duplicate node in VLAN list
	net: hns3: fix get wrong pfc_en when query PFC configuration
	Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"
	net: stmmac: add mutex lock to protect est parameters
	net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
	drm/i915: Fix syncmap memory leak
	usb: gadget: u_audio: fix race condition on endpoint stop
	dt-bindings: sifive-l2-cache: Fix 'select' matching
	perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32
	clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
	iwlwifi: pnvm: accept multiple HW-type TLVs
	opp: remove WARN when no valid OPPs remain
	cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev
	virtio: Improve vq->broken access to avoid any compiler optimization
	virtio_pci: Support surprise removal of virtio pci device
	virtio_vdpa: reject invalid vq indices
	vringh: Use wiov->used to check for read/write desc order
	tools/virtio: fix build
	qed: qed ll2 race condition fixes
	qed: Fix null-pointer dereference in qed_rdma_create_qp()
	Revert "drm/amd/pm: fix workload mismatch on vega10"
	drm/amd/pm: change the workload type for some cards
	blk-mq: don't grab rq's refcount in blk_mq_check_expired()
	drm: Copy drm_wait_vblank to user before returning
	drm/nouveau/disp: power down unused DP links during init
	drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences
	net/rds: dma_map_sg is entitled to merge entries
	btrfs: fix race between marking inode needs to be logged and log syncing
	pipe: avoid unnecessary EPOLLET wakeups under normal loads
	pipe: do FASYNC notifications for every pipe IO, not just state changes
	mtd: spinand: Fix incorrect parameters for on-die ECC
	tipc: call tipc_wait_for_connect only when dlen is not 0
	vt_kdsetmode: extend console locking
	Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS
	riscv: Fixup wrong ftrace remove cflag
	riscv: Fixup patch_text panic in ftrace
	perf env: Fix memory leak of bpf_prog_info_linear member
	perf symbol-elf: Fix memory leak by freeing sdt_note.args
	perf record: Fix memory leak in vDSO found using ASAN
	perf tools: Fix arm64 build error with gcc-11
	perf annotate: Fix jump parsing for C++ code.
	powerpc/perf: Invoke per-CPU variable access with disabled interrupts
	srcu: Provide internal interface to start a Tree SRCU grace period
	srcu: Provide polling interfaces for Tree SRCU grace periods
	srcu: Provide internal interface to start a Tiny SRCU grace period
	srcu: Make Tiny SRCU use multi-bit grace-period counter
	srcu: Provide polling interfaces for Tiny SRCU grace periods
	tracepoint: Use rcu get state and cond sync for static call updates
	usb: typec: ucsi: acpi: Always decode connector change information
	usb: typec: ucsi: Work around PPM losing change information
	usb: typec: ucsi: Clear pending after acking connector change
	net: dsa: mt7530: fix VLAN traffic leaks again
	lkdtm: Enable DOUBLE_FAULT on all architectures
	arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88
	btrfs: fix NULL pointer dereference when deleting device by invalid id
	kthread: Fix PF_KTHREAD vs to_kthread() race
	Revert "floppy: reintroduce O_NDELAY fix"
	Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
	net: don't unconditionally copy_from_user a struct ifreq for socket ioctls
	audit: move put_tree() to avoid trim_trees refcount underflow and UAF
	bpf: Fix potentially incorrect results with bpf_get_local_storage()
	Linux 5.10.62

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I5a9bf4b2c254ae21a10f838494cae1c3fa016be3
2021-09-03 10:51:56 +02:00
Peter Zijlstra
709c162ddc kthread: Fix PF_KTHREAD vs to_kthread() race
commit 3a7956e25e1d7b3c148569e78895e1f3178122a9 upstream.

The kthread_is_per_cpu() construct relies on only being called on
PF_KTHREAD tasks (per the WARN in to_kthread). This gives rise to the
following usage pattern:

	if ((p->flags & PF_KTHREAD) && kthread_is_per_cpu(p))

However, as reported by syzcaller, this is broken. The scenario is:

	CPU0				CPU1 (running p)

	(p->flags & PF_KTHREAD) // true

					begin_new_exec()
					  me->flags &= ~(PF_KTHREAD|...);
	kthread_is_per_cpu(p)
	  to_kthread(p)
	    WARN(!(p->flags & PF_KTHREAD) <-- *SPLAT*

Introduce __to_kthread() that omits the WARN and is sure to check both
values.

Use this to remove the problematic pattern for kthread_is_per_cpu()
and fix a number of other kthread_*() functions that have similar
issues but are currently not used in ways that would expose the
problem.

Notably kthread_func() is only ever called on 'current', while
kthread_probe_data() is only used for PF_WQ_WORKER, which implies the
task is from kthread_create*().

Fixes: ac687e6e8c26 ("kthread: Extract KTHREAD_IS_PER_CPU")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <Valentin.Schneider@arm.com>
Link: https://lkml.kernel.org/r/YH6WJc825C4P0FCK@hirez.programming.kicks-ass.net
[ Drop the balance_push() hunk as it is not needed. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-03 10:09:31 +02:00
Greg Kroah-Hartman
afe9ed0e13 Merge 5.10.53 into android12-5.10-lts
Changes in 5.10.53
	ARM: dts: gemini: rename mdio to the right name
	ARM: dts: gemini: add device_type on pci
	ARM: dts: rockchip: Fix thermal sensor cells o rk322x
	ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
	arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
	ARM: dts: rockchip: Fix the timer clocks order
	ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
	ARM: dts: rockchip: Fix power-controller node names for rk3066a
	ARM: dts: rockchip: Fix power-controller node names for rk3188
	ARM: dts: rockchip: Fix power-controller node names for rk3288
	arm64: dts: rockchip: Fix power-controller node names for px30
	arm64: dts: rockchip: Fix power-controller node names for rk3328
	arm64: dts: rockchip: Fix power-controller node names for rk3399
	reset: ti-syscon: fix to_ti_syscon_reset_data macro
	ARM: brcmstb: dts: fix NAND nodes names
	ARM: Cygnus: dts: fix NAND nodes names
	ARM: NSP: dts: fix NAND nodes names
	ARM: dts: BCM63xx: Fix NAND nodes names
	ARM: dts: Hurricane 2: Fix NAND nodes names
	ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
	ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
	arm64: dts: rockchip: fix regulator-gpio states array
	ARM: dts: ux500: Fix interrupt cells
	ARM: dts: ux500: Rename gpio-controller node
	ARM: dts: ux500: Fix orientation of accelerometer
	ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value
	rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
	kbuild: sink stdout from cmd for silent build
	ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
	ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
	ARM: dts: am335x: fix ti,no-reset-on-init flag for gpios
	ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names
	arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction
	ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
	ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant
	arm64: dts: qcom: sc7180: Move rmtfs memory region
	ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
	ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
	ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
	ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
	ARM: dts: stm32: fix RCC node name on stm32f429 MCU
	ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
	memory: tegra: Fix compilation warnings on 64bit platforms
	firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
	firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected
	ARM: dts: bcm283x: Fix up MMC node names
	ARM: dts: bcm283x: Fix up GPIO LED node names
	arm64: dts: juno: Update SCPI nodes as per the YAML schema
	ARM: dts: rockchip: fix supply properties in io-domains nodes
	ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
	ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
	ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply
	ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
	ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N on DHCOM SoM
	ARM: dts: stm32: fix stpmic node for stm32mp1 boards
	ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
	soc/tegra: fuse: Fix Tegra234-only builds
	firmware: tegra: bpmp: Fix Tegra234-only builds
	arm64: dts: ls208xa: remove bus-num from dspi node
	arm64: dts: imx8mq: assign PCIe clocks
	thermal/core: Correct function name thermal_zone_device_unregister()
	thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
	thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
	thermal/drivers/sprd: Add missing of_node_put for loop iteration
	kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
	arch/arm64/boot/dts/marvell: fix NAND partitioning scheme
	rtc: max77686: Do not enforce (incorrect) interrupt trigger type
	scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
	scsi: libsas: Add LUN number check in .slave_alloc callback
	scsi: libfc: Fix array index out of bound exception
	scsi: qedf: Add check to synchronize abort and flush
	sched/fair: Fix CFS bandwidth hrtimer expiry type
	perf/x86/intel/uncore: Clean up error handling path of iio mapping
	thermal/core/thermal_of: Stop zone device before unregistering it
	s390/traps: do not test MONITOR CALL without CONFIG_BUG
	s390: introduce proper type handling call_on_stack() macro
	cifs: prevent NULL deref in cifs_compose_mount_options()
	firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
	arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
	Revert "swap: fix do_swap_page() race with swapoff"
	f2fs: Show casefolding support only when supported
	mm/thp: simplify copying of huge zero page pmd when fork
	mm/userfaultfd: fix uffd-wp special cases for fork()
	mm/page_alloc: fix memory map initialization for descending nodes
	usb: cdns3: Enable TDL_CHK only for OUT ep
	net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
	net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
	net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
	net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
	net: dsa: mv88e6xxx: enable devlink ATU hash param for Topaz
	net: ipv6: fix return value of ip6_skb_dst_mtu
	netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
	net/sched: act_ct: fix err check for nf_conntrack_confirm
	vmxnet3: fix cksum offload issues for tunnels with non-default udp ports
	net/sched: act_ct: remove and free nf_table callbacks
	net: bridge: sync fdb to new unicast-filtering ports
	net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
	net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
	net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
	net: moxa: fix UAF in moxart_mac_probe
	net: qcom/emac: fix UAF in emac_remove
	net: ti: fix UAF in tlan_remove_one
	net: send SYNACK packet with accepted fwmark
	net: validate lwtstate->data before returning from skb_tunnel_info()
	Revert "mm/shmem: fix shmem_swapin() race with swapoff"
	net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
	net: fddi: fix UAF in fza_probe
	dma-buf/sync_file: Don't leak fences on merge failure
	kbuild: do not suppress Kconfig prompts for silent build
	ARM: dts: aspeed: Fix AST2600 machines line names
	ARM: dts: tacoma: Add phase corrections for eMMC
	tcp: consistently disable header prediction for mptcp
	tcp: annotate data races around tp->mtu_info
	tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized
	ipv6: tcp: drop silly ICMPv6 packet too big messages
	tcp: call sk_wmem_schedule before sk_mem_charge in zerocopy path
	tools: bpf: Fix error in 'make -C tools/ bpf_install'
	bpftool: Properly close va_list 'ap' by va_end() on error
	bpf: Track subprog poke descriptors correctly and fix use-after-free
	perf test bpf: Free obj_buf
	drm/panel: nt35510: Do not fail if DSI read fails
	udp: annotate data races around unix_sk(sk)->gso_size
	Linux 5.10.53

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iac8fe9cd2abb2d8dd993967205a97c89f01f3647
2021-07-25 15:37:14 +02:00
Odin Ugedal
892387e761 sched/fair: Fix CFS bandwidth hrtimer expiry type
[ Upstream commit 72d0ad7cb5bad265adb2014dbe46c4ccb11afaba ]

The time remaining until expiry of the refresh_timer can be negative.
Casting the type to an unsigned 64-bit value will cause integer
underflow, making the runtime_refresh_within return false instead of
true. These situations are rare, but they do happen.

This does not cause user-facing issues or errors; other than
possibly unthrottling cfs_rq's using runtime from the previous period(s),
making the CFS bandwidth enforcement less strict in those (special)
situations.

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

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Icb10fed733a0050848ecc23db13ae3d134895acd
2021-07-19 17:29:53 +02:00
Odin Ugedal
20285dc271 sched/fair: Ensure _sum and _avg values stay consistent
[ Upstream commit 1c35b07e6d3986474e5635be566e7bc79d97c64d ]

The _sum and _avg values are in general sync together with the PELT
divider. They are however not always completely in perfect sync,
resulting in situations where _sum gets to zero while _avg stays
positive. Such situations are undesirable.

This comes from the fact that PELT will increase period_contrib, also
increasing the PELT divider, without updating _sum and _avg values to
stay in perfect sync where (_sum == _avg * divider). However, such PELT
change will never lower _sum, making it impossible to end up in a
situation where _sum is zero and _avg is not.

Therefore, we need to ensure that when subtracting load outside PELT,
that when _sum is zero, _avg is also set to zero. This occurs when
(_sum < _avg * divider), and the subtracted (_avg * divider) is bigger
or equal to the current _sum, while the subtracted _avg is smaller than
the current _avg.

Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Odin Ugedal <odin@uged.al>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Tested-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
Link: https://lore.kernel.org/r/20210624111815.57937-1-odin@uged.al
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-19 09:44:54 +02:00
Greg Kroah-Hartman
2df0fb4a4b Merge 5.10.50 into android12-5.10-lts
Changes in 5.10.50
	Bluetooth: hci_qca: fix potential GPF
	Bluetooth: btqca: Don't modify firmware contents in-place
	Bluetooth: Remove spurious error message
	ALSA: usb-audio: fix rate on Ozone Z90 USB headset
	ALSA: usb-audio: Fix OOB access at proc output
	ALSA: firewire-motu: fix stream format for MOTU 8pre FireWire
	ALSA: usb-audio: scarlett2: Fix wrong resume call
	ALSA: intel8x0: Fix breakage at ac97 clock measurement
	ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8
	ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8
	ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8
	ALSA: hda/realtek: Add another ALC236 variant support
	ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook x360 830 G8
	ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
	ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
	ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
	ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC
	media: dvb-usb: fix wrong definition
	Input: usbtouchscreen - fix control-request directions
	net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
	usb: gadget: eem: fix echo command packet response issue
	usb: renesas-xhci: Fix handling of unknown ROM state
	USB: cdc-acm: blacklist Heimann USB Appset device
	usb: dwc3: Fix debugfs creation flow
	usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
	xhci: solve a double free problem while doing s4
	gfs2: Fix underflow in gfs2_page_mkwrite
	gfs2: Fix error handling in init_statfs
	ntfs: fix validity check for file name attribute
	selftests/lkdtm: Avoid needing explicit sub-shell
	copy_page_to_iter(): fix ITER_DISCARD case
	iov_iter_fault_in_readable() should do nothing in xarray case
	Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
	crypto: nx - Fix memcpy() over-reading in nonce
	crypto: ccp - Annotate SEV Firmware file names
	arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
	ARM: dts: ux500: Fix LED probing
	ARM: dts: at91: sama5d4: fix pinctrl muxing
	btrfs: send: fix invalid path for unlink operations after parent orphanization
	btrfs: compression: don't try to compress if we don't have enough pages
	btrfs: clear defrag status of a root if starting transaction fails
	ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
	ext4: fix kernel infoleak via ext4_extent_header
	ext4: fix overflow in ext4_iomap_alloc()
	ext4: return error code when ext4_fill_flex_info() fails
	ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
	ext4: remove check for zero nr_to_scan in ext4_es_scan()
	ext4: fix avefreec in find_group_orlov
	ext4: use ext4_grp_locked_error in mb_find_extent
	can: bcm: delay release of struct bcm_op after synchronize_rcu()
	can: gw: synchronize rcu operations before removing gw job entry
	can: isotp: isotp_release(): omit unintended hrtimer restart on socket release
	can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
	can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
	mac80211: remove iwlwifi specific workaround that broke sta NDP tx
	SUNRPC: Fix the batch tasks count wraparound.
	SUNRPC: Should wake up the privileged task firstly.
	bus: mhi: Wait for M2 state during system resume
	mm/gup: fix try_grab_compound_head() race with split_huge_page()
	perf/smmuv3: Don't trample existing events with global filter
	KVM: nVMX: Handle split-lock #AC exceptions that happen in L2
	KVM: PPC: Book3S HV: Workaround high stack usage with clang
	KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs
	KVM: x86/mmu: Use MMU's role to detect CR4.SMEP value in nested NPT walk
	s390/cio: dont call css_wait_for_slow_path() inside a lock
	s390: mm: Fix secure storage access exception handling
	f2fs: Prevent swap file in LFS mode
	clk: agilex/stratix10/n5x: fix how the bypass_reg is handled
	clk: agilex/stratix10: remove noc_clk
	clk: agilex/stratix10: fix bypass representation
	rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
	iio: frequency: adf4350: disable reg and clk on error in adf4350_probe()
	iio: light: tcs3472: do not free unallocated IRQ
	iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
	iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
	iio: ltr501: ltr501_read_ps(): add missing endianness conversion
	iio: accel: bma180: Fix BMA25x bandwidth register values
	serial: mvebu-uart: fix calculation of clock divisor
	serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
	serial_cs: Add Option International GSM-Ready 56K/ISDN modem
	serial_cs: remove wrong GLOBETROTTER.cis entry
	ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
	ssb: sdio: Don't overwrite const buffer if block_write fails
	rsi: Assign beacon rate settings to the correct rate_info descriptor field
	rsi: fix AP mode with WPA failure due to encrypted EAPOL
	tracing/histograms: Fix parsing of "sym-offset" modifier
	tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
	seq_buf: Make trace_seq_putmem_hex() support data longer than 8
	powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
	loop: Fix missing discard support when using LOOP_CONFIGURE
	evm: Execute evm_inode_init_security() only when an HMAC key is loaded
	evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
	fuse: Fix crash in fuse_dentry_automount() error path
	fuse: Fix crash if superblock of submount gets killed early
	fuse: Fix infinite loop in sget_fc()
	fuse: ignore PG_workingset after stealing
	fuse: check connected before queueing on fpq->io
	fuse: reject internal errno
	thermal/cpufreq_cooling: Update offline CPUs per-cpu thermal_pressure
	spi: Make of_register_spi_device also set the fwnode
	Add a reference to ucounts for each cred
	staging: media: rkvdec: fix pm_runtime_get_sync() usage count
	media: marvel-ccic: fix some issues when getting pm_runtime
	media: mdk-mdp: fix pm_runtime_get_sync() usage count
	media: s5p: fix pm_runtime_get_sync() usage count
	media: am437x: fix pm_runtime_get_sync() usage count
	media: sh_vou: fix pm_runtime_get_sync() usage count
	media: mtk-vcodec: fix PM runtime get logic
	media: s5p-jpeg: fix pm_runtime_get_sync() usage count
	media: sunxi: fix pm_runtime_get_sync() usage count
	media: sti/bdisp: fix pm_runtime_get_sync() usage count
	media: exynos4-is: fix pm_runtime_get_sync() usage count
	media: exynos-gsc: fix pm_runtime_get_sync() usage count
	spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
	spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
	spi: omap-100k: Fix the length judgment problem
	regulator: uniphier: Add missing MODULE_DEVICE_TABLE
	sched/core: Initialize the idle task with preemption disabled
	hwrng: exynos - Fix runtime PM imbalance on error
	crypto: nx - add missing MODULE_DEVICE_TABLE
	media: sti: fix obj-$(config) targets
	media: cpia2: fix memory leak in cpia2_usb_probe
	media: cobalt: fix race condition in setting HPD
	media: hevc: Fix dependent slice segment flags
	media: pvrusb2: fix warning in pvr2_i2c_core_done
	media: imx: imx7_mipi_csis: Fix logging of only error event counters
	crypto: qat - check return code of qat_hal_rd_rel_reg()
	crypto: qat - remove unused macro in FW loader
	crypto: qce: skcipher: Fix incorrect sg count for dma transfers
	arm64: perf: Convert snprintf to sysfs_emit
	sched/fair: Fix ascii art by relpacing tabs
	media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off
	media: bt878: do not schedule tasklet when it is not setup
	media: em28xx: Fix possible memory leak of em28xx struct
	media: hantro: Fix .buf_prepare
	media: cedrus: Fix .buf_prepare
	media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
	media: bt8xx: Fix a missing check bug in bt878_probe
	media: st-hva: Fix potential NULL pointer dereferences
	crypto: hisilicon/sec - fixup 3des minimum key size declaration
	Makefile: fix GDB warning with CONFIG_RELR
	media: dvd_usb: memory leak in cinergyt2_fe_attach
	memstick: rtsx_usb_ms: fix UAF
	mmc: sdhci-sprd: use sdhci_sprd_writew
	mmc: via-sdmmc: add a check against NULL pointer dereference
	spi: meson-spicc: fix a wrong goto jump for avoiding memory leak.
	spi: meson-spicc: fix memory leak in meson_spicc_probe
	crypto: shash - avoid comparing pointers to exported functions under CFI
	media: dvb_net: avoid speculation from net slot
	media: siano: fix device register error path
	media: imx-csi: Skip first few frames from a BT.656 source
	hwmon: (max31790) Report correct current pwm duty cycles
	hwmon: (max31790) Fix pwmX_enable attributes
	drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
	KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
	btrfs: fix error handling in __btrfs_update_delayed_inode
	btrfs: abort transaction if we fail to update the delayed inode
	btrfs: sysfs: fix format string for some discard stats
	btrfs: don't clear page extent mapped if we're not invalidating the full page
	btrfs: disable build on platforms having page size 256K
	locking/lockdep: Fix the dep path printing for backwards BFS
	lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
	KVM: s390: get rid of register asm usage
	regulator: mt6358: Fix vdram2 .vsel_mask
	regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
	media: Fix Media Controller API config checks
	ACPI: video: use native backlight for GA401/GA502/GA503
	HID: do not use down_interruptible() when unbinding devices
	EDAC/ti: Add missing MODULE_DEVICE_TABLE
	ACPI: processor idle: Fix up C-state latency if not ordered
	hv_utils: Fix passing zero to 'PTR_ERR' warning
	lib: vsprintf: Fix handling of number field widths in vsscanf
	Input: goodix - platform/x86: touchscreen_dmi - Move upside down quirks to touchscreen_dmi.c
	platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
	platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets
	ACPI: EC: Make more Asus laptops use ECDT _GPE
	block_dump: remove block_dump feature in mark_inode_dirty()
	blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
	blk-mq: clear stale request in tags->rq[] before freeing one request pool
	fs: dlm: cancel work sync othercon
	random32: Fix implicit truncation warning in prandom_seed_state()
	open: don't silently ignore unknown O-flags in openat2()
	drivers: hv: Fix missing error code in vmbus_connect()
	fs: dlm: fix memory leak when fenced
	ACPICA: Fix memory leak caused by _CID repair function
	ACPI: bus: Call kobject_put() in acpi_init() error path
	ACPI: resources: Add checks for ACPI IRQ override
	block: fix race between adding/removing rq qos and normal IO
	platform/x86: asus-nb-wmi: Revert "Drop duplicate DMI quirk structures"
	platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15"
	platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
	nvme-pci: fix var. type for increasing cq_head
	nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
	EDAC/Intel: Do not load EDAC driver when running as a guest
	PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
	cifs: improve fallocate emulation
	ACPI: EC: trust DSDT GPE for certain HP laptop
	clocksource: Retry clock read if long delays detected
	clocksource: Check per-CPU clock synchronization when marked unstable
	tpm_tis_spi: add missing SPI device ID entries
	ACPI: tables: Add custom DSDT file as makefile prerequisite
	HID: wacom: Correct base usage for capacitive ExpressKey status bits
	cifs: fix missing spinlock around update to ses->status
	mailbox: qcom: Use PLATFORM_DEVID_AUTO to register platform device
	block: fix discard request merge
	kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
	ia64: mca_drv: fix incorrect array size calculation
	writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
	spi: Allow to have all native CSs in use along with GPIOs
	spi: Avoid undefined behaviour when counting unused native CSs
	media: venus: Rework error fail recover logic
	media: s5p_cec: decrement usage count if disabled
	media: hantro: do a PM resume earlier
	crypto: ixp4xx - dma_unmap the correct address
	crypto: ixp4xx - update IV after requests
	crypto: ux500 - Fix error return code in hash_hw_final()
	sata_highbank: fix deferred probing
	pata_rb532_cf: fix deferred probing
	media: I2C: change 'RST' to "RSET" to fix multiple build errors
	sched/uclamp: Fix wrong implementation of cpu.uclamp.min
	sched/uclamp: Fix locking around cpu_util_update_eff()
	kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
	pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
	evm: fix writing <securityfs>/evm overflow
	x86/elf: Use _BITUL() macro in UAPI headers
	crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
	crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe()
	crypto: ccp - Fix a resource leak in an error handling path
	media: rc: i2c: Fix an error message
	pata_ep93xx: fix deferred probing
	locking/lockdep: Reduce LOCKDEP dependency list
	media: rkvdec: Fix .buf_prepare
	media: exynos4-is: Fix a use after free in isp_video_release
	media: au0828: fix a NULL vs IS_ERR() check
	media: tc358743: Fix error return code in tc358743_probe_of()
	media: gspca/gl860: fix zero-length control requests
	m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
	media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
	regulator: fan53880: Fix vsel_mask setting for FAN53880_BUCK
	crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
	crypto: omap-sham - Fix PM reference leak in omap sham ops
	crypto: x86/curve25519 - fix cpu feature checking logic in mod_exit
	crypto: sm2 - remove unnecessary reset operations
	crypto: sm2 - fix a memory leak in sm2
	mmc: usdhi6rol0: fix error return code in usdhi6_probe()
	arm64: consistently use reserved_pg_dir
	arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
	media: subdev: remove VIDIOC_DQEVENT_TIME32 handling
	media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
	hwmon: (lm70) Use device_get_match_data()
	hwmon: (lm70) Revert "hwmon: (lm70) Add support for ACPI"
	hwmon: (max31722) Remove non-standard ACPI device IDs
	hwmon: (max31790) Fix fan speed reporting for fan7..12
	KVM: nVMX: Sync all PGDs on nested transition with shadow paging
	KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
	KVM: nVMX: Don't clobber nested MMU's A/D status on EPTP switch
	KVM: x86/mmu: Fix return value in tdp_mmu_map_handle_target_level()
	perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number
	KVM: arm64: Don't zero the cycle count register when PMCR_EL0.P is set
	regulator: hi655x: Fix pass wrong pointer to config.driver_data
	btrfs: clear log tree recovering status if starting transaction fails
	x86/sev: Make sure IRQs are disabled while GHCB is active
	x86/sev: Split up runtime #VC handler for correct state tracking
	sched/rt: Fix RT utilization tracking during policy change
	sched/rt: Fix Deadline utilization tracking during policy change
	sched/uclamp: Fix uclamp_tg_restrict()
	lockdep: Fix wait-type for empty stack
	lockdep/selftests: Fix selftests vs PROVE_RAW_LOCK_NESTING
	spi: spi-sun6i: Fix chipselect/clock bug
	crypto: nx - Fix RCU warning in nx842_OF_upd_status
	psi: Fix race between psi_trigger_create/destroy
	media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev
	media: video-mux: Skip dangling endpoints
	PM / devfreq: Add missing error code in devfreq_add_device()
	ACPI: PM / fan: Put fan device IDs into separate header file
	block: avoid double io accounting for flush request
	nvme-pci: look for StorageD3Enable on companion ACPI device instead
	ACPI: sysfs: Fix a buffer overrun problem with description_show()
	mark pstore-blk as broken
	clocksource/drivers/timer-ti-dm: Save and restore timer TIOCP_CFG
	extcon: extcon-max8997: Fix IRQ freeing at error path
	ACPI: APEI: fix synchronous external aborts in user-mode
	blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
	blk-wbt: make sure throttle is enabled properly
	ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros
	ACPI: bgrt: Fix CFI violation
	cpufreq: Make cpufreq_online() call driver->offline() on errors
	blk-mq: update hctx->dispatch_busy in case of real scheduler
	ocfs2: fix snprintf() checking
	dax: fix ENOMEM handling in grab_mapping_entry()
	mm/debug_vm_pgtable/basic: add validation for dirtiness after write protect
	mm/debug_vm_pgtable/basic: iterate over entire protection_map[]
	mm/debug_vm_pgtable: ensure THP availability via has_transparent_hugepage()
	swap: fix do_swap_page() race with swapoff
	mm/shmem: fix shmem_swapin() race with swapoff
	mm: memcg/slab: properly set up gfp flags for objcg pointer array
	mm: page_alloc: refactor setup_per_zone_lowmem_reserve()
	mm/page_alloc: fix counting of managed_pages
	xfrm: xfrm_state_mtu should return at least 1280 for ipv6
	drm/bridge/sii8620: fix dependency on extcon
	drm/bridge: Fix the stop condition of drm_bridge_chain_pre_enable()
	drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()
	drm/ast: Fix missing conversions to managed API
	video: fbdev: imxfb: Fix an error message
	net: mvpp2: Put fwnode in error case during ->probe()
	net: pch_gbe: Propagate error from devm_gpio_request_one()
	pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
	pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
	drm/vmwgfx: Mark a surface gpu-dirty after the SVGA3dCmdDXGenMips command
	drm/vmwgfx: Fix cpu updates of coherent multisample surfaces
	net: qrtr: ns: Fix error return code in qrtr_ns_init()
	clk: meson: g12a: fix gp0 and hifi ranges
	net: ftgmac100: add missing error return code in ftgmac100_probe()
	drm: rockchip: set alpha_en to 0 if it is not used
	drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
	drm/rockchip: dsi: move all lane config except LCDC mux to bind()
	drm/rockchip: lvds: Fix an error handling path
	drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result
	mptcp: fix pr_debug in mptcp_token_new_connect
	mptcp: generate subflow hmac after mptcp_finish_join()
	RDMA/srp: Fix a recently introduced memory leak
	RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats
	RDMA/rtrs: Do not reset hb_missed_max after re-connection
	RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
	RDMA/rtrs-srv: Fix memory leak when having multiple sessions
	RDMA/rtrs-clt: Check if the queue_depth has changed during a reconnection
	RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and stats->pcpu_stats
	ehea: fix error return code in ehea_restart_qps()
	clk: tegra30: Use 300MHz for video decoder by default
	xfrm: remove the fragment check for ipv6 beet mode
	net/sched: act_vlan: Fix modify to allow 0
	RDMA/core: Sanitize WQ state received from the userspace
	drm/pl111: depend on CONFIG_VEXPRESS_CONFIG
	RDMA/rxe: Fix failure during driver load
	drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends
	drm/vc4: hdmi: Fix error path of hpd-gpios
	clk: vc5: fix output disabling when enabling a FOD
	drm: qxl: ensure surf.data is ininitialized
	tools/bpftool: Fix error return code in do_batch()
	ath10k: go to path err_unsupported when chip id is not supported
	ath10k: add missing error return code in ath10k_pci_probe()
	wireless: carl9170: fix LEDS build errors & warnings
	ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
	clk: imx8mq: remove SYS PLL 1/2 clock gates
	wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
	ssb: Fix error return code in ssb_bus_scan()
	brcmfmac: fix setting of station info chains bitmask
	brcmfmac: correctly report average RSSI in station info
	brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
	brcmsmac: mac80211_if: Fix a resource leak in an error handling path
	cw1200: Revert unnecessary patches that fix unreal use-after-free bugs
	ath11k: Fix an error handling path in ath11k_core_fetch_board_data_api_n()
	ath10k: Fix an error code in ath10k_add_interface()
	ath11k: send beacon template after vdev_start/restart during csa
	netlabel: Fix memory leak in netlbl_mgmt_add_common
	RDMA/mlx5: Don't add slave port to unaffiliated list
	netfilter: nft_exthdr: check for IPv6 packet before further processing
	netfilter: nft_osf: check for TCP packet before further processing
	netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
	RDMA/rxe: Fix qp reference counting for atomic ops
	selftests/bpf: Whitelist test_progs.h from .gitignore
	xsk: Fix missing validation for skb and unaligned mode
	xsk: Fix broken Tx ring validation
	bpf: Fix libelf endian handling in resolv_btfids
	RDMA/rtrs-srv: Set minimal max_send_wr and max_recv_wr
	samples/bpf: Fix Segmentation fault for xdp_redirect command
	samples/bpf: Fix the error return code of xdp_redirect's main()
	mt76: fix possible NULL pointer dereference in mt76_tx
	mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb()
	net: ethernet: aeroflex: fix UAF in greth_of_remove
	net: ethernet: ezchip: fix UAF in nps_enet_remove
	net: ethernet: ezchip: fix error handling
	vrf: do not push non-ND strict packets with a source LLA through packet taps again
	net: sched: add barrier to ensure correct ordering for lockless qdisc
	tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
	netfilter: nf_tables_offload: check FLOW_DISSECTOR_KEY_BASIC in VLAN transfer logic
	pkt_sched: sch_qfq: fix qfq_change_class() error path
	xfrm: Fix xfrm offload fallback fail case
	iwlwifi: increase PNVM load timeout
	rtw88: 8822c: fix lc calibration timing
	vxlan: add missing rcu_read_lock() in neigh_reduce()
	ip6_tunnel: fix GRE6 segmentation
	net/ipv4: swap flow ports when validating source
	net: ti: am65-cpsw-nuss: Fix crash when changing number of TX queues
	tc-testing: fix list handling
	ieee802154: hwsim: Fix memory leak in hwsim_add_one
	ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
	bpf: Fix null ptr deref with mixed tail calls and subprogs
	drm/msm: Fix error return code in msm_drm_init()
	drm/msm/dpu: Fix error return code in dpu_mdss_init()
	mac80211: remove iwlwifi specific workaround NDPs of null_response
	net: bcmgenet: Fix attaching to PYH failed on RPi 4B
	ipv6: exthdrs: do not blindly use init_net
	can: j1939: j1939_sk_setsockopt(): prevent allocation of j1939 filter for optlen == 0
	bpf: Do not change gso_size during bpf_skb_change_proto()
	i40e: Fix error handling in i40e_vsi_open
	i40e: Fix autoneg disabling for non-10GBaseT links
	i40e: Fix missing rtnl locking when setting up pf switch
	Revert "ibmvnic: remove duplicate napi_schedule call in open function"
	ibmvnic: set ltb->buff to NULL after freeing
	ibmvnic: free tx_pool if tso_pool alloc fails
	RDMA/cma: Protect RMW with qp_mutex
	net: macsec: fix the length used to copy the key for offloading
	net: phy: mscc: fix macsec key length
	net: atlantic: fix the macsec key length
	ipv6: fix out-of-bound access in ip6_parse_tlv()
	e1000e: Check the PCIm state
	net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs()
	bpfilter: Specify the log level for the kmsg message
	RDMA/cma: Fix incorrect Packet Lifetime calculation
	gve: Fix swapped vars when fetching max queues
	Revert "be2net: disable bh with spin_lock in be_process_mcc"
	Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
	Bluetooth: Fix not sending Set Extended Scan Response
	Bluetooth: Fix Set Extended (Scan Response) Data
	Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
	clk: actions: Fix UART clock dividers on Owl S500 SoC
	clk: actions: Fix SD clocks factor table on Owl S500 SoC
	clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
	clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
	clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
	clk: si5341: Wait for DEVICE_READY on startup
	clk: si5341: Avoid divide errors due to bogus register contents
	clk: si5341: Check for input clock presence and PLL lock on startup
	clk: si5341: Update initialization magic
	writeback: fix obtain a reference to a freeing memcg css
	net: lwtunnel: handle MTU calculation in forwading
	net: sched: fix warning in tcindex_alloc_perfect_hash
	net: tipc: fix FB_MTU eat two pages
	RDMA/mlx5: Don't access NULL-cleared mpi pointer
	RDMA/core: Always release restrack object
	MIPS: Fix PKMAP with 32-bit MIPS huge page support
	staging: fbtft: Rectify GPIO handling
	staging: fbtft: Don't spam logs when probe is deferred
	ASoC: rt5682: Disable irq on shutdown
	rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
	serial: fsl_lpuart: don't modify arbitrary data on lpuart32
	serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()
	serial: 8250_omap: fix a timeout loop condition
	tty: nozomi: Fix a resource leak in an error handling function
	mwifiex: re-fix for unaligned accesses
	iio: adis_buffer: do not return ints in irq handlers
	iio: adis16400: do not return ints in irq handlers
	iio: adis16475: do not return ints in irq handlers
	iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: mxc4005: Fix overread of data and alignment issue.
	iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: chemical: atlas: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
	iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
	ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
	ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
	backlight: lm3630a_bl: Put fwnode in error case during ->probe()
	ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
	Input: hil_kbd - fix error return code in hil_dev_connect()
	perf scripting python: Fix tuple_set_u64()
	mtd: partitions: redboot: seek fis-index-block in the right node
	mtd: rawnand: arasan: Ensure proper configuration for the asserted target
	staging: mmal-vchiq: Fix incorrect static vchiq_instance.
	char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
	firmware: stratix10-svc: Fix a resource leak in an error handling path
	tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
	leds: class: The -ENOTSUPP should never be seen by user space
	leds: lm3532: select regmap I2C API
	leds: lm36274: Put fwnode in error case during ->probe()
	leds: lm3692x: Put fwnode in any case during ->probe()
	leds: lm3697: Don't spam logs when probe is deferred
	leds: lp50xx: Put fwnode in error case during ->probe()
	scsi: FlashPoint: Rename si_flags field
	scsi: iscsi: Flush block work before unblock
	mfd: mp2629: Select MFD_CORE to fix build error
	mfd: rn5t618: Fix IRQ trigger by changing it to level mode
	fsi: core: Fix return of error values on failures
	fsi: scom: Reset the FSI2PIB engine for any error
	fsi: occ: Don't accept response from un-initialized OCC
	fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
	fsi/sbefifo: Fix reset timeout
	visorbus: fix error return code in visorchipset_init()
	iommu/amd: Fix extended features logging
	s390/irq: select HAVE_IRQ_EXIT_ON_IRQ_STACK
	s390: enable HAVE_IOREMAP_PROT
	s390: appldata depends on PROC_SYSCTL
	selftests: splice: Adjust for handler fallback removal
	iommu/dma: Fix IOVA reserve dma ranges
	ASoC: max98373-sdw: use first_hw_init flag on resume
	ASoC: rt1308-sdw: use first_hw_init flag on resume
	ASoC: rt5682-sdw: use first_hw_init flag on resume
	ASoC: rt700-sdw: use first_hw_init flag on resume
	ASoC: rt711-sdw: use first_hw_init flag on resume
	ASoC: rt715-sdw: use first_hw_init flag on resume
	ASoC: rt5682: fix getting the wrong device id when the suspend_stress_test
	ASoC: rt5682-sdw: set regcache_cache_only false before reading RT5682_DEVICE_ID
	ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
	usb: gadget: f_fs: Fix setting of device and driver data cross-references
	usb: dwc2: Don't reset the core after setting turnaround time
	eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
	eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
	thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()
	iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
	iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
	iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	ASoC: fsl_spdif: Fix error handler with pm_runtime_enable
	staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
	staging: gdm724x: check for overflow in gdm_lte_netif_rx()
	staging: rtl8712: fix error handling in r871xu_drv_init
	staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
	coresight: core: Fix use of uninitialized pointer
	staging: mt7621-dts: fix pci address for PCI memory range
	serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
	iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
	ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
	of: Fix truncation of memory sizes on 32-bit platforms
	mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
	habanalabs: Fix an error handling path in 'hl_pci_probe()'
	scsi: mpt3sas: Fix error return value in _scsih_expander_add()
	soundwire: stream: Fix test for DP prepare complete
	phy: uniphier-pcie: Fix updating phy parameters
	phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
	extcon: sm5502: Drop invalid register write in sm5502_reg_data
	extcon: max8997: Add missing modalias string
	powerpc/powernv: Fix machine check reporting of async store errors
	ASoC: atmel-i2s: Fix usage of capture and playback at the same time
	configfs: fix memleak in configfs_release_bin_file
	ASoC: Intel: sof_sdw: add SOF_RT715_DAI_ID_FIX for AlderLake
	ASoC: fsl_spdif: Fix unexpected interrupt after suspend
	leds: as3645a: Fix error return code in as3645a_parse_node()
	leds: ktd2692: Fix an error handling path
	selftests/ftrace: fix event-no-pid on 1-core machine
	serial: 8250: 8250_omap: Disable RX interrupt after DMA enable
	serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
	powerpc: Offline CPU in stop_this_cpu()
	powerpc/papr_scm: Properly handle UUID types and API
	powerpc/64s: Fix copy-paste data exposure into newly created tasks
	powerpc/papr_scm: Make 'perf_stats' invisible if perf-stats unavailable
	ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found
	serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
	serial: mvebu-uart: correctly calculate minimal possible baudrate
	arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
	vfio/pci: Handle concurrent vma faults
	mm/pmem: avoid inserting hugepage PTE entry with fsdax if hugepage support is disabled
	mm/huge_memory.c: remove dedicated macro HPAGE_CACHE_INDEX_MASK
	mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_enabled()
	mm/huge_memory.c: don't discard hugepage if other processes are mapping it
	mm/hugetlb: use helper huge_page_order and pages_per_huge_page
	mm/hugetlb: remove redundant check in preparing and destroying gigantic page
	hugetlb: remove prep_compound_huge_page cleanup
	include/linux/huge_mm.h: remove extern keyword
	mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
	mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page
	lib/math/rational.c: fix divide by zero
	selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
	selftests/vm/pkeys: handle negative sys_pkey_alloc() return code
	selftests/vm/pkeys: refill shadow register after implicit kernel write
	perf llvm: Return -ENOMEM when asprintf() fails
	csky: fix syscache.c fallthrough warning
	csky: syscache: Fixup duplicate cache flush
	exfat: handle wrong stream entry size in exfat_readdir()
	scsi: fc: Correct RHBA attributes length
	scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
	mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
	fscrypt: don't ignore minor_hash when hash is 0
	fscrypt: fix derivation of SipHash keys on big endian CPUs
	tpm: Replace WARN_ONCE() with dev_err_once() in tpm_tis_status()
	erofs: fix error return code in erofs_read_superblock()
	block: return the correct bvec when checking for gaps
	io_uring: fix blocking inline submission
	mmc: block: Disable CMDQ on the ioctl path
	mmc: vub3000: fix control-request direction
	media: exynos4-is: remove a now unused integer
	scsi: core: Retry I/O for Notify (Enable Spinup) Required error
	crypto: qce - fix error return code in qce_skcipher_async_req_handle()
	s390: preempt: Fix preempt_count initialization
	cred: add missing return error code when set_cred_ucounts() failed
	iommu/dma: Fix compile warning in 32-bit builds
	powerpc/preempt: Don't touch the idle task's preempt_count during hotplug
	Linux 5.10.50

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iec4eab24ea8eb5a6d79739a1aec8432d93a8f82c
2021-07-14 17:35:23 +02:00
Odin Ugedal
9fa8542a63 sched/fair: Fix ascii art by relpacing tabs
[ Upstream commit 08f7c2f4d0e9f4283f5796b8168044c034a1bfcb ]

When using something other than 8 spaces per tab, this ascii art
makes not sense, and the reader might end up wondering what this
advanced equation "is".

Signed-off-by: Odin Ugedal <odin@uged.al>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/20210518125202.78658-4-odin@uged.al
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:55:52 +02: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
Vincent Guittot
813ff24f1d sched/pelt: Ensure that *_sum is always synced with *_avg
[ Upstream commit fcf6631f3736985ec89bdd76392d3c7bfb60119f ]

Rounding in PELT calculation happening when entities are attached/detached
of a cfs_rq can result into situations where util/runnable_avg is not null
but util/runnable_sum is. This is normally not possible so we need to
ensure that util/runnable_sum stays synced with util/runnable_avg.

detach_entity_load_avg() is the last place where we don't sync
util/runnable_sum with util/runnbale_avg when moving some sched_entities

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210601085832.12626-1-vincent.guittot@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-23 14:42:48 +02:00
Greg Kroah-Hartman
82658bfd88 Merge 5.10.44 into android12-5.10-lts
Changes in 5.10.44
	proc: Track /proc/$pid/attr/ opener mm_struct
	ASoC: max98088: fix ni clock divider calculation
	ASoC: amd: fix for pcm_read() error
	spi: Fix spi device unregister flow
	spi: spi-zynq-qspi: Fix stack violation bug
	bpf: Forbid trampoline attach for functions with variable arguments
	net/nfc/rawsock.c: fix a permission check bug
	usb: cdns3: Fix runtime PM imbalance on error
	ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet
	ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet
	vfio-ccw: Reset FSM state to IDLE inside FSM
	vfio-ccw: Serialize FSM IDLE state with I/O completion
	ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
	spi: sprd: Add missing MODULE_DEVICE_TABLE
	usb: chipidea: udc: assign interrupt number to USB gadget structure
	isdn: mISDN: netjet: Fix crash in nj_probe:
	bonding: init notify_work earlier to avoid uninitialized use
	netlink: disable IRQs for netlink_lock_table()
	net: mdiobus: get rid of a BUG_ON()
	cgroup: disable controllers at parse time
	wq: handle VM suspension in stall detection
	net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
	RDS tcp loopback connection can hang
	net:sfc: fix non-freed irq in legacy irq mode
	scsi: bnx2fc: Return failure if io_req is already in ABTS processing
	scsi: vmw_pvscsi: Set correct residual data length
	scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq
	scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
	net: macb: ensure the device is available before accessing GEMGXL control registers
	net: appletalk: cops: Fix data race in cops_probe1
	net: dsa: microchip: enable phy errata workaround on 9567
	nvme-fabrics: decode host pathing error for connect
	MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
	dm verity: fix require_signatures module_param permissions
	bnx2x: Fix missing error code in bnx2x_iov_init_one()
	nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
	nvmet: fix false keep-alive timeout when a controller is torn down
	powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
	powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
	spi: Don't have controller clean up spi device before driver unbind
	spi: Cleanup on failure of initial setup
	i2c: mpc: Make use of i2c_recover_bus()
	i2c: mpc: implement erratum A-004447 workaround
	ALSA: seq: Fix race of snd_seq_timer_open()
	ALSA: firewire-lib: fix the context to call snd_pcm_stop_xrun()
	ALSA: hda/realtek: headphone and mic don't work on an Acer laptop
	ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Elite Dragonfly G2
	ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP EliteBook x360 1040 G8
	ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 840 Aero G8
	ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8
	spi: bcm2835: Fix out-of-bounds access with more than 4 slaves
	Revert "ACPI: sleep: Put the FACS table after using it"
	drm: Fix use-after-free read in drm_getunique()
	drm: Lock pointer access in drm_master_release()
	perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server
	KVM: X86: MMU: Use the correct inherited permissions to get shadow page
	kvm: avoid speculation-based attacks from out-of-range memslot accesses
	staging: rtl8723bs: Fix uninitialized variables
	async_xor: check src_offs is not NULL before updating it
	btrfs: return value from btrfs_mark_extent_written() in case of error
	btrfs: promote debugging asserts to full-fledged checks in validate_super
	cgroup1: don't allow '\n' in renaming
	ftrace: Do not blindly read the ip address in ftrace_bug()
	mmc: renesas_sdhi: abort tuning when timeout detected
	mmc: renesas_sdhi: Fix HS400 on R-Car M3-W+
	USB: f_ncm: ncm_bitrate (speed) is unsigned
	usb: f_ncm: only first packet of aggregate needs to start timer
	usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms
	usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled
	usb: dwc3: meson-g12a: Disable the regulator in the error handling path of the probe
	usb: dwc3: gadget: Bail from dwc3_gadget_exit() if dwc->gadget is NULL
	usb: dwc3: ep0: fix NULL pointer exception
	usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling
	usb: typec: wcove: Use LE to CPU conversion when accessing msg->header
	usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
	usb: typec: intel_pmc_mux: Put fwnode in error case during ->probe()
	usb: typec: intel_pmc_mux: Add missed error check for devm_ioremap_resource()
	usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
	USB: serial: ftdi_sio: add NovaTech OrionMX product ID
	USB: serial: omninet: add device id for Zyxel Omni 56K Plus
	USB: serial: quatech2: fix control-request directions
	USB: serial: cp210x: fix alternate function for CP2102N QFN20
	usb: gadget: eem: fix wrong eem header operation
	usb: fix various gadgets null ptr deref on 10gbps cabling.
	usb: fix various gadget panics on 10gbps cabling
	usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port
	usb: typec: tcpm: cancel frs hrtimer when unregister tcpm port
	regulator: core: resolve supply for boot-on/always-on regulators
	regulator: max77620: Use device_set_of_node_from_dev()
	regulator: bd718x7: Fix the BUCK7 voltage setting on BD71837
	regulator: fan53880: Fix missing n_voltages setting
	regulator: bd71828: Fix .n_voltages settings
	regulator: rtmv20: Fix .set_current_limit/.get_current_limit callbacks
	phy: usb: Fix misuse of IS_ENABLED
	usb: dwc3: gadget: Disable gadget IRQ during pullup disable
	usb: typec: mux: Fix copy-paste mistake in typec_mux_match
	drm/mcde: Fix off by 10^3 in calculation
	drm/msm/a6xx: fix incorrectly set uavflagprd_inv field for A650
	drm/msm/a6xx: update/fix CP_PROTECT initialization
	drm/msm/a6xx: avoid shadow NULL reference in failure path
	RDMA/ipoib: Fix warning caused by destroying non-initial netns
	RDMA/mlx4: Do not map the core_clock page to user space unless enabled
	ARM: cpuidle: Avoid orphan section warning
	vmlinux.lds.h: Avoid orphan section with !SMP
	tools/bootconfig: Fix error return code in apply_xbc()
	phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe()
	ASoC: core: Fix Null-point-dereference in fmt_single_name()
	ASoC: meson: gx-card: fix sound-dai dt schema
	phy: ti: Fix an error code in wiz_probe()
	gpio: wcd934x: Fix shift-out-of-bounds error
	perf: Fix data race between pin_count increment/decrement
	sched/fair: Keep load_avg and load_sum synced
	sched/fair: Make sure to update tg contrib for blocked load
	sched/fair: Fix util_est UTIL_AVG_UNCHANGED handling
	x86/nmi_watchdog: Fix old-style NMI watchdog regression on old Intel CPUs
	KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message
	IB/mlx5: Fix initializing CQ fragments buffer
	NFS: Fix a potential NULL dereference in nfs_get_client()
	NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode()
	perf session: Correct buffer copying when peeking events
	kvm: fix previous commit for 32-bit builds
	NFS: Fix use-after-free in nfs4_init_client()
	NFSv4: Fix second deadlock in nfs4_evict_inode()
	NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
	scsi: core: Fix error handling of scsi_host_alloc()
	scsi: core: Fix failure handling of scsi_add_host_with_dma()
	scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
	scsi: core: Only put parent device if host state differs from SHOST_CREATED
	tracing: Correct the length check which causes memory corruption
	proc: only require mm_struct for writing
	Linux 5.10.44

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ic64172b4e72ccb54d96000b3065dd8b33aa9fef5
2021-06-16 13:14:03 +02:00
Dietmar Eggemann
190a7f9089 sched/fair: Fix util_est UTIL_AVG_UNCHANGED handling
commit 68d7a190682aa4eb02db477328088ebad15acc83 upstream.

The util_est internal UTIL_AVG_UNCHANGED flag which is used to prevent
unnecessary util_est updates uses the LSB of util_est.enqueued. It is
exposed via _task_util_est() (and task_util_est()).

Commit 92a801e5d5 ("sched/fair: Mask UTIL_AVG_UNCHANGED usages")
mentions that the LSB is lost for util_est resolution but
find_energy_efficient_cpu() checks if task_util_est() returns 0 to
return prev_cpu early.

_task_util_est() returns the max value of util_est.ewma and
util_est.enqueued or'ed w/ UTIL_AVG_UNCHANGED.
So task_util_est() returning the max of task_util() and
_task_util_est() will never return 0 under the default
SCHED_FEAT(UTIL_EST, true).

To fix this use the MSB of util_est.enqueued instead and keep the flag
util_est internal, i.e. don't export it via _task_util_est().

The maximal possible util_avg value for a task is 1024 so the MSB of
'unsigned int util_est.enqueued' isn't used to store a util value.

As a caveat the code behind the util_est_se trace point has to filter
UTIL_AVG_UNCHANGED to see the real util_est.enqueued value which should
be easy to do.

This also fixes an issue report by Xuewen Yan that util_est_update()
only used UTIL_AVG_UNCHANGED for the subtrahend of the equation:

  last_enqueued_diff = ue.enqueued - (task_util() | UTIL_AVG_UNCHANGED)

Fixes: b89997aa88f0b sched/pelt: Fix task util_est update filtering
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Xuewen Yan <xuewen.yan@unisoc.com>
Reviewed-by: Vincent Donnefort <vincent.donnefort@arm.com>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lore.kernel.org/r/20210602145808.1562603-1-dietmar.eggemann@arm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-16 12:01:46 +02:00
Vincent Guittot
32e22db8b2 sched/fair: Make sure to update tg contrib for blocked load
commit 02da26ad5ed6ea8680e5d01f20661439611ed776 upstream.

During the update of fair blocked load (__update_blocked_fair()), we
update the contribution of the cfs in tg->load_avg if cfs_rq's pelt
has decayed.  Nevertheless, the pelt values of a cfs_rq could have
been recently updated while propagating the change of a child. In this
case, cfs_rq's pelt will not decayed because it has already been
updated and we don't update tg->load_avg.

__update_blocked_fair
  ...
  for_each_leaf_cfs_rq_safe: child cfs_rq
    update cfs_rq_load_avg() for child cfs_rq
    ...
    update_load_avg(cfs_rq_of(se), se, 0)
      ...
      update cfs_rq_load_avg() for parent cfs_rq
		-propagation of child's load makes parent cfs_rq->load_sum
		 becoming null
        -UPDATE_TG is not set so it doesn't update parent
		 cfs_rq->tg_load_avg_contrib
  ..
  for_each_leaf_cfs_rq_safe: parent cfs_rq
    update cfs_rq_load_avg() for parent cfs_rq
      - nothing to do because parent cfs_rq has already been updated
		recently so cfs_rq->tg_load_avg_contrib is not updated
    ...
    parent cfs_rq is decayed
      list_del_leaf_cfs_rq parent cfs_rq
	  - but it still contibutes to tg->load_avg

we must set UPDATE_TG flags when propagting pending load to the parent

Fixes: 039ae8bcf7 ("sched/fair: Fix O(nr_cgroups) in the load balancing path")
Reported-by: Odin Ugedal <odin@uged.al>
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Odin Ugedal <odin@uged.al>
Link: https://lkml.kernel.org/r/20210527122916.27683-3-vincent.guittot@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-16 12:01:45 +02:00
Vincent Guittot
4c37b062ed sched/fair: Keep load_avg and load_sum synced
commit 7c7ad626d9a0ff0a36c1e2a3cfbbc6a13828d5eb upstream.

when removing a cfs_rq from the list we only check _sum value so we must
ensure that _avg and _sum stay synced so load_sum can't be null whereas
load_avg is not after propagating load in the cgroup hierarchy.

Use load_avg to compute load_sum similarly to what is done for util_sum
and runnable_sum.

Fixes: 0e2d2aaaae ("sched/fair: Rewrite PELT migration propagation")
Reported-by: Odin Ugedal <odin@uged.al>
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Odin Ugedal <odin@uged.al>
Link: https://lkml.kernel.org/r/20210527122916.27683-2-vincent.guittot@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-16 12:01:45 +02:00
Choonghoon Park
27c285003d ANDROID: sched: Add vendor hook to select ilb cpu
Add android_rvh_find_new_ilb to select a next ilb cpu for vendors.

Bug: 190228983

Change-Id: Iba1a0cd9cdc22dcf628dd33f8d838fe513a4818f
Signed-off-by: Choonghoon Park <choong.park@samsung.com>
2021-06-07 11:00:05 +00:00
Greg Kroah-Hartman
4cef9277ba Revert "Revert "sched,fair: Alternative sched_slice()""
This reverts commit 3d24408745.

Bring back the commit in 5.10.36 that broke the kabi.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iafa9c51e4cb9e42f4149c4e9889b822288a96ad2
2021-05-21 13:17:06 -07:00
Greg Kroah-Hartman
76002c201f Merge 5.10.38 into android12-5.10
Changes in 5.10.38
	KEYS: trusted: Fix memory leak on object td
	tpm: fix error return code in tpm2_get_cc_attrs_tbl()
	tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
	tpm, tpm_tis: Reserve locality in tpm_tis_resume()
	KVM: x86/mmu: Remove the defunct update_pte() paging hook
	KVM/VMX: Invoke NMI non-IST entry instead of IST entry
	ACPI: PM: Add ACPI ID of Alder Lake Fan
	PM: runtime: Fix unpaired parent child_count for force_resume
	cpufreq: intel_pstate: Use HWP if enabled by platform firmware
	kvm: Cap halt polling at kvm->max_halt_poll_ns
	ath11k: fix thermal temperature read
	fs: dlm: fix debugfs dump
	fs: dlm: add errno handling to check callback
	fs: dlm: check on minimum msglen size
	fs: dlm: flush swork on shutdown
	tipc: convert dest node's address to network order
	ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
	net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath
	net: stmmac: Set FIFO sizes for ipq806x
	ASoC: rsnd: core: Check convert rate in rsnd_hw_params
	Bluetooth: Fix incorrect status handling in LE PHY UPDATE event
	i2c: bail out early when RDWR parameters are wrong
	ALSA: hdsp: don't disable if not enabled
	ALSA: hdspm: don't disable if not enabled
	ALSA: rme9652: don't disable if not enabled
	ALSA: bebob: enable to deliver MIDI messages for multiple ports
	Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
	Bluetooth: initialize skb_queue_head at l2cap_chan_create()
	net/sched: cls_flower: use ntohs for struct flow_dissector_key_ports
	net: bridge: when suppression is enabled exclude RARP packets
	Bluetooth: check for zapped sk before connecting
	selftests/powerpc: Fix L1D flushing tests for Power10
	powerpc/32: Statically initialise first emergency context
	net: hns3: remediate a potential overflow risk of bd_num_list
	net: hns3: add handling for xmit skb with recursive fraglist
	ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
	ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
	ice: handle increasing Tx or Rx ring sizes
	Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip.
	ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055
	i2c: Add I2C_AQ_NO_REP_START adapter quirk
	MIPS: Loongson64: Use _CACHE_UNCACHED instead of _CACHE_UNCACHED_ACCELERATED
	coresight: Do not scan for graph if none is present
	IB/hfi1: Correct oversized ring allocation
	mac80211: clear the beacon's CRC after channel switch
	pinctrl: samsung: use 'int' for register masks in Exynos
	rtw88: 8822c: add LC calibration for RTL8822C
	mt76: mt7615: support loading EEPROM for MT7613BE
	mt76: mt76x0: disable GTK offloading
	mt76: mt7915: fix txpower init for TSSI off chips
	fuse: invalidate attrs when page writeback completes
	virtiofs: fix userns
	cuse: prevent clone
	iwlwifi: pcie: make cfg vs. trans_cfg more robust
	powerpc/mm: Add cond_resched() while removing hpte mappings
	ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
	Revert "iommu/amd: Fix performance counter initialization"
	iommu/amd: Remove performance counter pre-initialization test
	drm/amd/display: Force vsync flip when reconfiguring MPCC
	selftests: Set CC to clang in lib.mk if LLVM is set
	kconfig: nconf: stop endless search loops
	ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740
	ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp
	ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume
	sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
	flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target()
	powerpc/smp: Set numa node before updating mask
	ASoC: rt286: Generalize support for ALC3263 codec
	ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()
	net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule
	samples/bpf: Fix broken tracex1 due to kprobe argument change
	powerpc/pseries: Stop calling printk in rtas_stop_self()
	drm/amd/display: fixed divide by zero kernel crash during dsc enablement
	drm/amd/display: add handling for hdcp2 rx id list validation
	drm/amdgpu: Add mem sync flag for IB allocated by SA
	mt76: mt7615: fix entering driver-own state on mt7663
	crypto: ccp: Free SEV device if SEV init fails
	wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
	wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
	qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
	powerpc/iommu: Annotate nested lock for lockdep
	iavf: remove duplicate free resources calls
	net: ethernet: mtk_eth_soc: fix RX VLAN offload
	selftests: mlxsw: Increase the tolerance of backlog buildup
	selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test
	kbuild: generate Module.symvers only when vmlinux exists
	bnxt_en: Add PCI IDs for Hyper-V VF devices.
	ia64: module: fix symbolizer crash on fdescr
	watchdog: rename __touch_watchdog() to a better descriptive name
	watchdog: explicitly update timestamp when reporting softlockup
	watchdog/softlockup: remove logic that tried to prevent repeated reports
	watchdog: fix barriers when printing backtraces from all CPUs
	ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
	thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params()
	f2fs: move ioctl interface definitions to separated file
	f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE
	f2fs: fix to allow migrating fully valid segment
	f2fs: fix panic during f2fs_resize_fs()
	f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
	remoteproc: qcom_q6v5_mss: Replace ioremap with memremap
	remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader
	PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()
	PCI: Release OF node in pci_scan_device()'s error path
	ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook
	f2fs: fix to align to section for fallocate() on pinned file
	f2fs: fix to update last i_size if fallocate partially succeeds
	PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR
	PCI: endpoint: Add helper API to get the 'next' unreserved BAR
	PCI: endpoint: Make *_free_bar() to return error codes on failure
	PCI: endpoint: Fix NULL pointer dereference for ->get_features()
	f2fs: fix to avoid touching checkpointed data in get_victim()
	f2fs: fix to cover __allocate_new_section() with curseg_lock
	f2fs: Fix a hungtask problem in atomic write
	f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block()
	rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
	NFS: nfs4_bitmask_adjust() must not change the server global bitmasks
	NFS: Fix attribute bitmask in _nfs42_proc_fallocate()
	NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
	NFS: Deal correctly with attribute generation counter overflow
	PCI: endpoint: Fix missing destroy_workqueue()
	pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
	NFSv4.2 fix handling of sr_eof in SEEK's reply
	SUNRPC: Move fault injection call sites
	SUNRPC: Remove trace_xprt_transmit_queued
	SUNRPC: Handle major timeout in xprt_adjust_timeout()
	thermal/drivers/tsens: Fix missing put_device error
	NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting
	nfsd: ensure new clients break delegations
	rtc: fsl-ftm-alarm: add MODULE_TABLE()
	dmaengine: idxd: Fix potential null dereference on pointer status
	dmaengine: idxd: fix dma device lifetime
	dmaengine: idxd: fix cdev setup and free device lifetime issues
	SUNRPC: fix ternary sign expansion bug in tracing
	pwm: atmel: Fix duty cycle calculation in .get_state()
	xprtrdma: Avoid Receive Queue wrapping
	xprtrdma: Fix cwnd update ordering
	xprtrdma: rpcrdma_mr_pop() already does list_del_init()
	swiotlb: Fix the type of index
	ceph: fix inode leak on getattr error in __fh_to_dentry
	scsi: qla2xxx: Prevent PRLI in target mode
	scsi: ufs: core: Do not put UFS power into LPM if link is broken
	scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend
	scsi: ufs: core: Narrow down fast path in system suspend path
	rtc: ds1307: Fix wday settings for rx8130
	net: hns3: fix incorrect configuration for igu_egu_hw_err
	net: hns3: initialize the message content in hclge_get_link_mode()
	net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet()
	net: hns3: fix for vxlan gpe tx checksum bug
	net: hns3: use netif_tx_disable to stop the transmit queue
	net: hns3: disable phy loopback setting in hclge_mac_start_phy
	sctp: do asoc update earlier in sctp_sf_do_dupcook_a
	RISC-V: Fix error code returned by riscv_hartid_to_cpuid()
	sunrpc: Fix misplaced barrier in call_decode
	libbpf: Fix signed overflow in ringbuf_process_ring
	block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t
	block/rnbd-clt: Check the return value of the function rtrs_clt_query
	ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
	sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
	netfilter: xt_SECMARK: add new revision to fix structure layout
	xsk: Fix for xp_aligned_validate_desc() when len == chunk_size
	net: stmmac: Clear receive all(RA) bit when promiscuous mode is off
	drm/radeon: Fix off-by-one power_state index heap overwrite
	drm/radeon: Avoid power table parsing memory leaks
	arm64: entry: factor irq triage logic into macros
	arm64: entry: always set GIC_PRIO_PSR_I_SET during entry
	khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()
	mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
	mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
	ksm: fix potential missing rmap_item for stable_node
	mm/gup: check every subpage of a compound page during isolation
	mm/gup: return an error on migration failure
	mm/gup: check for isolation errors
	ethtool: fix missing NLM_F_MULTI flag when dumping
	net: fix nla_strcmp to handle more then one trailing null character
	smc: disallow TCP_ULP in smc_setsockopt()
	netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
	netfilter: nftables: Fix a memleak from userdata error path in new objects
	can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path
	can: mcp251x: fix resume from sleep before interface was brought up
	can: m_can: m_can_tx_work_queue(): fix tx_skb race condition
	sched: Fix out-of-bound access in uclamp
	sched/fair: Fix unfairness caused by missing load decay
	fs/proc/generic.c: fix incorrect pde_is_permanent check
	kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
	kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_RAM resources
	kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resources
	netfilter: nftables: avoid overflows in nft_hash_buckets()
	i40e: fix broken XDP support
	i40e: Fix use-after-free in i40e_client_subtask()
	i40e: fix the restart auto-negotiation after FEC modified
	i40e: Fix PHY type identifiers for 2.5G and 5G adapters
	mptcp: fix splat when closing unaccepted socket
	f2fs: avoid unneeded data copy in f2fs_ioc_move_range()
	ARC: entry: fix off-by-one error in syscall number validation
	ARC: mm: PAE: use 40-bit physical page mask
	ARC: mm: Use max_high_pfn as a HIGHMEM zone border
	powerpc/64s: Fix crashes when toggling stf barrier
	powerpc/64s: Fix crashes when toggling entry flush barrier
	hfsplus: prevent corruption in shrinking truncate
	squashfs: fix divide error in calculate_skip()
	userfaultfd: release page in error path to avoid BUG_ON
	kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled
	mm/hugetlb: fix F_SEAL_FUTURE_WRITE
	blk-iocost: fix weight updates of inner active iocgs
	arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup
	arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache()
	btrfs: fix race leading to unpersisted data and metadata on fsync
	drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected
	drm/amd/display: Initialize attribute for hdcp_srm sysfs file
	drm/i915: Avoid div-by-zero on gen2
	kvm: exit halt polling on need_resched() as well
	KVM: LAPIC: Accurately guarantee busy wait for timer to expire when using hv_timer
	drm/msm/dp: initialize audio_comp when audio starts
	KVM: x86: Cancel pvclock_gtod_work on module removal
	KVM: x86: Prevent deadlock against tk_core.seq
	dax: Add an enum for specifying dax wakup mode
	dax: Add a wakeup mode parameter to put_unlocked_entry()
	dax: Wake up all waiters after invalidating dax entry
	xen/unpopulated-alloc: consolidate pgmap manipulation
	xen/unpopulated-alloc: fix error return code in fill_list()
	perf tools: Fix dynamic libbpf link
	usb: dwc3: gadget: Free gadget structure only after freeing endpoints
	iio: light: gp2ap002: Fix rumtime PM imbalance on error
	iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
	iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER
	usb: fotg210-hcd: Fix an error message
	hwmon: (occ) Fix poll rate limiting
	usb: musb: Fix an error message
	ACPI: scan: Fix a memory leak in an error handling path
	kyber: fix out of bounds access when preempted
	nvmet: add lba to sect conversion helpers
	nvmet: fix inline bio check for bdev-ns
	nvmet-rdma: Fix NULL deref when SEND is completed with error
	f2fs: compress: fix to free compress page correctly
	f2fs: compress: fix race condition of overwrite vs truncate
	f2fs: compress: fix to assign cc.cluster_idx correctly
	nbd: Fix NULL pointer in flush_workqueue
	blk-mq: plug request for shared sbitmap
	blk-mq: Swap two calls in blk_mq_exit_queue()
	usb: dwc3: omap: improve extcon initialization
	usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield
	usb: xhci: Increase timeout for HC halt
	usb: dwc2: Fix gadget DMA unmap direction
	usb: core: hub: fix race condition about TRSMRCY of resume
	usb: dwc3: gadget: Enable suspend events
	usb: dwc3: gadget: Return success always for kick transfer in ep queue
	usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4
	usb: typec: ucsi: Put fwnode in any case during ->probe()
	xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI
	xhci: Do not use GFP_KERNEL in (potentially) atomic context
	xhci: Add reset resume quirk for AMD xhci controller.
	iio: gyro: mpu3050: Fix reported temperature value
	iio: tsl2583: Fix division by a zero lux_val
	cdc-wdm: untangle a circular dependency between callback and softint
	xen/gntdev: fix gntdev_mmap() error exit path
	KVM: x86: Emulate RDPID only if RDTSCP is supported
	KVM: x86: Move RDPID emulation intercept to its own enum
	KVM: nVMX: Always make an attempt to map eVMCS after migration
	KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported
	KVM: VMX: Disable preemption when probing user return MSRs
	Revert "iommu/vt-d: Remove WO permissions on second-level paging entries"
	Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL"
	iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
	iommu/vt-d: Remove WO permissions on second-level paging entries
	mm: fix struct page layout on 32-bit systems
	MIPS: Reinstate platform `__div64_32' handler
	MIPS: Avoid DIVU in `__div64_32' is result would be zero
	MIPS: Avoid handcoded DIVU in `__div64_32' altogether
	clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
	clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
	ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
	ARM: 9012/1: move device tree mapping out of linear region
	ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address
	ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section
	usb: typec: tcpm: Fix error while calculating PPS out values
	kobject_uevent: remove warning in init_uevent_argv()
	drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp
	drm/i915: Read C0DRB3/C1DRB3 as 16 bits again
	drm/i915/overlay: Fix active retire callback alignment
	drm/i915: Fix crash in auto_retire
	clk: exynos7: Mark aclk_fsys1_200 as critical
	media: rkvdec: Remove of_match_ptr()
	i2c: mediatek: Fix send master code at more than 1MHz
	dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1
	dt-bindings: serial: 8250: Remove duplicated compatible strings
	debugfs: Make debugfs_allow RO after init
	ext4: fix debug format string warning
	nvme: do not try to reconfigure APST when the controller is not live
	ASoC: rsnd: check all BUSIF status when error
	Linux 5.10.38

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ia32e01283b488a38be48015c58a0e481f09aaf65
2021-05-20 15:35:25 +02:00
Odin Ugedal
f89b408d50 sched/fair: Fix unfairness caused by missing load decay
[ Upstream commit 0258bdfaff5bd13c4d2383150b7097aecd6b6d82 ]

This fixes an issue where old load on a cfs_rq is not properly decayed,
resulting in strange behavior where fairness can decrease drastically.
Real workloads with equally weighted control groups have ended up
getting a respective 99% and 1%(!!) of cpu time.

When an idle task is attached to a cfs_rq by attaching a pid to a cgroup,
the old load of the task is attached to the new cfs_rq and sched_entity by
attach_entity_cfs_rq. If the task is then moved to another cpu (and
therefore cfs_rq) before being enqueued/woken up, the load will be moved
to cfs_rq->removed from the sched_entity. Such a move will happen when
enforcing a cpuset on the task (eg. via a cgroup) that force it to move.

The load will however not be removed from the task_group itself, making
it look like there is a constant load on that cfs_rq. This causes the
vruntime of tasks on other sibling cfs_rq's to increase faster than they
are supposed to; causing severe fairness issues. If no other task is
started on the given cfs_rq, and due to the cpuset it would not happen,
this load would never be properly unloaded. With this patch the load
will be properly removed inside update_blocked_averages. This also
applies to tasks moved to the fair scheduling class and moved to another
cpu, and this path will also fix that. For fork, the entity is queued
right away, so this problem does not affect that.

This applies to cases where the new process is the first in the cfs_rq,
issue introduced 3d30544f02 ("sched/fair: Apply more PELT fixes"), and
when there has previously been load on the cgroup but the cgroup was
removed from the leaflist due to having null PELT load, indroduced
in 039ae8bcf7 ("sched/fair: Fix O(nr_cgroups) in the load balancing
path").

For a simple cgroup hierarchy (as seen below) with two equally weighted
groups, that in theory should get 50/50 of cpu time each, it often leads
to a load of 60/40 or 70/30.

parent/
  cg-1/
    cpu.weight: 100
    cpuset.cpus: 1
  cg-2/
    cpu.weight: 100
    cpuset.cpus: 1

If the hierarchy is deeper (as seen below), while keeping cg-1 and cg-2
equally weighted, they should still get a 50/50 balance of cpu time.
This however sometimes results in a balance of 10/90 or 1/99(!!) between
the task groups.

$ ps u -C stress
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root       18568  1.1  0.0   3684   100 pts/12   R+   13:36   0:00 stress --cpu 1
root       18580 99.3  0.0   3684   100 pts/12   R+   13:36   0:09 stress --cpu 1

parent/
  cg-1/
    cpu.weight: 100
    sub-group/
      cpu.weight: 1
      cpuset.cpus: 1
  cg-2/
    cpu.weight: 100
    sub-group/
      cpu.weight: 10000
      cpuset.cpus: 1

This can be reproduced by attaching an idle process to a cgroup and
moving it to a given cpuset before it wakes up. The issue is evident in
many (if not most) container runtimes, and has been reproduced
with both crun and runc (and therefore docker and all its "derivatives"),
and with both cgroup v1 and v2.

Fixes: 3d30544f02 ("sched/fair: Apply more PELT fixes")
Fixes: 039ae8bcf7 ("sched/fair: Fix O(nr_cgroups) in the load balancing path")
Signed-off-by: Odin Ugedal <odin@uged.al>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/20210501141950.23622-2-odin@uged.al
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-19 10:13:09 +02:00
Wei Wang
f57d242977 ANDROID: sched/fair: export sysctl_sched_min_granularity symbol
Export sysctl_sched_min_granularity to be able to access from vendor modules.

Bug: 170487162
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I31d63adaa66280eb4c1c1daa75208c6b61c83781
2021-05-17 17:14:10 +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
Valentin Schneider
80862cbf76 sched/fair: Fix shift-out-of-bounds in load_balance()
[ Upstream commit 39a2a6eb5c9b66ea7c8055026303b3aa681b49a5 ]

Syzbot reported a handful of occurrences where an sd->nr_balance_failed can
grow to much higher values than one would expect.

A successful load_balance() resets it to 0; a failed one increments
it. Once it gets to sd->cache_nice_tries + 3, this *should* trigger an
active balance, which will either set it to sd->cache_nice_tries+1 or reset
it to 0. However, in case the to-be-active-balanced task is not allowed to
run on env->dst_cpu, then the increment is done without any further
modification.

This could then be repeated ad nauseam, and would explain the absurdly high
values reported by syzbot (86, 149). VincentG noted there is value in
letting sd->cache_nice_tries grow, so the shift itself should be
fixed. That means preventing:

  """
  If the value of the right operand is negative or is greater than or equal
  to the width of the promoted left operand, the behavior is undefined.
  """

Thus we need to cap the shift exponent to
  BITS_PER_TYPE(typeof(lefthand)) - 1.

I had a look around for other similar cases via coccinelle:

  @expr@
  position pos;
  expression E1;
  expression E2;
  @@
  (
  E1 >> E2@pos
  |
  E1 >> E2@pos
  )

  @cst depends on expr@
  position pos;
  expression expr.E1;
  constant cst;
  @@
  (
  E1 >> cst@pos
  |
  E1 << cst@pos
  )

  @script:python depends on !cst@
  pos << expr.pos;
  exp << expr.E2;
  @@
  # Dirty hack to ignore constexpr
  if exp.upper() != exp:
     coccilib.report.print_report(pos[0], "Possible UB shift here")

The only other match in kernel/sched is rq_clock_thermal() which employs
sched_thermal_decay_shift, and that exponent is already capped to 10, so
that one is fine.

Fixes: 5a7f555904 ("sched/fair: Relax constraint on task's load during load balance")
Reported-by: syzbot+d7581744d5fd27c9fbe1@syzkaller.appspotmail.com
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: http://lore.kernel.org/r/000000000000ffac1205b9a2112f@google.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:22 +02:00
Greg Kroah-Hartman
3d24408745 Revert "sched,fair: Alternative sched_slice()"
This reverts commit ae7fe4794d which
showed up in 5.10.36 and broke the abi.  It should not be needed in
Android systems at this time so it is safe to revert.

Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I69f1885bb0d25ebbaa52422d6c238f13fbe0a0f3
2021-05-13 14:22:12 +02:00
Greg Kroah-Hartman
a1ac3f3093 Merge 5.10.36 into android12-5.10
Changes in 5.10.36
	bus: mhi: core: Fix check for syserr at power_up
	bus: mhi: core: Clear configuration from channel context during reset
	bus: mhi: core: Sanity check values from remote device before use
	nitro_enclaves: Fix stale file descriptors on failed usercopy
	dyndbg: fix parsing file query without a line-range suffix
	s390/disassembler: increase ebpf disasm buffer size
	s390/zcrypt: fix zcard and zqueue hot-unplug memleak
	vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
	tpm: acpi: Check eventlog signature before using it
	ACPI: custom_method: fix potential use-after-free issue
	ACPI: custom_method: fix a possible memory leak
	ftrace: Handle commands when closing set_ftrace_filter file
	ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
	arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
	arm64: dts: mt8173: fix property typo of 'phys' in dsi node
	ecryptfs: fix kernel panic with null dev_name
	fs/epoll: restore waking from ep_done_scan()
	mtd: spi-nor: core: Fix an issue of releasing resources during read/write
	Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
	mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
	mtd: rawnand: atmel: Update ecc_stats.corrected counter
	mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
	erofs: add unsupported inode i_format check
	spi: stm32-qspi: fix pm_runtime usage_count counter
	spi: spi-ti-qspi: Free DMA resources
	scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
	scsi: mpt3sas: Block PCI config access from userspace during reset
	mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
	mmc: uniphier-sd: Fix a resource leak in the remove function
	mmc: sdhci: Check for reset prior to DMA address unmap
	mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
	mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit
	mmc: block: Update ext_csd.cache_ctrl if it was written
	mmc: block: Issue a cache flush only when it's enabled
	mmc: core: Do a power cycle when the CMD11 fails
	mmc: core: Set read only for SD cards with permanent write protect bit
	mmc: core: Fix hanging on I/O during system suspend for removable cards
	irqchip/gic-v3: Do not enable irqs when handling spurious interrups
	cifs: Return correct error code from smb2_get_enc_key
	cifs: fix out-of-bound memory access when calling smb3_notify() at mount point
	cifs: detect dead connections only when echoes are enabled.
	smb2: fix use-after-free in smb2_ioctl_query_info()
	btrfs: handle remount to no compress during compression
	x86/build: Disable HIGHMEM64G selection for M486SX
	btrfs: fix metadata extent leak after failure to create subvolume
	intel_th: pci: Add Rocket Lake CPU support
	btrfs: fix race between transaction aborts and fsyncs leading to use-after-free
	posix-timers: Preserve return value in clock_adjtime32()
	fbdev: zero-fill colormap in fbcmap.c
	cpuidle: tegra: Fix C7 idling state on Tegra114
	bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
	staging: wimax/i2400m: fix byte-order issue
	spi: ath79: always call chipselect function
	spi: ath79: remove spi-master setup and cleanup assignment
	bus: mhi: core: Destroy SBL devices when moving to mission mode
	crypto: api - check for ERR pointers in crypto_destroy_tfm()
	crypto: qat - fix unmap invalid dma address
	usb: gadget: uvc: add bInterval checking for HS mode
	usb: webcam: Invalid size of Processing Unit Descriptor
	x86/sev: Do not require Hypervisor CPUID bit for SEV guests
	crypto: hisilicon/sec - fixes a printing error
	genirq/matrix: Prevent allocation counter corruption
	usb: gadget: f_uac2: validate input parameters
	usb: gadget: f_uac1: validate input parameters
	usb: dwc3: gadget: Ignore EP queue requests during bus reset
	usb: xhci: Fix port minor revision
	kselftest/arm64: mte: Fix compilation with native compiler
	ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node
	PCI: PM: Do not read power state in pci_enable_device_flags()
	kselftest/arm64: mte: Fix MTE feature detection
	ARM: dts: BCM5301X: fix "reg" formatting in /memory node
	ARM: dts: ux500: Fix up TVK R3 sensors
	x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
	x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
	efi/libstub: Add $(CLANG_FLAGS) to x86 flags
	soc/tegra: pmc: Fix completion of power-gate toggling
	arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on
	tee: optee: do not check memref size on return from Secure World
	soundwire: cadence: only prepare attached devices on clock stop
	perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors
	perf/arm_pmu_platform: Fix error handling
	random: initialize ChaCha20 constants with correct endianness
	usb: xhci-mtk: support quirk to disable usb2 lpm
	fpga: dfl: pci: add DID for D5005 PAC cards
	xhci: check port array allocation was successful before dereferencing it
	xhci: check control context is valid before dereferencing it.
	xhci: fix potential array out of bounds with several interrupters
	bus: mhi: core: Clear context for stopped channels from remove()
	ARM: dts: at91: change the key code of the gpio key
	tools/power/x86/intel-speed-select: Increase string size
	platform/x86: ISST: Account for increased timeout in some cases
	spi: dln2: Fix reference leak to master
	spi: omap-100k: Fix reference leak to master
	spi: qup: fix PM reference leak in spi_qup_remove()
	usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove()
	usb: musb: fix PM reference leak in musb_irq_work()
	usb: core: hub: Fix PM reference leak in usb_port_resume()
	usb: dwc3: gadget: Check for disabled LPM quirk
	tty: n_gsm: check error while registering tty devices
	intel_th: Consistency and off-by-one fix
	phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
	crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
	crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
	crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
	crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
	crypto: sa2ul - Fix PM reference leak in sa_ul_probe()
	crypto: omap-aes - Fix PM reference leak on omap-aes.c
	platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
	spi: sync up initial chipselect state
	btrfs: do proper error handling in create_reloc_root
	btrfs: do proper error handling in btrfs_update_reloc_root
	btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
	drm: Added orientation quirk for OneGX1 Pro
	drm/qxl: do not run release if qxl failed to init
	drm/qxl: release shadow on shutdown
	drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check
	drm/amd/display: changing sr exit latency
	drm/ast: fix memory leak when unload the driver
	drm/amd/display: Check for DSC support instead of ASIC revision
	drm/amd/display: Don't optimize bandwidth before disabling planes
	drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work
	drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue
	scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
	scsi: lpfc: Fix pt2pt connection does not recover after LOGO
	drm/amdgpu: Fix some unload driver issues
	sched/pelt: Fix task util_est update filtering
	kvfree_rcu: Use same set of GFP flags as does single-argument
	scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
	media: ite-cir: check for receive overflow
	media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
	media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
	atomisp: don't let it go past pipes array
	power: supply: bq27xxx: fix power_avg for newer ICs
	extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
	extcon: arizona: Fix various races on driver unbind
	media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
	media: gspca/sq905.c: fix uninitialized variable
	power: supply: Use IRQF_ONESHOT
	backlight: qcom-wled: Use sink_addr for sync toggle
	backlight: qcom-wled: Fix FSC update issue for WLED5
	drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
	drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
	drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
	drm/amd/pm: fix workload mismatch on vega10
	drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
	drm/amd/display: DCHUB underflow counter increasing in some scenarios
	drm/amd/display: fix dml prefetch validation
	scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
	drm/vkms: fix misuse of WARN_ON
	scsi: qla2xxx: Fix use after free in bsg
	mmc: sdhci-esdhc-imx: validate pinctrl before use it
	mmc: sdhci-pci: Add PCI IDs for Intel LKF
	mmc: sdhci-brcmstb: Remove CQE quirk
	ata: ahci: Disable SXS for Hisilicon Kunpeng920
	drm/komeda: Fix bit check to import to value of proper type
	nvmet: return proper error code from discovery ctrl
	selftests/resctrl: Enable gcc checks to detect buffer overflows
	selftests/resctrl: Fix compilation issues for global variables
	selftests/resctrl: Fix compilation issues for other global variables
	selftests/resctrl: Clean up resctrl features check
	selftests/resctrl: Fix missing options "-n" and "-p"
	selftests/resctrl: Use resctrl/info for feature detection
	selftests/resctrl: Fix incorrect parsing of iMC counters
	selftests/resctrl: Fix checking for < 0 for unsigned values
	power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce
	scsi: smartpqi: Use host-wide tag space
	scsi: smartpqi: Correct request leakage during reset operations
	scsi: smartpqi: Add new PCI IDs
	scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
	media: em28xx: fix memory leak
	media: vivid: update EDID
	drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver
	clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
	power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
	power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
	media: tc358743: fix possible use-after-free in tc358743_remove()
	media: adv7604: fix possible use-after-free in adv76xx_remove()
	media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
	media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
	media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
	media: platform: sti: Fix runtime PM imbalance in regs_show
	media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming
	media: dvb-usb: fix memory leak in dvb_usb_adapter_init
	media: gscpa/stv06xx: fix memory leak
	sched/fair: Ignore percpu threads for imbalance pulls
	drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
	drm/msm/mdp5: Do not multiply vclk line count by 100
	drm/amdgpu/ttm: Fix memory leak userptr pages
	drm/radeon/ttm: Fix memory leak userptr pages
	drm/amd/display: Fix debugfs link_settings entry
	drm/amd/display: Fix UBSAN: shift-out-of-bounds warning
	drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
	amdgpu: avoid incorrect %hu format string
	drm/amd/display: Try YCbCr420 color when YCbCr444 fails
	drm/amdgpu: fix NULL pointer dereference
	scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
	scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
	scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
	mfd: intel-m10-bmc: Fix the register access range
	mfd: da9063: Support SMBus and I2C mode
	mfd: arizona: Fix rumtime PM imbalance on error
	scsi: libfc: Fix a format specifier
	perf: Rework perf_event_exit_event()
	sched,fair: Alternative sched_slice()
	block/rnbd-clt: Fix missing a memory free when unloading the module
	s390/archrandom: add parameter check for s390_arch_random_generate
	sched,psi: Handle potential task count underflow bugs more gracefully
	power: supply: cpcap-battery: fix invalid usage of list cursor
	ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
	ALSA: hda/conexant: Re-order CX5066 quirk table entries
	ALSA: sb: Fix two use after free in snd_sb_qsound_build
	ALSA: usb-audio: Explicitly set up the clock selector
	ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
	ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7
	ALSA: hda/realtek: GA503 use same quirks as GA401
	ALSA: hda/realtek: fix mic boost on Intel NUC 8
	ALSA: hda/realtek - Headset Mic issue on HP platform
	ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
	ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
	tools/power/turbostat: Fix turbostat for AMD Zen CPUs
	btrfs: fix race when picking most recent mod log operation for an old root
	arm64/vdso: Discard .note.gnu.property sections in vDSO
	Makefile: Move -Wno-unused-but-set-variable out of GCC only block
	fs: fix reporting supported extra file attributes for statx()
	virtiofs: fix memory leak in virtio_fs_probe()
	kcsan, debugfs: Move debugfs file creation out of early init
	ubifs: Only check replay with inode type to judge if inode linked
	f2fs: fix error handling in f2fs_end_enable_verity()
	f2fs: fix to avoid out-of-bounds memory access
	mlxsw: spectrum_mr: Update egress RIF list before route's action
	openvswitch: fix stack OOB read while fragmenting IPv4 packets
	ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
	NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
	NFS: Don't discard pNFS layout segments that are marked for return
	NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
	Input: ili210x - add missing negation for touch indication on ili210x
	jffs2: Fix kasan slab-out-of-bounds problem
	jffs2: Hook up splice_write callback
	powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors
	powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
	powerpc/kexec_file: Use current CPU info while setting up FDT
	powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR
	powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
	intel_th: pci: Add Alder Lake-M support
	tpm: efi: Use local variable for calculating final log size
	tpm: vtpm_proxy: Avoid reading host log when using a virtual device
	crypto: arm/curve25519 - Move '.fpu' after '.arch'
	crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
	md/raid1: properly indicate failure when ending a failed write request
	dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
	fuse: fix write deadlock
	exfat: fix erroneous discard when clear cluster bit
	sfc: farch: fix TX queue lookup in TX flush done handling
	sfc: farch: fix TX queue lookup in TX event handling
	security: commoncap: fix -Wstringop-overread warning
	Fix misc new gcc warnings
	jffs2: check the validity of dstlen in jffs2_zlib_compress()
	smb3: when mounting with multichannel include it in requested capabilities
	smb3: do not attempt multichannel to server which does not support it
	Revert 337f13046f ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
	futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI
	x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
	kbuild: update config_data.gz only when the content of .config is changed
	ext4: annotate data race in start_this_handle()
	ext4: annotate data race in jbd2_journal_dirty_metadata()
	ext4: fix check to prevent false positive report of incorrect used inodes
	ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
	ext4: fix error code in ext4_commit_super
	ext4: fix ext4_error_err save negative errno into superblock
	ext4: fix error return code in ext4_fc_perform_commit()
	ext4: allow the dax flag to be set and cleared on inline directories
	ext4: Fix occasional generic/418 failure
	media: dvbdev: Fix memory leak in dvb_media_device_free()
	media: dvb-usb: Fix use-after-free access
	media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
	media: staging/intel-ipu3: Fix memory leak in imu_fmt
	media: staging/intel-ipu3: Fix set_fmt error handling
	media: staging/intel-ipu3: Fix race condition during set_fmt
	media: v4l2-ctrls: fix reference to freed memory
	media: venus: hfi_parser: Don't initialize parser on v1
	usb: gadget: dummy_hcd: fix gpf in gadget_setup
	usb: gadget: Fix double free of device descriptor pointers
	usb: gadget/function/f_fs string table fix for multiple languages
	usb: dwc3: gadget: Remove FS bInterval_m1 limitation
	usb: dwc3: gadget: Fix START_TRANSFER link state check
	usb: dwc3: core: Do core softreset when switch mode
	usb: dwc2: Fix session request interrupt handler
	tty: fix memory leak in vc_deallocate
	rsi: Use resume_noirq for SDIO
	tools/power turbostat: Fix offset overflow issue in index converting
	tracing: Map all PIDs to command lines
	tracing: Restructure trace_clock_global() to never block
	dm persistent data: packed struct should have an aligned() attribute too
	dm space map common: fix division bug in sm_ll_find_free_block()
	dm integrity: fix missing goto in bitmap_flush_interval error handling
	dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
	lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf()
	thermal/drivers/cpufreq_cooling: Fix slab OOB issue
	thermal/core/fair share: Lock the thermal zone while looping over instances
	Linux 5.10.36

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I7b8075de5edd8de69205205cddb9a3273d7d0810
2021-05-13 14:22:11 +02:00
Peter Zijlstra
ae7fe4794d sched,fair: Alternative sched_slice()
[ Upstream commit 0c2de3f054a59f15e01804b75a04355c48de628c ]

The current sched_slice() seems to have issues; there's two possible
things that could be improved:

 - the 'nr_running' used for __sched_period() is daft when cgroups are
   considered. Using the RQ wide h_nr_running seems like a much more
   consistent number.

 - (esp) cgroups can slice it real fine, which makes for easy
   over-scheduling, ensure min_gran is what the name says.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Valentin Schneider <valentin.schneider@arm.com>
Link: https://lkml.kernel.org/r/20210412102001.611897312@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-11 14:47:31 +02:00
Lingutla Chandrasekhar
2f5f4cce49 sched/fair: Ignore percpu threads for imbalance pulls
[ Upstream commit 9bcb959d05eeb564dfc9cac13a59843a4fb2edf2 ]

During load balance, LBF_SOME_PINNED will be set if any candidate task
cannot be detached due to CPU affinity constraints. This can result in
setting env->sd->parent->sgc->group_imbalance, which can lead to a group
being classified as group_imbalanced (rather than any of the other, lower
group_type) when balancing at a higher level.

In workloads involving a single task per CPU, LBF_SOME_PINNED can often be
set due to per-CPU kthreads being the only other runnable tasks on any
given rq. This results in changing the group classification during
load-balance at higher levels when in reality there is nothing that can be
done for this affinity constraint: per-CPU kthreads, as the name implies,
don't get to move around (modulo hotplug shenanigans).

It's not as clear for userspace tasks - a task could be in an N-CPU cpuset
with N-1 offline CPUs, making it an "accidental" per-CPU task rather than
an intended one. KTHREAD_IS_PER_CPU gives us an indisputable signal which
we can leverage here to not set LBF_SOME_PINNED.

Note that the aforementioned classification to group_imbalance (when
nothing can be done) is especially problematic on big.LITTLE systems, which
have a topology the likes of:

  DIE [          ]
  MC  [    ][    ]
       0  1  2  3
       L  L  B  B

  arch_scale_cpu_capacity(L) < arch_scale_cpu_capacity(B)

Here, setting LBF_SOME_PINNED due to a per-CPU kthread when balancing at MC
level on CPUs [0-1] will subsequently prevent CPUs [2-3] from classifying
the [0-1] group as group_misfit_task when balancing at DIE level. Thus, if
CPUs [0-1] are running CPU-bound (misfit) tasks, ill-timed per-CPU kthreads
can significantly delay the upgmigration of said misfit tasks. Systems
relying on ASYM_PACKING are likely to face similar issues.

Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
[Use kthread_is_per_cpu() rather than p->nr_cpus_allowed]
[Reword changelog]
Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/20210407220628.3798191-2-valentin.schneider@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-11 14:47:29 +02:00
Vincent Donnefort
661af9371c sched/pelt: Fix task util_est update filtering
[ Upstream commit b89997aa88f0b07d8a6414c908af75062103b8c9 ]

Being called for each dequeue, util_est reduces the number of its updates
by filtering out when the EWMA signal is different from the task util_avg
by less than 1%. It is a problem for a sudden util_avg ramp-up. Due to the
decay from a previous high util_avg, EWMA might now be close enough to
the new util_avg. No update would then happen while it would leave
ue.enqueued with an out-of-date value.

Taking into consideration the two util_est members, EWMA and enqueued for
the filtering, ensures, for both, an up-to-date value.

This is for now an issue only for the trace probe that might return the
stale value. Functional-wise, it isn't a problem, as the value is always
accessed through max(enqueued, ewma).

This problem has been observed using LISA's UtilConvergence:test_means on
the sd845c board.

No regression observed with Hackbench on sd845c and Perf-bench sched pipe
on hikey/hikey960.

Signed-off-by: Vincent Donnefort <vincent.donnefort@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/20210225165820.1377125-1-vincent.donnefort@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-11 14:47:23 +02:00
JianMin Liu
f3f8d55011 ANDROID: sched: Add vendor hooks for update_load_avg
Add vh before and after __update_load_avg_se
  in order to collect load change of tasks.

Bug: 185557444

Change-Id: I210973f7e388164b68ed766074d1420cdf9d4c32
Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com>
2021-04-26 13:29:25 +00:00
lijianzhong
54f66141a8 ANDROID: sched: Add vendor hooks for sched.
Add vendor hooks in sched to support oem's feature.

Bug: 183674818

Signed-off-by: lijianzhong <lijianzhong@xiaomi.com>
Change-Id: I8415958749948b3702e411f835c227ad4f8d8e92
2021-04-23 18:42:38 -07:00
Pavankumar Kondeti
73ae4bff1d ANDROID: sched/fair: call set_next_entity() on the replaced next task
android_rvh_replace_next_task_fair hook allows vendor modules to
override the next task selected by CFS. However the current code is
not calling set_next_entity() on the hierarchy of the replaced task
in the case where the previous task is CFS. Fix this issue.

Bug: 184720311
Change-Id: If6c35b1ddefd0829cd236dd821e5ac8aef7347c6
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
2021-04-19 08:00:03 +00:00