Commit graph

1080 commits

Author SHA1 Message Date
Qais Yousef
4ed706c20a FROMLIST: sched/pi: Reweight fair_policy() tasks when inheriting prio
For fair tasks inheriting the priority (nice) without reweighting is
a NOP as the task's share won't change.

This is visible when running with PTHREAD_PRIO_INHERIT where fair tasks
with low priority values are susceptible to starvation leading to PI
like impact on lock contention.

The logic in rt_mutex will reset these low priority fair tasks into nice
0, but without the additional reweight operation to actually update the
weights, it doesn't have the desired impact of boosting them to allow
them to run sooner/longer to release the lock.

Apply the reweight for fair_policy() tasks to achieve the desired boost
for those low nice values tasks. Note that boost here means resetting
their nice to 0; as this is what the current logic does for fair tasks.

We need to re-instate ordering fair tasks by their priority order on the
waiter tree to ensure we inherit the top_waiter properly.

Handling of idle_policy() requires more code refactoring and is not
handled yet. idle_policy() are treated specially and only run when the
CPU is idle and get a hardcoded low weight value. Changing weights won't
be enough without a promotion first to SCHED_OTHER.

Tested with a test program that creates three threads.

	1. main thread that spawns high prio and low prio task and busy
	   loops

	2. low priority thread that holds a pthread_mutex() with
	   PTHREAD_PRIO_INHERIT protocol. Runs at nice +10. Busy loops
	   after holding the lock.

	3. high priority thread that holds a pthread_mutex() with
	   PTHREADPTHREAD_PRIO_INHERIT, but made to start after the low
	   priority thread. Runs at nice 0. Should remain blocked by the
	   low priority thread.

All tasks are pinned to CPU0.

Without the patch I can see the low priority thread running only for
~10% of the time which is what expected without it being boosted.

With the patch the low priority thread runs for ~50% which is what
expected if it gets boosted to nice 0.

I modified the test program logic afterwards to ensure that after
releasing the lock the low priority thread goes back to running for 10%
of the time, and it does.

Bug: 263876335
Link: https://lore.kernel.org/lkml/20240514160711.hpdg64grdwc43ux7@airbuntu/
Reported-by: Yabin Cui <yabinc@google.com>
Signed-off-by: Qais Yousef <qyousef@layalina.io>
[Fix trivial conflict with vendor hook]
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Ia954ee528495b5cf5c3a2157c68b4a757cef1f83
(cherry picked from commit 23ac35ed8fc6220e4e498a21d22a9dbe67e7da9b)
Signed-off-by: Qais Yousef <qyousef@google.com>
2024-05-18 19:08:51 +00:00
xieliujie
260bfad693 ANDROID: vendor_hook: Add hooks to support reader optimistic spin in rwsem
Since upstream commit 617f3ef951 ("locking/rwsem: Remove
reader optimistic spinning"), vendors have seen increased
contention and blocking on rwsems.

There are attempts to actively fix this upstream:
  https://lore.kernel.org/lkml/20240406081126.8030-1-bongkyu7.kim@samsung.com/

But in the meantime, provide vendorhooks so that vendors can
implement their own optimistic spin routine. In doing so,
vendors see improvements in cold launch times on important apps.

Bug: 331742151
Change-Id: I7466413de9ee1293e86f73880931235d7a9142ac
Signed-off-by: xieliujie <xieliujie@oppo.com>
[jstultz: Rewrote commit message]
Signed-off-by: John Stultz <jstultz@google.com>
2024-04-24 10:30:39 +08:00
Greg Kroah-Hartman
0177cfb2a2 Merge tag 'android14-6.1.68_r00' into branch 'android14-6.1'
This merges the changes up to 6.1.68 LTS into the android14-6.1 branch.
Included in here are the following commits:

* 8968561242 ANDROID: fix crc error in put_cmsg caused in 6.1.68
* c077094653 Revert "hrtimers: Push pending hrtimers away from outgoing CPU earlier"
* e0690152b8 Revert "drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group"
*   c9b484c69d Merge 6.1.68 into android14-6.1-lts
|\
| * ba6f5fb465 Linux 6.1.68
| * f38b4e99e2 drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
| * d9ef7b05cc drm/i915/sdvo: stop caching has_hdmi_monitor in struct intel_sdvo
| * cf70d62ace drm/i915/lvds: Use REG_BIT() & co.
| * e6d55cf493 drm/i915/display: Drop check for doublescan mode in modevalid
| * 9c322aaf28 riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE
| * 189c2a8293 netfilter: nft_set_pipapo: skip inactive elements during set walk
| * b4e440cf60 MIPS: Loongson64: Enable DMA noncoherent support
| * d52a5178cb MIPS: Loongson64: Handle more memory types passed from firmware
| * 8d18a01585 MIPS: Loongson64: Reserve vgabios memory on boot
| * 2b9b2d28a9 KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
| * 6d6314c3db KVM: s390/mm: Properly reset no-dat
| * be297475ca MIPS: kernel: Clear FPU states when setting up kernel threads
| * 358bd5f436 cifs: Fix flushing, invalidation and file size with FICLONE
| * 18b02e4343 cifs: Fix flushing, invalidation and file size with copy_file_range()
| * 69540c108d USB: gadget: core: adjust uevent timing on gadget unbind
| * 2467f4f8cb x86/CPU/AMD: Check vendor in the AMD microcode callback
| * 0553d52908 devcoredump: Send uevent once devcd is ready
| * 74799b43d8 serial: 8250_omap: Add earlycon support for the AM654 UART controller
| * d59dafa9eb serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
| * 638a6cbace serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
| * f434703fb8 serial: sc16is7xx: address RX timeout interrupt errata
| * a8027753ab ARM: PL011: Fix DMA support
| * c909ce57d0 usb: typec: class: fix typec_altmode_put_partner to put plugs
| * b12ccef705 smb: client: fix potential NULL deref in parse_dfs_referrals()
| * f48430635b Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1"
| * 9ce109b748 cifs: Fix non-availability of dedup breaking generic/304
| * 8e25331ea5 parport: Add support for Brainboxes IX/UC/PX parallel cards
| * bee9affd37 serial: 8250_dw: Add ACPI ID for Granite Rapids-D UART
| * 16da1f84f5 usb: gadget: f_hid: fix report descriptor allocation
| * c8bf22e0d0 drm/amdgpu: Update EEPROM I2C address for smu v13_0_0
| * 8750977871 drm/amdgpu: Add I2C EEPROM support on smu v13_0_6
| * 4ccb34d431 drm/amdgpu: simplify amdgpu_ras_eeprom.c
| * af6b1f1156 drm/amdgpu: Return from switch early for EEPROM I2C address
| * a3049c9a30 drm/amdgpu: Remove second moot switch to set EEPROM I2C address
| * 30289057ef drm/amdgpu: Add support for RAS table at 0x40000
| * c67c553b4d drm/amdgpu: Decouple RAS EEPROM addresses from chips
| * ee9efcdc76 drm/amdgpu: Remove redundant I2C EEPROM address
| * a945568638 drm/amdgpu: Add EEPROM I2C address support for ip discovery
| * f549f837b9 drm/amdgpu: Update ras eeprom support for smu v13_0_0 and v13_0_10
| * 458affed06 drm/amdgpu: correct the amdgpu runtime dereference usage count
| * 41c5dd545e drm/amd/amdgpu: Fix warnings in amdgpu/amdgpu_display.c
| * 613eaee445 drm/amdgpu: fix memory overflow in the IB test
| * 1705927a10 gpiolib: sysfs: Fix error handling on failed export
| * 4b716fcacd x86/sev: Fix kernel crash due to late update to read-only ghcb_version
| * 06dec254c5 perf: Fix perf_event_validate_size()
| * b0c195a825 arm64: dts: mt8183: kukui: Fix underscores in node names
| * 8a3d746c7e arm64: dts: mediatek: add missing space before {
| * 5656634ce0 parisc: Fix asm operand number out of range build error in bug table
| * f9e9e156db parisc: Reduce size of the bug_table on 64-bit kernel by half
| * 8479f5ca8b tracing: Stop current tracer when resizing buffer
| * df4aa7e84d tracing: Set actual size after ring buffer resize
| * 07ad456e1c ring-buffer: Force absolute timestamp on discard of event
| * 40421e0cf3 LoongArch: BPF: Don't sign extend function return value
| * ebb09d58df LoongArch: BPF: Don't sign extend memory load operand
| * 066dcd87b9 misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
| * d78789ba21 misc: mei: client.c: return negative error code in mei_cl_write
| * 672976c28e hwtracing: hisi_ptt: Add dummy callback pmu::read()
| * 0b80e6af0d coresight: etm4x: Remove bogous __exit annotation for some functions
| * 766b29f614 coresight: etm4x: Make etm4_remove_dev() return void
| * 920f84a6e8 binder: fix memory leaks of spam and pending work
| * 18847b6bba arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg warning on ntc
| * c428285eab arm64: dts: mediatek: mt8183: Move thermal-zones to the root node
| * bdd7508661 arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory
| * 66398d1856 arm64: dts: mediatek: mt8195: Fix PM suspend/resume with venc clocks
| * e1d4f02a68 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
| * ff566a8d76 arm64: dts: mediatek: cherry: Fix interrupt cells for MT6360 on I2C7
| * 6d50aa9656 arm64: dts: mediatek: mt8183-kukui-jacuzzi: fix dsi unnecessary cells properties
| * c2adea3191 arm64: dts: mediatek: mt7622: fix memory node warning check
| * 515d971cd2 md/raid6: use valid sector values to determine if an I/O should wait on the reshape
| * 4132cc3a3a powercap: DTPM: Fix missing cpufreq_cpu_put() calls
| * 686cc4de09 mm: fix oops when filemap_map_pmd() without prealloc_pte
| * 574a6db80f hugetlb: fix null-ptr-deref in hugetlb_vma_lock_write
| * f5e6958919 platform/surface: aggregator: fix recv_buf() return value
| * bcd50a3bd6 regmap: fix bogus error on regcache_sync success
| * 1c1c6d5c7e r8169: fix rtl8125b PAUSE frames blasting when suspended
| * 6a71d77856 packet: Move reference count in packet_sock to atomic_long_t
| * 15c251f814 tracing: Fix a possible race when disabling buffered events
| * b00b500916 tracing: Fix incomplete locking when disabling buffered events
| * 6e0d6c685b tracing: Disable snapshot buffer when stopping instance tracers
| * 20fd56ca2e tracing: Always update snapshot buffer size
| * f33d663db0 checkstack: fix printed address
| * 4c00f01832 cgroup_freezer: cgroup_freezing: Check if not frozen
| * 3907e9cc85 nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
| * c344e99dd8 nilfs2: fix missing error check for sb_set_blocksize call
| * d2558e726e ring-buffer: Test last update in 32bit version of __rb_time_read()
| * c4dcc915ea ALSA: hda/realtek: Add Framework laptop 16 to quirks
| * 0675fe3b32 ALSA: hda/realtek: add new Framework laptop to quirks
| * 8b23707c8a ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
| * dc1141ae5c ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
| * bb43c57c3d ALSA: usb-audio: Add Pioneer DJM-450 mixer controls
| * bfe5a5e2f9 io_uring: fix mutex_unlock with unreferenced ctx
| * 8bba38f7a0 nvme-pci: Add sleep quirk for Kingston drives
| * f2f57f51b5 io_uring/af_unix: disable sending io_uring over sockets
| * 515c25be77 ASoC: amd: yc: Fix non-functional mic on ASUS E1504FA
| * 0fcfc90c86 kprobes: consistent rcu api usage for kretprobe holder
| * a5325a055f rethook: Use __rcu pointer for rethook::handler
| * 68bc7b2003 iommu: Avoid more races around device probe
| * 3c796895b4 md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()
| * 5255ded034 md: introduce md_ro_state
| * a38c1e766f riscv: fix misaligned access handling of C.SWSP and C.SDSP
| * 8b41bdcc22 ARM: dts: imx28-xea: Pass the 'model' property
| * 282b5acd58 ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
| * 12ac3b0ab8 ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
| * 4d8cc87d18 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
| * bc5b79df6d tracing: Fix a warning when allocating buffered events fails
| * fc2d811d31 ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock
| * 22143a0e5a arm64: dts: imx8mp: imx8mq: Add parkmode-disable-ss-quirk on DWC3
| * 8dd0e20b41 arm64: dts: imx8mq: drop usb3-resume-missing-cas from usb
| * 188de9839f drm/bridge: tc358768: select CONFIG_VIDEOMODE_HELPERS
| * 1ff56298ab RDMA/irdma: Avoid free the non-cqp_request scratch
| * 0a929e8375 RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz
| * ebcb4e19d3 ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
| * 2358e53208 hwmon: (nzxt-kraken2) Fix error handling path in kraken2_probe()
| * 3baaba7908 ASoC: codecs: lpass-tx-macro: set active_decimator correct default value
| * c11b7e26d2 hwmon: (acpi_power_meter) Fix 4.29 MW bug
| * 19269741c3 RDMA/irdma: Fix UAF in irdma_sc_ccq_get_cqe_info()
| * 439857e2fe RDMA/irdma: Refactor error handling in create CQP
| * 59a022a869 RDMA/bnxt_re: Correct module description string
| * 7ed498095c RDMA/rtrs-clt: Remove the warnings for req in_use check
| * 03095a6440 RDMA/rtrs-clt: Fix the max_send_wr setting
| * 233c32bcf0 RDMA/rtrs-srv: Destroy path files after making sure no IOs in-flight
| * 7be574c34d RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true
| * 9dd976c435 RDMA/rtrs-srv: Check return values while processing info request
| * 3910ccbf25 RDMA/rtrs-clt: Start hb after path_up
| * 1e46485045 RDMA/rtrs-srv: Do not unconditionally enable irq
| * 4a8774a633 ASoC: fsl_sai: Fix no frame sync clock issue on i.MX8MP
| * 3166c76d1d arm64: dts: rockchip: Expand reg size of vdec node for RK3399
| * aa9ae3dffc arm64: dts: rockchip: Expand reg size of vdec node for RK3328
| * 945bfe4e0b RDMA/irdma: Add wait for suspend on SQD
| * 0b0afd4e14 RDMA/irdma: Do not modify to SQD on error
| * 9d005ea01e RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm
| * 1c9561b438 tee: optee: Fix supplicant based device enumeration
| * 5fd29433b2 mm/damon/sysfs: eliminate potential uninitialized variable warning
| * b5ca945612 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
| * 07c8229c02 psample: Require 'CAP_NET_ADMIN' when joining "packets" group
| * af39b80173 bpf: sockmap, updating the sg structure should also update curr
| * 008b807fe4 tcp: do not accept ACK of bytes we never sent
| * 7a63521ed0 netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
| * 3176160c22 netfilter: nf_tables: validate family when identifying table via handle
| * 96f8654b70 netfilter: nf_tables: bail out on mismatching dynset and set expressions
| * c9704c2619 netfilter: nf_tables: fix 'exist' matching on bigendian arches
| * 0bfbfd9423 netfilter: nft_exthdr: add boolean DCCP option matching
| * 9225a4566b dt-bindings: interrupt-controller: Allow #power-domain-cells
| * 6b9e78d6c6 octeontx2-af: Update Tx link register range
| * 9be8f66ea8 octeontx2-af: Add missing mcs flr handler call
| * d54470adfc octeontx2-af: Fix mcs stats register address
| * 90773de073 octeontx2-af: Fix mcs sa cam entries size
| * 0c8baa37bf octeontx2-af: Adjust Tx credits when MCS external bypass is disabled
| * d2689aea4f net: hns: fix fake link up on xge port
| * 217cc7f6a6 net: hns: fix wrong head when modify the tx feature when sending packets
| * 87559196c3 net: atlantic: Fix NULL dereference of skb pointer in
| * 64c78c57e3 ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
| * ce3c5acb59 ionic: Fix dim work handling in split interrupt mode
| * a92719900f ionic: fix snprintf format length warning
| * c91685ac1b tcp: fix mid stream window clamp.
| * 9fc81912fc net: bnxt: fix a potential use-after-free in bnxt_init_tc
| * 0d33871b66 iavf: validate tx_coalesce_usecs even if rx_coalesce_usecs is zero
| * 75fd86e541 i40e: Fix unexpected MFS warning message
| * ba6eb3a77a octeontx2-af: fix a use-after-free in rvu_npa_register_reporters
| * 2c0cbb97b1 xsk: Skip polling event check for unbound socket
| * ed7e211b67 net: stmmac: fix FPE events losing
| * 1a41ffc4dc octeontx2-pf: consider both Rx and Tx packet stats for adaptive interrupt coalescing
| * 8d034da825 arcnet: restoring support for multiple Sohard Arcnet cards
| * 3c32379695 platform/mellanox: Check devm_hwmon_device_register_with_groups() return value
| * 29d82b366a platform/mellanox: Add null pointer checks for devm_kasprintf()
| * 646f1e9c19 mlxbf-bootctl: correctly identify secure boot with development keys
| * ef91309a57 r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
| * d11ef4d3dd r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1()
| * 284cd311bb r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash()
| * 0823990da7 r8152: Add RTL8152_INACCESSIBLE checks to more loops
| * 3759e73556 r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
| * ecb5068f55 hv_netvsc: rndis_filter needs to select NLS
| * 80de965ca5 octeontx2-af: Check return value of nix_get_nixlf before using nixlf
| * f565044d1d octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
| * a3f5de10b5 ipv6: fix potential NULL deref in fib6_add()
| * e2b202821d platform/x86: wmi: Skip blocks with zero instances
| * b536601d05 of: dynamic: Fix of_reconfig_get_state_change() return value documentation
| * 76b9ea6f54 platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
| * 3453531284 dt: dt-extract-compatibles: Don't follow symlinks when walking tree
| * 8a124b9e78 dt: dt-extract-compatibles: Handle cfile arguments in generator function
| * cde700ceb0 x86/tdx: Allow 32-bit emulation by default
| * e09d243a51 x86/entry: Do not allow external 0x80 interrupts
| * d5f999317e x86/entry: Convert INT 0x80 emulation to IDTENTRY
| * b8ec27ae22 x86/coco: Disable 32-bit emulation by default on TDX and SEV
| * 0870f19b54 x86: Introduce ia32_enabled()
| * 9046665bef drm/amdgpu: correct chunk_ptr to a pointer to chunk.
| * 18209382db kconfig: fix memory leak from range properties
| * bcc2abaa40 tg3: Increment tx_dropped in tg3_tso_bug()
| * 9bbc655e18 tg3: Move the [rt]x_dropped counters to tg3_napi
| * 62c6d82bac zstd: Fix array-index-out-of-bounds UBSAN warning
| * 875ee3a09e netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
| * 6025052bbf i2c: designware: Fix corrupted memory seen in the ISR
| * 75b5016ce3 hrtimers: Push pending hrtimers away from outgoing CPU earlier
| * 8ea2b4ba9b vdpa/mlx5: preserve CVQ vringh index
* |   2af1386be0 Merge "Merge 6.1.67 into android14-6.1-lts" into android14-6.1-lts
|\ \
| * | 0292321d13 Merge 6.1.67 into android14-6.1-lts
| |\|
| | * e7cddbb41b Linux 6.1.67
| | * db46c77f3d Revert "wifi: cfg80211: fix CQM for non-range use"
| * | c539451364 Revert "mmc: core: add helpers mmc_regulator_enable/disable_vqmmc"
| * | 975d5f2ae9 Revert "mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled"
* | | 44affaea1e Revert "mmc: core: add helpers mmc_regulator_enable/disable_vqmmc"
* | | c49b4a744f Revert "mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled"
* | | 59f96234bf Merge "Merge 6.1.66 into android14-6.1-lts" into android14-6.1-lts
|\| |
| * | 6b1e1d37f1 Merge 6.1.66 into android14-6.1-lts
| |\|
| | * 6c6a6c7e21 Linux 6.1.66
| | * ea574927fc iomap: update ki_pos a little later in iomap_dio_complete
| | * adf0ecebf0 x86/apic/msi: Fix misconfigured non-maskable MSI quirk
| | * b3b839fb63 x86/xen: fix percpu vcpu_info allocation
| | * 00bc8b2cf4 xen: simplify evtchn_do_upcall() call maze
| | * 9311a0ff38 xen: Allow platform PCI interrupt to be shared
| | * 402b832346 r8169: fix deadlock on RTL8125 in jumbo mtu mode
| | * 22ee0ddb2a r8169: disable ASPM in case of tx timeout
| | * 10ce630100 drm/amd/display: Fix MPCC 1DLUT programming
| | * 8332cb6c63 drm/amd/display: Fix the delta clamping for shaper LUT
| | * 442a4d4d01 drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut
| | * 6cd7362721 drm/amd/display: Expand kernel doc for DC
| | * 8b01195be4 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
| | * 38d3216032 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
| | * 0e0a951668 drm/amd/pm: fix a memleak in aldebaran_tables_init
| | * 59862b8692 iommu/vt-d: Make context clearing consistent with context mapping
| | * ee2c224769 iommu/vt-d: Disable PCI ATS in legacy passthrough mode
| | * 8f39d297a2 iommu/vt-d: Add device_block_translation() helper
| | * 3787b3168b iommu/vt-d: Allocate pasid table in device probe path
| | * 681aeeda41 iommu/vt-d: Omit devTLB invalidation requests when TES=0
| | * 8aaed5b81d cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
| | * d3788f6e9d cpufreq: imx6q: don't warn for disabling a non-existing frequency
| | * 195514bda6 drm/amd/display: Guard against invalid RPTR/WPTR being set
| | * 395a63ca1a drm/amd/display: Restore rptr/wptr for DMCUB as workaround
| | * 4ec4508db9 spi: Fix null dereference on suspend
| | * b57eebfb80 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
| | * 5bc8d96fed PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers
| | * 10c3d86fea octeontx2-af: Initialize 'cntr_val' to fix uninitialized symbol error
| | * 1c8f75ee92 PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card
| | * 7545ddda9c KVM: x86: Fix lapic timer interrupt lost after loading a snapshot.
| | * 21feaf558f net: ravb: Keep reverse order of operations in ravb_remove()
| | * 8d04278ff4 net: ravb: Stop DMA in case of failures on ravb_open()
| | * 52b751686c net: ravb: Start TX queues after HW initialization succeeded
| | * e2db25d16c net: ravb: Make write access to CXR35 first before accessing other EMAC registers
| | * f5c649ce79 net: ravb: Use pm_runtime_resume_and_get()
| | * 149b2fe12a net: ravb: Check return value of reset_control_deassert()
| | * 7ed2e4c2d0 ravb: Fix races between ravb_tx_timeout_work() and net related ops
| | * 8b1d088be5 r8169: prevent potential deadlock in rtl8169_close
| | * 9c4ac2d98a octeontx2-pf: Restore TC ingress police rules when interface is up
| | * aef2d5b3e5 octeontx2-af: Install TC filter rules in hardware based on priority
| | * 662b887084 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
| | * 5d5bcfb1ca net: stmmac: xgmac: Disable FPE MMC interrupts
| | * 334e6378c2 octeontx2-af: Fix possible buffer overflow
| | * c3e974e9c4 selftests/net: mptcp: fix uninitialized variable warnings
| | * 12dd4c1bf3 selftests/net: unix: fix unused variable compiler warning
| | * 4e999af7cf selftests/net: fix a char signedness issue
| | * 249ceee95c selftests/net: ipsec: fix constant out of range
| | * e01249a839 uapi: propagate __struct_group() attributes to the container union
| | * fd91b48f10 dpaa2-eth: increase the needed headroom to account for alignment
| | * 94445d9583 ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
| | * f89fef7710 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
| | * 9aff7c51b4 USB: core: Change configuration warnings to notices
| | * c89b34eef3 USB: xhci-plat: fix legacy PHY double init
| | * 307a6525c8 wifi: cfg80211: fix CQM for non-range use
| | * e8c1105c0c serial: sc16is7xx: add missing support for rs485 devicetree properties
| | * 55061c3230 serial: sc16is7xx: Put IOControl register into regmap_volatile
| | * a491c7be35 auxdisplay: hd44780: move cursor home after clear display command
| | * 7f21167775 Input: xpad - add HyperX Clutch Gladiate Support
| | * 7a105de275 btrfs: fix 64bit compat send ioctl arguments not initializing version member
| | * 32912ee869 btrfs: make error messages more clear when getting a chunk map
| | * 4fc9c61c02 btrfs: send: ensure send_fd is writable
| | * 86742a963f btrfs: fix off-by-one when checking chunk map includes logical address
| | * 9fe447c485 btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
| | * 3f26d9b257 btrfs: add dmesg output for first mount and last unmount of a filesystem
| | * 0ad7d59e79 parisc: Mark altinstructions read-only and 32-bit aligned
| | * cf2ae6494d parisc: Ensure 32-bit alignment on parisc unwind section
| | * 2acfff5730 parisc: Mark jump_table naturally aligned
| | * 3793cd2ded parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
| | * 79a1fdf4c2 parisc: Mark lock_aligned variables 16-byte aligned on SMP
| | * 41d7852a0a parisc: Use natural CPU alignment for bug_table
| | * c7c78a4aa6 parisc: Mark ex_table entries 32-bit aligned in uaccess.h
| | * 645e4b693b parisc: Mark ex_table entries 32-bit aligned in assembly.h
| | * c23b9eaca8 powerpc: Don't clobber f0/vs0 during fp|altivec register save
| | * e6bc42fae6 KVM: PPC: Book3S HV: Fix KVM_RUN clobbering FP/VEC user registers
| | * 59419ebcc0 iommu/vt-d: Add MTL to quirk list to skip TE disabling
| | * 0b48970ce1 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
| | * fc98ea2699 dma-buf: fix check in dma_resv_add_fence
| | * 4da1556996 cpufreq/amd-pstate: Fix the return value of amd_pstate_fast_switch()
| | * 9d4c721c18 powercap: DTPM: Fix unneeded conversions to micro-Watts
| | * a62ca58bb3 nvme: check for valid nvme_identify_ns() before using it
| | * 82b5e603ed dm verity: don't perform FEC for failed readahead IO
| | * 6f5a9fc94b dm verity: initialize fec io before freeing it
| | * 7cfc3884a8 drm/amd/display: fix ABM disablement
| | * 859a3a9f1e drm/amd/display: Update min Z8 residency time to 2100 for DCN314
| | * 6ef7f13c72 drm/amd/display: Use DRAM speed from validation for dummy p-state
| | * a67c187047 drm/amd/display: Remove min_dst_y_next_start check for Z8
| | * 33ed892f0c drm/amd/display: Include udelay when waiting for INBOX0 ACK
| | * c5cf436c89 drm/amdgpu: Force order between a read and write to the same address
| | * c608842963 drm/amd: Enable PCIe PME from D3
| | * cebccbe801 scsi: sd: Fix system start for ATA devices
| | * 181fd67dc5 scsi: Change SCSI device boolean fields to single bit flags
| | * 7d2faae81b dm-verity: align struct dm_verity_fec_io properly
| | * da9f55393f ALSA: hda/realtek: Add supported ALC257 for ChromeOS
| | * f4b1302134 ALSA: hda/realtek: Headset Mic VREF to 100%
| | * 65654af4c8 ALSA: hda: Disable power-save on KONTRON SinglePC
| | * ba911edc6c mmc: block: Be sure to wait while busy in CQE error recovery
| | * eab9ec6446 mmc: block: Do not lose cache flush during CQE error recovery
| | * e121f6d73d mmc: block: Retry commands in CQE error recovery
| | * 3a9a9c256f mmc: cqhci: Fix task clearing in CQE error recovery
| | * def67fd8ef mmc: cqhci: Warn of halt or task clear failure
| | * 2ebc8b758c mmc: cqhci: Increase recovery halt timeout
| | * d2fc10e262 mmc: sdhci-pci-gli: Disable LPM during initialization
| | * 87ceaa8521 firewire: core: fix possible memory leak in create_units()
| | * db0b69e46d pinctrl: avoid reload of p state in list iteration
| | * 74820f7406 smb: client: report correct st_size for SMB and NFS symlinks
| | * 60fed17ca5 cifs: Fix FALLOC_FL_INSERT_RANGE by setting i_size after EOF moved
| | * 6406cce4b2 cifs: Fix FALLOC_FL_ZERO_RANGE by setting i_size if EOF moved
| * | 157836a2ab Merge 6.1.65 into android14-6.1-lts
| |\|
* | | 1775bee186 Revert "HID: fix HID device resource race between HID core and debugging support"
* | |   ee16988743 Merge 6.1.65 into android14-6.1-lts
|\ \ \
| | |/
| |/|
| * | c6114c8459 Linux 6.1.65
| * | 66ecd1cd8b io_uring: fix off-by one bvec index
| * | 812171018e USB: dwc3: qcom: fix wakeup after probe deferral
| * | 72ef87bb8e USB: dwc3: qcom: fix software node leak on probe errors
| * | fc7b2fe267 usb: dwc3: set the dma max_seg_size
| * | 92b9eca53d usb: dwc3: Fix default mode initialization
| * | 451c5a6172 USB: dwc2: write HCINT with INTMASK applied
| * | d9be7a1297 usb: typec: tcpm: Skip hard reset when in error recovery
| * | c15cb712da USB: serial: option: don't claim interface 4 for ZTE MF290
| * | 5a657b34fe USB: serial: option: fix FM101R-GL defines
| * | 4fccb016ff USB: serial: option: add Fibocom L7xx modules
| * | f70b0b6fd8 usb: cdnsp: Fix deadlock issue during using NCM gadget
| * | f9ba5dd0d9 bcache: fixup lock c->root error
| * | c736af32a8 bcache: fixup init dirty data errors
| * | c37aca3dd5 bcache: prevent potential division by zero error
| * | 366f3648f1 bcache: check return value from btree_node_alloc_replacement()
| * | 4241b51f3e dm-delay: fix a race between delay_presuspend and delay_bio
| * | c4d3957510 hv_netvsc: Mark VF as slave before exposing it to user-mode
| * | 5dd83db613 hv_netvsc: Fix race of register_netdevice_notifier and VF register
| * | e8ef65c174 hv_netvsc: fix race of netvsc and VF register_netdevice
| * | 043c8e0306 USB: serial: option: add Luat Air72*U series products
| * | dc96fde8fc s390/dasd: protect device queue against concurrent access
| * | b964a0a391 io_uring/fs: consider link->flags when getting path for LINKAT
| * | 12f4971589 bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
| * | fa9bacc1d5 md: fix bi_status reporting in md_end_clone_io
| * | 415f644b1f bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
| * | 354d162ba5 swiotlb-xen: provide the "max_mapping_size" method
| * | 05591c0d17 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
| * | 1ed904f424 arm64: dts: imx8mn-var-som: add 20ms delay to ethernet regulator enable
| * | 5d9ddbf4b5 NFSD: Fix checksum mismatches in the duplicate reply cache
| * | b597f3c85d NFSD: Fix "start of NFS reply" pointer passed to nfsd_cache_update()
| * | d7eb37615b ext4: make sure allocate pending entry not fail
| * | 8384d8c5cc ext4: fix slab-use-after-free in ext4_es_insert_extent()
| * | 9164978bce ext4: using nofail preallocation in ext4_es_insert_extent()
| * | 614b383d01 ext4: using nofail preallocation in ext4_es_insert_delayed_block()
| * | 51cef2a5c6 ext4: using nofail preallocation in ext4_es_remove_extent()
| * | f1c2369366 ext4: use pre-allocated es in __es_remove_extent()
| * | ce581f8631 ext4: use pre-allocated es in __es_insert_extent()
| * | 594a5f00e5 ext4: factor out __es_alloc_extent() and __es_free_extent()
| * | 9381ff6512 ext4: add a new helper to check if es must be kept
| * | 3a14f4fd7b media: qcom: camss: Fix genpd cleanup
| * | df5bb7b408 media: qcom: camss: Fix V4L2 async notifier error path
| * | fdfcdf9697 media: qcom: Initialise V4L2 async notifier later
| * | 153a4396c3 media: camss: Convert to platform remove callback returning void
| * | 4ae3c85e73 media: camss: Split power domain management
| * | 8bdcaa7c03 MIPS: KVM: Fix a build warning about variable set but not used
| * | e9c3d6b09c cifs: fix leak of iface for primary channel
| * | b24d42b52b cifs: account for primary channel in the interface list
| * | 548893404c cifs: distribute channels across interfaces based on speed
| * | 5607a415d4 cifs: print last update time for interface list
| * | f4dff37111 smb3: allow dumping session and tcon id to improve stats analysis and debugging
| * | fbc666a9ac cifs: minor cleanup of some headers
| * | c2d336140a lockdep: Fix block chain corruption
| * | e9611e8404 USB: dwc3: qcom: fix ACPI platform device leak
| * | eaa315288b USB: dwc3: qcom: fix resource leaks on probe deferral
| * | 0e485f12eb nvmet: nul-terminate the NQNs passed in the connect command
| * | 573fa2b708 i40e: Fix adding unsupported cloud filters
| * | f7f3e69ced i40e: use ERR_PTR error print in i40e messages
| * | 27f5dd22af arm64: mm: Fix "rodata=on" when CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
| * | 558b8ee45f mm,kfence: decouple kfence from page granularity mapping judgement
| * | 48b3ee0134 afs: Fix file locking on R/O volumes to operate in local mode
| * | f9cf17836e afs: Return ENOENT if no cell DNS record can be found
| * | 8025fd0706 net: axienet: Fix check for partial TX checksum
| * | 3481ff3811 amd-xgbe: propagate the correct speed and duplex status
| * | 73d114dd57 amd-xgbe: handle the corner-case during tx completion
| * | 4bcc07bb36 amd-xgbe: handle corner-case during sfp hotplug
| * | 76b088b639 octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF
| * | 97703eb199 arm/xen: fix xen_vcpu_info allocation alignment
| * | 94a0ae698b net/smc: avoid data corruption caused by decline
| * | a573b334be net: usb: ax88179_178a: fix failed operations during ax88179_reset
| * | e784313dd0 ipv4: Correct/silence an endian warning in __ip_do_redirect
| * | 377c4c7e97 HID: fix HID device resource race between HID core and debugging support
| * | 8e9a649965 drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
| * | 84a6e47545 drm/i915: do not clean GT table on error path
| * | 84c9d30dbc ata: pata_isapnp: Add missing error check for devm_ioport_map()
| * | cfbdb36727 octeontx2-pf: Fix memory leak during interface down
| * | 4206f46d3f wireguard: use DEV_STATS_INC()
| * | 7dfa514744 drm/panel: simple: Fix Innolux G101ICE-L01 timings
| * | 7f5eae8585 drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
| * | 39f11604e5 drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
| * | 84b232a9c8 drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence
| * | d2b3bc8c7f afs: Make error on cell lookup failure consistent with OpenAFS
| * | 790ea5bc40 afs: Fix afs_server_list to be cleaned up with RCU
* | | a01e106f08 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
| |/
|/|
* | fc9e81c1a1 ANDROID: Fix up merge issues in 6.1.64 in net/netfilter/nf_tables_api.c
* | 31e1ff253d ANDROID: Fix up unneeded crc break in af_vsock.c
* | 8a7ce2ee18 Revert "mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A"
* | dcea2ba909 Revert "ASoC: soc-card: Add storage for PCI SSID"
* | 88487f809a Revert "tracing: Have trace_event_file have ref counters"
* | fd71493204 Revert "workqueue: Provide one lock class key per work_on_cpu() callsite"
* | f1bc13cb9d Merge 6.1.64 into android14-6.1-lts
|\|
| * 6ac30d748b Linux 6.1.64
| * 04ff8a5107 RISC-V: drop error print from riscv_hartid_to_cpuid()
| * 9e1e0887ea cxl/port: Fix NULL pointer access in devm_cxl_add_port()
| * c88cfbb18a mmc: sdhci-pci-gli: GL9755: Mask the replay timer timeout of AER
| * 2132941b45 Input: xpad - add VID for Turtle Beach controllers
| * 2fa74d29fc tracing: Have trace_event_file have ref counters
| * 6460508dce powerpc/powernv: Fix fortify source warnings in opal-prd.c
| * 4c55be0855 drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
| * 68d774eb10 drm/amd/display: Enable fast plane updates on DCN3.2 and above
| * fb5c134ca5 drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()
| * 51ffa1a379 drm/amdgpu: lower CS errors to debug severity
| * c52aac5884 drm/amdgpu: fix error handling in amdgpu_bo_list_get()
| * 2ab6c1237b drm/amdgpu: don't use ATRM for external devices
| * 965dce07a4 drm/amdgpu: don't use pci_is_thunderbolt_attached()
| * 8e54a91d3e drm/amdgpu/smu13: drop compute workload workaround
| * 454d0cdd7c drm/amd/pm: Fix error of MACO flag setting code
| * 07e94f204f drm/i915: Fix potential spectre vulnerability
| * 9457636a49 drm/i915: Bump GLK CDCLK frequency when driving multiple pipes
| * e973f40de1 drm/amd/pm: Handle non-terminated overdrive commands.
| * dc4542861e ext4: properly sync file size update after O_SYNC direct IO
| * e1d0f68bc0 ext4: add missed brelse in update_backups
| * 1793dc461e ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
| * 80ddcf21e7 ext4: correct the start block of counting reserved clusters
| * ec4ba3d62f ext4: correct return value of ext4_convert_meta_bg
| * 32b9fb9a67 ext4: mark buffer new if it is unwritten to avoid stale data exposure
| * f0cc1368fa ext4: correct offset of gdb backup in non meta_bg group to update_backups
| * af075d06b3 ext4: apply umask if ACL support is disabled
| * e795a56654 Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
| * eb2f435be2 media: qcom: camss: Fix csid-gen2 for test pattern generator
| * eeab07ddd0 media: qcom: camss: Fix invalid clock enable bit disjunction
| * 18a06f2eeb media: qcom: camss: Fix missing vfe_lite clocks check
| * ddc424aedb media: qcom: camss: Fix VFE-480 vfe_disable_output()
| * 0f3e5f93fe media: qcom: camss: Fix VFE-17x vfe_disable_output()
| * 04ef31a3e3 media: qcom: camss: Fix vfe_get() error jump
| * 3166c3af55 media: qcom: camss: Fix pm_domain_on sequence in probe
| * 6dcb2605c2 mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER
| * f7164cb037 r8169: add handling DASH when DASH is disabled
| * 862565f324 r8169: fix network lost after resume on DASH systems
| * 9e9e2107ae mptcp: fix setsockopt(IP_TOS) subflow locking
| * dba6f08cef mptcp: add validity check for sending RM_ADDR
| * 70ff9b65a7 mptcp: deal with large GSO size
| * 16fcda24b1 mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
| * a7fd033550 mm: fix for negative counter: nr_file_hugepages
| * 2594bdaa16 mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
| * 97fb6013f3 riscv: kprobes: allow writing to x0
| * 645257ad8d riscv: correct pt_level name via pgtable_l5/4_enabled
| * fb1b16f041 riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
| * 9f74b261e4 LoongArch: Mark __percpu functions as always inline
| * 1bb61fb790 nfsd: fix file memleak on client_opens_release
| * a5d4be493a dm-verity: don't use blocking calls from tasklets
| * 002d2473dd drm/mediatek/dp: fix memory leak on ->get_edid callback error path
| * 5e9fcba176 drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection
| * e082326473 media: ccs: Correctly initialise try compose rectangle
| * 424fc46381 media: venus: hfi: add checks to handle capabilities from firmware
| * 9ebb3c14ec media: venus: hfi: fix the check to handle session buffer requirement
| * a3e0b55dea media: venus: hfi_parser: Add check to keep the number of codecs within range
| * 997639c100 media: sharp: fix sharp encoding
| * 41c269083c media: lirc: drop trailing space from scancode transmit
| * 526dd7540a f2fs: avoid format-overflow warning
| * 6122b72ce5 f2fs: do not return EFSCORRUPTED, but try to run online repair
| * e6fa9ac60f i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
| * f5617a21c7 net: phylink: initialize carrier state at creation
| * 105d29fa8d net: dsa: lan9303: consequently nested-lock physical MDIO
| * eef592e71a net: ethtool: Fix documentation of ethtool_sprintf()
| * 57e35d9229 s390/ap: fix AP bus crash on early config change callback invocation
| * 75d5c85cf4 i2c: designware: Disable TX_EMPTY irq while waiting for block length byte
| * ba1a9eef3e sbsa_gwdt: Calculate timeout with 64-bit math
| * cfcb1e7c17 lsm: fix default return value for inode_getsecctx
| * 7a048a90ac lsm: fix default return value for vm_enough_memory
| * b3fd9db79e Revert "i2c: pxa: move to generic GPIO recovery"
| * 677fc3780f Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
| * 31f6ff62df cxl/region: Fix x1 root-decoder granularity calculations
| * 683b6a7324 tools/testing/cxl: Define a fixed volatile configuration to parse
| * 8cdc6b8b81 cxl/mem: Move devm_cxl_add_endpoint() from cxl_core to cxl_mem
| * 8fce427169 cxl: Unify debug messages when calling devm_cxl_add_port()
| * e841a59ac1 i3c: master: svc: fix random hot join failure since timeout error
| * a807a44189 i3c: master: svc: add NACK check after start byte sent
| * 90db4c1d5e cxl/region: Do not try to cleanup after cxl_region_setup_targets() fails
| * c415f113d9 cxl/region: Move region-position validation to a helper
| * 008b08ab07 cxl/region: Cleanup target list on attach error
| * 93d242f63e cxl/region: Validate region mode vs decoder mode
| * 3b70d45c7e drm/amd/display: enable dsc_clk even if dsc_pg disabled
| * 1d1cc275d1 Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE
| * 6c6a39080b Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables
| * ba9302fd93 bluetooth: Add device 13d3:3571 to device tables
| * fc3423d55c bluetooth: Add device 0bda:887b to device tables
| * f1c7f81e97 Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559
| * 1f026218f8 clk: visconti: Fix undefined behavior bug in struct visconti_pll_provider
| * b2a2828720 clk: visconti: remove unused visconti_pll_provider::regmap
| * e785584e0a cpufreq: stats: Fix buffer overflow detection in trans_stats()
| * c2d14682b3 pmdomain: imx: Make imx pgc power domain also set the fwnode
| * 8bd370cc3c pmdomain: bcm: bcm2835-power: check if the ASB register is equal to enable
| * 68620ef460 ALSA: hda/realtek: Add quirks for HP Laptops
| * 4d50004416 ALSA: hda/realtek: Enable Mute LED on HP 255 G10
| * 4645d3bcd5 ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
| * eaa4e4ba7a ALSA: hda/realtek - Add Dell ALC295 to pin fall back table
| * 0fcc2cf28f ALSA: hda/realtek: Enable Mute LED on HP 255 G8
| * fa7c9cc3cb ALSA: info: Fix potential deadlock at disconnection
| * a0d43e0f7c btrfs: zoned: wait for data BG to be finished on direct IO allocation
| * 9ad4c7f065 xfs: recovery should not clear di_flushiter unconditionally
| * 209379924a cifs: do not reset chan_max if multichannel is not supported at mount
| * c9569bfd28 cifs: force interface update before a fresh session setup
| * 5bdf34ca32 cifs: reconnect helper should set reconnect for the right channel
| * 9eb44db68c smb: client: fix potential deadlock when releasing mids
| * 558817597d smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
| * 49d0ff613f smb3: fix caching of ctime on setxattr
| * 34828baf81 smb3: fix touch -h of symlink
| * 9d96ac07ae smb3: fix creating FIFOs when mounting with "sfu" mount option
| * 5691e15695 fs: add ctime accessors infrastructure
| * b50ca24c3e xhci: Enable RPM on controllers that support low-power states
| * 72a90e7eb4 parisc/power: Fix power soft-off when running on qemu
| * 40b6914f42 parisc/pgtable: Do not drop upper 5 address bits of physical address
| * 1651b334f1 parisc: Prevent booting 64-bit kernels on PA1.x machines
| * 3ddb2fa5ec i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
| * 1ea1fb2216 i3c: master: svc: fix check wrong status register in irq handler
| * 65d9f61324 i3c: master: svc: fix ibi may not return mandatory data byte
| * e32e9cba56 i3c: master: svc: fix wrong data return when IBI happen during start frame
| * 3a8e03f133 i3c: master: svc: fix race condition in ibi work thread
| * de6ca501ad i3c: master: cdns: Fix reading status register
| * 3b93096d29 mtd: cfi_cmdset_0001: Byte swap OTP info
| * aee642ae99 mm/memory_hotplug: use pfn math in place of direct struct page manipulation
| * 5a2768b9de mm/cma: use nth_page() in place of direct struct page manipulation
| * 20412ca356 s390/cmma: fix detection of DAT pages
| * 7fc465d265 dmaengine: stm32-mdma: correct desc prep when channel running
| * 55d699e2d2 mcb: fix error handling for different scenarios when parsing
| * afcde812dd driver core: Release all resources during unbind before updating device links
| * f7ab9dee22 tracing: Have the user copy of synthetic event address use correct context
| * 185f3617ad i2c: core: Run atomic i2c xfer when !preemptible
| * 59cb785919 kernel/reboot: emergency_restart: Set correct system_state
| * 4f3135e2dd quota: explicitly forbid quota files from being encrypted
| * ed3cc4f3ca jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
| * e166cc2bf5 ASoC: codecs: wsa-macro: fix uninitialized stack variables with name prefix
| * 479a120a04 hid: lenovo: Resend all settings on reset_resume for compact keyboards
| * 9ea5df7290 selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests
| * 72f5a918b4 selftests/resctrl: Move _GNU_SOURCE define into Makefile
| * e6526e403a selftests/resctrl: Remove duplicate feature check from CMT test
| * 3f100cc63a netfilter: nf_tables: split async and sync catchall in two functions
| * 13e2d49647 netfilter: nf_tables: remove catchall element in GC sync path
| * 143f450c6c ima: detect changes to the backing overlay file
| * 2c63b9d7f7 ima: annotate iint mutex to avoid lockdep false positive warnings
| * db98de0809 mfd: qcom-spmi-pmic: Fix revid implementation
| * 5231eb1190 mfd: qcom-spmi-pmic: Fix reference leaks in revid helper
| * 4d259683bc arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
| * c754a6f5c3 ACPI: FPDT: properly handle invalid FPDT subtables
| * 95e747c3c6 firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit
| * cd222fc61e arm64: dts: qcom: ipq8074: Fix hwlock index for SMEM
| * e866ef947a btrfs: don't arbitrarily slow down delalloc if we're committing
| * ddf42b7c8d rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects
| * d150294818 PM: hibernate: Clean up sync_read handling in snapshot_write_next()
| * 567c6f6495 PM: hibernate: Use __get_safe_page() rather than touching the list
| * 2c9222b7dc arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
| * 8d837850d3 rcu/tree: Defer setting of jiffies during stall reset
| * 6aa3cab6be svcrdma: Drop connection after an RDMA Read error
| * 4b0d6ddb64 wifi: wilc1000: use vmm_table as array in wilc struct
| * efd8e6d19c PCI: exynos: Don't discard .remove() callback
| * 75bf9a8b0e PCI: kirin: Don't discard .remove() callback
| * e02b9c6a83 PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
| * 51dcd20a4a mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A
| * 07d425242e mmc: sdhci_am654: fix start loop index for TAP value parsing
| * 4542aa7569 mmc: vub300: fix an error code
| * 8387c94d73 ksmbd: fix slab out of bounds write in smb_inherit_dacl()
| * 482aaa72f9 ksmbd: handle malformed smb1 message
| * 8e76941a16 clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
| * 877080a349 clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
| * 3291d3ecf3 clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_data
| * ea2c6e85b6 parisc/power: Add power soft-off when running on qemu
| * 783645be98 parisc/pdc: Add width field to struct pdc_model
| * ef0224ee53 arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
| * 938c4c7318 PCI: keystone: Don't discard .probe() callback
| * b7d27cbfef PCI: keystone: Don't discard .remove() callback
| * fe0b2a20f7 KEYS: trusted: Rollback init_trusted() consistently
| * 454ad98f31 KEYS: trusted: tee: Refactor register SHM usage
| * 3ef9944681 genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
| * 17381882fc mmc: meson-gx: Remove setting of CMD_CFG_ERROR
| * 0cf7577b6b wifi: ath11k: fix gtk offload status event locking
| * e3199b3fac wifi: ath11k: fix htt pktlog locking
| * ca420ac4f9 wifi: ath11k: fix dfs radar event locking
| * f0ea9e4726 wifi: ath11k: fix temperature event locking
| * 164fa9a0b1 regmap: Ensure range selector registers are updated after cache sync
| * e10facbd25 ACPI: resource: Do IRQ override on TongFang GMxXGxx
| * 08a98c345f mm/damon/sysfs: check error from damon_sysfs_update_target()
| * b0fc14428c mm/damon: implement a function for max nr_accesses safe calculation
| * 834a800c58 mm/damon/ops-common: avoid divide-by-zero during region hotness calculation
| * 2b38f0dbe8 mm/damon/lru_sort: avoid divide-by-zero in hot threshold calculation
| * cf2641099c watchdog: move softlockup_panic back to early_param
| * f0f3328af9 mm/damon/sysfs: update monitoring target regions for online input commit
| * 9275f65d77 mm/damon/sysfs: remove requested targets when online-commit inputs
| * 4e0fbf3188 PCI/sysfs: Protect driver's D3cold preference from user space
| * 1a2c7a2f35 hvc/xen: fix event channel handling for secondary consoles
| * b772e415e1 hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
| * 74db59e63b hvc/xen: fix console unplug
| * e5b0e23080 tty: serial: meson: fix hard LOCKUP on crtscts mode
| * 5e3b2141c7 tty/sysrq: replace smp_processor_id() with get_cpu()
| * 5b2352c64c proc: sysctl: prevent aliased sysctls from getting passed to init
| * d91fd028c9 audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
| * 38968c63e9 audit: don't take task_lock() in audit_exe_compare() code path
| * 43cea54109 KVM: x86: Clear bit12 of ICR after APIC-write VM-exit
| * 27976fa917 KVM: x86: Ignore MSR_AMD64_TW_CFG access
| * 7e218114a2 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
| * 41689ef19b x86/cpu/hygon: Fix the CPU topology evaluation for real
| * f0732c646a crypto: x86/sha - load modules based on CPU features
| * 1fc94de1c1 scsi: qla2xxx: Fix system crash due to bad pointer access
| * b16ea57d6c scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
| * bb5e307366 scsi: mpt3sas: Fix loop logic
| * dd56d43244 bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
| * 947635fa17 bpf: Fix check_stack_write_fixed_off() to correctly spill imm
| * 3bdbe399b8 randstruct: Fix gcc-plugin performance mode to stay in group
| * bee4f891fe powerpc/perf: Fix disabling BHRB and instruction sampling
| * 4cb064f617 perf intel-pt: Fix async branch flags
| * a1d8f675ea media: venus: hfi: add checks to perform sanity on queue pointers
| * 55db76caa7 i915/perf: Fix NULL deref bugs with drm_dbg() calls
| * d1a04a5219 cifs: fix check of rc in function generate_smb3signingkey
| * 17cfba4aeb cifs: spnego: add ';' in HOST_KEY_LEN
| * 4b91ba060f tools/power/turbostat: Enable the C-state Pre-wake printing
| * c5fcba7ff9 tools/power/turbostat: Fix a knl bug
| * ca56cdfab3 macvlan: Don't propagate promisc change to lower dev in passthru
| * f9b592a9e6 net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
| * 0ab53cd69f net/mlx5e: Check return value of snprintf writing to fw_version buffer
| * 7f2feab701 net/mlx5e: Reduce the size of icosq_str
| * e2d93cfd1b net/mlx5e: Fix pedit endianness
| * 991ba64898 net/mlx5e: fix double free of encap_header in update funcs
| * e8ae37f863 net/mlx5e: fix double free of encap_header
| * 7414a28de1 net: stmmac: avoid rx queue overrun
| * 49fb680403 net: stmmac: fix rx budget limit check
| * 18a169810c netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
| * 6a15d97104 netfilter: nf_conntrack_bridge: initialize err to 0
| * d179189eec af_unix: fix use-after-free in unix_stream_read_actor()
| * 14b11892a6 net: ethernet: cortina: Fix MTU max setting
| * 1a1efaed5f net: ethernet: cortina: Handle large frames
| * 4794b6b16a net: ethernet: cortina: Fix max RX frame define
| * 19554aa901 bonding: stop the device in bond_setup_by_slave()
| * f84846731b ptp: annotate data-race around q->head and q->tail
| * ceae93d76a xen/events: fix delayed eoi list handling
| * ab3e13b35c ppp: limit MRU to 64K
| * 00768b3e90 net: mvneta: fix calls to page_pool_get_stats
| * 1e83edbc42 tipc: Fix kernel-infoleak due to uninitialized TLV value
| * a28ec8322d net: hns3: fix VF wrong speed and duplex issue
| * 55d82e092c net: hns3: fix VF reset fail issue
| * f47c6fba72 net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
| * 07f5b8c471 net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
| * 83a177b942 net: hns3: fix incorrect capability bit display for copper port
| * 5dc440293d net: hns3: add barrier in vf mailbox reply process
| * 61c5ba5042 net: hns3: fix add VLAN fail issue
| * 76bd42849c tty: Fix uninit-value access in ppp_sync_receive()
| * 732a67ca43 ipvlan: add ipvlan_route_v6_outbound() helper
| * 12af02d24a net: set SOCK_RCU_FREE before inserting socket into hashtable
| * c0f8b8fb7d vhost-vdpa: fix use after free in vhost_vdpa_probe()
| * 58278cc71d gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
| * 7749fd2dbe SUNRPC: Fix RPC client cleaned up the freed pipefs dentries
| * af0095a559 NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
| * 19d7dbf71e SUNRPC: Add an IS_ERR() check back to where it was
| * c65b915641 NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking
| * 5ee813da0c mtd: rawnand: meson: check return value of devm_kasprintf()
| * b2a9ba69df mtd: rawnand: intel: check return value of devm_kasprintf()
| * 8d02b6fb3c SUNRPC: ECONNRESET might require a rebind
| * 11f6aadd1f sched/core: Optimize in_task() and in_interrupt() a bit
| * 3a6ad749e9 wifi: iwlwifi: Use FW rate for non-data frames
| * 2fa178e2cd mtd: rawnand: tegra: add missing check for platform_get_irq()
| * 1fb3a9c59e pwm: Fix double shift bug
| * 6586b5f8e4 drm/amdgpu: fix software pci_unplug on some chips
| * 8a1552e908 ALSA: hda/realtek: Add quirk for ASUS UX7602ZM
| * 07ab6615a9 drm/qxl: prevent memory leak
| * 09297e3ffc ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
| * aff8be2cad i2c: dev: copy userspace array safely
| * 72d02adae3 kgdb: Flush console before entering kgdb on panic
| * 8a06894666 drm/amd/display: Avoid NULL dereference of timing generator
| * b083aaf5db media: imon: fix access to invalid resource for the second interface
| * 65335aef1a media: ccs: Fix driver quirk struct documentation
| * b8dcbbd0c4 media: cobalt: Use FIELD_GET() to extract Link Width
| * e2ccedd4d1 gfs2: fix an oops in gfs2_permission
| * 53fc16c1ad gfs2: ignore negated quota changes
| * 329a8d1d60 media: vivid: avoid integer overflow
| * a647f27a74 media: gspca: cpia1: shift-out-of-bounds in set_flicker
| * e64d23dc65 i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
| * 472bd47874 virtio-blk: fix implicit overflow on virtio_max_dma_size
| * 32b17bc21f i2c: sun6i-p2wi: Prevent potential division by zero
| * 0b5e729d4e i2c: fix memleak in i2c_new_client_device()
| * 8be39f6691 i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
| * 07c11a5249 9p: v9fs_listxattr: fix %s null argument warning
| * 3851d844d7 9p/trans_fd: Annotate data-racy writes to file::f_flags
| * c7b0ce54b1 usb: gadget: f_ncm: Always set current gadget in ncm_bind()
| * ff95007583 f2fs: fix error handling of __get_node_page
| * a82bd79cbf soundwire: dmi-quirks: update HP Omen match
| * 7932afa9bb usb: dwc3: core: configure TX/RX threshold for DWC3_IP
| * 7cebc86481 tty: vcc: Add check for kstrdup() in vcc_probe()
| * d6957635de thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager
| * b80aaff5f7 iio: adc: stm32-adc: harden against NULL pointer deref in stm32_adc_probe()
| * c92de3bf6c mfd: intel-lpss: Add Intel Lunar Lake-M PCI IDs
| * b469227b1d exfat: support handle zero-size directory
| * 24e222a54e HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
| * 4ee3b3a0ff crypto: hisilicon/qm - prevent soft lockup in receive loop
| * a70cb0d59d ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk
| * cbf304de78 PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
| * 52cd51ba57 misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller
| * 6f9557a5c9 PCI: Disable ATS for specific Intel IPU E2000 devices
| * 161767bb7c PCI: Extract ATS disabling to a helper function
| * 6b46084582 PCI: Use FIELD_GET() to extract Link Width
| * 442fd24d7b scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
| * dabc0ee84d PCI: Do error check on own line to split long "if" conditions
| * 146badf18e atm: iphase: Do PCI error checks on own line
| * 1a7c3d2e1d PCI: mvebu: Use FIELD_PREP() with Link Width
| * aac90c7197 PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
| * 43b91df291 ALSA: hda: Fix possible null-ptr-deref when assigning a stream
| * fa7abd3c5c ARM: 9320/1: fix stack depot IRQ stack filter
| * 6e2076cad8 HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround
| * 8c68af2af6 jfs: fix array-index-out-of-bounds in diAlloc
| * a50b796d36 jfs: fix array-index-out-of-bounds in dbFindLeaf
| * 5013f82698 fs/jfs: Add validity check for db_maxag and db_agpref
| * 0cb567e727 fs/jfs: Add check for negative db_l2nbperpage
| * 88984ec479 scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool
| * 33331b265a scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs
| * f1521fe0b4 RDMA/hfi1: Use FIELD_GET() to extract Link Width
| * af493dde68 ASoC: SOF: ipc4: handle EXCEPTION_CAUGHT notification from firmware
| * c55fc098fd crypto: pcrypt - Fix hungtask for PADATA_RESET
| * 62c65e799f ASoC: SOF: Pass PCI SSID to machine driver
| * 14107cbeb5 ASoC: soc-card: Add storage for PCI SSID
| * 0aaf807756 selftests/efivarfs: create-read: fix a resource leak
| * c68535657f arm64: dts: ls208xa: use a pseudo-bus to constrain usb dma size
| * 6c1b3d89a2 drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
| * 2806f88037 drm/amdkfd: Fix shift out-of-bounds issue
| * 7017e83500 drm/panel: st7703: Pick different reset sequence
| * 33fb1a5553 drm/amdgpu/vkms: fix a possible null pointer dereference
| * 16fa59e273 drm/radeon: fix a possible null pointer dereference
| * d0bc9ab0a1 drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
| * 79813cd593 drm/panel: fix a possible null pointer dereference
| * 9b70fc7d70 drm/amdgpu: Fix potential null pointer derefernce
| * d0725232da drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
| * fc9ac0e8e0 drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
| * 09b900fc2c drm/msm/dp: skip validity check for DP CTS EDID checksum
| * 412ce89669 drm: vmwgfx_surface.c: copy user-array safely
| * 0f5f567451 drm_lease.c: copy user-array safely
| * 6995df256e kernel: watch_queue: copy user-array safely
| * 8332523b13 kernel: kexec: copy user-array safely
| * 2fabc3289b string.h: add array-wrappers for (v)memdup_user()
| * 24faa2740b drm/amd/display: use full update for clip size increase of large plane source
| * 09d4f579d3 drm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments
| * 50f35a907c drm/amdkfd: Fix a race condition of vram buffer unref in svm code
| * 5b978a8ce4 drm/amdgpu: not to save bo in the case of RAS err_event_athub
| * 0c8eda600e drm/komeda: drop all currently held locks if deadlock happens
| * 4048cf4615 drm/gma500: Fix call trace when psb_gem_mm_init() fails
| * a57a54a8bc platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
| * 6edd5ea504 platform/chrome: kunit: initialize lock for fake ec_dev
| * c90c7bf7b1 tsnep: Fix tsnep_request_irq() format-overflow warning
| * 70997012d8 ACPI: EC: Add quirk for HP 250 G7 Notebook PC
| * 87624b1f9b Bluetooth: Fix double free in hci_conn_cleanup
| * a556f2ef55 Bluetooth: btusb: Add date->evt_skb is NULL check
| * 0a40c609e2 bpf: Ensure proper register state printing for cond jumps
| * 8093dd759e vsock: read from socket's error queue
| * 459970363e wifi: ath10k: Don't touch the CE interrupt registers after power up
| * 1c6a6c926a net: annotate data-races around sk->sk_dst_pending_confirm
| * e7960d2a09 net: annotate data-races around sk->sk_tx_queue_mapping
| * 46537b4597 wifi: ath10k: fix clang-specific fortify warning
| * de979982eb wifi: ath9k: fix clang-specific fortify warnings
| * aa42a7cb92 bpf: Detect IP == ksym.end as part of BPF program
| * 57e44ff9c2 atl1c: Work around the DMA RX overflow issue
| * 2be24c47ac wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
| * 9c2e4a81d3 wifi: mac80211_hwsim: fix clang-specific fortify warning
| * d0fc4cb9d2 wifi: plfxlc: fix clang-specific fortify warning
| * b5046b2532 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
| * 2652d199dd workqueue: Provide one lock class key per work_on_cpu() callsite
| * 3410b70235 cpu/hotplug: Don't offline the last non-isolated CPU
| * b7441453ff smp,csd: Throw an error if a CSD lock is stuck for too long
| * 6680d55aba clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
| * ff8370a0d8 clocksource/drivers/timer-imx-gpt: Fix potential memory leak
| * 9f4c391dc2 selftests/lkdtm: Disable CONFIG_UBSAN_TRAP in test config
| * e9a27fdce5 srcu: Fix srcu_struct node grpmask overflow on 64-bit systems
| * 9ce4e87a8e perf/core: Bail out early if the request AUX area is out of bound
| * 784d01f9bb lib/generic-radix-tree.c: Don't overflow in peek()
| * c56df79d68 locking/ww_mutex/test: Fix potential workqueue corruption
* | 0c2e40b9a3 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
* | 3e0f75c1a4 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
* | 0dfb0f3c97 Revert "inet: shrink struct flowi_common"
* | 937b554499 Revert "mfd: core: Un-constify mfd_cell.of_reg"
* | c42877e34f Revert "arm64/arm: xen: enlighten: Fix KPTI checks"
* | 55d4929d66 Revert "virtio/vsock: replace virtio_vsock_pkt with sk_buff"
* | 5418948a0a Revert "vsock/virtio: remove socket from connected/bound list on shutdown"
* | 98f663d79a Revert "virtio/vsock: don't use skbuff state to account credit"
* | 497503c6ec Revert "virtio/vsock: remove redundant 'skb_pull()' call"
* | 5b9223a56f Revert "virtio/vsock: don't drop skbuff on copy failure"
* | ec573670da Revert "virtio/vsock: fix leaks due to missing skb owner"
* | e8ad0104af Revert "virtio/vsock: Fix uninit-value in virtio_transport_recv_pkt()"
* | db612631b7 Revert "virtio/vsock: fix header length on skb merging"
* | 7ccdce2dc4 Revert "vsock/loopback: use only sk_buff_head.lock to protect the packet queue"
* | 2b3ea8bdef Merge 6.1.63 into android14-6.1-lts
|\|
| * 69e434a1cb Linux 6.1.63
| * 830c11c9c0 virtio/vsock: fix header length on skb merging
| * cd12535b97 virtio/vsock: Fix uninit-value in virtio_transport_recv_pkt()
| * a6650e78c4 virtio/vsock: fix leaks due to missing skb owner
| * bb1c9a5907 vsock/loopback: use only sk_buff_head.lock to protect the packet queue
| * 1e5f00e9db virtio/vsock: don't drop skbuff on copy failure
| * 883a3db221 virtio/vsock: remove redundant 'skb_pull()' call
| * 5852a2b573 virtio/vsock: don't use skbuff state to account credit
| * 25bc87768c wifi: cfg80211: fix kernel-doc for wiphy_delayed_work_flush()
| * fc3a19543e btrfs: use u64 for buffer sizes in the tree search ioctls
| * c606c43ab6 Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
| * acca43d813 x86/amd_nb: Use Family 19h Models 60h-7Fh Function 4 IDs
| * 129debbb41 io_uring/net: ensure socket is marked connected on connect retry
| * b80b85f494 tracing/kprobes: Fix the order of argument descriptions
| * 28e7153418 fbdev: fsl-diu-fb: mark wr_reg_wa() static
| * 7bc7b82fb2 fbdev: imsttfb: fix a resource leak in probe
| * 9858458282 fbdev: imsttfb: Fix error path of imsttfb_probe()
| * 6d53668c43 spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
| * b4843bf39d ASoC: dapm: fix clock get name
| * f5350c6f78 ASoC: hdmi-codec: register hpd callback on component probe
| * acc36089bc ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix error messages
| * 3bbf06efb8 drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
| * 3df98bd319 RISC-V: Don't fail in riscv_of_parent_hartid() for disabled HARTs
| * 587e6308d6 netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses
| * 8fa280d1a9 netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs
| * d85670128f netfilter: xt_recent: fix (increase) ipv6 literal buffer length
| * 7ee2070589 i2c: iproc: handle invalid slave state
| * b5974b0c89 r8169: respect userspace disabling IFF_MULTICAST
| * 1fecefb092 vsock/virtio: remove socket from connected/bound list on shutdown
| * baddcc2c71 virtio/vsock: replace virtio_vsock_pkt with sk_buff
| * 46c541fa66 blk-core: use pr_warn_ratelimited() in bio_check_ro()
| * 4e9b3ec84d nbd: fix uaf in nbd_open
| * b0310063d4 tg3: power down device only on SYSTEM_POWER_OFF
| * 2dbafb0081 nvme: fix error-handling for io_uring nvme-passthrough
| * f4277cb562 net/smc: put sk reference if close work was canceled
| * 2d563aa752 net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
| * 9d976cd3e3 net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
| * 4a12fb7d1a octeontx2-pf: Free pending and dropped SQEs
| * a1e8e68204 octeontx2-pf: qos send queues management
| * 479d344a92 octeontx2-pf: Rename tot_tx_queues to non_qos_queues
| * f9c2807e2a selftests: pmtu.sh: fix result checking
| * 490dfbf651 net: stmmac: xgmac: Enable support for multiple Flexible PPS outputs
| * 0b8ffe3cb0 Fix termination state for idr_for_each_entry_ul()
| * 7f4a2c2967 net: r8169: Disable multicast filter for RTL8168H and RTL8107E
| * db68ac51fe dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses.
| * 414d36c117 dccp: Call security_inet_conn_request() after setting IPv4 addresses.
| * e129327d80 net: page_pool: add missing free_percpu when page_pool_init fail
| * a95acc2099 octeontx2-pf: Fix holes in error code
| * 00376cc743 octeontx2-pf: Fix error codes
| * 612c22e928 inet: shrink struct flowi_common
| * 89d92e4fc5 bpf: Check map->usercnt after timer->timer is assigned
| * 4c731e98fe tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING
| * 6086258bd5 hsr: Prevent use after free in prp_create_tagged_frame()
| * f980e9a57d llc: verify mac len before reading mac header
| * 8803da01fe watchdog: ixp4xx: Make sure restart always works
| * 7082b1fb53 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
| * f8225c3c65 pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
| * 679d2ab67e pwm: sti: Reduce number of allocations and drop usage of chip_data
| * 713629765f regmap: prevent noinc writes from clobbering cache
| * 7ec7b7d3f2 media: cec: meson: always include meson sub-directory in Makefile
| * 103c66dcf5 media: dvb-usb-v2: af9035: fix missing unlock
| * 39c2ec94a8 media: cadence: csi2rx: Unregister v4l2 async notifier
| * 76d12296ee media: cedrus: Fix clock/reset sequence
| * a254ee1ddc media: vidtv: mux: Add check and kfree for kstrdup
| * 5c26aae372 media: vidtv: psi: Add check for kstrdup
| * e7c96f4605 media: s3c-camif: Avoid inappropriate kfree()
| * 1620531a3d media: mtk-jpegenc: Fix bug in JPEG encode quality selection
| * b75fb8a2ee media: amphion: handle firmware debug message
| * 20568d06f6 media: bttv: fix use after free error due to btv->timeout timer
| * 825a7a6a3a media: ov5640: Fix a memory leak when ov5640_probe fails
| * ba305517a1 media: i2c: max9286: Fix some redundant of_node_put() calls
| * a7a8c49dc6 media: ov5640: fix vblank unchange issue when work at dvp mode
| * 9b1c0aca7f media: ov5640: Drop dead code using frame_interval
| * 6380621de3 media: verisilicon: Do not enable G2 postproc downscale if source is narrower than destination
| * 64f55cebb4 media: hantro: Check whether reset op is defined before use
| * f258fd94ab pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
| * 7c9947693b pcmcia: ds: fix refcount leak in pcmcia_device_add()
| * fbdf451e76 pcmcia: cs: fix possible hung task and memory leak pccardd()
| * f9e17bce0a rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
| * b4dda701d0 virt: sevguest: Fix passing a stack buffer as a scatterlist target
| * d889b7bc12 x86/sev: Change snp_guest_issue_request()'s fw_err argument
| * a5b03f56d3 crypto: ccp - Name -1 return value as SEV_RET_NO_FW_CALL
| * 7c7371b41a cxl/mem: Fix shutdown order
| * 174ae0a3b8 i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
| * b9793c9c03 9p/net: fix possible memory leak in p9_check_errors()
| * 8b184ebff6 perf hist: Add missing puts to hist__account_cycles
| * 8e1f41a853 perf machine: Avoid out of bounds LBR memory read
| * 209f4a67d8 usb: host: xhci-plat: fix possible kernel oops while resuming
| * 071666451e xhci: Loosen RPM as default policy to cover for AMD xHC 1.1
| * abdd1f47ef powerpc/pseries: fix potential memory leak in init_cpu_associativity()
| * 257517c00b powerpc/imc-pmu: Use the correct spinlock initializer.
| * 8409ee076d powerpc/vas: Limit open window failure messages in log bufffer
| * 0f8dabe79a powerpc/xive: Fix endian conversion size
| * b4bc030af7 powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro
| * a204f9f3cb modpost: fix ishtp MODULE_DEVICE_TABLE built on big-endian host
| * 339148f786 modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
| * 9d4f7441cd powerpc: Only define __parse_fpscr() when required
| * 4a43be67d6 interconnect: qcom: sm8350: Set ACV enable_mask
| * bfc019c713 interconnect: qcom: sm8350: Retire DEFINE_QBCM
| * ccbd1281a2 interconnect: qcom: sm8150: Set ACV enable_mask
| * d7e501045e interconnect: qcom: sm8150: Retire DEFINE_QBCM
| * 386a4d6f83 interconnect: qcom: sm8150: Drop IP0 interconnects
| * 8979ed70da interconnect: move ignore_list out of of_count_icc_providers()
| * bf7039825f interconnect: qcom: sm6350: Set ACV enable_mask
| * d39e3249c0 interconnect: qcom: sm6350: Retire DEFINE_QBCM
| * 639ee7fbc0 interconnect: qcom: sdm845: Set ACV enable_mask
| * 8085888045 interconnect: qcom: sdm845: Retire DEFINE_QBCM
| * e82d634fdb interconnect: qcom: sc8280xp: Set ACV enable_mask
| * 50e4e1ad35 interconnect: qcom: sc8180x: Set ACV enable_mask
| * 673ced6e01 interconnect: qcom: sc7280: Set ACV enable_mask
| * 8fe916ff8a interconnect: qcom: sc7180: Set ACV enable_mask
| * 3f884277f9 interconnect: qcom: sc7180: Retire DEFINE_QBCM
| * 695b3cfe1c f2fs: fix to initialize map.m_pblk in f2fs_precache_extents()
| * 7b863b8bcd dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc()
| * 2ed67a40dd USB: usbip: fix stub_dev hub disconnect
| * dae6fd9747 tools: iio: iio_generic_buffer ensure alignment
| * 06a1286345 misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
| * fc968818d5 dmaengine: ti: edma: handle irq_of_parse_and_map() errors
| * 03984e24db usb: chipidea: Simplify Tegra DMA alignment code
| * c9095c743b usb: chipidea: Fix DMA overwrite for Tegra
| * 6b21a22728 usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency
| * 0806a6afe1 dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers
| * 1e03a26959 perf record: Fix BTF type checks in the off-cpu profiling
| * 1c4eb1bc39 pinctrl: renesas: rzg2l: Make reverse order of enable() for disable()
| * cd7d804f52 livepatch: Fix missing newline character in klp_resolve_symbols()
| * f1cda3c5dd tty: tty_jobctrl: fix pid memleak in disassociate_ctty()
| * fb4251dab3 f2fs: compress: fix to avoid redundant compress extension
| * 9375ea7f26 f2fs: compress: fix to avoid use-after-free on dic
| * 071bbc5a66 f2fs: compress: fix deadloop in f2fs_write_cache_pages()
| * ec67c83dd5 f2fs: convert f2fs_write_cache_pages() to use filemap_get_folios_tag()
| * 599befdd79 filemap: add filemap_get_folios_tag()
| * 855516cb6e perf kwork: Set ordered_events to true in 'struct perf_tool'
| * 231665cc6f perf kwork: Add the supported subcommands to the document
| * 16e02976cf perf kwork: Fix incorrect and missing free atom in work_push_atom()
| * e27c2668ac iio: frequency: adf4350: Use device managed functions and fix power down issue.
| * 550711e007 perf stat: Fix aggr mode initialization
| * 6cb0495d36 apparmor: fix invalid reference on profile->disconnected
| * cef064fdde apparmor: test: make static symbols visible during kunit testing
| * cfce1e26b4 kunit: add macro to allow conditionally exposing static symbols to tests
| * 1d47d1abb4 leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu'
| * 4198a7a6ef leds: pwm: Don't disable the PWM when the LED should be off
| * 63cdeb20ee leds: turris-omnia: Do not use SMBUS calls
| * 7d0e60e4ff leds: turris-omnia: Drop unnecessary mutex locking
| * ce58f479b5 mfd: arizona-spi: Set pdata.hpdet_channel for ACPI enumerated devs
| * 26b534a3f0 dt-bindings: mfd: mt6397: Split out compatible for MediaTek MT6366 PMIC
| * 90155dfd99 dt-bindings: mfd: mt6397: Add binding for MT6357
| * 9ac0c05365 mfd: dln2: Fix double put in dln2_probe
| * ee6b91411d mfd: core: Ensure disabled devices are skipped without aborting
| * f1ed6c4e59 mfd: core: Un-constify mfd_cell.of_reg
| * 437f033e30 IB/mlx5: Fix init stage error handling to avoid double free of same QP and UAF
| * ad52f21e3d ASoC: ams-delta.c: use component after check
| * 3dd998f78c crypto: qat - fix deadlock in backlog processing
| * c7c26d0ef5 padata: Fix refcnt handling in padata_free_shell()
| * 980a7fd5e5 ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
| * 9ee89579e6 HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
| * cf47abd7d8 HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
| * 8eb1f933cc HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
| * 7f2ed86dde HID: logitech-hidpp: Remove HIDPP_QUIRK_NO_HIDINPUT quirk
| * b1736354a7 Revert "HID: logitech-hidpp: add a module parameter to keep firmware gestures"
| * 693baca82d sh: bios: Revive earlyprintk support
| * 35ac8075ae hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip
| * 8a716eb7f8 HID: cp2112: Make irq_chip immutable
| * cce6785b84 RDMA/hfi1: Workaround truncation compilation error
| * 7a22e6fa51 scsi: ufs: core: Leave space for '\0' in utf8 desc string
| * f9f4a6bdf9 ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe
| * 002bd3c874 ASoC: SOF: core: Ensure sof_ops_free() is still called when probe never ran.
| * fe6efb2d18 RDMA/hns: The UD mode can only be configured with DCQCN
| * 1a6806f27e RDMA/hns: Add check for SL
| * d3a8efb9de RDMA/hns: Fix signed-unsigned mixed comparisons
| * 1000adbac3 RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common()
| * 7c09504c37 RDMA/hns: Fix printing level of asynchronous events
| * 3d559a5d5d IB/mlx5: Fix rdma counter binding for RAW QP
| * c0f4144d0d ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described
| * 4f13eab0e8 ext4: move 'ix' sanity check to corrent position
| * 242ba2e20b ARM: 9321/1: memset: cast the constant byte to unsigned char
| * 0a7f9238f3 crypto: hisilicon/qm - fix PF queue parameter issue
| * 07eb93dbe1 crypto: hisilicon/qm - split a debugfs.c from qm
| * 2cec6774fd crypto: hisilicon/qm - modify the process of regs dfx
| * 56785a3a08 crypto: hisilicon/qm - delete redundant null assignment operations
| * bafb12b629 hid: cp2112: Fix duplicate workqueue initialization
| * aa804deca1 PCI: vmd: Correct PCI Header Type Register's multi-function check
| * ed7f07ef84 crypto: qat - increase size of buffers
| * 17c890a887 crypto: caam/jr - fix Chacha20 + Poly1305 self test failure
| * 9857f811e5 crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
| * f23859748e nd_btt: Make BTT lanes preemptible
| * 93aa88170c libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value
| * 4795de8c04 scsi: ibmvfc: Fix erroneous use of rtas_busy_delay with hcall return code
| * dc44e3fdb0 crypto: qat - fix unregistration of crypto algorithms
| * 5e989aeb40 crypto: qat - extend buffer list interface
| * 443bde2a4c crypto: qat - generalize crypto request buffers
| * 380f0a1de2 crypto: qat - change bufferlist logic interface
| * 2ad909a408 crypto: qat - rename bufferlist functions
| * 61c57bb986 crypto: qat - relocate bufferlist logic
| * e3294cccd8 crypto: qat - ignore subsequent state up commands
| * bb55130d02 RDMA/core: Use size_{add,sub,mul}() in calls to struct_size()
| * e39b84448f hwrng: geode - fix accessing registers
| * 3c5c7f926a hwrng: bcm2835 - Fix hwrng throughput regression
| * 0c824b77ad crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
| * 12d2087a7d KEYS: Include linux/errno.h in linux/verification.h
| * 44dcf6d33e ALSA: hda: cs35l41: Undo runtime PM changes at driver exit time
| * 2d81896fe1 ALSA: hda: cs35l41: Fix unbalanced pm_runtime_get()
| * 0642126913 ASoC: cs35l41: Undo runtime PM changes at driver exit time
| * ab3aa429c8 ASoC: cs35l41: Verify PM runtime resume errors in IRQ handler
| * f20c4b0c01 module/decompress: use vmalloc() for gzip decompression workspace
| * c8a2355833 selftests/resctrl: Ensure the benchmark commands fits to its array
| * 02c167c93f selftests/pidfd: Fix ksft print formats
| * 6b7feafde7 arm64: tegra: Use correct interrupts for Tegra234 TKE
| * 87367bc3d9 arm64: dts: imx8mn: Add sound-dai-cells to micfil node
| * fef0af2250 arm64: dts: imx8mm: Add sound-dai-cells to micfil node
| * fafaf5a2f3 arm64: dts: imx8qm-ss-img: Fix jpegenc compatible entry
| * 37658e5189 clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
| * db6db0af76 ARM: dts: am3517-evm: Fix LED3/4 pinmux
| * d43c3e4974 firmware: arm_ffa: Allow the FF-A drivers to use 32bit mode of messaging
| * 5429ecbb1b firmware: arm_ffa: Assign the missing IDR allocation ID to the FFA device
| * e0cf8e811f arm64: dts: ti: k3-am62a7-sk: Drop i2c-1 to 100Khz
| * eccde2dbd9 firmware: ti_sci: Mark driver as non removable
| * 7efb91501b kunit: Fix missed memory release in kunit_free_suite_set()
| * f0ef883cae soc: qcom: llcc: Handle a second device without data corruption
| * 4653225f41 ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator
| * d97268ce08 arm64: dts: qcom: apq8016-sbc: Add missing ADV7533 regulators
| * 7867e1d926 ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins
| * 945f2e4f13 arm64: dts: qcom: sdm845-mtp: fix WiFi configuration
| * 89465723e0 arm64: dts: qcom: sm8350: fix pinctrl for UART18
| * 1a404795c4 arm64: dts: qcom: sm8150: add ref clock to PCIe PHYs
| * cd952d43c0 arm64: dts: qcom: sc7280: Add missing LMH interrupts
| * 03a0a34f04 arm64: dts: qcom: msm8992-libra: drop duplicated reserved memory
| * 4109f7d1a8 arm64: dts: qcom: msm8916: Fix iommu local address range
| * 389a4aa5e3 arm64: dts: qcom: sc7280: link usb3_phy_wrapper_gcc_usb30_pipe_clk
| * 426d3c7c72 arm64: dts: qcom: sdm845: cheza doesn't support LMh node
| * e65c1aa21b ARM: dts: renesas: blanche: Fix typo in GP_11_2 pin name
| * b660420f44 perf: hisi: Fix use-after-free when register pmu fails
| * 104fa6426a drivers/perf: hisi_pcie: Check the type first in pmu::event_init()
| * c6e00bc30e perf/arm-cmn: Fix DTC domain detection
| * 28fa550a49 perf/arm-cmn: Revamp model detection
| * 4589403a34 drivers/perf: hisi: use cpuhp_state_remove_instance_nocalls() for hisi_hns3_pmu uninit process
| * 1e88414e64 drm: mediatek: mtk_dsi: Fix NO_EOT_PACKET settings/handling
| * 025d2ac470 clocksource/drivers/arm_arch_timer: limit XGene-1 workaround
| * 96c3a18304 drm/msm/dsi: free TX buffer in unbind
| * 8b072ab6c4 drm/msm/dsi: use msm_gem_kernel_put to free TX buffer
| * 5671bed3c0 xen-pciback: Consider INTx disabled when MSI/MSI-X is enabled
| * 934747e2f8 xenbus: fix error exit in xenbus_init()
| * ace6403e78 drm/rockchip: Fix type promotion bug in rockchip_gem_iommu_map()
| * 2836c72e8d arm64/arm: xen: enlighten: Fix KPTI checks
| * 008b2a93c5 drm/bridge: lt9611uxc: fix the race in the error path
| * af19ebfc6a gpu: host1x: Correct allocated size for contexts
| * 9da0193454 drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
| * 8045808be1 drm/mediatek: Fix iommu fault during crtc enabling
| * 5d30fedc20 drm/mediatek: Fix iommu fault by swapping FBs after updating plane state
| * 32b15fef33 io_uring/kbuf: Allow the full buffer id space for provided buffers
| * 60db638be5 io_uring/kbuf: Fix check of BID wrapping in provided buffers
| * 03e334565d drm/amd/display: Bail from dm_check_crtc_cursor if no relevant change
| * a99afba394 drm/amd/display: Refactor dm_get_plane_scale helper
| * 8960662027 drm/amd/display: Check all enabled planes in dm_check_crtc_cursor
| * 9eae81af92 drm/amdkfd: fix some race conditions in vram buffer alloc/free of svm code
| * 78e998884d drm/bridge: tc358768: Fix tc358768_ns_to_cnt()
| * 9dbfdf5dcc drm/bridge: tc358768: Clean up clock period code
| * 3ed322a852 drm/bridge: tc358768: Rename dsibclk to hsbyteclk
| * 14d546d067 drm/bridge: tc358768: Use dev for dbg prints, not priv->dev
| * 4a1c4eff65 drm/bridge: tc358768: Print logical values, not raw register values
| * fb82b3b4ac drm/bridge: tc358768: Use struct videomode
| * e87a3c24ce drm/bridge: tc358768: remove unused variable
| * 1942dc48f4 drm/bridge: tc358768: Fix bit updates
| * 2fab90bcde drm/bridge: tc358768: Fix use of uninitialized variable
| * 3c0b681ba4 drm/bridge: lt8912b: Add missing drm_bridge_attach call
| * 5a521f6b68 drm/bridge: lt8912b: Manually disable HPD only if it was enabled
| * 7bf0cb8f40 drm/bridge: lt8912b: Fix crash on bridge detach
| * 2cfa9dc32c drm/bridge: lt8912b: Fix bridge_detach
| * 45350e5471 drm/bridge: lt8912b: Add hot plug detection
| * 2c80c4f0d2 drm: bridge: it66121: Fix invalid connector dereference
| * 341e79f8ae drm/radeon: possible buffer overflow
| * 2d68194e1a drm/rockchip: vop2: Add missing call to crtc reset helper
| * bc05621888 drm/rockchip: vop2: Don't crash for invalid duplicate_state
| * b248ccaabf drm/rockchip: vop: Fix call to crtc reset helper
| * ffebe76e50 drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs
| * 4d37df40b1 hte: tegra: Fix missing error code in tegra_hte_test_probe()
| * a671a41d60 hwmon: (sch5627) Disallow write access if virtual registers are locked
| * 4a30312982 hwmon: (sch5627) Use bit macros when accessing the control register
| * 3385632de8 Revert "hwmon: (sch56xx-common) Add automatic module loading on supported devices"
| * 581255403a Revert "hwmon: (sch56xx-common) Add DMI override table"
| * dd06f92fd8 hwmon: (coretemp) Fix potentially truncated sysfs attribute name
| * 33de53a270 hwmon: (axi-fan-control) Fix possible NULL pointer dereference
| * 44a96796d2 platform/x86: wmi: Fix opening of char device
| * ae28868bba platform/x86: wmi: Fix probe failure when failing to register WMI devices
| * 7b8d88df17 clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM
| * 2a18dd6532 clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
| * a836efc21e clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
| * a540ca0aea clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
| * 357df1c2f6 clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
| * df1c4a9efa clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data
| * dd1f30d68f clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
| * 7d022726e3 clk: npcm7xx: Fix incorrect kfree
| * cc1c2772c1 clk: ti: fix double free in of_ti_divider_clk_setup()
| * e4df931fb4 clk: ti: change ti_clk_register[_omap_hw]() API
| * cb6c38995f clk: keystone: pll: fix a couple NULL vs IS_ERR() checks
| * 0a37614109 spi: nxp-fspi: use the correct ioremap function
| * cdaa544dc4 clk: linux/clk-provider.h: fix kernel-doc warnings and typos
| * a0b3b2cc2d clk: renesas: rzg2l: Fix computation formula
| * e1809bb19a clk: renesas: rzg2l: Use FIELD_GET() for PLL register fields
| * e6070f0cda clk: renesas: rzg2l: Trust value returned by hardware
| * c823ffba5d clk: renesas: rzg2l: Lock around writes to mux register
| * 77e2338802 clk: renesas: rzg2l: Wait for status bit of SD mux before continuing
| * f26a440d0e clk: renesas: rcar-gen3: Extend SDnH divider table
| * d72c586809 clk: imx: imx8qxp: Fix elcdif_pll clock
| * 2c2f1fb3f8 clk: imx: imx8mq: correct error handling path
| * 0e2b088240 clk: imx: Select MXC_CLK for CLK_IMX8QXP
| * 5b8d3ea093 regulator: mt6358: Fail probe on unknown chip ID
| * 8d20252d96 clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
| * a588f440c4 clk: qcom: mmcc-msm8998: Fix the SMMU GDSC
| * d2ffd85ee3 clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks
| * 06a7365e2b clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies
| * 101c2d257c clk: qcom: gcc-msm8996: Remove RPM bus clocks
| * 5c25f89c00 spi: tegra: Fix missing IRQ check in tegra_slink_probe()
| * 51d4d3cd18 regmap: debugfs: Fix a erroneous check after snprintf()
| * 30e77e3ee9 ipvlan: properly track tx_errors
| * 4836b94e5e net: add DEV_STATS_READ() helper
| * fae5cc598e ipv6: avoid atomic fragment on GSO packets
| * 35aff53626 ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
| * 1ca7bc1b08 bpf: Fix unnecessary -EBUSY from htab_lock_bucket
| * 4bb26ec7ed Bluetooth: hci_sync: Fix Opcode prints in bt_dev_dbg/err
| * 6f505a013c wifi: iwlwifi: empty overflow queue during flush
| * e2be4ab86a wifi: iwlwifi: pcie: synchronize IRQs before NAPI
| * c56aed37b6 wifi: iwlwifi: call napi_synchronize() before freeing rx/tx queues
| * 6d88d4b1bb tcp: fix cookie_init_timestamp() overflows
| * 72c23b3071 chtls: fix tp->rcv_tstamp initialization
| * 2acedc5372 net: skb_find_text: Ignore patterns extending past 'to'
| * d860416236 selftests: netfilter: test for sctp collision processing in nf_conntrack
| * aa0a050c65 r8169: fix rare issue with broken rx after link-down on RTL8125
| * 4789d93f94 r8169: use tp_to_dev instead of open code
| * 77ff34a56b thermal: core: prevent potential string overflow
| * 9709c6d759 netfilter: nf_tables: Drop pointless memset when dumping rules
| * 100a75d56b wifi: wfx: fix case where rates are out of order
| * f64a559f2d PM / devfreq: rockchip-dfi: Make pmu regmap mandatory
| * 0d30931f1f can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds
| * 76378a8bae can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
| * 614d615d49 can: dev: can_restart(): don't crash kernel if carrier is OK
| * d5342dafca wifi: ath11k: fix Tx power value during active CAC
| * 8a777b28d7 ACPI: video: Add acpi_backlight=vendor quirk for Toshiba Portégé R100
| * 396ec51b13 ACPI: property: Allow _DSD buffer data only for byte accessors
| * 75de6a6641 wifi: rtlwifi: fix EDCA limit set by BT coexistence
| * 14a7e73b28 tcp_metrics: do not create an entry from tcp_init_metrics()
| * 52ec0669f4 tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
| * e850efcf2b tcp_metrics: add missing barriers on delete
| * 586ce1064f wifi: ath: dfs_pattern_detector: Fix a memory initialization issue
| * ebca9ae926 wifi: mt76: mt7915: fix beamforming availability check
| * 2b12aebbd3 wifi: mt76: mt7603: improve stuck beacon handling
| * c2fd48179c wifi: mt76: mt7603: improve watchdog reset reliablity
| * e3c46ce78d wifi: mt76: mt7603: rework/fix rx pse hang check
| * e01b3400d6 wifi: ath11k: fix boot failure with one MSI vector
| * 26e301a70d wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
| * 365fe12f45 net: ethernet: mtk_wed: fix EXT_INT_STATUS_RX_FBUF definitions for MT7986 SoC
| * d97463c1f3 net: spider_net: Use size_add() in call to struct_size()
| * 254187a64a tipc: Use size_add() in calls to struct_size()
| * 065cb7ae3f tls: Use size_add() in call to struct_size()
| * 8ae1873864 tls: Only use data field in crypto completion function
| * 65e65a8b2d mlxsw: Use size_mul() in call to struct_size()
| * a764c22bbc gve: Use size_add() in call to struct_size()
| * 5dd1344de3 tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
| * a08ff0544b udp: add missing WRITE_ONCE() around up->encap_rcv
| * ec18d7507f selftests/bpf: Correct map_fd to data_fd in tailcalls
| * 3e1d754b5d iavf: Fix promiscuous mode configuration flow messages
| * 42b452960a i40e: fix potential memory leaks in i40e_remove()
| * 36f0004fe5 wifi: iwlwifi: honor the enable_ini value
| * 9c6269f5d1 wifi: mac80211: fix # of MSDU in A-MSDU calculation
| * cee323e56c wifi: mac80211: move sched-scan stop work to wiphy work
| * 0568d1e889 wifi: mac80211: move offchannel works to wiphy work
| * ef41361519 wifi: mac80211: move scan work to wiphy work
| * 09915293c3 wifi: mac80211: move radar detect work to wiphy work
| * 697fb94e3e wifi: cfg80211: add flush functions for wiphy work
| * 36aa50d578 genirq/matrix: Exclude managed interrupts in irq_matrix_allocated()
| * 4f834ad034 string: Adjust strtomem() logic to allow for smaller sources
| * 63f637309b pstore/platform: Add check for kstrdup
| * 0a1dab4a8e drivers/clocksource/timer-ti-dm: Don't call clk_get_rate() in stop function
| * dbb5581603 x86/boot: Fix incorrect startup_gdt_descr.size
| * 21c5c3f95f x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
| * 7807c269cb ACPI/NUMA: Apply SRAT proximity domain to entire CFMWS window
| * bf178c8b9c x86/numa: Introduce numa_fill_memblks()
| * dce53a017c futex: Don't include process MM in futex key on no-MMU
| * 3c1a20c122 x86/srso: Fix SBPB enablement for (possible) future fixed HW
| * 2351c03529 writeback, cgroup: switch inodes with dirty timestamps to release dying cgwbs
| * bc8e02850a vfs: fix readahead(2) on block devices
| * 8620933c3c sched: Fix stop_one_cpu_nowait() vs hotplug
| * 21f99a5adb objtool: Propagate early errors
| * df870d47d2 sched/uclamp: Ignore (util == 0) optimization in feec() when p_util_max = 0
| * d77530a1d4 sched/uclamp: Set max_spare_cap_cpu even if max_spare_cap is 0
| * b783919771 iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
| * 42bed989f0 sched/fair: Fix cfs_rq_is_decayed() on !SMP
| * 71e3e7830b hwmon: (nct6775) Fix incorrect variable reuse in fan_div calculation
* | 0d9fb52165 Merge 6.1.62 into android14-6.1-lts
|\|
| * fb2635ac69 Linux 6.1.62
| * 585da49ad6 ASoC: SOF: sof-pci-dev: Fix community key quirk detection
| * c1c15b09f4 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
| * 5c59879031 misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support
| * 6bebd303ad tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
| * 3017a17ad6 tty: 8250: Add support for Intashield IX cards
| * c3444894e8 tty: 8250: Add support for additional Brainboxes PX cards
| * 31ebf431ed tty: 8250: Fix up PX-803/PX-857
| * bfe9bde05f tty: 8250: Fix port count of PX-257
| * b75ee2d9d7 tty: 8250: Add support for Intashield IS-100
| * cdd260b220 tty: 8250: Add support for Brainboxes UP cards
| * 8af676c698 tty: 8250: Add support for additional Brainboxes UC cards
| * abcb12f319 tty: 8250: Remove UC-257 and UC-431
| * df6cfab66f tty: n_gsm: fix race condition in status line change on dead connections
| * 23107989be usb: raw-gadget: properly handle interrupted requests
| * e7a802447c usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm()
| * 6f17be2700 usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
| * b25a2f2470 PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
| * 977ae4dbe2 ALSA: usb-audio: add quirk flag to enable native DSD for McIntosh devices
| * 9411dbe2c6 mmap: fix error paths with dup_anon_vma()
| * 21ca008c53 mm/mempolicy: fix set_mempolicy_home_node() previous VMA pointer
| * 7ab62e3415 x86: KVM: SVM: always update the x2avic msr interception
| * e833591265 perf evlist: Avoid frequency mode for the dummy event
| * b3eed11110 power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint
| * 803cc77a3a ceph_wait_on_conflict_unlink(): grab reference before dropping ->d_lock
| * 9eab5008db io_uring: kiocb_done() should *not* trust ->ki_pos if ->{read,write}_iter() failed
| * ed0ba37e7b powerpc/mm: Fix boot crash with FLATMEM
| * 31ae7876da r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
| * f90656fbf6 r8152: Check for unplug in rtl_phy_patch_request()
| * 98567c9d84 net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
| * ff86d69b2e drm/amdgpu: Reserve fences for VM update
| * 8e4a77ba25 platform/mellanox: mlxbf-tmfifo: Fix a warning message
| * 0f2840dabf netfilter: nf_tables: audit log object reset once per table
| * ec80ad4585 LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_highpage()
| * afe80b58ee LoongArch: Export symbol invalid_pud_table for modules building
| * 9f9b2ec53a gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET
| * cafa191b27 drm/amdgpu: Unset context priority is now invalid
| * 0eb733b53e scsi: mpt3sas: Fix in error path
| * 4e000daf39 fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
| * 50736464a7 fbdev: omapfb: fix some error codes
| * 6a87b333ba drm/ttm: Reorder sys manager cleanup step
| * 9951b2309e ASoC: codecs: tas2780: Fix log of failed reset via I2C.
| * b7ed4aa0c2 ASoC: rt5650: fix the wrong result of key button
| * 8e1a6594d7 efi: fix memory leak in krealloc failure handling
| * 678edd2dfd netfilter: nfnetlink_log: silence bogus compiler warning
| * c6f6a50527 spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
| * 6a7a2d5a08 fs/ntfs3: Avoid possible memory leak
| * 84aabd18c8 fs/ntfs3: Fix directory element type detection
| * 3bff4bb7f9 fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame()
| * c8cbae3cbb fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
| * 6fe32f79ab fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
| * 92f9c7c7dd fs/ntfs3: Write immediately updated ntfs state
| * fc91bb3e1b fs/ntfs3: Add ckeck in ni_update_parent()
| * 768e857ac3 fbdev: atyfb: only use ioremap_uc() on i386 and ia64
| * dd6d75eb00 Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
| * c64c237275 powerpc/85xx: Fix math emulation exception
| * 96c7aac8d8 dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
| * 9ef4697548 irqchip/stm32-exti: add missing DT IRQ flag translation
| * 7378415da0 irqchip/riscv-intc: Mark all INTC nodes as initialized
| * d3204c0fdd net: sched: cls_u32: Fix allocation size in u32_init()
| * f15dbcda2c ASoC: tlv320adc3xxx: BUG: Correct micbias setting
| * 30ed998604 coresight: tmc-etr: Disable warnings for allocation failures
| * 6618e7a740 ASoC: simple-card: fixup asoc_simple_probe() error handling
* | d3f3412122 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
* | a2eefda9e3 Revert "kasan: print the original fault addr when access invalid shadow"
* | 2cd386b08b Merge 6.1.61 into android14-6.1-lts
|\|
| * 4a61839152 Linux 6.1.61
| * 5926b0886d objtool/x86: add missing embedded_insn check
| * 2afa9f7eb1 ext4: avoid overlapping preallocations due to overflow
| * fcefddf3a1 ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
| * 495c4c58d6 ext4: add two helper functions extent_logical_end() and pa_logical_end()
| * d022e4ea9c platform/x86: Add s2idle quirk for more Lenovo laptops
| * 48ebeab0ed clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
| * 65e5a9890e sparc32: fix a braino in fault handling in csum_and_copy_..._user()
| * 8b8cde8ebb perf/core: Fix potential NULL deref
| * 5e232f2205 x86/cpu: Add model number for Intel Arrow Lake mobile processor
| * 63cc3d5d34 x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
| * 37495846b1 nvmem: imx: correct nregs for i.MX6UL
| * 116671d259 nvmem: imx: correct nregs for i.MX6SLL
| * b90b8633ef nvmem: imx: correct nregs for i.MX6ULL
| * cc87c73eac misc: fastrpc: Unmap only if buffer is unmapped from DSP
| * 38c5faf2a9 misc: fastrpc: Clean buffers on remote invocation failures
| * 7737e9384e misc: fastrpc: Free DMA handles for RPC calls with no arguments
| * 1e8851b513 misc: fastrpc: Reset metadata buffer to avoid incorrect free
| * 5a35fc1c00 tracing/kprobes: Fix the description of variable length arguments
| * 91b95e3b4a i2c: aspeed: Fix i2c bus hang in slave read
| * 11602cadc9 i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
| * ff0312a156 i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
| * f9a7b3b33c i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
| * 48a365ae4f i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
| * 6ec84059b5 iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale
| * e26fd381bf iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
| * cb01837e0f iio: exynos-adc: request second interupt only when touchscreen mode is used
| * 7a641bc52f iio: afe: rescale: Accept only offset channels
| * 9236d2ea64 io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
| * 1684909df3 kasan: print the original fault addr when access invalid shadow
| * 6a5b845b57 blk-throttle: check for overflow in calculate_bytes_allowed
| * bb20a245df scsi: sd: Introduce manage_shutdown device flag
| * 93fa5786f9 iavf: in iavf_down, disable queues when removing the driver
| * f7f660df65 drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
| * cb115b6688 i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
| * 144f93c622 gtp: fix fragmentation needed check with gso
| * 039a050740 gtp: uapi: fix GTPA_MAX
| * 664a358b79 tcp: fix wrong RTO timeout when received SACK reneging
| * 5b100bb044 r8152: Release firmware if we have an error in probe
| * ecb51a434e r8152: Cancel hw_phy_work if we have an error in probe
| * 87376143df r8152: Run the unload routine if we have errors during probe
| * ee73f937c5 r8152: Increase USB control msg timeout to 5000ms as per spec
| * 9eb275fec6 net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
| * 7c799bc322 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
| * 55b01c5a84 net: ethernet: adi: adin1110: Fix uninitialized variable
| * 9d2b588fae igc: Fix ambiguity in the ethtool advertising
| * fa28949c72 neighbour: fix various data-races
| * c166dd51b6 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
| * 9a194064fa treewide: Spelling fix in comment
| * b1ad0a147d i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
| * d8ac13acfb iavf: initialize waitqueues before starting watchdog_task
| * 66e879507b r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
| * d10140916e r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
| * 4138a02c89 r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx
| * 29f365f4c3 clk: ti: Fix missing omap5 mcbsp functional clock and aliases
| * 2ba943c6d9 clk: ti: Fix missing omap4 mcbsp functional clock and aliases
| * 8d8346ed39 firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
| * df4169fc9b ARM: OMAP: timer32K: fix all kernel-doc warnings
| * 6c668e2f33 drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
| * 024251bab2 drm/amd: Disable ASPM for VI w/ all Intel systems
| * eded5f5261 drm/i915/pmu: Check if pmu is closed before stopping event
| * 4f46c177c0 nfsd: lock_rename() needs both directories to live on the same fs
| * 3262ff5826 maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()
| * b1b2750de1 hugetlbfs: extend hugetlb_vma_lock to private VMAs
| * c9b066f692 mm/migrate: fix do_pages_move for compat pointers
| * a6fbf025e3 mm/page_alloc: correct start page when guard page debug is enabled
| * 0aa7b24c06 hugetlbfs: clear resv_map pointer if mmap fails
| * 38d0d1c442 mm: fix vm_brk_flags() to not bail out while holding lock
| * 38930ec767 arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards
| * 9d72254c2b arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399
| * 08e6b680f2 vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE
| * 1f14ded0f1 vsock/virtio: initialize the_virtio_vsock before using VQs
| * 534487cc3e virtio_pci: fix the common cfg map size
| * 86f467d358 virtio-crypto: handle config changed by work queue
| * a9d4a1ea67 virtio-mmio: fix memory leak of vm_dev
| * 19b30a8790 virtio_balloon: Fix endless deflation and inflation on arm64
| * bede8b4b51 mcb-lpc: Reallocate memory region to avoid memory overlapping
| * c9efc3efe4 mcb: Return actual parsed size when reading chameleon table
| * e58ab834e4 pinctrl: qcom: lpass-lpi: fix concurrent register updates
| * 018b11ecba ASoC: codecs: wcd938x: fix runtime PM imbalance on remove
| * 508c3353fe ASoC: codecs: wcd938x: fix regulator leaks on probe errors
| * 877fc75d2c ASoC: codecs: wcd938x: Simplify with dev_err_probe
| * 629ba75200 ASoC: codecs: wcd938x: Convert to platform remove callback returning void
| * 1fae817d3e mmc: core: Fix error propagation for some ioctl commands
| * 719c01f281 mmc: block: ioctl: do write error check for spi
| * 651e66d20b mmc: core: Align to common busy polling behaviour for mmc ioctls
| * d3466ce4f4 KVM: x86/pmu: Truncate counter value to allowed width on write
* | a5623b3d30 ANDROID: GKI: add system_unbound_wq to some symbol lists.
* | 08d790dfee Revert "audit,io_uring: io_uring openat triggers audit reference count underflow"
* | ddf96fa712 Revert "tcp: allow again tcp_disconnect() when threads are waiting"
* | a5f2364ea6 Revert "tcp_bpf: properly release resources on error paths"
* | 904cdc97d4 Revert "ipv4/fib: send notify when delete source address routes"
* | 17952d5aad Revert "Bluetooth: hci_core: Fix build warnings"
* | 29756f9286 Revert "xfrm: fix a data-race in xfrm_gen_index()"
* | 63eafbb6b3 Revert "perf: Disallow mis-matched inherited group reads"
* | 4933ddb051 ANDROID: fix up 6.1.60 merge of hid.h into android14-6.1-lts
* | 0a1364ec1f ANDROID: GKI: arm64: drop CONFIG_DEBUG_PREEMPT forced disable
* | 788e35fdea Merge 6.1.60 into android14-6.1-lts
|\|
| * 32c9cdbe38 Linux 6.1.60
| * 7f5bb254be selftests: mptcp: join: no RST when rm subflow/addr
| * 0e0123e0e5 selftests: mptcp: join: correctly check for no RST
| * 300447c572 mptcp: avoid sending RST when closing the initial subflow
| * c04f416730 Bluetooth: hci_sock: Correctly bounds check and pad HCI_MON_NEW_INDEX name
| * a429d65428 Bluetooth: hci_sock: fix slab oob read in create_monitor_event
| * 46de539282 net: move altnames together with the netdevice
| * c1d531aa09 phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
| * 13a45130bb phy: mapphone-mdm6600: Fix runtime PM for remove
| * 7fcce3258b phy: mapphone-mdm6600: Fix runtime disable on probe
| * 4eac2cf444 gpio: vf610: mask the gpio irq in system suspend and support wakeup
| * 9b0f8a9dfd gpio: vf610: make irq_chip immutable
| * 1f38ead73f tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
| * e9b4b72567 kallsyms: Add helper kallsyms_on_each_match_symbol()
| * da359f699f kallsyms: Reduce the memory occupied by kallsyms_seqs_of_names[]
| * 3918cada8f serial: 8250: omap: convert to modern PM ops
| * 70a841eb4f serial: 8250: omap: Move uart_write() inside PM section
| * 6df4c9dee0 drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with auxiliary device
| * 3d57f6ac64 ASoC: pxa: fix a memory leak in probe()
| * 14a1a7beb3 gpio: vf610: set value before the direction to avoid a glitch
| * 7ec224d980 platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c events
| * baf191abec platform/x86: asus-wmi: Only map brightness codes when using asus-wmi backlight control
| * 4186c79c13 platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2e
| * 52d54f1d4e platform/x86: intel-uncore-freq: Conditionally create attribute for read frequency
| * 8a4b575d00 platform/surface: platform_profile: Propagate error if profile registration fails
| * fec769b9fd s390/cio: fix a memleak in css_alloc_subchannel
| * 7241c2627c selftests/ftrace: Add new test case which checks non unique symbol
| * 324c31b0e0 s390/pci: fix iommu bitmap allocation
| * f6952655a6 perf: Disallow mis-matched inherited group reads
| * 908c628005 USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
| * acced163ab USB: serial: option: add entry for Sierra EM9191 with new firmware
| * 1dce40c9e6 USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
| * 59aa39697f HID: input: map battery system charging
| * ea0e047309 KVM: x86/mmu: Stop zapping invalidated TDP MMU roots asynchronously
| * 3519cee444 nvme-rdma: do not try to stop unallocated queues
| * bec9cb90fe nvmet-auth: complete a request only after freeing the dhchap pointers
| * 0ec655ad65 nvme-pci: add BOGUS_NID for Intel 0a54 device
| * 2c0b40c310 nvme: sanitize metadata bounce buffer for reads
| * a54974b007 nfs42: client needs to strip file mode's suid/sgid bit after ALLOCATE op
| * 8d69b47443 ACPI: irq: Fix incorrect return value in acpi_register_gsi()
| * c462bf4ef8 NFSv4.1: fixup use EXCHGID4_FLAG_USE_PNFS_DS for DS server
| * ab65424d61 pNFS/flexfiles: Check the layout validity in ff_layout_mirror_prepare_stats
| * 730bbbbe16 pNFS: Fix a hang in nfs4_evict_inode()
| * fbd8b28fe4 Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
| * c4b7b119c5 mmc: core: Capture correct oemid-bits for eMMC cards
| * 85664ad23f mmc: core: sdio: hold retuning if sdio in 1-bit mode
| * aaa476a7ad mmc: mtk-sd: Use readl_poll_timeout_atomic in msdc_reset_hw
| * 43f588b820 mmc: sdhci-pci-gli: fix LPM negotiation so x86/S0ix SoCs can suspend
| * 55c2428658 dt-bindings: mmc: sdhci-msm: correct minimum number of clocks
| * 73915d26b4 mtd: physmap-core: Restore map_rom fallback
| * 578687563e mtd: spinand: micron: correct bitmask for ecc status
| * 8b2b755a1a mtd: rawnand: arasan: Ensure program page operations are successful
| * 58277212f5 mtd: rawnand: marvell: Ensure program page operations are successful
| * 250feed792 mtd: rawnand: pl353: Ensure program page operations are successful
| * 5845448613 mtd: rawnand: qcom: Unmap the right resource upon probe failure
| * a7f5558ec2 net/smc: fix smc clc failed issue when netdevice not in init_net
| * 2efcdbef13 tcp_bpf: properly release resources on error paths
| * c3e70048ac selftests: openvswitch: Add version check for pyroute2
| * a1a9e57037 Bluetooth: hci_event: Fix using memcmp when comparing keys
| * 758610516f ice: Remove redundant pci_enable_pcie_error_reporting()
| * ec9bc89a01 tcp: allow again tcp_disconnect() when threads are waiting
| * 9dc02f41d5 net/tls: split tls_rx_reader_lock
| * 76f96854aa net/mlx5e: Don't offload internal port if filter device is out device
| * 107ff0034b net/mlx5: Handle fw tracer change ownership event based on MTRC
| * 0aa1e83a20 net/mlx5: E-switch, register event handler before arming the event
| * c21bff1c99 xfrm6: fix inet6_dev refcount underflow problem
| * d91723f6ca net: xfrm: skip policies marked as dead while reinserting policies
| * df2cc87f2c fprobe: Fix to ensure the number of active retprobes is not zero
| * f177a579d2 fprobe: Add nr_maxactive to specify rethook_node pool size
| * 0806cb1e6c fprobe: Pass entry_data to handlers
| * bacf8c749a cpufreq: schedutil: Update next_freq when cpufreq_limits change
| * 62733bbae1 platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
| * 60dc7e39df HID: nintendo: reinitialize USB Pro Controller after resuming from suspend
| * ef8cdee81e HID: multitouch: Add required quirk for Synaptics 0xcd7e device
| * 2a2df4f74f drm/amd/pm: add unique_id for gc 11.0.3
| * 1869638a14 btrfs: error out when reallocating block for defrag using a stale transaction
| * f174c8d2c6 btrfs: error when COWing block from a root that is being deleted
| * c833f1e28d btrfs: error out when COWing block using a stale transaction
| * 9d99acb6a1 btrfs: fix some -Wmaybe-uninitialized warnings in ioctl.c
| * c3657e5fa7 drm: panel-orientation-quirks: Add quirk for One Mix 2S
| * ffbb01fe9a ipv4/fib: send notify when delete source address routes
| * 52080d6edc sky2: Make sure there is at least one frag_addr available
| * d63d39e7f9 regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
| * 2353f64762 wifi: cfg80211: avoid leaking stack data into trace
| * 2fd88f5632 wifi: mac80211: allow transmitting EAPOL frames with tainted key
| * 9285fea3a2 wifi: mac80211: work around Cisco AP 9115 VHT MPDU length
| * dbbb6090c9 wifi: cfg80211: Fix 6GHz scan configuration
| * a55d53ad5c Bluetooth: hci_core: Fix build warnings
| * aad0760c26 Bluetooth: Avoid redundant authentication
| * 7045675fc9 Bluetooth: btusb: add shutdown function for QCA6174
| * 7d823a1071 HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
| * f45752f1eb HID: logitech-hidpp: Add Bluetooth ID for the Logitech M720 Triathlon mouse
| * e045b6a921 wifi: iwlwifi: Ensure ack flag is properly cleared.
| * eb7ae9ed63 wifi: mwifiex: Sanity check tlv_len and tlv_bitmap_len
| * b812b31696 tracing: relax trace_event_eval_update() execution with cond_resched()
| * 1c859abdd7 ata: libata-eh: Fix compilation warning in ata_eh_link_report()
| * e4ce5ce29a ata: libata-core: Fix compilation warning in ata_dev_config_ncq()
| * 5075570a3e gpio: timberdale: Fix potential deadlock on &tgpio->lock
| * d0dab9dd32 overlayfs: set ctime when setting mtime and atime
| * 6133f63d4d i2c: mux: Avoid potential false error message in i2c_mux_add_adapter
| * febcad3d32 btrfs: initialize start_slot in btrfs_log_prealloc_extents
| * 563853bf3b btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
| * 8a4e34fe1b btrfs: prevent transaction block reserve underflow when starting transaction
| * c194e184a8 fs-writeback: do not requeue a clean inode having skipped pages
| * a7354d9064 ARM: dts: ti: omap: Fix noisy serial with overrun-throttle-ms for mapphone
| * 1c972cb674 pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency
| * 82a93c65a4 iio: adc: ad7192: Correct reference voltage
| * ee1d783be5 iio: adc: ad7192: Simplify using devm_regulator_get_enable()
| * 3b02dbd1cd iio: cros_ec: fix an use-after-free in cros_ec_sensors_push_data()
| * 7bca0af538 iio: core: introduce iio_device_{claim|release}_buffer_mode() APIs
| * 681c8a2c23 serial: 8250_omap: Fix errors with no_console_suspend
| * 9424a0a456 serial: 8250: omap: Fix imprecise external abort for omap_8250_pm()
| * 7067c3cf08 serial: Reduce spinlocked portion of uart_rs485_config()
| * 147156b19c serial: Rename uart_change_speed() to uart_change_line_settings()
| * e4df8000bd serial: Move uart_change_speed() earlier
| * 4d382ba65d usb: misc: onboard_hub: add support for Microchip USB2412 USB 2.0 hub
| * 8e939c21f6 usb: misc: onboard_usb_hub: add Genesys Logic GL3523 hub support
| * a46907e1f6 usb: misc: onboard_usb_hub: add Genesys Logic GL852G hub support
| * a2431e7e8b usb: misc: onboard_usb_hub: add Genesys Logic GL850G hub support
| * 5e7275e432 selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error
| * 673edcffa0 net: check for altname conflicts when changing netdev's netns
| * 9307f5f59a net: fix ifname in netlink ntf during netns move
| * b92433493b net: avoid UAF on deleted altname
| * 1cf912054a net: pktgen: Fix interface flags printing
| * 2fb84f5214 net: phy: bcm7xxx: Add missing 16nm EPHY statistics
| * e1512ff1ec netfilter: nf_tables: revert do not remove elements if set backend implements .abort
| * c2eaa8319f netfilter: nf_tables: do not remove elements if set backend implements .abort
| * 0e8cdddf01 netlink: Correct offload_xstats size
| * 0697918ec0 netfilter: nft_set_rbtree: .deactivate fails if element has expired
| * d9d289b78c selftests: netfilter: Run nft_audit.sh in its own netns
| * 0bb1573512 selftests: openvswitch: Catch cases where the tests are killed
| * e0914e5a05 neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section
| * d80bc19142 net/sched: sch_hfsc: upgrade 'rt' to 'sc' when it becomes a inner curve
| * ec7393fe63 bonding: Return pointer to data after pull on skb
| * 3065fabd17 net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register()
| * 9c3d276fa8 i40e: prevent crash on probe if hw registers have invalid values
| * f0ab9b0922 octeon_ep: update BQL sent bytes before ringing doorbell
| * 1a68d44011 net: usb: smsc95xx: Fix an error code in smsc95xx_reset()
| * 2c6451d665 ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddr
| * 9570bee678 tun: prevent negative ifindex
| * 8b9c79c0ec tcp: Fix listen() warning with v4-mapped-v6 address.
| * f534a513e8 tcp: tsq: relax tcp_small_queue_check() when rtx queue contains a single skb
| * 4e1f3457e9 tcp: fix excessive TLP and RACK timeouts from HZ rounding
| * df5ee37bf2 net: rfkill: gpio: prevent value glitch during probe
| * 2a6fc637c6 net: ipv6: fix return value check in esp_remove_trailer
| * 55d794cef3 net: ipv4: fix return value check in esp_remove_trailer
| * 49b9165ead wifi: cfg80211: use system_unbound_wq for wiphy work
| * 405dbaf049 xfrm: interface: use DEV_STATS_INC()
| * b372db2b8d xfrm: fix a data-race in xfrm_gen_index()
| * 3065fa2cdd xfrm: fix a data-race in xfrm_lookup_with_ifid()
| * 2c7ec9e9ea qed: fix LL2 RX buffer allocation
| * cc87f4db14 ASoC: codecs: wcd938x: fix resource leaks on bind errors
| * 8092aed623 ASoC: codecs: wcd938x: fix unbind tear down order
| * b2974b20e4 ASoC: codecs: wcd938x: drop bogus bind error handling
| * 569afdedde ASoC: codecs: wcd938x-sdw: fix runtime PM imbalance on probe errors
| * 0d912daab4 ASoC: codecs: wcd938x-sdw: fix use after free on driver unbind
| * d496b6638c ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq5xxx
| * 086babbbf8 ALSA: hda/realtek: Add quirk for ASUS ROG GU603ZV
| * bcf883e244 ALSA: hda/realtek - Fixed ASUS platform headset Mic issue
| * a9519099e3 drm/mediatek: Correctly free sg_table in gem prime vmap
| * add2eeda1d drm/i915: Retry gtt fault when out of fence registers
| * f691ec5a54 nvmet-tcp: Fix a possible UAF in queue intialization setup
| * 02322c5177 netfilter: nft_payload: fix wrong mac header matching
| * 36a315c923 fs/ntfs3: fix deadlock in mark_as_free_ex
| * c1f2638e31 fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea()
| * fb80a28fef fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e()
| * d4ae85b883 mptcp: more conservative check for zero probes
| * 80990979a9 tcp: check mptcp-level constraints for backlog coalescing
| * f7e65c03d5 audit,io_uring: io_uring openat triggers audit reference count underflow
| * a556a0df8d x86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested()
| * 54f030271d x86: KVM: SVM: add support for Invalid IPI Vector interception
| * 482565df35 KVM: x86: Constrain guest-supported xfeatures only at KVM_GET_XSAVE{2}
| * 20695711e2 x86/fpu: Allow caller to constrain xfeatures when copying to uabi buffer
| * 57d0639f60 x86/sev: Check for user-space IOIO pointing to kernel space
| * def94eb9a8 x86/sev: Check IOBM for IOIO exceptions from user-space
| * 95ff590b80 x86/sev: Disable MMIO emulation from user mode
| * 19ffa9b251 KVM: x86: Mask LVTPC when handling a PMI
| * d11cfd1f30 regmap: fix NULL deref on lookup
| * d7dbdbe380 nfc: nci: fix possible NULL pointer dereference in send_acknowledge()
| * fb8e1608b0 btrfs: fix stripe length calculation for non-zoned data chunk allocation
| * 753ef5ef4c net/smc: return the right falback reason when prefix checks fail
| * d994502fdc ice: reset first in crash dump kernels
| * 0f8d381ada ice: fix over-shifted variable
| * bbc5c96f82 Bluetooth: avoid memcmp() out of bounds warning
| * feffabdd0a Bluetooth: hci_event: Fix coding style
| * 99ccf8d79b Bluetooth: vhci: Fix race when opening vhci device
| * 25e5d28830 Bluetooth: Fix a refcnt underflow problem for hci_conn
| * faa6366605 Bluetooth: Reject connection with the device which has same BD_ADDR
| * 8d76a44d26 Bluetooth: hci_event: Ignore NULL link key
| * 84523aeeea igc: Fix race condition in PTP tx code
| * ff996d61dd igc: Add condition for qbv_config_change_errors counter
| * cd7b19dc5f igc: Add qbv_config_change_errors counter
| * 88421f4741 igc: Remove reset adapter task for i226 during disable tsn config
| * 3c3418a586 igc: enable Qbv configuration for 2nd GCL
| * 8420fe4dd2 igc: remove I226 Qbv BaseTime restriction
| * db4677b350 lib/Kconfig.debug: do not enable DEBUG_PREEMPT by default
* | 316250b759 Revert "net: macsec: indicate next pn update when offloading"
* | 394fcccbe1 Revert "net: phy: mscc: macsec: reject PN update requests"
* | a36206a6bb Revert "net/mlx5e: macsec: use update_pn flag instead of PN comparation"
* | b0e44b2726 Revert "tcp: enforce receive buffer memory limits by allowing the tcp window to shrink"
* | 3858124ea0 Merge 6.1.59 into android14-6.1-lts
|\|
| * 7d24402875 Linux 6.1.59
| * eb26fa974c ALSA: hda/realtek - Fixed two speaker platform
| * 54357fcafa powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
| * 0afcc9d4a1 powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
| * 9a995e11b2 dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
| * 01b19fc662 dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq
| * 5b784489c8 x86/alternatives: Disable KASAN in apply_alternatives()
| * 033c0d5101 usb: cdnsp: Fixes issue with dequeuing not queued requests
| * 49fbc18378 usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
| * e5588fb391 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
| * 71d323072a usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails
| * 4d85f1ce6c usb: typec: altmodes/displayport: Signal hpd low when exiting mode
| * bc67250859 counter: microchip-tcb-capture: Fix the use of internal GCLK logic
| * 0e3953b577 counter: chrdev: fix getting array extensions
| * 9f6b391b04 scsi: ufs: core: Correct clear TM error log
| * 97306abdea pinctrl: avoid unsafe code pattern in find_pinctrl()
| * d67b5a2b97 dma-buf: add dma_fence_timestamp helper
| * cb8f1dd1b7 cgroup: Remove duplicates in cgroup v1 tasks file
| * 57e7696b78 usb: typec: ucsi: Use GET_CAPABILITY attributes data to set power supply scope
| * 062f16c4dd nfp: flower: avoid rmmod nfp crash issues
| * 1db0724a01 mctp: perform route lookups under a RCU read-side lock
| * 60c3e7a00d tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
| * 862aa98181 Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case
| * fbfb99ac5d Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
| * 9c6a11a05b Input: xpad - add PXN V900 support
| * 211f71c1c0 Input: psmouse - fix fast_reconnect function for PS/2 mode
| * 2efe67c581 Input: powermate - fix use-after-free in powermate_config_complete
| * 4d6c1845cb ceph: fix type promotion bug on 32bit systems
| * 9f43481c0d ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
| * 086d885c20 libceph: use kernel_connect()
| * 8ac2689502 powerpc/47x: Fix 47x syscall return crash
| * 434e3522b9 thunderbolt: Restart XDomain discovery handshake after failure
| * 5d206a77d4 thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
| * 0cf7ee2cc6 thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge
| * 23122e0c0e mcb: remove is_added flag from mcb_device struct
| * 125f495fa6 x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
| * 3863989497 perf/x86/lbr: Filter vsyscall addresses
| * 55b51187d2 ksmbd: not allow to open file if delelete on close bit is set
| * ac2d5e70fb ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx
| * 7aac2f2c00 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
| * f041091756 drm/amd/display: Don't set dpms_off for seamless boot
| * a61d905a86 drm/amdgpu: add missing NULL check
| * 0fb82afee5 drm/atomic-helper: relax unregistered connector check
| * 5bab104963 arm64: dts: mediatek: mt8195-demo: update and reorder reserved memory regions
| * f17e00fb0c arm64: dts: mediatek: mt8195-demo: fix the memory size to 8GB
| * ff42d244b3 iio: addac: Kconfig: update ad74413r selections
| * 7d4ff34b6c iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
| * b166ce5275 iio: pressure: dps310: Adjust Timeout Settings
| * e93a7677f0 iio: admv1013: add mixer_vgate corner cases
| * 8ab33ae244 iio: dac: ad3552r: Correct device IDs
| * a6bd5e1653 iio: adc: imx8qxp: Fix address for command buffer registers
| * 92426b1f5f iio: imu: bno055: Fix missing Kconfig dependencies
| * 187939163b iio: pressure: bmp280: Fix NULL pointer exception
| * 88a204cc0c usb: musb: Modify the "HWVers" register address
| * fecb419c62 usb: musb: Get the musb_qh poniter after musb_giveback
| * fb9895ab95 usb: hub: Guard against accesses to uninitialized BOS descriptors
| * 1edbf4b285 usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
| * 3571910368 usb: dwc3: Soft reset phy on probe for host
| * ea9ae69b0e net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
| * c5bfe67d9f usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
| * f049b10aff dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag is set
| * 721dbbabf1 dmaengine: stm32-mdma: use Link Address Register to compute residue
| * fe15819408 dmaengine: stm32-dma: fix residue in case of MDMA chaining
| * 1e3b981a25 dmaengine: stm32-dma: fix stm32_dma_prep_slave_sg in case of MDMA chaining
| * 8e7dfe9c2a dmaengine: stm32-mdma: abort resume if no ongoing transfer
| * 0796c53424 tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
| * 55027c1d99 workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
| * 853dda54ba nfc: nci: assert requested protocol is valid
| * 684accd26d pinctrl: renesas: rzn1: Enable missing PINMUX
| * f05befe5c4 net/smc: Fix pos miscalculation in statistics
| * e4f2611f07 net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
| * ab8075d3a4 net/mlx5e: Again mutually exclude RX-FCS and RX-port-timestamp
| * 04753d5ae2 ixgbe: fix crash with empty VF macvlan list
| * 89be6ad344 net/mlx5e: macsec: use update_pn flag instead of PN comparation
| * a698195f3a net: phy: mscc: macsec: reject PN update requests
| * 0d86ad068c net: macsec: indicate next pn update when offloading
| * 50bce6a051 net: refine debug info in skb_checksum_help()
| * 30ca523f28 bpf: Fix verifier log for async callback return values
| * e1f1e3cc5b drm/vmwgfx: fix typo of sizeof argument
| * 5bfc5a28b5 riscv, bpf: Sign-extend return values
| * 72ae139546 riscv, bpf: Factor out emit_call for kernel and bpf context
| * 30a8354602 xen-netback: use default TX queue size for vifs
| * 469bef8129 mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
| * 217efe32a4 ieee802154: ca8210: Fix a potential UAF in ca8210_probe
| * 6f6fa8061f ravb: Fix use-after-free issue in ravb_tx_timeout_work()
| * 3f9295ad7f ravb: Fix up dma_free_coherent() call in ravb_remove()
| * cfe535ee69 arm64: dts: mediatek: mt8195: Set DSU PMU status to fail
| * 53c6dc71bf can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set
| * 789d125c0e can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
| * 881050b25b net: dsa: qca8k: fix potential MDIO bus conflict when accessing internal PHYs via management frames
| * 6f901f8448 phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers
| * e173d9a2e5 phy: lynx-28g: lock PHY while performing CDR lock workaround
| * e52c81a9e3 phy: lynx-28g: cancel the CDR check work item on the remove path
| * 5f9d0edff2 drm/msm/dp: Add newlines to debug printks
| * 61b595ede9 drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
| * 3979a9e572 drm/msm/dsi: fix irq_of_parse_and_map() error checking
| * 3de09684de drm/msm/dsi: skip the wait for video mode done if not applicable
| * 82cb81ea96 drm/msm/dp: do not reinitialize phy unless retry during link training
| * 6c18c386fd pinctrl: nuvoton: wpcm450: fix out of bounds write
| * 37157830a9 ALSA: hda/realtek - ALC287 merge RTK codec with CS CS35L41 AMP
| * 171b791cc2 ALSA: hda/realtek - ALC287 I2S speaker platform support
| * a8b85e47e3 ALSA: hda/realtek: Add quirk for mute LEDs on HP ENVY x360 15-eu0xxx
| * e225f67d49 ALSA: hda/realtek: Add quirk for HP Victus 16-d1xxx to enable mute LED
| * 8f7bb2b77b ASoC: fsl_sai: Don't disable bitclock for i.MX8MP
| * aacc508dd3 ASoC: fsl_sai: MCLK bind with TX/RX enable bit
| * 8276d65cf7 ASoC: Use of_property_read_bool() for boolean properties
| * 8611606c76 ASoC: Intel: soc-acpi: Add entry for sof_es8336 in MTL match table.
| * 4a250b3492 ASoC: Intel: sof_sdw: add support for SKU 0B14
| * 307bbbbb94 ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in MTL match table
| * 988fba279d ASoC: simple-card-utils: fixup simple_util_startup() error handling
| * e3353ad7db ASoC: SOF: amd: fix for firmware reload failure after playback
| * 2aa53213b6 ALSA: hda/realtek: Change model for Intel RVP board
| * 4cb0984557 ALSA: usb-audio: Fix microphone sound on Nexigo webcam.
| * 0f44423e35 ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset
| * 3746b878ef KEYS: trusted: Remove redundant static calls usage
| * b86ac71abb irqchip: renesas-rzg2l: Fix logic to clear TINT interrupt source
| * d684418750 dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Update description for '#interrupt-cells' property
| * f4eaaa30d0 arm64: dts: qcom: sm8150: extend the size of the PDC resource
| * 020958c946 net: prevent address rewrite in kernel_bind()
| * 8fcdf7da9d ata: libata-scsi: Disable scsi device manage_system_start_stop
| * abc918831a ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM
| * 12a820a992 quota: Fix slow quotaoff
| * fd72ac9556 HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
| * 87aa3ca497 scsi: Do not rescan devices with a suspended queue
| * 342f321af8 platform/x86: hp-wmi:: Mark driver struct with __refdata to prevent section mismatch warning
| * af21c9119a platform/x86: think-lmi: Fix reference leak
| * 1c8f6c7b83 perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
| * 3aade96e0c RDMA/cxgb4: Check skb value for failure to allocate
| * f175665385 drm/i915: Don't set PIPE_CONTROL_FLUSH_L3 for aux inval
| * f2060a3a59 mptcp: fix delegated action races
| * b67d7b1bfc net: mana: Fix TX CQE error handling
* | d58a224aca Merge 6.1.58 into android14-6.1-lts
|/
* adc4d740ad Linux 6.1.58
* 38fd36728f lib/test_meminit: fix off-by-one error in test_pages()
* ff74bdc838 Revert "NFS: Fix error handling for O_DIRECT write scheduling"
* b0cee281c4 Revert "NFS: Fix O_DIRECT locking issues"
* ebf5841ac1 Revert "NFS: More O_DIRECT accounting fixes for error paths"
* 506cf335d9 Revert "NFS: Use the correct commit info in nfs_join_page_group()"
* e8db8b5581 Revert "NFS: More fixes for nfs_direct_write_reschedule_io()"

Change-Id: Id55c4007c922e5c8a6c5220f2f615a0d9b422cde
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-01-09 16:57:00 +00:00
xieliujie
bc97d5019a ANDROID: vendor_hooks: Add hooks for rt_mutex steal
Add hooks at rt_mutex_steal function so that oems can decide
whether tasks with the same priority steal the rt_mutex or
not. We did experiments and found that rt_mutex throughput
can benefit a lot when threads with the same priority can
steal the rt_mutex lock.

Bug: 317670024
Change-Id: Id60a7a41c6c77a67808982d3667946cabe4acc8f
Signed-off-by: xeiliujie <xieliujie@oppo.com>
2023-12-25 15:22:46 +08:00
Greg Kroah-Hartman
ee16988743 Merge 6.1.65 into android14-6.1-lts
Changes in 6.1.65
	afs: Fix afs_server_list to be cleaned up with RCU
	afs: Make error on cell lookup failure consistent with OpenAFS
	drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence
	drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
	drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
	drm/panel: simple: Fix Innolux G101ICE-L01 timings
	wireguard: use DEV_STATS_INC()
	octeontx2-pf: Fix memory leak during interface down
	ata: pata_isapnp: Add missing error check for devm_ioport_map()
	drm/i915: do not clean GT table on error path
	drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
	HID: fix HID device resource race between HID core and debugging support
	ipv4: Correct/silence an endian warning in __ip_do_redirect
	net: usb: ax88179_178a: fix failed operations during ax88179_reset
	net/smc: avoid data corruption caused by decline
	arm/xen: fix xen_vcpu_info allocation alignment
	octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF
	amd-xgbe: handle corner-case during sfp hotplug
	amd-xgbe: handle the corner-case during tx completion
	amd-xgbe: propagate the correct speed and duplex status
	net: axienet: Fix check for partial TX checksum
	afs: Return ENOENT if no cell DNS record can be found
	afs: Fix file locking on R/O volumes to operate in local mode
	mm,kfence: decouple kfence from page granularity mapping judgement
	arm64: mm: Fix "rodata=on" when CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
	i40e: use ERR_PTR error print in i40e messages
	i40e: Fix adding unsupported cloud filters
	nvmet: nul-terminate the NQNs passed in the connect command
	USB: dwc3: qcom: fix resource leaks on probe deferral
	USB: dwc3: qcom: fix ACPI platform device leak
	lockdep: Fix block chain corruption
	cifs: minor cleanup of some headers
	smb3: allow dumping session and tcon id to improve stats analysis and debugging
	cifs: print last update time for interface list
	cifs: distribute channels across interfaces based on speed
	cifs: account for primary channel in the interface list
	cifs: fix leak of iface for primary channel
	MIPS: KVM: Fix a build warning about variable set but not used
	media: camss: Split power domain management
	media: camss: Convert to platform remove callback returning void
	media: qcom: Initialise V4L2 async notifier later
	media: qcom: camss: Fix V4L2 async notifier error path
	media: qcom: camss: Fix genpd cleanup
	ext4: add a new helper to check if es must be kept
	ext4: factor out __es_alloc_extent() and __es_free_extent()
	ext4: use pre-allocated es in __es_insert_extent()
	ext4: use pre-allocated es in __es_remove_extent()
	ext4: using nofail preallocation in ext4_es_remove_extent()
	ext4: using nofail preallocation in ext4_es_insert_delayed_block()
	ext4: using nofail preallocation in ext4_es_insert_extent()
	ext4: fix slab-use-after-free in ext4_es_insert_extent()
	ext4: make sure allocate pending entry not fail
	NFSD: Fix "start of NFS reply" pointer passed to nfsd_cache_update()
	NFSD: Fix checksum mismatches in the duplicate reply cache
	arm64: dts: imx8mn-var-som: add 20ms delay to ethernet regulator enable
	ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
	swiotlb-xen: provide the "max_mapping_size" method
	bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
	md: fix bi_status reporting in md_end_clone_io
	bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
	io_uring/fs: consider link->flags when getting path for LINKAT
	s390/dasd: protect device queue against concurrent access
	USB: serial: option: add Luat Air72*U series products
	hv_netvsc: fix race of netvsc and VF register_netdevice
	hv_netvsc: Fix race of register_netdevice_notifier and VF register
	hv_netvsc: Mark VF as slave before exposing it to user-mode
	dm-delay: fix a race between delay_presuspend and delay_bio
	bcache: check return value from btree_node_alloc_replacement()
	bcache: prevent potential division by zero error
	bcache: fixup init dirty data errors
	bcache: fixup lock c->root error
	usb: cdnsp: Fix deadlock issue during using NCM gadget
	USB: serial: option: add Fibocom L7xx modules
	USB: serial: option: fix FM101R-GL defines
	USB: serial: option: don't claim interface 4 for ZTE MF290
	usb: typec: tcpm: Skip hard reset when in error recovery
	USB: dwc2: write HCINT with INTMASK applied
	usb: dwc3: Fix default mode initialization
	usb: dwc3: set the dma max_seg_size
	USB: dwc3: qcom: fix software node leak on probe errors
	USB: dwc3: qcom: fix wakeup after probe deferral
	io_uring: fix off-by one bvec index
	Linux 6.1.65

Change-Id: Iea9267bee56905028a77d03c7fad8def8969246e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-12-20 13:31:28 +00:00
Greg Kroah-Hartman
f1bc13cb9d This is the 6.1.64 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmVmHpsACgkQONu9yGCS
 aT5uvw//SzcE0GImnHnfeN7iXtpFE9O0fhTxsjZCi8/HTXmGWPtQgWscd9y81bAd
 EHBVr456GXqd6KuIF+03g/r/FYinwWqK375meLfaybw1vSBP+fZttrEGqz6nTnYD
 yqOxw2bqgz8Xjp63UeNHD6mifpBvVtuAvzrfO1E2Ie/U1OU2uKdjRRv0iijKNeWN
 liOYTXaddIkVfZR0z6dVTl0hb5dPWsxNmF77kfVpKz4ALIHJcO13DlUuKtQz6Sb6
 0ElmJpuonHuUxHzb8e9LLsFy3IvbBqomSscwcd0tngtdUTzhMYFIZLjg2+WQ9Ovq
 raMGqvS/bKsoyoTBNKL83QB2NyXQb3vkfL0NgLsq9IwDl+r96mP9ctANYGwSjhND
 o/4sa/fbMFzeInA8Rzh7i56RCNstOBKApJPhBzWuY0f/6b1BZpvZaONyX3fFksWO
 dMeYT16GgO4lhQXnG3O6mtDT8eoZ1fLf7ZdGEZ2NktcOzXYelNc4aXJke7qdlIop
 CVxM+Ur+juj+DJymo59a6baXjEgIROdHq83N3CZwetGviPHneGqgYc0K7ETtA33H
 sH/0KGYAT8SzzjMlnXB0lpjp68WViJfzzo9Wxdf2aDZbL3SdI14GPKMUeDqqeSyU
 8bB2Hb4ItccRFW9RriiE3BPGnLGu7PDTkn5TgXDG/bDX54Cb5DQ=
 =YPzI
 -----END PGP SIGNATURE-----

Merge 6.1.64 into android14-6.1-lts

Changes in 6.1.64
	locking/ww_mutex/test: Fix potential workqueue corruption
	lib/generic-radix-tree.c: Don't overflow in peek()
	perf/core: Bail out early if the request AUX area is out of bound
	srcu: Fix srcu_struct node grpmask overflow on 64-bit systems
	selftests/lkdtm: Disable CONFIG_UBSAN_TRAP in test config
	clocksource/drivers/timer-imx-gpt: Fix potential memory leak
	clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
	smp,csd: Throw an error if a CSD lock is stuck for too long
	cpu/hotplug: Don't offline the last non-isolated CPU
	workqueue: Provide one lock class key per work_on_cpu() callsite
	x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
	wifi: plfxlc: fix clang-specific fortify warning
	wifi: mac80211_hwsim: fix clang-specific fortify warning
	wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
	atl1c: Work around the DMA RX overflow issue
	bpf: Detect IP == ksym.end as part of BPF program
	wifi: ath9k: fix clang-specific fortify warnings
	wifi: ath10k: fix clang-specific fortify warning
	net: annotate data-races around sk->sk_tx_queue_mapping
	net: annotate data-races around sk->sk_dst_pending_confirm
	wifi: ath10k: Don't touch the CE interrupt registers after power up
	vsock: read from socket's error queue
	bpf: Ensure proper register state printing for cond jumps
	Bluetooth: btusb: Add date->evt_skb is NULL check
	Bluetooth: Fix double free in hci_conn_cleanup
	ACPI: EC: Add quirk for HP 250 G7 Notebook PC
	tsnep: Fix tsnep_request_irq() format-overflow warning
	platform/chrome: kunit: initialize lock for fake ec_dev
	platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
	drm/gma500: Fix call trace when psb_gem_mm_init() fails
	drm/komeda: drop all currently held locks if deadlock happens
	drm/amdgpu: not to save bo in the case of RAS err_event_athub
	drm/amdkfd: Fix a race condition of vram buffer unref in svm code
	drm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments
	drm/amd/display: use full update for clip size increase of large plane source
	string.h: add array-wrappers for (v)memdup_user()
	kernel: kexec: copy user-array safely
	kernel: watch_queue: copy user-array safely
	drm_lease.c: copy user-array safely
	drm: vmwgfx_surface.c: copy user-array safely
	drm/msm/dp: skip validity check for DP CTS EDID checksum
	drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
	drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
	drm/amdgpu: Fix potential null pointer derefernce
	drm/panel: fix a possible null pointer dereference
	drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
	drm/radeon: fix a possible null pointer dereference
	drm/amdgpu/vkms: fix a possible null pointer dereference
	drm/panel: st7703: Pick different reset sequence
	drm/amdkfd: Fix shift out-of-bounds issue
	drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
	arm64: dts: ls208xa: use a pseudo-bus to constrain usb dma size
	selftests/efivarfs: create-read: fix a resource leak
	ASoC: soc-card: Add storage for PCI SSID
	ASoC: SOF: Pass PCI SSID to machine driver
	crypto: pcrypt - Fix hungtask for PADATA_RESET
	ASoC: SOF: ipc4: handle EXCEPTION_CAUGHT notification from firmware
	RDMA/hfi1: Use FIELD_GET() to extract Link Width
	scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs
	scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool
	fs/jfs: Add check for negative db_l2nbperpage
	fs/jfs: Add validity check for db_maxag and db_agpref
	jfs: fix array-index-out-of-bounds in dbFindLeaf
	jfs: fix array-index-out-of-bounds in diAlloc
	HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround
	ARM: 9320/1: fix stack depot IRQ stack filter
	ALSA: hda: Fix possible null-ptr-deref when assigning a stream
	PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
	PCI: mvebu: Use FIELD_PREP() with Link Width
	atm: iphase: Do PCI error checks on own line
	PCI: Do error check on own line to split long "if" conditions
	scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
	PCI: Use FIELD_GET() to extract Link Width
	PCI: Extract ATS disabling to a helper function
	PCI: Disable ATS for specific Intel IPU E2000 devices
	misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller
	PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
	ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk
	crypto: hisilicon/qm - prevent soft lockup in receive loop
	HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
	exfat: support handle zero-size directory
	mfd: intel-lpss: Add Intel Lunar Lake-M PCI IDs
	iio: adc: stm32-adc: harden against NULL pointer deref in stm32_adc_probe()
	thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager
	tty: vcc: Add check for kstrdup() in vcc_probe()
	usb: dwc3: core: configure TX/RX threshold for DWC3_IP
	soundwire: dmi-quirks: update HP Omen match
	f2fs: fix error handling of __get_node_page
	usb: gadget: f_ncm: Always set current gadget in ncm_bind()
	9p/trans_fd: Annotate data-racy writes to file::f_flags
	9p: v9fs_listxattr: fix %s null argument warning
	i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
	i2c: fix memleak in i2c_new_client_device()
	i2c: sun6i-p2wi: Prevent potential division by zero
	virtio-blk: fix implicit overflow on virtio_max_dma_size
	i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
	media: gspca: cpia1: shift-out-of-bounds in set_flicker
	media: vivid: avoid integer overflow
	gfs2: ignore negated quota changes
	gfs2: fix an oops in gfs2_permission
	media: cobalt: Use FIELD_GET() to extract Link Width
	media: ccs: Fix driver quirk struct documentation
	media: imon: fix access to invalid resource for the second interface
	drm/amd/display: Avoid NULL dereference of timing generator
	kgdb: Flush console before entering kgdb on panic
	i2c: dev: copy userspace array safely
	ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
	drm/qxl: prevent memory leak
	ALSA: hda/realtek: Add quirk for ASUS UX7602ZM
	drm/amdgpu: fix software pci_unplug on some chips
	pwm: Fix double shift bug
	mtd: rawnand: tegra: add missing check for platform_get_irq()
	wifi: iwlwifi: Use FW rate for non-data frames
	sched/core: Optimize in_task() and in_interrupt() a bit
	SUNRPC: ECONNRESET might require a rebind
	mtd: rawnand: intel: check return value of devm_kasprintf()
	mtd: rawnand: meson: check return value of devm_kasprintf()
	NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking
	SUNRPC: Add an IS_ERR() check back to where it was
	NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
	SUNRPC: Fix RPC client cleaned up the freed pipefs dentries
	gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
	vhost-vdpa: fix use after free in vhost_vdpa_probe()
	net: set SOCK_RCU_FREE before inserting socket into hashtable
	ipvlan: add ipvlan_route_v6_outbound() helper
	tty: Fix uninit-value access in ppp_sync_receive()
	net: hns3: fix add VLAN fail issue
	net: hns3: add barrier in vf mailbox reply process
	net: hns3: fix incorrect capability bit display for copper port
	net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs
	net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
	net: hns3: fix VF reset fail issue
	net: hns3: fix VF wrong speed and duplex issue
	tipc: Fix kernel-infoleak due to uninitialized TLV value
	net: mvneta: fix calls to page_pool_get_stats
	ppp: limit MRU to 64K
	xen/events: fix delayed eoi list handling
	ptp: annotate data-race around q->head and q->tail
	bonding: stop the device in bond_setup_by_slave()
	net: ethernet: cortina: Fix max RX frame define
	net: ethernet: cortina: Handle large frames
	net: ethernet: cortina: Fix MTU max setting
	af_unix: fix use-after-free in unix_stream_read_actor()
	netfilter: nf_conntrack_bridge: initialize err to 0
	netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
	net: stmmac: fix rx budget limit check
	net: stmmac: avoid rx queue overrun
	net/mlx5e: fix double free of encap_header
	net/mlx5e: fix double free of encap_header in update funcs
	net/mlx5e: Fix pedit endianness
	net/mlx5e: Reduce the size of icosq_str
	net/mlx5e: Check return value of snprintf writing to fw_version buffer
	net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
	macvlan: Don't propagate promisc change to lower dev in passthru
	tools/power/turbostat: Fix a knl bug
	tools/power/turbostat: Enable the C-state Pre-wake printing
	cifs: spnego: add ';' in HOST_KEY_LEN
	cifs: fix check of rc in function generate_smb3signingkey
	i915/perf: Fix NULL deref bugs with drm_dbg() calls
	media: venus: hfi: add checks to perform sanity on queue pointers
	perf intel-pt: Fix async branch flags
	powerpc/perf: Fix disabling BHRB and instruction sampling
	randstruct: Fix gcc-plugin performance mode to stay in group
	bpf: Fix check_stack_write_fixed_off() to correctly spill imm
	bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
	scsi: mpt3sas: Fix loop logic
	scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
	scsi: qla2xxx: Fix system crash due to bad pointer access
	crypto: x86/sha - load modules based on CPU features
	x86/cpu/hygon: Fix the CPU topology evaluation for real
	KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
	KVM: x86: Ignore MSR_AMD64_TW_CFG access
	KVM: x86: Clear bit12 of ICR after APIC-write VM-exit
	audit: don't take task_lock() in audit_exe_compare() code path
	audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
	proc: sysctl: prevent aliased sysctls from getting passed to init
	tty/sysrq: replace smp_processor_id() with get_cpu()
	tty: serial: meson: fix hard LOCKUP on crtscts mode
	hvc/xen: fix console unplug
	hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
	hvc/xen: fix event channel handling for secondary consoles
	PCI/sysfs: Protect driver's D3cold preference from user space
	mm/damon/sysfs: remove requested targets when online-commit inputs
	mm/damon/sysfs: update monitoring target regions for online input commit
	watchdog: move softlockup_panic back to early_param
	mm/damon/lru_sort: avoid divide-by-zero in hot threshold calculation
	mm/damon/ops-common: avoid divide-by-zero during region hotness calculation
	mm/damon: implement a function for max nr_accesses safe calculation
	mm/damon/sysfs: check error from damon_sysfs_update_target()
	ACPI: resource: Do IRQ override on TongFang GMxXGxx
	regmap: Ensure range selector registers are updated after cache sync
	wifi: ath11k: fix temperature event locking
	wifi: ath11k: fix dfs radar event locking
	wifi: ath11k: fix htt pktlog locking
	wifi: ath11k: fix gtk offload status event locking
	mmc: meson-gx: Remove setting of CMD_CFG_ERROR
	genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
	KEYS: trusted: tee: Refactor register SHM usage
	KEYS: trusted: Rollback init_trusted() consistently
	PCI: keystone: Don't discard .remove() callback
	PCI: keystone: Don't discard .probe() callback
	arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
	parisc/pdc: Add width field to struct pdc_model
	parisc/power: Add power soft-off when running on qemu
	clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_data
	clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
	clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
	ksmbd: handle malformed smb1 message
	ksmbd: fix slab out of bounds write in smb_inherit_dacl()
	mmc: vub300: fix an error code
	mmc: sdhci_am654: fix start loop index for TAP value parsing
	mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A
	PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
	PCI: kirin: Don't discard .remove() callback
	PCI: exynos: Don't discard .remove() callback
	wifi: wilc1000: use vmm_table as array in wilc struct
	svcrdma: Drop connection after an RDMA Read error
	rcu/tree: Defer setting of jiffies during stall reset
	arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
	PM: hibernate: Use __get_safe_page() rather than touching the list
	PM: hibernate: Clean up sync_read handling in snapshot_write_next()
	rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects
	btrfs: don't arbitrarily slow down delalloc if we're committing
	arm64: dts: qcom: ipq8074: Fix hwlock index for SMEM
	firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit
	ACPI: FPDT: properly handle invalid FPDT subtables
	arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
	mfd: qcom-spmi-pmic: Fix reference leaks in revid helper
	mfd: qcom-spmi-pmic: Fix revid implementation
	ima: annotate iint mutex to avoid lockdep false positive warnings
	ima: detect changes to the backing overlay file
	netfilter: nf_tables: remove catchall element in GC sync path
	netfilter: nf_tables: split async and sync catchall in two functions
	selftests/resctrl: Remove duplicate feature check from CMT test
	selftests/resctrl: Move _GNU_SOURCE define into Makefile
	selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests
	hid: lenovo: Resend all settings on reset_resume for compact keyboards
	ASoC: codecs: wsa-macro: fix uninitialized stack variables with name prefix
	jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
	quota: explicitly forbid quota files from being encrypted
	kernel/reboot: emergency_restart: Set correct system_state
	i2c: core: Run atomic i2c xfer when !preemptible
	tracing: Have the user copy of synthetic event address use correct context
	driver core: Release all resources during unbind before updating device links
	mcb: fix error handling for different scenarios when parsing
	dmaengine: stm32-mdma: correct desc prep when channel running
	s390/cmma: fix detection of DAT pages
	mm/cma: use nth_page() in place of direct struct page manipulation
	mm/memory_hotplug: use pfn math in place of direct struct page manipulation
	mtd: cfi_cmdset_0001: Byte swap OTP info
	i3c: master: cdns: Fix reading status register
	i3c: master: svc: fix race condition in ibi work thread
	i3c: master: svc: fix wrong data return when IBI happen during start frame
	i3c: master: svc: fix ibi may not return mandatory data byte
	i3c: master: svc: fix check wrong status register in irq handler
	i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
	parisc: Prevent booting 64-bit kernels on PA1.x machines
	parisc/pgtable: Do not drop upper 5 address bits of physical address
	parisc/power: Fix power soft-off when running on qemu
	xhci: Enable RPM on controllers that support low-power states
	fs: add ctime accessors infrastructure
	smb3: fix creating FIFOs when mounting with "sfu" mount option
	smb3: fix touch -h of symlink
	smb3: fix caching of ctime on setxattr
	smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
	smb: client: fix potential deadlock when releasing mids
	cifs: reconnect helper should set reconnect for the right channel
	cifs: force interface update before a fresh session setup
	cifs: do not reset chan_max if multichannel is not supported at mount
	xfs: recovery should not clear di_flushiter unconditionally
	btrfs: zoned: wait for data BG to be finished on direct IO allocation
	ALSA: info: Fix potential deadlock at disconnection
	ALSA: hda/realtek: Enable Mute LED on HP 255 G8
	ALSA: hda/realtek - Add Dell ALC295 to pin fall back table
	ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
	ALSA: hda/realtek: Enable Mute LED on HP 255 G10
	ALSA: hda/realtek: Add quirks for HP Laptops
	pmdomain: bcm: bcm2835-power: check if the ASB register is equal to enable
	pmdomain: imx: Make imx pgc power domain also set the fwnode
	cpufreq: stats: Fix buffer overflow detection in trans_stats()
	clk: visconti: remove unused visconti_pll_provider::regmap
	clk: visconti: Fix undefined behavior bug in struct visconti_pll_provider
	Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559
	bluetooth: Add device 0bda:887b to device tables
	bluetooth: Add device 13d3:3571 to device tables
	Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables
	Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE
	drm/amd/display: enable dsc_clk even if dsc_pg disabled
	cxl/region: Validate region mode vs decoder mode
	cxl/region: Cleanup target list on attach error
	cxl/region: Move region-position validation to a helper
	cxl/region: Do not try to cleanup after cxl_region_setup_targets() fails
	i3c: master: svc: add NACK check after start byte sent
	i3c: master: svc: fix random hot join failure since timeout error
	cxl: Unify debug messages when calling devm_cxl_add_port()
	cxl/mem: Move devm_cxl_add_endpoint() from cxl_core to cxl_mem
	tools/testing/cxl: Define a fixed volatile configuration to parse
	cxl/region: Fix x1 root-decoder granularity calculations
	Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
	Revert "i2c: pxa: move to generic GPIO recovery"
	lsm: fix default return value for vm_enough_memory
	lsm: fix default return value for inode_getsecctx
	sbsa_gwdt: Calculate timeout with 64-bit math
	i2c: designware: Disable TX_EMPTY irq while waiting for block length byte
	s390/ap: fix AP bus crash on early config change callback invocation
	net: ethtool: Fix documentation of ethtool_sprintf()
	net: dsa: lan9303: consequently nested-lock physical MDIO
	net: phylink: initialize carrier state at creation
	i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
	f2fs: do not return EFSCORRUPTED, but try to run online repair
	f2fs: avoid format-overflow warning
	media: lirc: drop trailing space from scancode transmit
	media: sharp: fix sharp encoding
	media: venus: hfi_parser: Add check to keep the number of codecs within range
	media: venus: hfi: fix the check to handle session buffer requirement
	media: venus: hfi: add checks to handle capabilities from firmware
	media: ccs: Correctly initialise try compose rectangle
	drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection
	drm/mediatek/dp: fix memory leak on ->get_edid callback error path
	dm-verity: don't use blocking calls from tasklets
	nfsd: fix file memleak on client_opens_release
	LoongArch: Mark __percpu functions as always inline
	riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
	riscv: correct pt_level name via pgtable_l5/4_enabled
	riscv: kprobes: allow writing to x0
	mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
	mm: fix for negative counter: nr_file_hugepages
	mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
	mptcp: deal with large GSO size
	mptcp: add validity check for sending RM_ADDR
	mptcp: fix setsockopt(IP_TOS) subflow locking
	r8169: fix network lost after resume on DASH systems
	r8169: add handling DASH when DASH is disabled
	mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER
	media: qcom: camss: Fix pm_domain_on sequence in probe
	media: qcom: camss: Fix vfe_get() error jump
	media: qcom: camss: Fix VFE-17x vfe_disable_output()
	media: qcom: camss: Fix VFE-480 vfe_disable_output()
	media: qcom: camss: Fix missing vfe_lite clocks check
	media: qcom: camss: Fix invalid clock enable bit disjunction
	media: qcom: camss: Fix csid-gen2 for test pattern generator
	Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
	ext4: apply umask if ACL support is disabled
	ext4: correct offset of gdb backup in non meta_bg group to update_backups
	ext4: mark buffer new if it is unwritten to avoid stale data exposure
	ext4: correct return value of ext4_convert_meta_bg
	ext4: correct the start block of counting reserved clusters
	ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
	ext4: add missed brelse in update_backups
	ext4: properly sync file size update after O_SYNC direct IO
	drm/amd/pm: Handle non-terminated overdrive commands.
	drm/i915: Bump GLK CDCLK frequency when driving multiple pipes
	drm/i915: Fix potential spectre vulnerability
	drm/amd/pm: Fix error of MACO flag setting code
	drm/amdgpu/smu13: drop compute workload workaround
	drm/amdgpu: don't use pci_is_thunderbolt_attached()
	drm/amdgpu: don't use ATRM for external devices
	drm/amdgpu: fix error handling in amdgpu_bo_list_get()
	drm/amdgpu: lower CS errors to debug severity
	drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer()
	drm/amd/display: Enable fast plane updates on DCN3.2 and above
	drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
	powerpc/powernv: Fix fortify source warnings in opal-prd.c
	tracing: Have trace_event_file have ref counters
	Input: xpad - add VID for Turtle Beach controllers
	mmc: sdhci-pci-gli: GL9755: Mask the replay timer timeout of AER
	cxl/port: Fix NULL pointer access in devm_cxl_add_port()
	RISC-V: drop error print from riscv_hartid_to_cpuid()
	Linux 6.1.64

Change-Id: I9284282aeae5d0f9da957a58147efe0114f8e60a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-12-12 18:41:13 +00:00
Peter Zijlstra
c2d336140a lockdep: Fix block chain corruption
[ Upstream commit bca4104b00fec60be330cd32818dd5c70db3d469 ]

Kent reported an occasional KASAN splat in lockdep. Mark then noted:

> I suspect the dodgy access is to chain_block_buckets[-1], which hits the last 4
> bytes of the redzone and gets (incorrectly/misleadingly) attributed to
> nr_large_chain_blocks.

That would mean @size == 0, at which point size_to_bucket() returns -1
and the above happens.

alloc_chain_hlocks() has 'size - req', for the first with the
precondition 'size >= rq', which allows the 0.

This code is trying to split a block, del_chain_block() takes what we
need, and add_chain_block() puts back the remainder, except in the
above case the remainder is 0 sized and things go sideways.

Fixes: 810507fe6f ("locking/lockdep: Reuse freed chain_hlocks entries")
Reported-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Kent Overstreet <kent.overstreet@linux.dev>
Link: https://lkml.kernel.org/r/20231121114126.GH8262@noisy.programming.kicks-ass.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-03 07:32:09 +01:00
John Stultz
c56df79d68 locking/ww_mutex/test: Fix potential workqueue corruption
[ Upstream commit bccdd808902f8c677317cec47c306e42b93b849e ]

In some cases running with the test-ww_mutex code, I was seeing
odd behavior where sometimes it seemed flush_workqueue was
returning before all the work threads were finished.

Often this would cause strange crashes as the mutexes would be
freed while they were being used.

Looking at the code, there is a lifetime problem as the
controlling thread that spawns the work allocates the
"struct stress" structures that are passed to the workqueue
threads. Then when the workqueue threads are finished,
they free the stress struct that was passed to them.

Unfortunately the workqueue work_struct node is in the stress
struct. Which means the work_struct is freed before the work
thread returns and while flush_workqueue is waiting.

It seems like a better idea to have the controlling thread
both allocate and free the stress structures, so that we can
be sure we don't corrupt the workqueue by freeing the structure
prematurely.

So this patch reworks the test to do so, and with this change
I no longer see the early flush_workqueue returns.

Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230922043616.19282-3-jstultz@google.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-28 17:06:54 +00:00
Greg Kroah-Hartman
d07ffd5565 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
This catches the android14-6.1-lts branch up with a lot of changes that
have only gone into the android14-6.1 branch to make testing easier and
to track more symbols properly.

This includes the following commits:

* 171c27ba1f BACKPORT: usb: gadget: uvc: Add missing initialization of ssp config descriptor
* bb0173a1da BACKPORT: usb: gadget: unconditionally allocate hs/ss descriptor in bind operation
* 5c4815f5b6 UPSTREAM: usb: gadget: f_uvc: change endpoint allocation in uvc_function_bind()
* 5a05f2e755 UPSTREAM: usb: gadget: function: Remove unused declarations
* defd93f219 UPSTREAM: usb: gadget: uvc: clean up comments and styling in video_pump
* 82fe654f56 UPSTREAM: mm/page_alloc: use write_seqlock_irqsave() instead write_seqlock() + local_irq_save().
* ed6694a682 UPSTREAM: cpuidle: teo: Update idle duration estimate when choosing shallower state
* d8e99e1af8 BACKPORT: Revert "PCI: dwc: Wait for link up only if link is started"
* 841ad9b9b3 UPSTREAM: ravb: Fix use-after-free issue in ravb_tx_timeout_work()
* 17e456ce41 UPSTREAM: ravb: Fix up dma_free_coherent() call in ravb_remove()
* 5ba644e8a0 BACKPORT: usb: typec: altmodes/displayport: Signal hpd low when exiting mode
* 9e4f6e1ef8 ANDROID: KVM: arm64: Fix KVM_HOST_S2_DEFAULT_MMIO_PTE encoding
* 5418491fa5 ANDROID: Update the ABI symbol list
* b821a3c8fc ANDROID: fs/proc: Perform priority inheritance around access_remote_vm()
* 37c1a91404 UPSTREAM: serial: 8250_dw: fall back to poll if there's no interrupt
*   35361bdac2 Merge "Merge tag 'android14-6.1.43_r00' into android14-6.1" into android14-6.1
|\
| * 769612f594 Merge tag 'android14-6.1.43_r00' into android14-6.1
* | 034b4b4f1b ANDROID: Update the ABI representation
* | 0947464633 ANDROID: power: Add vendor hook for suspend
|/
* b783e85610 ANDROID: Update the ABI symbol list
* 2c609cab0b UPSTREAM: of: reserved-mem: print out reserved-mem details during boot
* ff2563f384 ANDROID: GKI: Update symbol list for xiaomi "abi_gki_aarch64_xiaomi"
* 7542b3bef7 ANDROID: Update symbols list and ABI for qcom
* 63d4231d85 ANDROID: fuse-bpf: Add NULL pointer check in fuse_entry_revalidate
* 09641ca77f ANDROID: GKI: Update oplus symbol list update oplus symbol list for Addding hooks for adjusting alloc_flags
* 0b20035778 ANDROID: vendor_hooks: Add hooks for adjusting alloc_flags
* 367ce30ddc UPSTREAM: libceph: harden msgr2.1 frame segment length checks
* debc1e0486 ANDROID: Update the ABI symbol list
* 401b78ce87 ANDROID: mm: Add vendor hook in filemap_get_folio()
* 1b3269beea UPSTREAM: netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
* a9c65c7efb UPSTREAM: netfilter: ipset: Add schedule point in call_ad().
* cd4ea97d2a UPSTREAM: net: xfrm: Fix xfrm_address_filter OOB read
* a4ccba8bdc UPSTREAM: igb: set max size RX buffer when store bad packet is enabled
* 8a67c06094 ANDROID: GKI: fix ABI breakage in struct hid_device
* 28ee91ed2b UPSTREAM: HID: input: map battery system charging
* 2dd1c535d1 FROMGIT: maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()
* faa4efd6b1 UPSTREAM: maple_tree: replace data before marking dead in split and spanning store
* 47e3b4920d UPSTREAM: maple_tree: change mas_adopt_children() parent usage
* e0f829b74b UPSTREAM: maple_tree: introduce mas_tree_parent() definition
* e69d6570ed UPSTREAM: maple_tree: introduce mas_put_in_tree()
* d2e45cee2d UPSTREAM: maple_tree: reorder replacement of nodes to avoid live lock
* 545cc51b9f ANDROID: GKI: add allowed list for Exynosauto SoC
* f51787dfb7 ANDROID: Update the ABI symbol list
* 1b71e8ef45 ANDROID: Update the ABI symbol list
* 908a530787 ANDROID: KVM: Update nVHE stack size to 8KB
* 53771c1826 ANDROID: Update the ABI symbol list
* a22ff19ff6 ANDROID: mm: Add vendor hook in rmqueue()
* 09ca291e0a FROMLIST: virt: geniezone: Add memory pin/unpin support
* 7cc3767c2a FROMLIST: virt: geniezone: Add block-based demand paging support
* 3fcc07ee5f FROMLIST: virt: geniezone: Add demand paging support
* 6a1a30896d ANDROID: virt: geniezone: Refactoring memory region support
* 9f64b18da1 ANDROID: virt: geniezone: Refactor code comments from mainline v6 accordingly
* 544b128747 ANDROID: virt: geniezone: Refactoring vgic to align with upstream v6
* f9291d7af0 ANDROID: virt: geniezone: Refactoring vcpu to align with upstream v6
* e348fe6d2d ANDROID: virt: geniezone: Refactoring vm capability to align with upstream v6
* fb3444af07 ANDROID: virt: geniezone: Refactoring irqfd to align with upstream v6
* 7e1cb3bdec ANDROID: sched: Add EXPORT_SYMBOL_GPL for sched_wakeup
* 73cee74111 ANDROID: vendor_hooks: Export direct reclaim trace points
* fca353bdc0 ANDROID: mm: freeing MIGRATE_ISOLATE page instantly
* 08351370ec ANDROID: KVM: arm64: Allow setting device attr in stage-2 PTEs
* b25aabd50a ANDROID: KVM: arm64: Fix hyp tracing build dependencies
* f82e080810 ANDROID: abi_gki_aarch64_qcom: update abi symbols
* 2fff9f7cd4 ANDROID: vendor hooks: Enable Vendor hook to register smmu driver to dedicated iommu bus defined by vendor.
* fadd504206 UPSTREAM: netfilter: xt_sctp: validate the flag_info count
* 1c90408931 UPSTREAM: mm/mglru: make memcg_lru->lock irq safe
* 87cd3d689e UPSTREAM: iommu/amd: Fix possible memory leak of 'domain'
* e5f37a2c46 UPSTREAM: selftests/tc-testing: Remove configs that no longer exist
* 7c793b4d8f ANDROID: abi_gki_aarch64_qcom: update abi symbols
* bf51ba7b3c ANDROID: ABI: Update symbol list for imx
* 1e6a9aeb14 ANDROID: GKI: add allowed list for Exynosauto SoC
* a338830fde UPSTREAM: ufs: core: wlun send SSU timeout recovery
* fd2e98c6f5 UPSTREAM: PM: domains: fix integer overflow issues in genpd_parse_state()
* e3e2ece8a0 ANDROID: mm: vh for compaction begin/end
* 2176509c4d UPSTREAM: netfilter: xt_u32: validate user space input
* 132b47119e UPSTREAM: netfilter: nfnetlink_osf: avoid OOB read
* 8c3b0a3493 UPSTREAM: ipv4: fix null-deref in ipv4_link_failure
* 4181951d21 UPSTREAM: net/sched: Retire rsvp classifier
* acb0728638 UPSTREAM: usb: core: stop USB enumeration if too many retries
* 8b1bd87917 ANDROID: KVM: arm64: Add missing hyp events for forwarded SMCs
* f4812c6864 ANDROID: KVM: arm64: Store hyp address in the host fp state array
* 6334225e9b ANDROID: KVM: arm64: Allocate host fp/simd state later in initialization
* 83ebd50235 UPSTREAM: netfilter: nf_tables: disallow rule removal from chain binding
* 7d088a3e4f UPSTREAM: fs/smb/client: Reset password pointer to NULL
* 2807a43b69 ANDROID: Update the ABI symbol list
* 368b752997 FROMGIT: usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails
* 4fcc13c1ff ANDROID: mm: add missing check in the backport for handling faults under VMA lock
* 1fe248991f ANDROID: Update the ABI symbol list
* 4301901382 ANDROID: Update STG for ANDROID_KABI_USE(1, unsigned int saved_state)
* 22cd8e0def FROMGIT: freezer,sched: Use saved_state to reduce some spurious wakeups
* 457e65696a BACKPORT: FROMGIT: sched/core: Remove ifdeffery for saved_state
* 3437652fa2 BACKPORT: erofs: set block size to the on-disk block size
* e84c93fd42 BACKPORT: erofs: avoid hardcoded blocksize for subpage block support
* 36496d09e8 BACKPORT: erofs: get rid of z_erofs_do_map_blocks() forward declaration
* cee0694362 BACKPORT: erofs: get rid of erofs_inode_datablocks()
* f7d9c7d0b4 BACKPORT: erofs: simplify iloc()
* 7d42260e5c ANDROID: Update the ABI symbol list
* 324c8522f9 ANDROID: Update symbol list for mtk
* 30d86f760c ANDROID: mm: Add vendor hooks for recording when kswapd finishing the reclaim job
* 0deb7bb73e ANDROID: mm: Add vendor hooks for __alloc_pages_slowpath
* 5c2855fbce ANDROID: mm: Add vendor hook for compact pages work.
* 4e10001b7c ANDROID: Update the ABI symbol list
* 2434dece1f FROMGIT: usb: gadget: u_serial: Add null pointer check in gserial_suspend
* 5f8aa27248 ANDROID: Update the ABI symbol list
* f7e7874d9b BACKPORT: usb: typec: bus: verify partner exists in typec_altmode_attention
* 5cb3b26d79 ANDROID: ABI: Update the pixel symbol list and stg
* cf1ba6a102 UPSTREAM: shmem: fix smaps BUG sleeping while atomic
* 52824b718c UPSTREAM: blk-ioprio: Introduce promote-to-rt policy
* dce1834895 ANDROID: ABI: Update oplus symbol list
* 89815ec103 ANDROID: GKI: export symbols to do reverse mapping within memcg and modify lru stats
* 45fe413fdf ANDROID: gki_defconfig: Enable CONFIG_BLK_CGROUP_IOPRIO
* c240f4ed00 ANDROID: gunyah: Convert mutex_lock_interruptible to mutex_lock
* 6305df8009 UPSTREAM: bpf, sockmap: fix deadlocks in the sockhash and sockmap
* 7999b48d76 UPSTREAM: net: sched: sch_qfq: Fix UAF in qfq_dequeue()
* 709dc094e3 UPSTREAM: ARM: ptrace: Restore syscall skipping for tracers
* ea494b2716 UPSTREAM: ARM: ptrace: Restore syscall restart tracing
* b374d94195 Revert "BACKPORT: FROMGIT: usb: gadget: udc: Handle gadget_connect failure during bind operation"
* ae5ea9043d ANDROID: Move microdroid and crashdump defconfigs to common
* b548c046c7 UPSTREAM: net: prevent skb corruption on frag list segmentation
* 060ebb378d ANDROID: ABI: Update oplus symbol list
* f451f4a599 ANDROID: vendor_hooks: Add hooks for oem percpu-rwsem optimaton
* a3cb85bffe ANDROID: ABI: Update oplus symbol list
* 740a51391b ANDROID: vendor_hooks: Add hooks for binder
* c6724bfeda ANDROID: uid_sys_stat: instead update_io_stats_uid_locked to update_io_stats_uid
* 97f2f8a065 ANDROID: uid_sys_stat: split the global lock uid_lock to the fine-grained locks for each hlist in hash_table.
* 9290fc3e8d ANDROID: Flush deferred probe list before dropping host priv
* 6625133137 ANDROID: KVM: arm64: Don't force pte mappings in [n]VHE guest stage-2
* 2f2c035453 UPSTREAM: usb: gadget: u_serial: Add null pointer check in gs_start_io
* ac9005946a UPSTREAM: sched: Consider task_struct::saved_state in wait_task_inactive()
* b52b33e912 UPSTREAM: sched: Unconditionally use full-fat wait_task_inactive()
* 8465ef2b4f ANDROID: GKI: Update symbol list for ASUS
* 1e4c6e5048 UPSTREAM: tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
* 40b46d8656 UPSTREAM: netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
* d8f69aade5 UPSTREAM: iommu/of: mark an unused function as __maybe_unused
* a032fbc776 UPSTREAM: iommu: dma: Use of_iommu_get_resv_regions()
* 693c712967 UPSTREAM: iommu: Implement of_iommu_get_resv_regions()
* e9603e85ac UPSTREAM: dt-bindings: reserved-memory: Document iommu-addresses
* 64ed291347 UPSTREAM: of: Introduce of_translate_dma_region()
* 536996aa30 ANDROID: GKI: Add rockchip fragment and build.config
* 6a10b34387 ANDROID: GKI: Add symbols for rockchip v4l2
* 3e3c6debe4 ANDROID: GKI: Add hid and usb symbols for rockchip
* 53162778e7 ANDROID: GKI: Add cdc symbols for rockchip
* b09b06dcf1 ANDROID: GKI: Add symbols for rockchip sdhci
* 62d64a59d9 ANDROID: GKI: Add symbols for rockchip devfreq
* 9c9ee611cf ANDROID: GKI: Add crypto symbols for rockchip
* 7246ecec46 ANDROID: GKI: Add rockchip drm symbols and abi
* 2f3d6aa0c9 ANDROID: GKI: Add initial abi for rockchip
* 1e26ba1901 ANDROID: GKI: Add initial rockchip symbol list
* 404360f6d3 FROMLIST: clk: clk-fractional-divider: Export clk_fractional_divider_general_approximation API
* c3d6c235b2 UPSTREAM: net/sched: sch_hfsc: Ensure inner classes have fsc curve
* d3212c2dba UPSTREAM: sched/rt: Fix bad task migration for rt tasks
* 215e38e517 ANDROID: GKI: Add ASUS symbol list
* e52e60e3ed UPSTREAM: tcpm: Avoid soft reset when partner does not support get_status
* bbc9d3bc0b ANDROID: vendor_hooks: mm: Add tune_swappiness vendor hook in get_swappiness()
* 7024c9cd28 ANDROID: ABI: Update symbols to unisoc whitelist
* de3e9f3111 ANDROID: ABI: Add to QCOM symbols list
* 85902d60cd ANDROID: ABI: update symbol list for galaxy
* c2ac612610 BACKPORT: printk: ringbuffer: Fix truncating buffer size min_t cast
* 7579b22626 ANDROID: GKI: Add symbols to symbol list for oplus
* 6e5f182128 ANDROID: signal: Add vendor hook for memory reap
* 3a51a61927 ANDROID: abi_gki_aarch64_qcom: white list symbols for mglru overshoot
* 0500235e3f ANDROID: vendor_hook: Add vendor hook to decide scan abort policy
* e6ed59127c UPSTREAM: af_unix: Fix null-ptr-deref in unix_stream_sendpage().
* 2eb5b31ac1 FROMLIST: ufs: core: fix abnormal scale up after last cmd finish
* 89434cbd2d FROMLIST: ufs: core: fix abnormal scale up after scale down
* e490b62fed FROMLIST: ufs: core: only suspend clock scaling if scale down
* 3ffb038098 ANDROID: GKI: update ABI definition
* e2fa9ebcae UPSTREAM: zsmalloc: allow only one active pool compaction context
* 478ec4dbea ANDROID: GKI: Update Tuxera symbol list
* cd94fe67fd ANDROID: ABI: Update symbols to qcom whitelist
* 68eefde2d3 UPSTREAM: usb: typec: tcpm: set initial svdm version based on pd revision
* a68bd01493 ANDROID: KVM: arm64: Don't update IOMMUs for share/unshare
* 20ecb229c5 ANDROID: cpuidle: teo: Export a function that allows modifying util_threshold
* 2490ab50e7 ANDROID: sched: Add vendor hook for rt util update
* 6d97f75abc ANDROID: sched: Add vendor hook for util-update related functions
* e08c5de06e ANDROID: sched: Add vendor hooks for override sugov behavior
* 5762974151 ANDROID: Add new hook to enable overriding uclamp_validate()
* b57e3c1d99 ANDROID: sched/uclamp: Don't enable uclamp_is_used static key by in-kernel requests
* 2b25d535d0 ANDROID: topology: Add vendor hook for use_amu_fie
* eb9686932b ANDROID: sched: Export symbols needed for vendor hooks
* 84131c988b ANDROID: Update symbol list for Exynos Auto SoCs
* 3367abadff UPSTREAM: netfilter: nf_tables: deactivate catchall elements in next generation
* a891f77b7b ANDROID: GKI: Update symbols to symbol list
* 4d8d9522db ANDROID: GKI: Export four symbols in file net/core/net-trace.c
* 3973acfed0 UPSTREAM: blk-ioc: fix recursive spin_lock/unlock_irq() in ioc_clear_queue()
* 523bfe8539 ANDROID: fuse-bpf: Align data structs for 32-bit kernels
* 9f5a84b955 ANDROID: GKI: Update symbol list for xiaomi
* 176d72d941 ANDROID: vendor_hooks: export cgroup_threadgroup_rwsem
* 1fb9e95d46 ANDROID: GKI: add symbol list file for meizu
* 8fb9de0877 ANDROID: fuse-bpf: Get correct inode in mkdir
* 0fdb44964c ANDROID: ABI: Update allowed list for QCOM
* 404522c763 UPSTREAM: blk-ioc: protect ioc_destroy_icq() by 'queue_lock'
* bd0308e36b ANDROID: GKI: Update symbols to symbol list
* 87647c0c54 ANDROID: uid_sys_stats: Use llist for deferred work
* 4b3ab91671 UPSTREAM: net: nfc: Fix use-after-free caused by nfc_llcp_find_local
* c603880bd5 UPSTREAM: netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
* d95b2b008e UPSTREAM: net: tap_open(): set sk_uid from current_fsuid()
* b15c3a3df0 UPSTREAM: usb: typec: ucsi: Fix command cancellation
* 0c34d588af UPSTREAM: locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
* 20266a0652 ANDROID: kleaf: Remove ptp_kvm.ko from i386 modules
* ce18fe6f29 ANDROID: GKI: Add symbols to symbol list for oplus
* 8e6550add2 ANDROID: vendor_hooks: Add tune swappiness hook in get_scan_count()
* dd87a7122c ANDROID: GKI: Update symbol list for VIVO
* 638804ea1c ANDROID: kleaf: get_gki_modules_list add i386 option
* 264e2973a4 ANDROID: arm as an option for get_gki_modules_list
* 37edfbc5c4 UPSTREAM: um: Only disable SSE on clang to work around old GCC bugs
* 2a13641a14 ANDROID: GKI: Update abi_gki_aarch64_qcom for page_owner symbols
* f08623648a ANDROID: mm: Export page_owner_inited and __set_page_owner
* e44e3955f7 ANDROID: Use alias for old rules.
* 67018dd4e4 ANDROID: virt: geniezone: Enable as GKI module for arm64
* 9a399ca713 ANDROID: Add arch specific gki module list targets
* 3e079b7691 FROMLIST: virt: geniezone: Add dtb config support
* 39bd65ec1d FROMLIST: virt: geniezone: Add memory region support
* c26057e351 FROMLIST: virt: geniezone: Add ioeventfd support
* e73a5222e6 FROMLIST: virt: geniezone: Add irqfd support
* 7427b76faa FROMLIST: virt: geniezone: Add irqchip support for virtual interrupt injection
* 540cff0872 FROMLIST: virt: geniezone: Add vcpu support
* 6ce86d075e FROMLIST: virt: geniezone: Add GenieZone hypervisor support
* 40107a0081 FROMLIST: dt-bindings: hypervisor: Add MediaTek GenieZone hypervisor
* beaffb638b FROMLIST: docs: geniezone: Introduce GenieZone hypervisor
* e0c4636bd2 UPSTREAM: net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
* ec1f17ddac UPSTREAM: net: tun_chr_open(): set sk_uid from current_fsuid()
* 0adc759b0c UPSTREAM: exfat: check if filename entries exceeds max filename length
* f4ba064f76 UPSTREAM: net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
* 5b0878fc61 ANDROID: abi_gki_aarch64_qcom: update abi symbols
* 7551a1a2a1 ANDROID: cgroup: Add android_rvh_cgroup_force_kthread_migration
* cd018c99fa FROMGIT: pstore/ram: Check start of empty przs during init
* ffaab71302 UPSTREAM: erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
* 8497f46a87 UPSTREAM: erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF
* 2f805fb912 UPSTREAM: erofs: Fix detection of atomic context
* cc6111a287 UPSTREAM: erofs: fix compact 4B support for 16k block size
* f11ccb03a0 UPSTREAM: erofs: kill hooked chains to avoid loops on deduplicated compressed images
* 7521b904dc UPSTREAM: erofs: fix potential overflow calculating xattr_isize
* 6ec6eee87e UPSTREAM: erofs: stop parsing non-compact HEAD index if clusterofs is invalid
* 9089c10d9c UPSTREAM: erofs: initialize packed inode after root inode is assigned
* 797dac42cc ANDROID: GKI: Update ABI for zsmalloc fixes
* cb440cecb2 BACKPORT: zsmalloc: fix races between modifications of fullness and isolated
* c0e84be923 ANDROID: ABI: Update symbols to unisoc whitelist for A14-6.1
* 5ef132d564 UPSTREAM: zsmalloc: consolidate zs_pool's migrate_lock and size_class's locks
* ec6b3d552a UPSTREAM: netfilter: nfnetlink_log: always add a timestamp
* 4db95aa21a ANDROID: virt: gunyah: Do not allocate irq for GH_RM_RESOURCE_NO_VIRQ
* 2d1d3be2ba ANDROID: GKI: Add Tuxera symbol list
* 20d8a89758 ANDROID: ABI: Update oplus symbol list
* 7afa84fbb9 ANDROID: vendor_hooks: Add hooks for waking up and exiting control
* 9ca47685c5 ANDROID: GKI: Update symbol list for xiaomi
* 2d7f87b0ff ANDROID: vendor_hooks:vendor hook for percpu-rwsem
* 63af84cffe ANDROID: fips140: fix the error injection module parameters
* 71bedf9d9c BACKPORT: blk-crypto: dynamically allocate fallback profile
* 086befddbe UPSTREAM: net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
* ecd8d8a208 UPSTREAM: Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
* 6923dcc21d UPSTREAM: media: usb: siano: Fix warning due to null work_func_t function pointer

Change-Id: Idc01a15f70d151d08c30ee23c2939260764e428b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-10-31 17:20:05 +00:00
xieliujie
f451f4a599 ANDROID: vendor_hooks: Add hooks for oem percpu-rwsem optimaton
Recently we have discovered many lag issues caused by percpu_rwsem
lock-holding tasks not being scheduled for a long time. we need to
identify them and provide appropriate scheduling protection in our
oem scheduler.
To support this, we add one hook below:
	trace_android_vh_percpu_rwsem_wq_add

Bug: 301066838
Change-Id: Id770c1a7978842abfc62d3fa9aeb5ac7a1904972
Signed-off-by: xieliujie <xieliujie@oppo.com>
2023-09-22 17:33:39 +00:00
Greg Kroah-Hartman
b92d1cb293 Merge 6.1.51 into android14-6.1-lts
Changes in 6.1.51
	ACPI: thermal: Drop nocrt parameter
	module: Expose module_init_layout_section()
	arm64: module-plts: inline linux/moduleloader.h
	arm64: module: Use module_init_layout_section() to spot init sections
	ARM: module: Use module_init_layout_section() to spot init sections
	lockdep: fix static memory detection even more
	parisc: Cleanup mmap implementation regarding color alignment
	parisc: sys_parisc: parisc_personality() is called from asm code
	io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc
	kallsyms: Fix kallsyms_selftest failure
	thunderbolt: Fix a backport error for display flickering issue
	Linux 6.1.51

Change-Id: I8bc79fc29ebf10ba654c16b771af1519eea39b38
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-09-18 09:53:20 +00:00
Greg Kroah-Hartman
cf0f262265 Revert "locking/rtmutex: Fix task->pi_waiters integrity"
This reverts commit 7f1715d827 which is
commit f7853c34241807bb97673a5e97719123be39a09e upstream.

It breaks the Android api due to a structure, struct rt_mutex_waiter,
escaping out of the core kernel code, into an Android hook, making it
something that can not be modified without potentially major problems.

If this needs to come back, it must do so in an ABI-safe way in the
future, for now, it can just be reverted.

Bug: 161946584
Change-Id: Idd251aa4e905cc284523b0b81b3e8993c6a58866
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-09-12 14:37:42 +00:00
Greg Kroah-Hartman
7f81705800 Merge 6.1.43 into android14-6.1-lts
Changes in 6.1.43
	netfilter: nf_tables: fix underflow in object reference counter
	netfilter: nf_tables: fix underflow in chain reference counter
	platform/x86/amd/pmf: Notify OS power slider update
	platform/x86/amd/pmf: reduce verbosity of apmf_get_system_params
	drm/amd/display: Keep PHY active for dp config
	ovl: fix null pointer dereference in ovl_permission()
	drm/amd: Move helper for dynamic speed switch check out of smu13
	drm/amd: Align SMU11 SMU_MSG_OverridePcieParameters implementation with SMU13
	jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint
	blk-mq: Fix stall due to recursive flush plug
	powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close
	KVM: s390: pv: fix index value of replaced ASCE
	io_uring: don't audit the capability check in io_uring_create()
	gpio: tps68470: Make tps68470_gpio_output() always set the initial value
	pwm: Add a stub for devm_pwmchip_add()
	gpio: mvebu: Make use of devm_pwmchip_add
	gpio: mvebu: fix irq domain leak
	btrfs: fix race between quota disable and relocation
	i2c: Delete error messages for failed memory allocations
	i2c: Improve size determinations
	i2c: nomadik: Remove unnecessary goto label
	i2c: nomadik: Use devm_clk_get_enabled()
	i2c: nomadik: Remove a useless call in the remove function
	MIPS: Loongson: Move arch cflags to MIPS top level Makefile
	MIPS: Loongson: Fix build error when make modules_install
	PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
	PCI/ASPM: Factor out pcie_wait_for_retrain()
	PCI/ASPM: Avoid link retraining race
	PCI: rockchip: Remove writes to unused registers
	PCI: rockchip: Fix window mapping and address translation for endpoint
	PCI: rockchip: Don't advertise MSI-X in PCIe capabilities
	drm/amd/display: add FB_DAMAGE_CLIPS support
	drm/amd/display: Check if link state is valid
	drm/amd/display: Rework context change check
	drm/amd/display: Enable new commit sequence only for DCN32x
	drm/amd/display: Copy DC context in the commit streams
	drm/amd/display: Include surface of unaffected streams
	drm/amd/display: Use min transition for all SubVP plane add/remove
	drm/amd/display: add ODM case when looking for first split pipe
	drm/amd/display: use low clocks for no plane configs
	drm/amd/display: fix unbounded requesting for high pixel rate modes on dcn315
	drm/amd/display: add pixel rate based CRB allocation support
	drm/amd/display: fix dcn315 single stream crb allocation
	drm/amd/display: Update correct DCN314 register header
	drm/amd/display: Set minimum requirement for using PSR-SU on Rembrandt
	drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix
	drm/ttm: Don't print error message if eviction was interrupted
	drm/ttm: Don't leak a resource on eviction error
	n_tty: Rename tail to old_tail in n_tty_read()
	tty: fix hang on tty device with no_room set
	drm/ttm: never consider pinned BOs for eviction&swap
	KVM: arm64: Condition HW AF updates on config option
	arm64: errata: Mitigate Ampere1 erratum AC03_CPU_38 at stage-2
	mptcp: introduce 'sk' to replace 'sock->sk' in mptcp_listen()
	mptcp: do not rely on implicit state check in mptcp_listen()
	tracing/probes: Add symstr type for dynamic events
	tracing/probes: Fix to avoid double count of the string length on the array
	tracing: Allow synthetic events to pass around stacktraces
	Revert "tracing: Add "(fault)" name injection to kernel probes"
	tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails
	test_maple_tree: test modifications while iterating
	maple_tree: add __init and __exit to test module
	maple_tree: fix 32 bit mas_next testing
	drm/amd/display: Rework comments on dc file
	drm/amd/display: fix dc/core/dc.c kernel-doc
	drm/amd/display: Add FAMS validation before trying to use it
	drm/amd/display: update extended blank for dcn314 onwards
	drm/amd/display: Fix possible underflow for displays with large vblank
	drm/amd/display: Prevent vtotal from being set to 0
	phy: phy-mtk-dp: Fix an error code in probe()
	phy: qcom-snps: correct struct qcom_snps_hsphy kerneldoc
	phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
	phy: qcom-snps-femto-v2: properly enable ref clock
	soundwire: qcom: update status correctly with mask
	media: staging: atomisp: select V4L2_FWNODE
	media: amphion: Fix firmware path to match linux-firmware
	i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
	iavf: fix potential deadlock on allocation failure
	iavf: check for removal state before IAVF_FLAG_PF_COMMS_FAILED
	net: phy: marvell10g: fix 88x3310 power up
	net: hns3: fix the imp capability bit cannot exceed 32 bits issue
	net: hns3: fix wrong tc bandwidth weight data issue
	net: hns3: fix wrong bw weight of disabled tc issue
	vxlan: calculate correct header length for GPE
	vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
	vxlan: fix GRO with VXLAN-GPE
	phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
	atheros: fix return value check in atl1_tso()
	ethernet: atheros: fix return value check in atl1e_tso_csum()
	ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
	tcp: Reduce chance of collisions in inet6_hashfn().
	ice: Fix memory management in ice_ethtool_fdir.c
	bonding: reset bond's flags when down link is P2P device
	team: reset team's flags when down link is P2P device
	octeontx2-af: Removed unnecessary debug messages.
	octeontx2-af: Fix hash extraction enable configuration
	net: stmmac: Apply redundant write work around on 4.xx too
	platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
	x86/traps: Fix load_unaligned_zeropad() handling for shared TDX memory
	igc: Fix Kernel Panic during ndo_tx_timeout callback
	netfilter: nft_set_rbtree: fix overlap expiration walk
	netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
	netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
	mm: suppress mm fault logging if fatal signal already pending
	net/sched: mqprio: refactor nlattr parsing to a separate function
	net/sched: mqprio: add extack to mqprio_parse_nlattr()
	net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
	benet: fix return value check in be_lancer_xmit_workarounds()
	tipc: check return value of pskb_trim()
	tipc: stop tipc crypto on failure in tipc_node_create
	RDMA/mlx4: Make check for invalid flags stricter
	drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
	drm/msm/adreno: Fix snapshot BINDLESS_DATA size
	RDMA/irdma: Add missing read barriers
	RDMA/irdma: Fix data race on CQP completion stats
	RDMA/irdma: Fix data race on CQP request done
	RDMA/mthca: Fix crash when polling CQ for shared QPs
	RDMA/bnxt_re: Prevent handling any completions after qp destroy
	drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
	cxl/acpi: Fix a use-after-free in cxl_parse_cfmws()
	cxl/acpi: Return 'rc' instead of '0' in cxl_parse_cfmws()
	ASoC: fsl_spdif: Silence output on stop
	block: Fix a source code comment in include/uapi/linux/blkzoned.h
	smb3: do not set NTLMSSP_VERSION flag for negotiate not auth request
	drm/i915: Fix an error handling path in igt_write_huge()
	xenbus: check xen_domain in xenbus_probe_initcall
	dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
	dm raid: clean up four equivalent goto tags in raid_ctr()
	dm raid: protect md_stop() with 'reconfig_mutex'
	drm/amd: Fix an error handling mistake in psp_sw_init()
	drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event()
	RDMA/irdma: Fix op_type reporting in CQEs
	RDMA/irdma: Report correct WC error
	drm/msm: Switch idr_lock to spinlock
	drm/msm: Disallow submit with fence id 0
	ublk_drv: move ublk_get_device_from_id into ublk_ctrl_uring_cmd
	ublk: fail to start device if queue setup is interrupted
	ublk: fail to recover device if queue setup is interrupted
	ata: pata_ns87415: mark ns87560_tf_read static
	ring-buffer: Fix wrong stat of cpu_buffer->read
	tracing: Fix warning in trace_buffered_event_disable()
	Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
	usb: gadget: call usb_gadget_check_config() to verify UDC capability
	USB: gadget: Fix the memory leak in raw_gadget driver
	usb: gadget: core: remove unbalanced mutex_unlock in usb_gadget_activate
	KVM: Grab a reference to KVM for VM and vCPU stats file descriptors
	KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
	KVM: x86: Disallow KVM_SET_SREGS{2} if incoming CR0 is invalid
	serial: qcom-geni: drop bogus runtime pm state update
	serial: 8250_dw: Preserve original value of DLF register
	serial: sifive: Fix sifive_serial_console_setup() section
	USB: serial: option: support Quectel EM060K_128
	USB: serial: option: add Quectel EC200A module support
	USB: serial: simple: add Kaufmann RKS+CAN VCP
	USB: serial: simple: sort driver entries
	can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
	usb: typec: Set port->pd before adding device for typec_port
	usb: typec: Iterate pds array when showing the pd list
	usb: typec: Use sysfs_emit_at when concatenating the string
	Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
	usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
	usb: dwc3: don't reset device side if dwc3 was configured as host-only
	usb: misc: ehset: fix wrong if condition
	usb: ohci-at91: Fix the unhandle interrupt when resume
	USB: quirks: add quirk for Focusrite Scarlett
	usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config
	usb: xhci-mtk: set the dma max_seg_size
	Revert "usb: xhci: tegra: Fix error check"
	Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
	Documentation: security-bugs.rst: clarify CVE handling
	staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
	staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
	tty: n_gsm: fix UAF in gsm_cleanup_mux
	Revert "xhci: add quirk for host controllers that don't update endpoint DCS"
	ALSA: hda/realtek: Support ASUS G713PV laptop
	ALSA: hda/relatek: Enable Mute LED on HP 250 G8
	hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature
	hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
	btrfs: account block group tree when calculating global reserve size
	btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
	btrfs: check for commit error at btrfs_attach_transaction_barrier()
	x86/MCE/AMD: Decrement threshold_bank refcount when removing threshold blocks
	file: always lock position for FMODE_ATOMIC_POS
	nfsd: Remove incorrect check in nfsd4_validate_stateid
	ACPI/IORT: Remove erroneous id_count check in iort_node_get_rmr_info()
	tpm_tis: Explicitly check for error code
	irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
	irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
	locking/rtmutex: Fix task->pi_waiters integrity
	proc/vmcore: fix signedness bug in read_from_oldmem()
	xen: speed up grant-table reclaim
	virtio-net: fix race between set queues and probe
	net: dsa: qca8k: fix search_and_insert wrong handling of new rule
	net: dsa: qca8k: fix broken search_and_del
	net: dsa: qca8k: fix mdb add/del case with 0 VID
	selftests: mptcp: join: only check for ip6tables if needed
	soundwire: fix enumeration completion
	Revert "um: Use swap() to make code cleaner"
	LoongArch: BPF: Fix check condition to call lu32id in move_imm()
	LoongArch: BPF: Enable bpf_probe_read{, str}() on LoongArch
	s390/dasd: fix hanging device after quiesce/resume
	s390/dasd: print copy pair message only for the correct error
	ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
	arm64/sme: Set new vector length before reallocating
	PM: sleep: wakeirq: fix wake irq arming
	ceph: never send metrics if disable_send_metrics is set
	drm/i915/dpt: Use shmem for dpt objects
	dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
	rbd: make get_lock_owner_info() return a single locker or NULL
	rbd: harden get_lock_owner_info() a bit
	rbd: retrieve and check lock owner twice before blocklisting
	drm/amd/display: set per pipe dppclk to 0 when dpp is off
	tracing: Fix trace_event_raw_event_synth() if else statement
	drm/amd/display: perform a bounds check before filling dirty rectangles
	drm/amd/display: Write to correct dirty_rect
	ACPI: processor: perflib: Use the "no limit" frequency QoS
	ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
	cpufreq: intel_pstate: Drop ACPI _PSS states table patching
	mptcp: ensure subflow is unhashed before cleaning the backlog
	selftests: mptcp: sockopt: use 'iptables-legacy' if available
	test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
	dma-buf: keep the signaling time of merged fences v3
	dma-buf: fix an error pointer vs NULL bug
	Linux 6.1.43

Change-Id: Id1d61f2351c51edad33ab654f1f3d911b9a75830
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-09-12 12:36:39 +00:00
Helge Deller
b3d099df68 lockdep: fix static memory detection even more
commit 0a6b58c5cd0dfd7961e725212f0fc8dfc5d96195 upstream.

On the parisc architecture, lockdep reports for all static objects which
are in the __initdata section (e.g. "setup_done" in devtmpfs,
"kthreadd_done" in init/main.c) this warning:

	INFO: trying to register non-static key.

The warning itself is wrong, because those objects are in the __initdata
section, but the section itself is on parisc outside of range from
_stext to _end, which is why the static_obj() functions returns a wrong
answer.

While fixing this issue, I noticed that the whole existing check can
be simplified a lot.
Instead of checking against the _stext and _end symbols (which include
code areas too) just check for the .data and .bss segments (since we check a
data object). This can be done with the existing is_kernel_core_data()
macro.

In addition objects in the __initdata section can be checked with
init_section_contains(), and is_kernel_rodata() allows keys to be in the
_ro_after_init section.

This partly reverts and simplifies commit bac59d18c7 ("x86/setup: Fix static
memory detection").

Link: https://lkml.kernel.org/r/ZNqrLRaOi/3wPAdp@p100
Fixes: bac59d18c7 ("x86/setup: Fix static memory detection")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Borislav Petkov <bp@suse.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-02 09:16:19 +02:00
liuxudong5
2d7f87b0ff ANDROID: vendor_hooks:vendor hook for percpu-rwsem
We need a new vendor hook for two reasons:
1.The position of the previous vendor hook is inappropriate: when the task wakes up from percpu_rwsem_wait, it will enter a long runnable state, which will cause frame loss when the application starts. In order to solve this problem, we need to let the process enter the "vip" queue when it is woken up, so we need to set a flag for the process holding the lock to prove that it is about to hold the lock. The timing of setting the flag should be at the beginning of percpu_down_read/percpu_down_write rather than the end.
2.Most of this long runnable state occurs in the cgroup_threadgroup_rwsem, so we only care cgroup_threadgroup_rwsem, and cgroup_threadgroup_rwsem should be exported. At the same time, one more parameter "struct percpu_rw_semaphore *sem", is needed for this vendor hook.

Bug: 294496814
Change-Id: I5f014cfb68a60c29bbfd21452336e381e31e81b1
Signed-off-by: liuxudong5 <liuxudong5@xiaomi.com>
2023-08-25 17:34:59 +00:00
xieliujie
fadc35923d ANDROID: vendor_hook: fix the error record position of mutex
Make sure vendorhook trace_android_vh_record_mutex_lock_starttime woking both in fastpath unlock and slowpath unlock.

Fixes: 57750518de ("ANDROID: vendor_hook: Avoid clearing protect-flag before waking waiters")
Bug: 286024926
Change-Id: Ib91c1b88d27aaa4ef872d44102969ffc3c9adb58
Signed-off-by: xieliujie <xieliujie@oppo.com>
2023-08-11 16:57:28 +00:00
Peter Zijlstra
7f1715d827 locking/rtmutex: Fix task->pi_waiters integrity
[ Upstream commit f7853c34241807bb97673a5e97719123be39a09e ]

Henry reported that rt_mutex_adjust_prio_check() has an ordering
problem and puts the lie to the comment in [7]. Sharing the sort key
between lock->waiters and owner->pi_waiters *does* create problems,
since unlike what the comment claims, holding [L] is insufficient.

Notably, consider:

	A
      /   \
     M1   M2
     |     |
     B     C

That is, task A owns both M1 and M2, B and C block on them. In this
case a concurrent chain walk (B & C) will modify their resp. sort keys
in [7] while holding M1->wait_lock and M2->wait_lock. So holding [L]
is meaningless, they're different Ls.

This then gives rise to a race condition between [7] and [11], where
the requeue of pi_waiters will observe an inconsistent tree order.

	B				C

  (holds M1->wait_lock,		(holds M2->wait_lock,
   holds B->pi_lock)		 holds A->pi_lock)

  [7]
  waiter_update_prio();
  ...
  [8]
  raw_spin_unlock(B->pi_lock);
  ...
  [10]
  raw_spin_lock(A->pi_lock);

				[11]
				rt_mutex_enqueue_pi();
				// observes inconsistent A->pi_waiters
				// tree order

Fixing this means either extending the range of the owner lock from
[10-13] to [6-13], with the immediate problem that this means [6-8]
hold both blocked and owner locks, or duplicating the sort key.

Since the locking in chain walk is horrible enough without having to
consider pi_lock nesting rules, duplicate the sort key instead.

By giving each tree their own sort key, the above race becomes
harmless, if C sees B at the old location, then B will correct things
(if they need correcting) when it walks up the chain and reaches A.

Fixes: fb00aca474 ("rtmutex: Turn the plist into an rb-tree")
Reported-by: Henry Wu <triangletrap12@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Henry Wu <triangletrap12@gmail.com>
Link: https://lkml.kernel.org/r/20230707161052.GF2883469%40hirez.programming.kicks-ass.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-03 10:24:14 +02:00
xieliujie
544ae28cf6 ANDROID: Inherit "user-aware property" across rtmutex.
Since upstream commit 715f7f9ece ("locking/rtmutex: Squash !RT
tasks to DEFAULT_PRIO"), non-rt tasks do not inherit the
nice-priority values across rt_mutexes. This removes the minor
(and indirect) priority-inheritance that rt-mutexes provided for
CFS tasks.

Though without priority inheritance, time-bounded priority
inversion can occur between CFS tasks of different nice
priorities / cgroup limitations.  The proxy-execution efforts
are a work-in-progress to resolve this upstream, but in the
meantime it is left to vendor hooks to provide a near term
solution to avoid priority inversion between CFS tasks.

In our oem scheduler, if a  CFS thread has an "user-aware
property", we will always pick it even if it's vruntime is
bigger than the smallest one in runqueue. That's why the
trace_android_rvh_replace_next_task_fair vendorhook was added
previously in commit 53e809978443 ("ANDROID: vendor_hooks: Add
hooks for scheduler").

Thus for our oem scheduler, important CFS tasks(like
RenderThread) are marked with the "user-aware property" in their
struct task_struct. If those tasks are blocked on an rtmutex, we
want to allow the "user-aware property" to be inherited to lock
owner, so it will be selected to run immediately to release the
lock.

To support this, we need new hooks to map "user-aware property"
into different rtmutex_waiter prio and update the owner's
"user-aware property" if needed. Thus these additional vendor
hooks are needed.

In the future, once an generalized upstream solution for CFS
priority inheritance is in place, this will no longer be needed.

Bug: 290585456
Change-Id: I6521ed2086b147400a54da6b84a324baf16bc649
Signed-off-by: xieliujie <xieliujie@oppo.com>
2023-07-27 00:04:07 +00:00
Liujie Xie
22e008d6d5 ANDROID: vendor_hooks: Supplement the missing hook call point.
As a supplement to commit 6c1c1552e6
("ANDROID: vendor_hook: add hooks to protect locking-tsk in cpu scheduler").
In rwsem read, we missed a lock-holding scenario, add it now.

Bug: 290868674

Change-Id: I718dd942b24b330a79283fc241dcbf47cc34c0c5
Signed-off-by: Liujie Xie <xieliujie@oppo.com>
2023-07-13 15:51:22 +00:00
xieliujie
57750518de ANDROID: vendor_hook: Avoid clearing protect-flag before waking waiters
With hooks below, we can mark a lock-owned thread with an identifiable flag, which can protect it from being preempted by some other unimportant threads, and then waiter will be wakeup more quickly.
https://android-review.googlesource.com/c/kernel/common/+/2183353

but now we find an issue like this one:
static inline void __up_write(struct rw_semaphore *sem)
{
        ...
        // Step 1. we clear flag.
        trace_android_vh_record_rwsem_lock_starttime(current, 0);
        // Step 2. owner may be preempted by unimportant threads.
        rwsem_clear_owner(sem);
        ...
        // Step 3. wake up waiter, but it's too later.
        if (unlikely(tmp & RWSEM_FLAG_WAITERS))
                rwsem_wake(sem);
}

This patch will clear protect-flag after waking up waiters.

Bug: 286024926
Change-Id: I71f8b6a7d8a01336fd36b8267c2cb5edab65bd11
Signed-off-by: xieliujie <xieliujie@oppo.com>
2023-06-07 21:34:17 +00:00
Dezhi Huang
bcf27b22e4 ANDROID: mutex: Add vendor hook to init mutex oem data.
Add hooks to init oem data of mutex.

Bug: 231527236
Signed-off-by: Dezhi Huang <huangdezhi@hihonor.com>
Change-Id: Id0aeac168e81bd3d88051657c32ba709c329dbdd
2023-05-25 21:01:19 +00:00
John Stultz
1b9c92432f locking/rwsem: Add __always_inline annotation to __down_read_common() and inlined callers
commit 92cc5d00a431e96e5a49c0b97e5ad4fa7536bd4b upstream.

Apparently despite it being marked inline, the compiler
may not inline __down_read_common() which makes it difficult
to identify the cause of lock contention, as the blocked
function in traceevents will always be listed as
__down_read_common().

So this patch adds __always_inline annotation to the common
function (as well as the inlined helper callers) to force it to
be inlined so the blocking function will be listed (via Wchan)
in traceevents.

Fixes: c995e638cc ("locking/rwsem: Fold __down_{read,write}*()")
Reported-by: Tim Murray <timmurray@google.com>
Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Waiman Long <longman@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20230503023351.2832796-1-jstultz@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-17 11:53:57 +02:00
John Stultz
da126f8d02 FROMGIT: locking/rwsem: Add __always_inline annotation to __down_read_common() and inlined callers
Apparently despite it being marked inline, the compiler
may not inline __down_read_common() which makes it difficult
to identify the cause of lock contention, as the blocked
function in traceevents will always be listed as
__down_read_common().

So this patch adds __always_inline annotation to the common
function (as well as the inlined helper callers) to force it to
be inlined so the blocking function will be listed (via Wchan)
in traceevents.

Fixes: c995e638cc ("locking/rwsem: Fold __down_{read,write}*()")
Reported-by: Tim Murray <timmurray@google.com>
Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Waiman Long <longman@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20230503023351.2832796-1-jstultz@google.com
Bug: 277817995
(cherry picked from commit 92cc5d00a431e96e5a49c0b97e5ad4fa7536bd4b
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/urgent)
Signed-off-by: John Stultz <jstultz@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:a6c75b2e64573cb9f49f6b89808207856fc0309b)
Merged-In: Ifad7ed7fe9f2d5a9eb0cfe7c35e45c0e86bc3ad4
Change-Id: Ifad7ed7fe9f2d5a9eb0cfe7c35e45c0e86bc3ad4
2023-05-12 18:16:24 +00:00
Liujie Xie
e80c937cd0 ANDROID: vendor_hooks: Add hooks for rwsem and mutex
Add hooks to apply oem's optimization of rwsem and mutex

Bug: 182237112
Signed-off-by: xieliujie <xieliujie@oppo.com>
(cherry picked from commit 80b4341d0520dce2ef1e33aef06c6a2bc8ada518)

Signed-off-by: xieliujie <xieliujie@oppo.com>
Change-Id: I36895c432e5b6d6bff8781b4a7872badb693284c
Signed-off-by: Carlos Llamas <cmllamas@google.com>
[cmllamas: completes the cherry-pick of original commit 80b4341d0520
since commit 0902cc73b793 was only partial]
(cherry picked from commit d4528a28cb5be0c322031f333a6230fa3042931f)
2023-05-05 23:07:06 +00:00
Liujie Xie
eb74e5b3fe ANDROID: vendor_hooks: Add hooks for mutex and rwsem optimistic spin
These hooks help us do the following things:
a) Record the number of mutex and rwsem optimistic spin.
b) Monitor the time of mutex and rwsem optimistic spin.
c) Make it possible if oems don't want mutex and rwsem to optimistic spin
for a long time.

Bug: 267565260
Change-Id: I2bee30fb17946be85e026213b481aeaeaee2459f
Signed-off-by: Liujie Xie <xieliujie@oppo.com>
(cherry picked from commit d01f7e1269d2651768a0bd91a88f76339a1cb427)
(cherry picked from commit 05b5ff11ad98c5896b352b4c376a84b63684e06c)
2023-05-05 23:07:06 +00:00
xieliujie
86c4152970 ANDROID: vendor_hooks: Add hooks for rwsem and mutex
Add hooks to apply oem's optimization of rwsem and mutex

Bug: 182237112
Signed-off-by: xieliujie <xieliujie@oppo.com>
Change-Id: I6332623732e2d6826b8b61087ca74e55393e0c3d
(cherry picked from commit 0902cc73b793f8b8cc2a80943d85d4ca9b98278b)
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2023-05-05 23:07:06 +00:00
Peifeng Li
6c1c1552e6 ANDROID: vendor_hook: add hooks to protect locking-tsk in cpu scheduler
Providing vendor hooks to record the start time of holding the lock, which
protects rwsem/mutex locking-process from being preemptedfor a short time
in some cases.

- android_vh_record_mutex_lock_starttime
- android_vh_record_rtmutex_lock_starttime
- android_vh_record_rwsem_lock_starttime
- android_vh_record_pcpu_rwsem_starttime

Bug: 241191475

Signed-off-by: Peifeng Li <lipeifeng@oppo.com>
Change-Id: I0e967a1e8b77c32a1ad588acd54028fae2f90c4e
(cherry picked from commit f7294947672eb6b786f3c16b49e71e6a239101ad)
2023-05-05 19:45:34 +00:00
Greg Kroah-Hartman
2cb73a87e4 Merge 6.1.16 into android14-6.1
Changes in 6.1.16
	HID: asus: use spinlock to protect concurrent accesses
	HID: asus: use spinlock to safely schedule workers
	powerpc/mm: Rearrange if-else block to avoid clang warning
	ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI controller"
	ARM: OMAP2+: Fix memory leak in realtime_counter_init()
	arm64: dts: qcom: qcs404: use symbol names for PCIe resets
	arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to wake up
	arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k instead of 4k
	arm64: dts: qcom: sm6350: Fix up the ramoops node
	arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match bindings
	arm64: dts: qcom: sm6125-seine: Clean up gpio-keys (volume down)
	arm64: dts: imx8m: Align SoC unique ID node unit address
	ARM: zynq: Fix refcount leak in zynq_early_slcr_init
	arm64: dts: mediatek: mt8195: Add power domain to U3PHY1 T-PHY
	arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
	arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock description
	arm64: dts: mediatek: mt8195: Fix systimer 13 MHz clock description
	arm64: dts: mediatek: mt8186: Fix systimer 13 MHz clock description
	arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
	x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC
	arm64: dts: qcom: sc7180: correct SPMI bus address cells
	arm64: dts: qcom: sc7280: correct SPMI bus address cells
	arm64: dts: qcom: sc8280xp: correct SPMI bus address cells
	arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers
	arm64: dts: meson-gxl: jethub-j80: Fix WiFi MAC address node
	arm64: dts: meson-gxl: jethub-j80: Fix Bluetooth MAC node name
	arm64: dts: meson-axg: jethub-j1xx: Fix MAC address node names
	arm64: dts: meson-gx: Fix Ethernet MAC address unit name
	arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
	arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
	cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*
	arm64: dts: ti: k3-am62: Enable SPI nodes at the board level
	arm64: dts: ti: k3-am62-main: Fix clocks for McSPI
	arm64: tegra: Fix duplicate regulator on Jetson TX1
	arm64: dts: msm8992-bullhead: add memory hole region
	arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size
	arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem
	arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
	arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
	arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
	arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
	arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
	arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
	arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
	ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
	arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken
	ARM: bcm2835_defconfig: Enable the framebuffer
	ARM: s3c: fix s3c64xx_set_timer_source prototype
	arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
	ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
	ARM: imx: Call ida_simple_remove() for ida_simple_get
	arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
	arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
	arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
	arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix supply name of USB controller node
	arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
	arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
	arm64: dts: amlogic: meson-gxl-s905w-jethome-jethub-j80: fix invalid rtc node name
	arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix invalid rtc node name
	arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
	arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
	arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node names
	arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
	arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
	arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip
	locking/rwsem: Disable preemption in all down_read*() and up_read() code paths
	arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
	arm64: dts: meson: radxa-zero: allow usb otg mode
	arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN
	ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
	ublk_drv: remove nr_aborted_queues from ublk_device
	ublk_drv: don't probe partitions if the ubq daemon isn't trusted
	ARM: dts: imx7s: correct iomuxc gpr mux controller cells
	sbitmap: remove redundant check in __sbitmap_queue_get_batch
	sbitmap: Use single per-bitmap counting to wake up queued tags
	sbitmap: correct wake_batch recalculation to avoid potential IO hung
	arm64: dts: mt8195: Fix CPU map for single-cluster SoC
	arm64: dts: mt8192: Fix CPU map for single-cluster SoC
	arm64: dts: mt8186: Fix CPU map for single-cluster SoC
	arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
	arm64: dts: mediatek: mt8186: Fix watchdog compatible
	arm64: dts: mediatek: mt8195: Fix watchdog compatible
	arm64: dts: mediatek: mt7986: Fix watchdog compatible
	ARM: dts: stm32: Update part number NVMEM description on stm32mp131
	blk-mq: avoid sleep in blk_mq_alloc_request_hctx
	blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
	blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait
	blk-mq: Fix potential io hung for shared sbitmap per tagset
	blk-mq: correct stale comment of .get_budget
	arm64: dts: qcom: msm8996: support using GPLL0 as kryocc input
	arm64: dts: qcom: msm8996 switch from RPM_SMD_BB_CLK1 to RPM_SMD_XO_CLK_SRC
	arm64: dts: qcom: sm8350: drop incorrect cells from serial
	arm64: dts: qcom: sm8450: drop incorrect cells from serial
	arm64: dts: qcom: msm8992-lg-bullhead: Correct memory overlaps with the SMEM and MPSS memory regions
	arm64: dts: qcom: msm8953: correct TLMM gpio-ranges
	arm64: dts: qcom: msm8992-*: Fix up comments
	arm64: dts: qcom: msm8992-lg-bullhead: Enable regulators
	s390/dasd: Fix potential memleak in dasd_eckd_init()
	sched/rt: pick_next_rt_entity(): check list_entry
	perf/x86/intel/ds: Fix the conversion from TSC to perf time
	x86/perf/zhaoxin: Add stepping check for ZXC
	KEYS: asymmetric: Fix ECDSA use via keyctl uapi
	block: ublk: check IO buffer based on flag need_get_data
	arm64: dts: qcom: pmk8350: Specify PBS register for PON
	arm64: dts: qcom: pmk8350: Use the correct PON compatible
	erofs: relinquish volume with mutex held
	block: sync mixed merged request's failfast with 1st bio's
	block: Fix io statistics for cgroup in throttle path
	block: bio-integrity: Copy flags when bio_integrity_payload is cloned
	block: use proper return value from bio_failfast()
	wifi: mt76: mt7915: add missing of_node_put()
	wifi: mt76: mt7921s: fix slab-out-of-bounds access in sdio host
	wifi: mt76: mt7915: check return value before accessing free_block_num
	wifi: mt76: mt7915: drop always true condition of __mt7915_reg_addr()
	wifi: mt76: mt7915: fix unintended sign extension of mt7915_hw_queue_read()
	wifi: mt76: fix coverity uninit_use_in_call in mt76_connac2_reverse_frag0_hdr_trans()
	wifi: rsi: Fix memory leak in rsi_coex_attach()
	wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()
	wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()
	wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
	wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
	wifi: libertas: fix memory leak in lbs_init_adapter()
	wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
	wifi: rtw89: 8852c: rfk: correct DACK setting
	wifi: rtw89: 8852c: rfk: correct DPK settings
	wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
	libbpf: Fix btf__align_of() by taking into account field offsets
	wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
	wifi: ipw2200: fix memory leak in ipw_wdev_init()
	wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
	wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()
	wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
	wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
	wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
	wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
	wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
	wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
	wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
	libbpf: Fix invalid return address register in s390
	crypto: x86/ghash - fix unaligned access in ghash_setkey()
	ACPICA: Drop port I/O validation for some regions
	genirq: Fix the return type of kstat_cpu_irqs_sum()
	rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose
	rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
	rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()
	lib/mpi: Fix buffer overrun when SG is too long
	crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2
	platform/chrome: cros_ec_typec: Update port DP VDO
	ACPICA: nsrepair: handle cases without a return value correctly
	selftests/xsk: print correct payload for packet dump
	selftests/xsk: print correct error codes when exiting
	arm64/cpufeature: Fix field sign for DIT hwcap detection
	kselftest/arm64: Fix syscall-abi for systems without 128 bit SME
	workqueue: Protects wq_unbound_cpumask with wq_pool_attach_mutex
	s390/early: fix sclp_early_sccb variable lifetime
	s390/vfio-ap: fix an error handling path in vfio_ap_mdev_probe_queue()
	x86/signal: Fix the value returned by strict_sas_size()
	thermal/drivers/tsens: Drop msm8976-specific defines
	thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
	thermal/drivers/tsens: fix slope values for msm8939
	thermal/drivers/tsens: limit num_sensors to 9 for msm8939
	wifi: rtw89: fix potential leak in rtw89_append_probe_req_ie()
	wifi: rtw89: Add missing check for alloc_workqueue
	wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU
	wifi: orinoco: check return value of hermes_write_wordrec()
	thermal/drivers/imx_sc_thermal: Drop empty platform remove function
	thermal/drivers/imx_sc_thermal: Fix the loop condition
	wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
	wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
	wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
	wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
	wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()
	ACPI: battery: Fix missing NUL-termination with large strings
	selftests/bpf: Fix build errors if CONFIG_NF_CONNTRACK=m
	crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
	crypto: essiv - Handle EBUSY correctly
	crypto: seqiv - Handle EBUSY correctly
	powercap: fix possible name leak in powercap_register_zone()
	x86/microcode: Add a parameter to microcode_check() to store CPU capabilities
	x86/microcode: Check CPU capabilities after late microcode update correctly
	x86/microcode: Adjust late loading result reporting message
	selftests/bpf: Use consistent build-id type for liburandom_read.so
	selftests/bpf: Fix vmtest static compilation error
	crypto: xts - Handle EBUSY correctly
	leds: led-class: Add missing put_device() to led_put()
	s390/bpf: Add expoline to tail calls
	wifi: iwlwifi: mei: fix compilation errors in rfkill()
	kselftest/arm64: Fix enumeration of systems without 128 bit SME
	can: rcar_canfd: Fix R-Car V3U GAFLCFG field accesses
	selftests/bpf: Initialize tc in xdp_synproxy
	crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware
	bpftool: profile online CPUs instead of possible
	wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only after init_work
	wifi: mt76: mt7915: fix memory leak in mt7915_mcu_exit
	wifi: mt76: mt7915: fix WED TxS reporting
	wifi: mt76: add memory barrier to SDIO queue kick
	wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read
	net/mlx5: Enhance debug print in page allocation failure
	irqchip: Fix refcount leak in platform_irqchip_probe
	irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
	irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
	irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
	s390/mem_detect: fix detect_memory() error handling
	s390/vmem: fix empty page tables cleanup under KASAN
	s390/boot: cleanup decompressor header files
	s390/mem_detect: rely on diag260() if sclp_early_get_memsize() fails
	s390/boot: fix mem_detect extended area allocation
	net: add sock_init_data_uid()
	tun: tun_chr_open(): correctly initialize socket uid
	tap: tap_open(): correctly initialize socket uid
	OPP: fix error checking in opp_migrate_dentry()
	cpufreq: davinci: Fix clk use after free
	Bluetooth: hci_conn: Refactor hci_bind_bis() since it always succeeds
	Bluetooth: L2CAP: Fix potential user-after-free
	Bluetooth: hci_qca: get wakeup status from serdev device handle
	net: ipa: generic command param fix
	s390: vfio-ap: tighten the NIB validity check
	s390/ap: fix status returned by ap_aqic()
	s390/ap: fix status returned by ap_qact()
	libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
	xen/grant-dma-iommu: Implement a dummy probe_device() callback
	rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
	crypto: rsa-pkcs1pad - Use akcipher_request_complete
	m68k: /proc/hardware should depend on PROC_FS
	RISC-V: time: initialize hrtimer based broadcast clock event device
	clocksource/drivers/riscv: Patch riscv_clock_next_event() jump before first use
	wifi: iwl3945: Add missing check for create_singlethread_workqueue
	wifi: iwl4965: Add missing check for create_singlethread_workqueue()
	wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
	selftests/bpf: Fix out-of-srctree build
	ACPI: resource: Add IRQ overrides for MAINGEAR Vector Pro 2 models
	ACPI: resource: Do IRQ override on all TongFang GMxRGxx
	crypto: octeontx2 - Fix objects shared between several modules
	crypto: crypto4xx - Call dma_unmap_page when done
	wifi: mac80211: move color collision detection report in a delayed work
	wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
	wifi: mac80211: fix non-MLO station association
	wifi: mac80211: Don't translate MLD addresses for multicast
	wifi: mac80211: avoid u32_encode_bits() warning
	wifi: mac80211: fix off-by-one link setting
	tools/lib/thermal: Fix thermal_sampling_exit()
	thermal/drivers/hisi: Drop second sensor hi3660
	selftests/bpf: Fix map_kptr test.
	wifi: mac80211: pass 'sta' to ieee80211_rx_data_set_sta()
	bpf: Zeroing allocated object from slab in bpf memory allocator
	selftests/bpf: Fix xdp_do_redirect on s390x
	can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
	can: esd_usb: Make use of can_change_state() and relocate checking skb for NULL
	xsk: check IFF_UP earlier in Tx path
	LoongArch, bpf: Use 4 instructions for function address in JIT
	bpf: Fix global subprog context argument resolution logic
	irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
	irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
	net/smc: fix potential panic dues to unprotected smc_llc_srv_add_link()
	net/smc: fix application data exception
	selftests/net: Interpret UDP_GRO cmsg data as an int value
	l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()
	net: bcmgenet: fix MoCA LED control
	net: lan966x: Fix possible deadlock inside PTP
	net/mlx4_en: Introduce flexible array to silence overflow warning
	selftest: fib_tests: Always cleanup before exit
	sefltests: netdevsim: wait for devlink instance after netns removal
	drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
	drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
	drm/bridge: ti-sn65dsi83: Fix delay after reset deassert to match spec
	drm: mxsfb: DRM_IMX_LCDIF should depend on ARCH_MXC
	drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
	drm/bridge: megachips: Fix error handling in i2c_register_driver()
	drm/vkms: Fix memory leak in vkms_init()
	drm/vkms: Fix null-ptr-deref in vkms_release()
	drm/vc4: dpi: Fix format mapping for RGB565
	drm: tidss: Fix pixel format definition
	gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
	drm/vc4: drop all currently held locks if deadlock happens
	hwmon: (ftsteutates) Fix scaling of measurements
	drm/msm/dpu: check for null return of devm_kzalloc() in dpu_writeback_init()
	drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
	pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins
	pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
	pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
	drm/vc4: hvs: Set AXI panic modes
	drm/vc4: hvs: SCALER_DISPBKGND_AUTOHS is only valid on HVS4
	drm/vc4: hvs: Correct interrupt masking bit assignment for HVS5
	drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
	drm/vc4: hdmi: Correct interlaced timings again
	drm/msm: clean event_thread->worker in case of an error
	drm/panel-edp: fix name for IVO product id 854b
	scsi: qla2xxx: Fix exchange oversubscription
	scsi: qla2xxx: Fix exchange oversubscription for management commands
	scsi: qla2xxx: edif: Fix clang warning
	ASoC: fsl_sai: initialize is_dsp_mode flag
	drm/bridge: tc358767: Set default CLRSIPO count
	drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
	ALSA: hda/ca0132: minor fix for allocation size
	drm/amdgpu: Use the sched from entity for amdgpu_cs trace
	drm/msm/gem: Add check for kmalloc
	drm/msm/dpu: Disallow unallocated resources to be returned
	drm/bridge: lt9611: fix sleep mode setup
	drm/bridge: lt9611: fix HPD reenablement
	drm/bridge: lt9611: fix polarity programming
	drm/bridge: lt9611: fix programming of video modes
	drm/bridge: lt9611: fix clock calculation
	drm/bridge: lt9611: pass a pointer to the of node
	regulator: tps65219: use IS_ERR() to detect an error pointer
	drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
	drm: exynos: dsi: Fix MIPI_DSI*_NO_* mode flags
	drm/msm/dsi: Allow 2 CTRLs on v2.5.0
	scsi: ufs: exynos: Fix DMA alignment for PAGE_SIZE != 4096
	drm/msm/dpu: sc7180: add missing WB2 clock control
	drm/msm: use strscpy instead of strncpy
	drm/msm/dpu: Add check for cstate
	drm/msm/dpu: Add check for pstates
	drm/msm/mdp5: Add check for kzalloc
	habanalabs: bugs fixes in timestamps buff alloc
	pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()
	pinctrl: mediatek: Initialize variable pullen and pullup to zero
	pinctrl: mediatek: Initialize variable *buf to zero
	gpu: host1x: Fix mask for syncpoint increment register
	gpu: host1x: Don't skip assigning syncpoints to channels
	drm/tegra: firewall: Check for is_addr_reg existence in IMM check
	pinctrl: renesas: rzg2l: Fix configuring the GPIO pins as interrupts
	drm/msm/dpu: set pdpu->is_rt_pipe early in dpu_plane_sspp_atomic_update()
	drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd
	drm/mediatek: Use NULL instead of 0 for NULL pointer
	drm/mediatek: Drop unbalanced obj unref
	drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
	drm/mediatek: Clean dangling pointer on bind error path
	ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
	dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr
	gpio: vf610: connect GPIO label to dev name
	ASoC: topology: Properly access value coming from topology file
	spi: dw_bt1: fix MUX_MMIO dependencies
	ASoC: mchp-spdifrx: fix controls which rely on rsr register
	ASoC: mchp-spdifrx: fix return value in case completion times out
	ASoC: mchp-spdifrx: fix controls that works with completion mechanism
	ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()
	dm: improve shrinker debug names
	regmap: apply reg_base and reg_downshift for single register ops
	ASoC: rsnd: fixup #endif position
	ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()
	ASoC: dt-bindings: meson: fix gx-card codec node regex
	regulator: tps65219: use generic set_bypass()
	hwmon: (asus-ec-sensors) add missing mutex path
	hwmon: (ltc2945) Handle error case in ltc2945_value_store
	ALSA: hda: Fix the control element identification for multiple codecs
	drm/amdgpu: fix enum odm_combine_mode mismatch
	scsi: mpt3sas: Fix a memory leak
	scsi: aic94xx: Add missing check for dma_map_single()
	HID: multitouch: Add quirks for flipped axes
	HID: retain initial quirks set up when creating HID devices
	ASoC: qcom: q6apm-lpass-dai: unprepare stream if its already prepared
	ASoC: qcom: q6apm-dai: fix race condition while updating the position pointer
	ASoC: qcom: q6apm-dai: Add SNDRV_PCM_INFO_BATCH flag
	ASoC: codecs: lpass: register mclk after runtime pm
	ASoC: codecs: lpass: fix incorrect mclk rate
	drm/amd/display: don't call dc_interrupt_set() for disabled crtcs
	HID: logitech-hidpp: Hard-code HID++ 1.0 fast scroll support
	spi: bcm63xx-hsspi: Fix multi-bit mode setting
	hwmon: (mlxreg-fan) Return zero speed for broken fan
	ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init
	dm: remove flush_scheduled_work() during local_exit()
	nfs4trace: fix state manager flag printing
	NFS: fix disabling of swap
	spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
	ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
	HID: bigben: use spinlock to protect concurrent accesses
	HID: bigben_worker() remove unneeded check on report_field
	HID: bigben: use spinlock to safely schedule workers
	hid: bigben_probe(): validate report count
	ALSA: hda/hdmi: Register with vga_switcheroo on Dual GPU Macbooks
	drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()
	NFSD: enhance inter-server copy cleanup
	NFSD: fix leaked reference count of nfsd4_ssc_umount_item
	nfsd: fix race to check ls_layouts
	nfsd: clean up potential nfsd_file refcount leaks in COPY codepath
	NFSD: fix problems with cleanup on errors in nfsd4_copy
	nfsd: fix courtesy client with deny mode handling in nfs4_upgrade_open
	nfsd: don't fsync nfsd_files on last close
	NFSD: copy the whole verifier in nfsd_copy_write_verifier
	cifs: Fix lost destroy smbd connection when MR allocate failed
	cifs: Fix warning and UAF when destroy the MR list
	cifs: use tcon allocation functions even for dummy tcon
	gfs2: jdata writepage fix
	perf llvm: Fix inadvertent file creation
	leds: led-core: Fix refcount leak in of_led_get()
	leds: is31fl319x: Wrap mutex_destroy() for devm_add_action_or_rest()
	leds: simatic-ipc-leds-gpio: Make sure we have the GPIO providing driver
	tools/tracing/rtla: osnoise_hist: use total duration for average calculation
	perf inject: Use perf_data__read() for auxtrace
	perf intel-pt: Do not try to queue auxtrace data on pipe
	perf test bpf: Skip test if kernel-debuginfo is not present
	perf tools: Fix auto-complete on aarch64
	sparc: allow PM configs for sparc32 COMPILE_TEST
	selftests: find echo binary to use -ne options
	selftests/ftrace: Fix bash specific "==" operator
	selftests: use printf instead of echo -ne
	perf record: Fix segfault with --overwrite and --max-size
	printf: fix errname.c list
	perf tests stat_all_metrics: Change true workload to sleep workload for system wide check
	objtool: add UACCESS exceptions for __tsan_volatile_read/write
	mfd: cs5535: Don't build on UML
	mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
	dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0
	RDMA/erdma: Fix refcount leak in erdma_mmap
	dmaengine: HISI_DMA should depend on ARCH_HISI
	RDMA/hns: Fix refcount leak in hns_roce_mmap
	iio: light: tsl2563: Do not hardcode interrupt trigger type
	usb: gadget: fusb300_udc: free irq on the error path in fusb300_probe()
	i2c: designware: fix i2c_dw_clk_rate() return size to be u32
	soundwire: cadence: Don't overflow the command FIFOs
	driver core: fix potential null-ptr-deref in device_add()
	kobject: modify kobject_get_path() to take a const *
	kobject: Fix slab-out-of-bounds in fill_kobj_path()
	alpha/boot/tools/objstrip: fix the check for ELF header
	media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible()
	media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU
	media: uvcvideo: Refactor uvc_ctrl_mappings_uvcXX
	media: uvcvideo: Refactor power_line_frequency_controls_limited
	coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR
	coresight: cti: Prevent negative values of enable count
	coresight: cti: Add PM runtime call in enable_store
	usb: typec: intel_pmc_mux: Don't leak the ACPI device reference count
	PCI/IOV: Enlarge virtfn sysfs name buffer
	PCI: switchtec: Return -EFAULT for copy_to_user() errors
	PCI: endpoint: pci-epf-vntb: Clean up kernel_doc warning
	PCI: endpoint: pci-epf-vntb: Add epf_ntb_mw_bar_clear() num_mws kernel-doc
	hwtracing: hisi_ptt: Only add the supported devices to the filters list
	tty: serial: fsl_lpuart: disable Rx/Tx DMA in lpuart32_shutdown()
	tty: serial: fsl_lpuart: clear LPUART Status Register in lpuart32_shutdown()
	serial: tegra: Add missing clk_disable_unprepare() in tegra_uart_hw_init()
	Revert "char: pcmcia: cm4000_cs: Replace mdelay with usleep_range in set_protocol"
	eeprom: idt_89hpesx: Fix error handling in idt_init()
	applicom: Fix PCI device refcount leak in applicom_init()
	firmware: stratix10-svc: add missing gen_pool_destroy() in stratix10_svc_drv_probe()
	firmware: stratix10-svc: fix error handle while alloc/add device failed
	VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF
	mei: pxp: Use correct macros to initialize uuid_le
	misc/mei/hdcp: Use correct macros to initialize uuid_le
	misc: fastrpc: Fix an error handling path in fastrpc_rpmsg_probe()
	driver core: fix resource leak in device_add()
	driver core: location: Free struct acpi_pld_info *pld before return false
	drivers: base: transport_class: fix possible memory leak
	drivers: base: transport_class: fix resource leak when transport_add_device() fails
	firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle
	fotg210-udc: Add missing completion handler
	dmaengine: dw-edma: Fix missing src/dst address of interleaved xfers
	fpga: microchip-spi: move SPI I/O buffers out of stack
	fpga: microchip-spi: rewrite status polling in a time measurable way
	usb: early: xhci-dbc: Fix a potential out-of-bound memory access
	tty: serial: fsl_lpuart: Fix the wrong RXWATER setting for rx dma case
	RDMA/cxgb4: add null-ptr-check after ip_dev_find()
	usb: musb: mediatek: don't unregister something that wasn't registered
	usb: gadget: configfs: Restrict symlink creation is UDC already binded
	phy: mediatek: remove temporary variable @mask_
	PCI: mt7621: Delay phy ports initialization
	iommu: dart: Add suspend/resume support
	iommu: dart: Support >64 stream IDs
	iommu/dart: Fix apple_dart_device_group for PCI groups
	iommu/vt-d: Set No Execute Enable bit in PASID table entry
	power: supply: remove faulty cooling logic
	RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()
	usb: max-3421: Fix setting of I/O pins
	RDMA/irdma: Cap MSIX used to online CPUs + 1
	serial: fsl_lpuart: fix RS485 RTS polariy inverse issue
	tty: serial: imx: Handle RS485 DE signal active high
	tty: serial: imx: disable Ageing Timer interrupt request irq
	driver core: fw_devlink: Add DL_FLAG_CYCLE support to device links
	driver core: fw_devlink: Don't purge child fwnode's consumer links
	driver core: fw_devlink: Allow marking a fwnode link as being part of a cycle
	driver core: fw_devlink: Consolidate device link flag computation
	driver core: fw_devlink: Improve check for fwnode with no device/driver
	driver core: fw_devlink: Make cycle detection more robust
	mtd: mtdpart: Don't create platform device that'll never probe
	usb: host: fsl-mph-dr-of: reuse device_set_of_node_from_dev
	dmaengine: dw-edma: Fix readq_ch() return value truncation
	PCI: Fix dropping valid root bus resources with .end = zero
	phy: rockchip-typec: fix tcphy_get_mode error case
	PCI: qcom: Fix host-init error handling
	iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()
	iommu: Fix error unwind in iommu_group_alloc()
	iommu/amd: Do not identity map v2 capable device when snp is enabled
	dmaengine: sf-pdma: pdma_desc memory leak fix
	dmaengine: dw-axi-dmac: Do not dereference NULL structure
	dmaengine: ptdma: check for null desc before calling pt_cmd_callback
	iommu/vt-d: Fix error handling in sva enable/disable paths
	iommu/vt-d: Allow to use flush-queue when first level is default
	RDMA/rxe: cleanup some error handling in rxe_verbs.c
	RDMA/rxe: Fix missing memory barriers in rxe_queue.h
	IB/hfi1: Fix math bugs in hfi1_can_pin_pages()
	IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors
	Revert "remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use"
	remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
	media: ti: cal: fix possible memory leak in cal_ctx_create()
	media: platform: ti: Add missing check for devm_regulator_get
	media: imx: imx7-media-csi: fix missing clk_disable_unprepare() in imx7_csi_init()
	powerpc: Remove linker flag from KBUILD_AFLAGS
	s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64
	builddeb: clean generated package content
	media: max9286: Fix memleak in max9286_v4l2_register()
	media: ov2740: Fix memleak in ov2740_init_controls()
	media: ov5675: Fix memleak in ov5675_init_controls()
	media: ov5640: Fix soft reset sequence and timings
	media: ov5640: Handle delays when no reset_gpio set
	media: mc: Get media_device directly from pad
	media: i2c: ov772x: Fix memleak in ov772x_probe()
	media: i2c: imx219: Split common registers from mode tables
	media: i2c: imx219: Fix binning for RAW8 capture
	media: platform: mtk-mdp3: Fix return value check in mdp_probe()
	media: camss: csiphy-3ph: avoid undefined behavior
	media: platform: mtk-mdp3: remove unused VIDEO_MEDIATEK_VPU config
	media: platform: mtk-mdp3: fix Kconfig dependencies
	media: v4l2-jpeg: correct the skip count in jpeg_parse_app14_data
	media: v4l2-jpeg: ignore the unknown APP14 marker
	media: hantro: Fix JPEG encoder ENUM_FRMSIZE on RK3399
	media: imx-jpeg: Apply clk_bulk api instead of operating specific clk
	media: amphion: correct the unspecified color space
	media: drivers/media/v4l2-core/v4l2-h264 : add detection of null pointers
	media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
	media: atomisp: Only set default_run_mode on first open of a stream/asd
	media: i2c: ov7670: 0 instead of -EINVAL was returned
	media: usb: siano: Fix use after free bugs caused by do_submit_urb
	media: saa7134: Use video_unregister_device for radio_dev
	rpmsg: glink: Avoid infinite loop on intent for missing channel
	rpmsg: glink: Release driver_override
	ARM: OMAP2+: omap4-common: Fix refcount leak bug
	arm64: dts: qcom: msm8996: Add additional A2NoC clocks
	udf: Define EFSCORRUPTED error code
	context_tracking: Fix noinstr vs KASAN
	exit: Detect and fix irq disabled state in oops
	ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
	fs: Use CHECK_DATA_CORRUPTION() when kernel bugs are detected
	blk-iocost: fix divide by 0 error in calc_lcoefs()
	blk-cgroup: dropping parent refcount after pd_free_fn() is done
	blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()
	trace/blktrace: fix memory leak with using debugfs_lookup()
	btrfs: scrub: improve tree block error reporting
	arm64: zynqmp: Enable hs termination flag for USB dwc3 controller
	cpuidle, intel_idle: Fix CPUIDLE_FLAG_INIT_XSTATE
	x86/fpu: Don't set TIF_NEED_FPU_LOAD for PF_IO_WORKER threads
	cpuidle: drivers: firmware: psci: Dont instrument suspend code
	cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUG
	perf/x86/intel/uncore: Add Meteor Lake support
	wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()
	wifi: ath11k: fix monitor mode bringup crash
	wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
	rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
	rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
	srcu: Delegate work to the boot cpu if using SRCU_SIZE_SMALL
	rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug
	rcu-tasks: Handle queue-shrink/callback-enqueue race condition
	wifi: ath11k: debugfs: fix to work with multiple PCI devices
	thermal: intel: Fix unsigned comparison with less than zero
	timers: Prevent union confusion from unexpected restart_syscall()
	x86/bugs: Reset speculation control settings on init
	bpftool: Always disable stack protection for BPF objects
	wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
	wifi: mt7601u: fix an integer underflow
	inet: fix fast path in __inet_hash_connect()
	ice: restrict PTP HW clock freq adjustments to 100, 000, 000 PPB
	ice: add missing checks for PF vsi type
	ACPI: Don't build ACPICA with '-Os'
	bpf, docs: Fix modulo zero, division by zero, overflow, and underflow
	thermal: intel: intel_pch: Add support for Wellsburg PCH
	clocksource: Suspend the watchdog temporarily when high read latency detected
	crypto: hisilicon: Wipe entire pool on error
	net: bcmgenet: Add a check for oversized packets
	m68k: Check syscall_trace_enter() return code
	s390/mm,ptdump: avoid Kasan vs Memcpy Real markers swapping
	netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()
	can: isotp: check CAN address family in isotp_bind()
	gcc-plugins: drop -std=gnu++11 to fix GCC 13 build
	tools/power/x86/intel-speed-select: Add Emerald Rapid quirk
	wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
	ACPI: video: Fix Lenovo Ideapad Z570 DMI match
	net/mlx5: fw_tracer: Fix debug print
	coda: Avoid partial allocation of sig_inputArgs
	uaccess: Add minimum bounds check on kernel buffer size
	s390/idle: mark arch_cpu_idle() noinstr
	time/debug: Fix memory leak with using debugfs_lookup()
	PM: domains: fix memory leak with using debugfs_lookup()
	PM: EM: fix memory leak with using debugfs_lookup()
	Bluetooth: Fix issue with Actions Semi ATS2851 based devices
	Bluetooth: btusb: Add new PID/VID 0489:e0f2 for MT7921
	Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE
	wifi: rtw89: debug: avoid invalid access on RTW89_DBG_SEL_MAC_30
	hv_netvsc: Check status in SEND_RNDIS_PKT completion message
	s390/kfence: fix page fault reporting
	devlink: Fix TP_STRUCT_entry in trace of devlink health report
	scm: add user copy checks to put_cmsg()
	drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Tab 3 X90F
	drm: panel-orientation-quirks: Add quirk for DynaBook K50
	drm/amd/display: Reduce expected sdp bandwidth for dcn321
	drm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write
	drm/amd/display: Fix potential null-deref in dm_resume
	drm/omap: dsi: Fix excessive stack usage
	HID: Add Mapping for System Microphone Mute
	drm/tiny: ili9486: Do not assume 8-bit only SPI controllers
	drm/amd/display: Defer DIG FIFO disable after VID stream enable
	drm/radeon: free iio for atombios when driver shutdown
	drm/amd: Avoid BUG() for case of SRIOV missing IP version
	drm/amdkfd: Page aligned memory reserve size
	scsi: lpfc: Fix use-after-free KFENCE violation during sysfs firmware write
	Revert "fbcon: don't lose the console font across generic->chip driver switch"
	drm/amd: Avoid ASSERT for some message failures
	drm: amd: display: Fix memory leakage
	drm/amd/display: fix mapping to non-allocated address
	HID: uclogic: Add frame type quirk
	HID: uclogic: Add battery quirk
	HID: uclogic: Add support for XP-PEN Deco Pro SW
	HID: uclogic: Add support for XP-PEN Deco Pro MW
	drm/msm/dsi: Add missing check for alloc_ordered_workqueue
	drm: rcar-du: Add quirk for H3 ES1.x pclk workaround
	drm: rcar-du: Fix setting a reserved bit in DPLLCR
	drm/drm_print: correct format problem
	drm/amd/display: Set hvm_enabled flag for S/G mode
	habanalabs: extend fatal messages to contain PCI info
	habanalabs: fix bug in timestamps registration code
	docs/scripts/gdb: add necessary make scripts_gdb step
	drm/msm/dpu: Add DSC hardware blocks to register snapshot
	ASoC: soc-compress: Reposition and add pcm_mutex
	ASoC: kirkwood: Iterate over array indexes instead of using pointer math
	regulator: max77802: Bounds check regulator id against opmode
	regulator: s5m8767: Bounds check id indexing into arrays
	Revert "drm/amdgpu: TA unload messages are not actually sent to psp when amdgpu is uninstalled"
	drm/amd/display: fix FCLK pstate change underflow
	gfs2: Improve gfs2_make_fs_rw error handling
	hwmon: (coretemp) Simplify platform device handling
	hwmon: (nct6775) Directly call ASUS ACPI WMI method
	hwmon: (nct6775) B650/B660/X670 ASUS boards support
	pinctrl: at91: use devm_kasprintf() to avoid potential leaks
	drm/amd/display: Do not commit pipe when updating DRR
	scsi: snic: Fix memory leak with using debugfs_lookup()
	scsi: ufs: core: Fix device management cmd timeout flow
	HID: logitech-hidpp: Don't restart communication if not necessary
	drm/amd/display: Enable P-state validation checks for DCN314
	drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
	drm/amd/display: Disable HUBP/DPP PG on DCN314 for now
	dm thin: add cond_resched() to various workqueue loops
	dm cache: add cond_resched() to various workqueue loops
	nfsd: zero out pointers after putting nfsd_files on COPY setup error
	nfsd: don't hand out delegation on setuid files being opened for write
	cifs: prevent data race in smb2_reconnect()
	drm/shmem-helper: Revert accidental non-GPL export
	driver core: fw_devlink: Avoid spurious error message
	wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
	scsi: mpt3sas: Remove usage of dma_get_required_mask() API
	firmware: coreboot: framebuffer: Ignore reserved pixel color bits
	block: don't allow multiple bios for IOCB_NOWAIT issue
	block: clear bio->bi_bdev when putting a bio back in the cache
	block: be a bit more careful in checking for NULL bdev while polling
	rtc: pm8xxx: fix set-alarm race
	ipmi: ipmb: Fix the MODULE_PARM_DESC associated to 'retry_time_ms'
	ipmi:ssif: resend_msg() cannot fail
	ipmi_ssif: Rename idle state and check
	io_uring: Replace 0-length array with flexible array
	io_uring: use user visible tail in io_uring_poll()
	io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
	io_uring: add a conditional reschedule to the IOPOLL cancelation loop
	io_uring: add reschedule point to handle_tw_list()
	io_uring/rsrc: disallow multi-source reg buffers
	io_uring: remove MSG_NOSIGNAL from recvmsg
	io_uring: fix fget leak when fs don't support nowait buffered read
	s390/extmem: return correct segment type in __segment_load()
	s390: discard .interp section
	s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
	s390/kprobes: fix current_kprobe never cleared after kprobes reenter
	KVM: s390: disable migration mode when dirty tracking is disabled
	cifs: Fix uninitialized memory read in smb3_qfs_tcon()
	cifs: Fix uninitialized memory reads for oparms.mode
	cifs: fix mount on old smb servers
	cifs: introduce cifs_io_parms in smb2_async_writev()
	cifs: split out smb3_use_rdma_offload() helper
	cifs: don't try to use rdma offload on encrypted connections
	cifs: Check the lease context if we actually got a lease
	cifs: return a single-use cfid if we did not get a lease
	scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
	scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
	scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
	btrfs: hold block group refcount during async discard
	locking/rwsem: Prevent non-first waiter from spinning in down_write() slowpath
	ksmbd: fix wrong data area length for smb2 lock request
	ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length
	ksmbd: fix possible memory leak in smb2_lock()
	torture: Fix hang during kthread shutdown phase
	ARM: dts: exynos: correct HDMI phy compatible in Exynos4
	io_uring: mark task TASK_RUNNING before handling resume/task work
	hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
	fs: hfsplus: fix UAF issue in hfsplus_put_super
	exfat: fix reporting fs error when reading dir beyond EOF
	exfat: fix unexpected EOF while reading dir
	exfat: redefine DIR_DELETED as the bad cluster number
	exfat: fix inode->i_blocks for non-512 byte sector size device
	fs: dlm: don't set stop rx flag after node reset
	fs: dlm: move sending fin message into state change handling
	fs: dlm: send FIN ack back in right cases
	f2fs: fix information leak in f2fs_move_inline_dirents()
	f2fs: retry to update the inode page given data corruption
	f2fs: fix cgroup writeback accounting with fs-layer encryption
	f2fs: fix kernel crash due to null io->bio
	ocfs2: fix defrag path triggering jbd2 ASSERT
	ocfs2: fix non-auto defrag path not working issue
	fs/cramfs/inode.c: initialize file_ra_state
	selftests/landlock: Skip overlayfs tests when not supported
	selftests/landlock: Test ptrace as much as possible with Yama
	udf: Truncate added extents on failed expansion
	udf: Do not bother merging very long extents
	udf: Do not update file length for failed writes to inline files
	udf: Preserve link count of system files
	udf: Detect system inodes linked into directory hierarchy
	udf: Fix file corruption when appending just after end of preallocated extent
	md: don't update recovery_cp when curr_resync is ACTIVE
	RDMA/siw: Fix user page pinning accounting
	KVM: Destroy target device if coalesced MMIO unregistration fails
	KVM: VMX: Fix crash due to uninitialized current_vmcs
	KVM: Register /dev/kvm as the _very_ last thing during initialization
	KVM: x86: Purge "highest ISR" cache when updating APICv state
	KVM: x86: Blindly get current x2APIC reg value on "nodecode write" traps
	KVM: x86: Don't inhibit APICv/AVIC on xAPIC ID "change" if APIC is disabled
	KVM: x86: Don't inhibit APICv/AVIC if xAPIC ID mismatch is due to 32-bit ID
	KVM: SVM: Flush the "current" TLB when activating AVIC
	KVM: SVM: Process ICR on AVIC IPI delivery failure due to invalid target
	KVM: SVM: Don't put/load AVIC when setting virtual APIC mode
	KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI
	KVM: x86: Inject #GP on x2APIC WRMSR that sets reserved bits 63:32
	KVM: SVM: Fix potential overflow in SEV's send|receive_update_data()
	KVM: SVM: hyper-v: placate modpost section mismatch error
	selftests: x86: Fix incorrect kernel headers search path
	x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
	x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
	x86/reboot: Disable virtualization in an emergency if SVM is supported
	x86/reboot: Disable SVM, not just VMX, when stopping CPUs
	x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
	x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
	x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
	x86/microcode/AMD: Add a @cpu parameter to the reloading functions
	x86/microcode/AMD: Fix mixed steppings support
	x86/speculation: Allow enabling STIBP with legacy IBRS
	Documentation/hw-vuln: Document the interaction between IBRS and STIBP
	virt/sev-guest: Return -EIO if certificate buffer is not large enough
	brd: mark as nowait compatible
	brd: return 0/-error from brd_insert_page()
	brd: check for REQ_NOWAIT and set correct page allocation mask
	ima: fix error handling logic when file measurement failed
	ima: Align ima_file_mmap() parameters with mmap_file LSM hook
	selftests/powerpc: Fix incorrect kernel headers search path
	selftests/ftrace: Fix eprobe syntax test case to check filter support
	selftests: sched: Fix incorrect kernel headers search path
	selftests: core: Fix incorrect kernel headers search path
	selftests: pid_namespace: Fix incorrect kernel headers search path
	selftests: arm64: Fix incorrect kernel headers search path
	selftests: clone3: Fix incorrect kernel headers search path
	selftests: pidfd: Fix incorrect kernel headers search path
	selftests: membarrier: Fix incorrect kernel headers search path
	selftests: kcmp: Fix incorrect kernel headers search path
	selftests: media_tests: Fix incorrect kernel headers search path
	selftests: gpio: Fix incorrect kernel headers search path
	selftests: filesystems: Fix incorrect kernel headers search path
	selftests: user_events: Fix incorrect kernel headers search path
	selftests: ptp: Fix incorrect kernel headers search path
	selftests: sync: Fix incorrect kernel headers search path
	selftests: rseq: Fix incorrect kernel headers search path
	selftests: move_mount_set_group: Fix incorrect kernel headers search path
	selftests: mount_setattr: Fix incorrect kernel headers search path
	selftests: perf_events: Fix incorrect kernel headers search path
	selftests: ipc: Fix incorrect kernel headers search path
	selftests: futex: Fix incorrect kernel headers search path
	selftests: drivers: Fix incorrect kernel headers search path
	selftests: dmabuf-heaps: Fix incorrect kernel headers search path
	selftests: vm: Fix incorrect kernel headers search path
	selftests: seccomp: Fix incorrect kernel headers search path
	irqdomain: Fix association race
	irqdomain: Fix disassociation race
	irqdomain: Look for existing mapping only once
	irqdomain: Drop bogus fwspec-mapping error handling
	irqdomain: Refactor __irq_domain_alloc_irqs()
	irqdomain: Fix mapping-creation race
	irqdomain: Fix domain registration race
	crypto: qat - fix out-of-bounds read
	mm/damon/paddr: fix missing folio_put()
	ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
	ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
	jbd2: fix data missing when reusing bh which is ready to be checkpointed
	ext4: optimize ea_inode block expansion
	ext4: refuse to create ea block when umounted
	cxl/pmem: Fix nvdimm registration races
	mtd: spi-nor: sfdp: Fix index value for SCCR dwords
	mtd: spi-nor: spansion: Consider reserved bits in CFR5 register
	mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
	dm: send just one event on resize, not two
	dm: add cond_resched() to dm_wq_work()
	dm: add cond_resched() to dm_wq_requeue_work()
	wifi: rtw88: use RTW_FLAG_POWERON flag to prevent to power on/off twice
	wifi: rtl8xxxu: Use a longer retry limit of 48
	wifi: ath11k: allow system suspend to survive ath11k
	wifi: cfg80211: Fix use after free for wext
	wifi: cfg80211: Set SSID if it is not already set
	cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies
	qede: fix interrupt coalescing configuration
	thermal: intel: powerclamp: Fix cur_state for multi package system
	dm flakey: fix logic when corrupting a bio
	dm cache: free background tracker's queued work in btracker_destroy
	dm flakey: don't corrupt the zero page
	dm flakey: fix a bug with 32-bit highmem systems
	hwmon: (peci/cputemp) Fix off-by-one in coretemp_label allocation
	hwmon: (nct6775) Fix incorrect parenthesization in nct6775_write_fan_div()
	ARM: dts: qcom: sdx65: Add Qcom SMMU-500 as the fallback for IOMMU node
	ARM: dts: qcom: sdx55: Add Qcom SMMU-500 as the fallback for IOMMU node
	ARM: dts: exynos: correct TMU phandle in Exynos4210
	ARM: dts: exynos: correct TMU phandle in Exynos4
	ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
	ARM: dts: exynos: correct TMU phandle in Exynos5250
	ARM: dts: exynos: correct TMU phandle in Odroid XU
	ARM: dts: exynos: correct TMU phandle in Odroid HC1
	arm64: mm: hugetlb: Disable HUGETLB_PAGE_OPTIMIZE_VMEMMAP
	fuse: add inode/permission checks to fileattr_get/fileattr_set
	rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
	ceph: update the time stamps and try to drop the suid/sgid
	regulator: core: Use ktime_get_boottime() to determine how long a regulator was off
	panic: fix the panic_print NMI backtrace setting
	mm/hwpoison: convert TTU_IGNORE_HWPOISON to TTU_HWPOISON
	alpha: fix FEN fault handling
	dax/kmem: Fix leak of memory-hotplug resources
	mips: fix syscall_get_nr
	media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
	remoteproc/mtk_scp: Move clk ops outside send_lock
	docs: gdbmacros: print newest record
	mm: memcontrol: deprecate charge moving
	mm/thp: check and bail out if page in deferred queue already
	ktest.pl: Give back console on Ctrt^C on monitor
	kprobes: Fix to handle forcibly unoptimized kprobes on freeing_list
	ktest.pl: Fix missing "end_monitor" when machine check fails
	ktest.pl: Add RUN_TIMEOUT option with default unlimited
	memory tier: release the new_memtier in find_create_memory_tier()
	ring-buffer: Handle race between rb_move_tail and rb_check_pages
	tools/bootconfig: fix single & used for logical condition
	tracing/eprobe: Fix to add filter on eprobe description in README file
	iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
	iommu/amd: Improve page fault error reporting
	scsi: aacraid: Allocate cmd_priv with scsicmd
	scsi: qla2xxx: Fix link failure in NPIV environment
	scsi: qla2xxx: Check if port is online before sending ELS
	scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
	scsi: qla2xxx: Remove unintended flag clearing
	scsi: qla2xxx: Fix erroneous link down
	scsi: qla2xxx: Remove increment of interface err cnt
	scsi: ses: Don't attach if enclosure has no components
	scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
	scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
	scsi: ses: Fix possible desc_ptr out-of-bounds accesses
	scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
	RISC-V: add a spin_shadow_stack declaration
	riscv: Avoid enabling interrupts in die()
	riscv: mm: fix regression due to update_mmu_cache change
	riscv: jump_label: Fixup unaligned arch_static_branch function
	riscv, mm: Perform BPF exhandler fixup on page fault
	riscv: ftrace: Remove wasted nops for !RISCV_ISA_C
	riscv: ftrace: Reduce the detour code size to half
	MIPS: DTS: CI20: fix otg power gpio
	PCI/PM: Observe reset delay irrespective of bridge_d3
	PCI: Unify delay handling for reset and resume
	PCI: hotplug: Allow marking devices as disconnected during bind/unbind
	PCI: Avoid FLR for AMD FCH AHCI adapters
	PCI/DPC: Await readiness of secondary bus after reset
	bus: mhi: ep: Only send -ENOTCONN status if client driver is available
	bus: mhi: ep: Move chan->lock to the start of processing queued ch ring
	bus: mhi: ep: Save channel state locally during suspend and resume
	iommu/vt-d: Avoid superfluous IOTLB tracking in lazy mode
	iommu/vt-d: Fix PASID directory pointer coherency
	vfio/type1: exclude mdevs from VFIO_UPDATE_VADDR
	vfio/type1: prevent underflow of locked_vm via exec()
	vfio/type1: track locked_vm per dma
	vfio/type1: restore locked_vm
	drm/amd: Fix initialization for nbio 7.5.1
	drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
	drm/radeon: Fix eDP for single-display iMac11,2
	drm/i915: Don't use stolen memory for ring buffers with LLC
	drm/i915: Don't use BAR mappings for ring buffers with LLC
	drm/gud: Fix UBSAN warning
	drm/edid: fix AVI infoframe aspect ratio handling
	drm/edid: fix parsing of 3D modes from HDMI VSDB
	qede: avoid uninitialized entries in coal_entry array
	brd: use radix_tree_maybe_preload instead of radix_tree_preload
	sbitmap: Advance the queue index before waking up a queue
	wait: Return number of exclusive waiters awaken
	sbitmap: Try each queue to wake up at least one waiter
	kbuild: Port silent mode detection to future gnu make.
	net: avoid double iput when sock_alloc_file fails
	Linux 6.1.16

Change-Id: I705caf70ee547e6d55f38d133bdcd50713aed745
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-03-13 15:45:34 +00:00
Sangmoon Kim
1e6d82d241 ANDROID: Re-apply vendor hooks for information of blocked tasks
This reverts commit 66330b896c (Revert "ANDROID: vendor_hooks:
add waiting information for blocked tasks")

The original patch has been reverted to resolve merge issues
with 5.18-rc1. This patch adds again the vendor hooks for the
original purpose.

Bug: 271799327

Signed-off-by: Sangmoon Kim <sangmoon.kim@samsung.com>
Change-Id: I86b9b7dd553b7b6a5930ace6280ecd66dc5dc4df
2023-03-10 18:16:02 +00:00
Waiman Long
35ab0cadbc locking/rwsem: Prevent non-first waiter from spinning in down_write() slowpath
commit b613c7f31476c44316bfac1af7cac714b7d6bef9 upstream.

A non-first waiter can potentially spin in the for loop of
rwsem_down_write_slowpath() without sleeping but fail to acquire the
lock even if the rwsem is free if the following sequence happens:

  Non-first RT waiter    First waiter      Lock holder
  -------------------    ------------      -----------
  Acquire wait_lock
  rwsem_try_write_lock():
    Set handoff bit if RT or
      wait too long
    Set waiter->handoff_set
  Release wait_lock
                         Acquire wait_lock
                         Inherit waiter->handoff_set
                         Release wait_lock
					   Clear owner
                                           Release lock
  if (waiter.handoff_set) {
    rwsem_spin_on_owner(();
    if (OWNER_NULL)
      goto trylock_again;
  }
  trylock_again:
  Acquire wait_lock
  rwsem_try_write_lock():
     if (first->handoff_set && (waiter != first))
	return false;
  Release wait_lock

A non-first waiter cannot really acquire the rwsem even if it mistakenly
believes that it can spin on OWNER_NULL value. If that waiter happens
to be an RT task running on the same CPU as the first waiter, it can
block the first waiter from acquiring the rwsem leading to live lock.
Fix this problem by making sure that a non-first waiter cannot spin in
the slowpath loop without sleeping.

Fixes: d257cc8cb8 ("locking/rwsem: Make handoff bit handling more consistent")
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Mukesh Ojha <quic_mojha@quicinc.com>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230126003628.365092-2-longman@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-10 09:34:06 +01:00
Peter Zijlstra
b78434f6ee cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUG
[ Upstream commit 5a5d7e9badd2cb8065db171961bd30bd3595e4b6 ]

In order to avoid WARN/BUG from generating nested or even recursive
warnings, force rcu_is_watching() true during
WARN/lockdep_rcu_suspicious().

Notably things like unwinding the stack can trigger rcu_dereference()
warnings, which then triggers more unwinding which then triggers more
warnings etc..

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230126151323.408156109@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:47 +01:00
Waiman Long
fd38b56f3a locking/rwsem: Disable preemption in all down_read*() and up_read() code paths
[ Upstream commit 3f5245538a1964ae186ab7e1636020a41aa63143 ]

Commit:

  91d2a812df ("locking/rwsem: Make handoff writer optimistically spin on owner")

... assumes that when the owner field is changed to NULL, the lock will
become free soon. But commit:

  48dfb5d256 ("locking/rwsem: Disable preemption while trying for rwsem lock")

... disabled preemption when acquiring rwsem for write.

However, preemption has not yet been disabled when acquiring a read lock
on a rwsem.  So a reader can add a RWSEM_READER_BIAS to count without
setting owner to signal a reader, got preempted out by a RT task which
then spins in the writer slowpath as owner remains NULL leading to live lock.

One easy way to fix this problem is to disable preemption at all the
down_read*() and up_read() code paths as implemented in this patch.

Fixes: 91d2a812df ("locking/rwsem: Make handoff writer optimistically spin on owner")
Reported-by: Mukesh Ojha <quic_mojha@quicinc.com>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230126003628.365092-3-longman@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:32:41 +01:00
Greg Kroah-Hartman
b6010109cf Merge 6.1.12 into android14-6.1
Changes in 6.1.12
	hv_netvsc: Allocate memory in netvsc_dma_map() with GFP_ATOMIC
	btrfs: limit device extents to the device size
	btrfs: zlib: zero-initialize zlib workspace
	ALSA: hda/realtek: Add Positivo N14KP6-TG
	ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
	ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360
	ALSA: hda/realtek: Enable mute/micmute LEDs on HP Elitebook, 645 G9
	ALSA: hda/realtek: Add quirk for ASUS UM3402 using CS35L41
	ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform.
	Revert "PCI/ASPM: Save L1 PM Substates Capability for suspend/resume"
	Revert "PCI/ASPM: Refactor L1 PM Substates Control Register programming"
	tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw
	of/address: Return an error when no valid dma-ranges are found
	can: j1939: do not wait 250 ms if the same addr was already claimed
	HID: logitech: Disable hi-res scrolling on USB
	xfrm: compat: change expression for switch in xfrm_xlate64
	IB/hfi1: Restore allocated resources on failed copyout
	xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()
	IB/IPoIB: Fix legacy IPoIB due to wrong number of queues
	xfrm: annotate data-race around use_time
	RDMA/irdma: Fix potential NULL-ptr-dereference
	RDMA/usnic: use iommu_map_atomic() under spin_lock()
	xfrm: fix bug with DSCP copy to v6 from v4 tunnel
	of: Make OF framebuffer device names unique
	net: phylink: move phy_device_free() to correctly release phy device
	bonding: fix error checking in bond_debug_reregister()
	net: macb: Perform zynqmp dynamic configuration only for SGMII interface
	net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY
	ionic: clean interrupt before enabling queue to avoid credit race
	ionic: refactor use of ionic_rx_fill()
	ionic: missed doorbell workaround
	cpufreq: qcom-hw: Fix cpufreq_driver->get() for non-LMH systems
	uapi: add missing ip/ipv6 header dependencies for linux/stddef.h
	net: microchip: sparx5: fix PTP init/deinit not checking all ports
	HID: amd_sfh: if no sensors are enabled, clean up
	drm/i915: Don't do the WM0->WM1 copy w/a if WM1 is already enabled
	drm/virtio: exbuf->fence_fd unmodified on interrupted wait
	cpuset: Call set_cpus_allowed_ptr() with appropriate mask for task
	nvidiafb: detect the hardware support before removing console.
	ice: Do not use WQ_MEM_RECLAIM flag for workqueue
	ice: Fix disabling Rx VLAN filtering with port VLAN enabled
	ice: switch: fix potential memleak in ice_add_adv_recipe()
	net: dsa: mt7530: don't change PVC_EG_TAG when CPU port becomes VLAN-aware
	net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q"
	net/mlx5e: Update rx ring hw mtu upon each rx-fcs flag change
	net/mlx5: Bridge, fix ageing of peer FDB entries
	net/mlx5e: Fix crash unsetting rx-vlan-filter in switchdev mode
	net/mlx5e: IPoIB, Show unknown speed instead of error
	net/mlx5: Store page counters in a single array
	net/mlx5: Expose SF firmware pages counter
	net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers
	net/mlx5: fw_tracer, Zero consumer index when reloading the tracer
	net/mlx5: Serialize module cleanup with reload and remove
	igc: Add ndo_tx_timeout support
	net: ethernet: mtk_eth_soc: fix wrong parameters order in __xdp_rxq_info_reg()
	txhash: fix sk->sk_txrehash default
	selftests: Fix failing VXLAN VNI filtering test
	rds: rds_rm_zerocopy_callback() use list_first_entry()
	net: mscc: ocelot: fix all IPv6 getting trapped to CPU when PTP timestamping is used
	selftests: forwarding: lib: quote the sysctl values
	arm64: dts: rockchip: fix input enable pinconf on rk3399
	arm64: dts: rockchip: set sdmmc0 speed to sd-uhs-sdr50 on rock-3a
	ALSA: pci: lx6464es: fix a debug loop
	riscv: stacktrace: Fix missing the first frame
	arm64: dts: mediatek: mt8195: Fix vdosys* compatible strings
	ASoC: tas5805m: rework to avoid scheduling while atomic.
	ASoC: tas5805m: add missing page switch.
	ASoC: fsl_sai: fix getting version from VERID
	ASoC: topology: Return -ENOMEM on memory allocation failure
	clk: microchip: mpfs-ccc: Use devm_kasprintf() for allocating formatted strings
	pinctrl: mediatek: Fix the drive register definition of some Pins
	pinctrl: aspeed: Fix confusing types in return value
	pinctrl: single: fix potential NULL dereference
	spi: dw: Fix wrong FIFO level setting for long xfers
	pinctrl: aspeed: Revert "Force to disable the function's signal"
	pinctrl: intel: Restore the pins that used to be in Direct IRQ mode
	cifs: Fix use-after-free in rdata->read_into_pages()
	net: USB: Fix wrong-direction WARNING in plusb.c
	mptcp: do not wait for bare sockets' timeout
	mptcp: be careful on subflow status propagation on errors
	selftests: mptcp: allow more slack for slow test-case
	selftests: mptcp: stop tests earlier
	btrfs: simplify update of last_dir_index_offset when logging a directory
	btrfs: free device in btrfs_close_devices for a single device filesystem
	usb: core: add quirk for Alcor Link AK9563 smartcard reader
	usb: typec: altmodes/displayport: Fix probe pin assign check
	cxl/region: Fix null pointer dereference for resetting decoder
	cxl/region: Fix passthrough-decoder detection
	clk: ingenic: jz4760: Update M/N/OD calculation algorithm
	pinctrl: qcom: sm8450-lpass-lpi: correct swr_rx_data group
	drm/amd/pm: add SMU 13.0.7 missing GetPptLimit message mapping
	ceph: flush cap releases when the session is flushed
	nvdimm: Support sizeof(struct page) > MAX_STRUCT_PAGE_SIZE
	riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte
	riscv: kprobe: Fixup misaligned load text
	powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch
	drm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptes
	tracing: Fix TASK_COMM_LEN in trace event format file
	rtmutex: Ensure that the top waiter is always woken up
	arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive
	arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive
	arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive
	Fix page corruption caused by racy check in __free_pages
	arm64: efi: Force the use of SetVirtualAddressMap() on eMAG and Altra Max machines
	drm/amd/pm: bump SMU 13.0.0 driver_if header version
	drm/amdgpu: Add unique_id support for GC 11.0.1/2
	drm/amd/pm: bump SMU 13.0.7 driver_if header version
	drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini
	drm/amdgpu/smu: skip pptable init under sriov
	drm/amd/display: properly handling AGP aperture in vm setup
	drm/amd/display: fix cursor offset on rotation 180
	drm/i915: Move fd_install after last use of fence
	drm/i915: Initialize the obj flags for shmem objects
	drm/i915: Fix VBT DSI DVO port handling
	x86/speculation: Identify processors vulnerable to SMT RSB predictions
	KVM: x86: Mitigate the cross-thread return address predictions bug
	Documentation/hw-vuln: Add documentation for Cross-Thread Return Predictions
	Linux 6.1.12

Change-Id: I4deaf57516f3e7b40e728d473986fa355a11fc37
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-02-16 16:46:43 +00:00
Wander Lairson Costa
446ac8dd89 rtmutex: Ensure that the top waiter is always woken up
commit db370a8b9f67ae5f17e3d5482493294467784504 upstream.

Let L1 and L2 be two spinlocks.

Let T1 be a task holding L1 and blocked on L2. T1, currently, is the top
waiter of L2.

Let T2 be the task holding L2.

Let T3 be a task trying to acquire L1.

The following events will lead to a state in which the wait queue of L2
isn't empty, but no task actually holds the lock.

T1                T2                                  T3
==                ==                                  ==

                                                      spin_lock(L1)
                                                      | raw_spin_lock(L1->wait_lock)
                                                      | rtlock_slowlock_locked(L1)
                                                      | | task_blocks_on_rt_mutex(L1, T3)
                                                      | | | orig_waiter->lock = L1
                                                      | | | orig_waiter->task = T3
                                                      | | | raw_spin_unlock(L1->wait_lock)
                                                      | | | rt_mutex_adjust_prio_chain(T1, L1, L2, orig_waiter, T3)
                  spin_unlock(L2)                     | | | |
                  | rt_mutex_slowunlock(L2)           | | | |
                  | | raw_spin_lock(L2->wait_lock)    | | | |
                  | | wakeup(T1)                      | | | |
                  | | raw_spin_unlock(L2->wait_lock)  | | | |
                                                      | | | | waiter = T1->pi_blocked_on
                                                      | | | | waiter == rt_mutex_top_waiter(L2)
                                                      | | | | waiter->task == T1
                                                      | | | | raw_spin_lock(L2->wait_lock)
                                                      | | | | dequeue(L2, waiter)
                                                      | | | | update_prio(waiter, T1)
                                                      | | | | enqueue(L2, waiter)
                                                      | | | | waiter != rt_mutex_top_waiter(L2)
                                                      | | | | L2->owner == NULL
                                                      | | | | wakeup(T1)
                                                      | | | | raw_spin_unlock(L2->wait_lock)
T1 wakes up
T1 != top_waiter(L2)
schedule_rtlock()

If the deadline of T1 is updated before the call to update_prio(), and the
new deadline is greater than the deadline of the second top waiter, then
after the requeue, T1 is no longer the top waiter, and the wrong task is
woken up which will then go back to sleep because it is not the top waiter.

This can be reproduced in PREEMPT_RT with stress-ng:

while true; do
    stress-ng --sched deadline --sched-period 1000000000 \
    	    --sched-runtime 800000000 --sched-deadline \
    	    1000000000 --mmapfork 23 -t 20
done

A similar issue was pointed out by Thomas versus the cases where the top
waiter drops out early due to a signal or timeout, which is a general issue
for all regular rtmutex use cases, e.g. futex.

The problematic code is in rt_mutex_adjust_prio_chain():

    	// Save the top waiter before dequeue/enqueue
	prerequeue_top_waiter = rt_mutex_top_waiter(lock);

	rt_mutex_dequeue(lock, waiter);
	waiter_update_prio(waiter, task);
	rt_mutex_enqueue(lock, waiter);

	// Lock has no owner?
	if (!rt_mutex_owner(lock)) {
	   	// Top waiter changed
  ---->		if (prerequeue_top_waiter != rt_mutex_top_waiter(lock))
  ---->			wake_up_state(waiter->task, waiter->wake_state);

This only takes the case into account where @waiter is the new top waiter
due to the requeue operation.

But it fails to handle the case where @waiter is not longer the top
waiter due to the requeue operation.

Ensure that the new top waiter is woken up so in all cases so it can take
over the ownerless lock.

[ tglx: Amend changelog, add Fixes tag ]

Fixes: c014ef69b3 ("locking/rtmutex: Add wake_state to rt_mutex_waiter")
Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230117172649.52465-1-wander@redhat.com
Link: https://lore.kernel.org/r/20230202123020.14844-1-wander@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-14 19:11:54 +01:00
Greg Kroah-Hartman
9a38b58eee This is the 6.1.3 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmO1VPMACgkQONu9yGCS
 aT43Og//RoOLMIYeZo3Hj6hJWv12bYOOwKDqORV1E7up5pA564nzgZ18z9ftxR36
 gjjATO4vM+6CYnkmtAZxbw6DZMgmqz4aYqR0nsjMFibV2iLPAb/zK23Kp1afaLbs
 rQjD0LwOlCH2YdIoFfcOONCoLeimy51woOXATlngmDEz0+6du4OznvRvIROzBEpX
 lcJZh5XcAIgGZa4VKapkLHXc01kdBRrn5D3M8S2gHxgM8MAcOmt7nKDUxuviX1zP
 JquY6vSVMhK2dCYgLr+dMdwHAe4LGX5M+T0hbLIw8IFjo9R//Efq0+chZY+4vdnx
 HD/9U5Sg0E/XtbcwvdU1Uu0k0kXG1g4pA09fOL0ph7GJeZntSQPMNunPyL9S8XKF
 g7nsM1dd3j0Gak99TTCQPxCjqa2jS5BDMZyT7iOHvXURmhOpjgVHcL/nZx5m2irG
 uFzCbwqZYZrmyfMqz8r6fIWt5x3lKpjd6QvBxc0xlCX6WzItmpADZl8ZnHFHxjPd
 pgFKZKaWAK8aAOYSdsKpx1t0VFO7z/5T0y6IH9WTzdmnjOQeyVuJ511u9leuo6Oy
 tNo+WZx+pevXs7phr1IMQ6sM0O+BotQaN21RP2mwxNNut/Cx3T+PStPnx0u03Be3
 0lE+OBcqv3bUYKHj4mB7HdY+RB5ECHKBe+IOeXAox5gA/SbSwzs=
 =FalZ
 -----END PGP SIGNATURE-----

Merge 6.1.3 into android14-6.1

Changes in 6.1.3
	eventpoll: add EPOLL_URING_WAKE poll wakeup flag
	eventfd: provide a eventfd_signal_mask() helper
	io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
	nvme-pci: fix doorbell buffer value endianness
	nvme-pci: fix mempool alloc size
	nvme-pci: fix page size checks
	ACPI: resource: do IRQ override on XMG Core 15
	ACPI: resource: do IRQ override on Lenovo 14ALC7
	ACPI: resource: Add Asus ExpertBook B2502 to Asus quirks
	ACPI: video: Fix Apple GMUX backlight detection
	block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
	ata: ahci: Fix PCS quirk application for suspend
	nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
	nvmet: don't defer passthrough commands with trivial effects to the workqueue
	fs/ntfs3: Validate BOOT record_size
	fs/ntfs3: Add overflow check for attribute size
	fs/ntfs3: Validate data run offset
	fs/ntfs3: Add null pointer check to attr_load_runs_vcn
	fs/ntfs3: Fix memory leak on ntfs_fill_super() error path
	fs/ntfs3: Add null pointer check for inode operations
	fs/ntfs3: Validate attribute name offset
	fs/ntfs3: Validate buffer length while parsing index
	fs/ntfs3: Validate resident attribute name
	fs/ntfs3: Fix slab-out-of-bounds read in run_unpack
	soundwire: dmi-quirks: add quirk variant for LAPBC710 NUC15
	phy: sun4i-usb: Introduce port2 SIDDQ quirk
	phy: sun4i-usb: Add support for the H616 USB PHY
	fs/ntfs3: Validate index root when initialize NTFS security
	fs/ntfs3: Use __GFP_NOWARN allocation at wnd_init()
	fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_fill_super()
	fs/ntfs3: Delete duplicate condition in ntfs_read_mft()
	fs/ntfs3: Fix slab-out-of-bounds in r_page
	objtool: Fix SEGFAULT
	iommu/mediatek: Fix crash on isr after kexec()
	powerpc/rtas: avoid device tree lookups in rtas_os_term()
	powerpc/rtas: avoid scheduling in rtas_os_term()
	rtc: msc313: Fix function prototype mismatch in msc313_rtc_probe()
	NFSD: fix use-after-free in __nfs42_ssc_open()
	kprobes: kretprobe events missing on 2-core KVM guest
	HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint
	HID: plantronics: Additional PIDs for double volume key presses quirk
	futex: Fix futex_waitv() hrtimer debug object leak on kcalloc error
	rtmutex: Add acquire semantics for rtmutex lock acquisition slow path
	mm, mremap: fix mremap() expanding vma with addr inside vma
	mm/mempolicy: fix memory leak in set_mempolicy_home_node system call
	kmsan: export kmsan_handle_urb
	kmsan: include linux/vmalloc.h
	pstore: Properly assign mem_type property
	pstore/zone: Use GFP_ATOMIC to allocate zone buffer
	hfsplus: fix bug causing custom uid and gid being unable to be assigned with mount
	ACPI: x86: s2idle: Force AMD GUID/_REV 2 on HP Elitebook 865
	ACPI: x86: s2idle: Stop using AMD specific codepath for Rembrandt+
	binfmt: Fix error return code in load_elf_fdpic_binary()
	ovl: Use ovl mounter's fsuid and fsgid in ovl_link()
	ovl: update ->f_iocb_flags when ovl_change_flags() modifies ->f_flags
	ALSA: line6: correct midi status byte when receiving data from podxt
	ALSA: line6: fix stack overflow in line6_midi_transmit
	ALSA: hda/hdmi: Static PCM mapping again with AMD HDMI codecs
	pnode: terminate at peers of source
	mfd: mt6360: Add bounds checking in Regmap read/write call-backs
	md: fix a crash in mempool_free
	mm, compaction: fix fast_isolate_around() to stay within boundaries
	f2fs: should put a page when checking the summary info
	f2fs: allow to read node block after shutdown
	block: Do not reread partition table on exclusively open device
	mmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNING
	tpm: acpi: Call acpi_put_table() to fix memory leak
	tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
	tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
	SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() fails
	kcsan: Instrument memcpy/memset/memmove with newer Clang
	Linux 6.1.3

Change-Id: I3ac637177b476ff43ad964c687327a7cbb62d017
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-01-18 18:46:54 +00:00
JianMin Liu
1072495f4a ANDROID: rwsem: Add vendor hook to the rw-semaphore
Add the hook to apply vendor's performance tune for owner
of rwsem.

Add the hook for the waiter list of rwsem to allow
vendor perform waiting queue enhancement

ANDROID_VENDOR_DATA added to rw_semaphore

Bug: 264007752

Signed-off-by: JianMin Liu <jian-min.liu@mediatek.com>
Signed-off-by: Guanwun Chen <guan-wun.chen@mediatek.com>
Change-Id: I007a5e26f3db2adaeaf4e5ccea414ce7abfa83b8
2023-01-05 17:35:49 +00:00
Mel Gorman
97e14ae082 rtmutex: Add acquire semantics for rtmutex lock acquisition slow path
commit 1c0908d8e441631f5b8ba433523cf39339ee2ba0 upstream.

Jan Kara reported the following bug triggering on 6.0.5-rt14 running dbench
on XFS on arm64.

 kernel BUG at fs/inode.c:625!
 Internal error: Oops - BUG: 0 [#1] PREEMPT_RT SMP
 CPU: 11 PID: 6611 Comm: dbench Tainted: G            E   6.0.0-rt14-rt+ #1
 pc : clear_inode+0xa0/0xc0
 lr : clear_inode+0x38/0xc0
 Call trace:
  clear_inode+0xa0/0xc0
  evict+0x160/0x180
  iput+0x154/0x240
  do_unlinkat+0x184/0x300
  __arm64_sys_unlinkat+0x48/0xc0
  el0_svc_common.constprop.4+0xe4/0x2c0
  do_el0_svc+0xac/0x100
  el0_svc+0x78/0x200
  el0t_64_sync_handler+0x9c/0xc0
  el0t_64_sync+0x19c/0x1a0

It also affects 6.1-rc7-rt5 and affects a preempt-rt fork of 5.14 so this
is likely a bug that existed forever and only became visible when ARM
support was added to preempt-rt. The same problem does not occur on x86-64
and he also reported that converting sb->s_inode_wblist_lock to
raw_spinlock_t makes the problem disappear indicating that the RT spinlock
variant is the problem.

Which in turn means that RT mutexes on ARM64 and any other weakly ordered
architecture are affected by this independent of RT.

Will Deacon observed:

  "I'd be more inclined to be suspicious of the slowpath tbh, as we need to
   make sure that we have acquire semantics on all paths where the lock can
   be taken. Looking at the rtmutex code, this really isn't obvious to me
   -- for example, try_to_take_rt_mutex() appears to be able to return via
   the 'takeit' label without acquire semantics and it looks like we might
   be relying on the caller's subsequent _unlock_ of the wait_lock for
   ordering, but that will give us release semantics which aren't correct."

Sebastian Andrzej Siewior prototyped a fix that does work based on that
comment but it was a little bit overkill and added some fences that should
not be necessary.

The lock owner is updated with an IRQ-safe raw spinlock held, but the
spin_unlock does not provide acquire semantics which are needed when
acquiring a mutex.

Adds the necessary acquire semantics for lock owner updates in the slow path
acquisition and the waiter bit logic.

It successfully completed 10 iterations of the dbench workload while the
vanilla kernel fails on the first iteration.

[ bigeasy@linutronix.de: Initial prototype fix ]

Fixes: 700318d1d7 ("locking/rtmutex: Use acquire/release semantics")
Fixes: 23f78d4a03 ("[PATCH] pi-futex: rt mutex core")
Reported-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20221202100223.6mevpbl7i6x5udfd@techsingularity.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-04 11:28:58 +01:00
Jason A. Donenfeld
81895a65ec treewide: use prandom_u32_max() when possible, part 1
Rather than incurring a division or requesting too many random bytes for
the given range, use the prandom_u32_max() function, which only takes
the minimum required bytes from the RNG and avoids divisions. This was
done mechanically with this coccinelle script:

@basic@
expression E;
type T;
identifier get_random_u32 =~ "get_random_int|prandom_u32|get_random_u32";
typedef u64;
@@
(
- ((T)get_random_u32() % (E))
+ prandom_u32_max(E)
|
- ((T)get_random_u32() & ((E) - 1))
+ prandom_u32_max(E * XXX_MAKE_SURE_E_IS_POW2)
|
- ((u64)(E) * get_random_u32() >> 32)
+ prandom_u32_max(E)
|
- ((T)get_random_u32() & ~PAGE_MASK)
+ prandom_u32_max(PAGE_SIZE)
)

@multi_line@
identifier get_random_u32 =~ "get_random_int|prandom_u32|get_random_u32";
identifier RAND;
expression E;
@@

-       RAND = get_random_u32();
        ... when != RAND
-       RAND %= (E);
+       RAND = prandom_u32_max(E);

// Find a potential literal
@literal_mask@
expression LITERAL;
type T;
identifier get_random_u32 =~ "get_random_int|prandom_u32|get_random_u32";
position p;
@@

        ((T)get_random_u32()@p & (LITERAL))

// Add one to the literal.
@script:python add_one@
literal << literal_mask.LITERAL;
RESULT;
@@

value = None
if literal.startswith('0x'):
        value = int(literal, 16)
elif literal[0] in '123456789':
        value = int(literal, 10)
if value is None:
        print("I don't know how to handle %s" % (literal))
        cocci.include_match(False)
elif value == 2**32 - 1 or value == 2**31 - 1 or value == 2**24 - 1 or value == 2**16 - 1 or value == 2**8 - 1:
        print("Skipping 0x%x for cleanup elsewhere" % (value))
        cocci.include_match(False)
elif value & (value + 1) != 0:
        print("Skipping 0x%x because it's not a power of two minus one" % (value))
        cocci.include_match(False)
elif literal.startswith('0x'):
        coccinelle.RESULT = cocci.make_expr("0x%x" % (value + 1))
else:
        coccinelle.RESULT = cocci.make_expr("%d" % (value + 1))

// Replace the literal mask with the calculated result.
@plus_one@
expression literal_mask.LITERAL;
position literal_mask.p;
expression add_one.RESULT;
identifier FUNC;
@@

-       (FUNC()@p & (LITERAL))
+       prandom_u32_max(RESULT)

@collapse_ret@
type T;
identifier VAR;
expression E;
@@

 {
-       T VAR;
-       VAR = (E);
-       return VAR;
+       return E;
 }

@drop_var@
type T;
identifier VAR;
@@

 {
-       T VAR;
        ... when != VAR
 }

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: KP Singh <kpsingh@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz> # for ext4 and sbitmap
Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com> # for drbd
Acked-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Heiko Carstens <hca@linux.ibm.com> # for s390
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # for mmc
Acked-by: Darrick J. Wong <djwong@kernel.org> # for xfs
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-10-11 17:42:55 -06:00
Linus Torvalds
27bc50fc90 - Yu Zhao's Multi-Gen LRU patches are here. They've been under test in
linux-next for a couple of months without, to my knowledge, any negative
   reports (or any positive ones, come to that).
 
 - Also the Maple Tree from Liam R.  Howlett.  An overlapping range-based
   tree for vmas.  It it apparently slight more efficient in its own right,
   but is mainly targeted at enabling work to reduce mmap_lock contention.
 
   Liam has identified a number of other tree users in the kernel which
   could be beneficially onverted to mapletrees.
 
   Yu Zhao has identified a hard-to-hit but "easy to fix" lockdep splat
   (https://lkml.kernel.org/r/CAOUHufZabH85CeUN-MEMgL8gJGzJEWUrkiM58JkTbBhh-jew0Q@mail.gmail.com).
   This has yet to be addressed due to Liam's unfortunately timed
   vacation.  He is now back and we'll get this fixed up.
 
 - Dmitry Vyukov introduces KMSAN: the Kernel Memory Sanitizer.  It uses
   clang-generated instrumentation to detect used-unintialized bugs down to
   the single bit level.
 
   KMSAN keeps finding bugs.  New ones, as well as the legacy ones.
 
 - Yang Shi adds a userspace mechanism (madvise) to induce a collapse of
   memory into THPs.
 
 - Zach O'Keefe has expanded Yang Shi's madvise(MADV_COLLAPSE) to support
   file/shmem-backed pages.
 
 - userfaultfd updates from Axel Rasmussen
 
 - zsmalloc cleanups from Alexey Romanov
 
 - cleanups from Miaohe Lin: vmscan, hugetlb_cgroup, hugetlb and memory-failure
 
 - Huang Ying adds enhancements to NUMA balancing memory tiering mode's
   page promotion, with a new way of detecting hot pages.
 
 - memcg updates from Shakeel Butt: charging optimizations and reduced
   memory consumption.
 
 - memcg cleanups from Kairui Song.
 
 - memcg fixes and cleanups from Johannes Weiner.
 
 - Vishal Moola provides more folio conversions
 
 - Zhang Yi removed ll_rw_block() :(
 
 - migration enhancements from Peter Xu
 
 - migration error-path bugfixes from Huang Ying
 
 - Aneesh Kumar added ability for a device driver to alter the memory
   tiering promotion paths.  For optimizations by PMEM drivers, DRM
   drivers, etc.
 
 - vma merging improvements from Jakub Matěn.
 
 - NUMA hinting cleanups from David Hildenbrand.
 
 - xu xin added aditional userspace visibility into KSM merging activity.
 
 - THP & KSM code consolidation from Qi Zheng.
 
 - more folio work from Matthew Wilcox.
 
 - KASAN updates from Andrey Konovalov.
 
 - DAMON cleanups from Kaixu Xia.
 
 - DAMON work from SeongJae Park: fixes, cleanups.
 
 - hugetlb sysfs cleanups from Muchun Song.
 
 - Mike Kravetz fixes locking issues in hugetlbfs and in hugetlb core.
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQTTMBEPP41GrTpTJgfdBJ7gKXxAjgUCY0HaPgAKCRDdBJ7gKXxA
 joPjAQDZ5LlRCMWZ1oxLP2NOTp6nm63q9PWcGnmY50FjD/dNlwEAnx7OejCLWGWf
 bbTuk6U2+TKgJa4X7+pbbejeoqnt5QU=
 =xfWx
 -----END PGP SIGNATURE-----

Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull MM updates from Andrew Morton:

 - Yu Zhao's Multi-Gen LRU patches are here. They've been under test in
   linux-next for a couple of months without, to my knowledge, any
   negative reports (or any positive ones, come to that).

 - Also the Maple Tree from Liam Howlett. An overlapping range-based
   tree for vmas. It it apparently slightly more efficient in its own
   right, but is mainly targeted at enabling work to reduce mmap_lock
   contention.

   Liam has identified a number of other tree users in the kernel which
   could be beneficially onverted to mapletrees.

   Yu Zhao has identified a hard-to-hit but "easy to fix" lockdep splat
   at [1]. This has yet to be addressed due to Liam's unfortunately
   timed vacation. He is now back and we'll get this fixed up.

 - Dmitry Vyukov introduces KMSAN: the Kernel Memory Sanitizer. It uses
   clang-generated instrumentation to detect used-unintialized bugs down
   to the single bit level.

   KMSAN keeps finding bugs. New ones, as well as the legacy ones.

 - Yang Shi adds a userspace mechanism (madvise) to induce a collapse of
   memory into THPs.

 - Zach O'Keefe has expanded Yang Shi's madvise(MADV_COLLAPSE) to
   support file/shmem-backed pages.

 - userfaultfd updates from Axel Rasmussen

 - zsmalloc cleanups from Alexey Romanov

 - cleanups from Miaohe Lin: vmscan, hugetlb_cgroup, hugetlb and
   memory-failure

 - Huang Ying adds enhancements to NUMA balancing memory tiering mode's
   page promotion, with a new way of detecting hot pages.

 - memcg updates from Shakeel Butt: charging optimizations and reduced
   memory consumption.

 - memcg cleanups from Kairui Song.

 - memcg fixes and cleanups from Johannes Weiner.

 - Vishal Moola provides more folio conversions

 - Zhang Yi removed ll_rw_block() :(

 - migration enhancements from Peter Xu

 - migration error-path bugfixes from Huang Ying

 - Aneesh Kumar added ability for a device driver to alter the memory
   tiering promotion paths. For optimizations by PMEM drivers, DRM
   drivers, etc.

 - vma merging improvements from Jakub Matěn.

 - NUMA hinting cleanups from David Hildenbrand.

 - xu xin added aditional userspace visibility into KSM merging
   activity.

 - THP & KSM code consolidation from Qi Zheng.

 - more folio work from Matthew Wilcox.

 - KASAN updates from Andrey Konovalov.

 - DAMON cleanups from Kaixu Xia.

 - DAMON work from SeongJae Park: fixes, cleanups.

 - hugetlb sysfs cleanups from Muchun Song.

 - Mike Kravetz fixes locking issues in hugetlbfs and in hugetlb core.

Link: https://lkml.kernel.org/r/CAOUHufZabH85CeUN-MEMgL8gJGzJEWUrkiM58JkTbBhh-jew0Q@mail.gmail.com [1]

* tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (555 commits)
  hugetlb: allocate vma lock for all sharable vmas
  hugetlb: take hugetlb vma_lock when clearing vma_lock->vma pointer
  hugetlb: fix vma lock handling during split vma and range unmapping
  mglru: mm/vmscan.c: fix imprecise comments
  mm/mglru: don't sync disk for each aging cycle
  mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol
  mm: memcontrol: use do_memsw_account() in a few more places
  mm: memcontrol: deprecate swapaccounting=0 mode
  mm: memcontrol: don't allocate cgroup swap arrays when memcg is disabled
  mm/secretmem: remove reduntant return value
  mm/hugetlb: add available_huge_pages() func
  mm: remove unused inline functions from include/linux/mm_inline.h
  selftests/vm: add selftest for MADV_COLLAPSE of uffd-minor memory
  selftests/vm: add file/shmem MADV_COLLAPSE selftest for cleared pmd
  selftests/vm: add thp collapse shmem testing
  selftests/vm: add thp collapse file and tmpfs testing
  selftests/vm: modularize thp collapse memory operations
  selftests/vm: dedup THP helpers
  mm/khugepaged: add tracepoint to hpage_collapse_scan_file()
  mm/madvise: add file and shmem support to MADV_COLLAPSE
  ...
2022-10-10 17:53:04 -07:00
Linus Torvalds
3e71f0167b Locking changes for v6.1:
- Disable preemption in rwsem_write_trylock()'s attempt to
    take the rwsem, to avoid RT tasks hogging the CPU, which
    managed to preempt this function after the owner has
    been cleared but before a new owner is set. Also add
    debug checks to enforce this.
 
  - Add __lockfunc to more slow path functions and add
    __sched to semaphore functions.
 
  - Mark spinlock APIs noinline when the respective CONFIG_INLINE_SPIN_*
    toggles are disabled, to reduce LTO text size.
 
  - Print more debug information when lockdep gets confused
    in look_up_lock_class().
 
  - Improve header file abuse checks.
 
  - Misc cleanups
 
 Signed-off-by: Ingo Molnar <mingo@kernel.org>
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCgAvFiEEBpT5eoXrXCwVQwEKEnMQ0APhK1gFAmM/3r8RHG1pbmdvQGtl
 cm5lbC5vcmcACgkQEnMQ0APhK1h3fxAAvUfAq4M41aKVDnF1n3e4fZ8MhAQcV7U6
 qC+jwS6VII6bd0D2SQseij3BQZqGcg4CqjY7uX/jgcrQHib4haDZn+VlWPacsuN5
 yUVNkQNdns6+/fFyLkVJg9HfK7Cw4dgXDUquu/Ivd9YTjtGkGQkJQMa5H5x6NpIF
 PcN5B2ynGLt9CBOxqON/SqUIulh58ydUhiPOv0wjgCiCvLXltyCrR57QfX8eY22/
 SEzOlbluzp3WBS2beCztKkw1X6woIhhMoCzg2w2WXbvoBr2upKHmIiDoR6U1MUv3
 d3iLP4oqmXuN6KQViZsXf7/nulx3NlMkK+9/xLdVbeUiG/F+99AWdiYH5SipFZi0
 IxvXPMnl7WE2MxbnL83nbslVoOwxb5M0Ia5VIoJvZnL5HF8P2MQLvSA1XucXJE+f
 0JgNb65SFE9SmYLWD8JHOe5whVFf0ccqpuSDVsEzYj18vh/BPbTpVvbrLTp2muSY
 uELtGELjgw9zDXFxgC8s3iA6ZzRzcUdCXvrE4ZF+fAjMs3RvtJ66SyRL0R1tevDB
 zgsV1oGvgJtKeqaOKqa8IA2OxqQRSIAKzSUFYVmDXG+XXuGrmcWu+LeSetleU3lZ
 cS4NAlNSxtWaN6ff9+ULMooSkJQE9pK2FUwc2KNE8vrqn6mP5BeWk4cnA7KtwbYY
 fIsO1/F9pIs=
 =we4n
 -----END PGP SIGNATURE-----

Merge tag 'locking-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull locking updates from Ingo Molnar:

 - Disable preemption in rwsem_write_trylock()'s attempt to take the
   rwsem, to avoid RT tasks hogging the CPU, which managed to preempt
   this function after the owner has been cleared but before a new owner
   is set. Also add debug checks to enforce this.

 - Add __lockfunc to more slow path functions and add __sched to
   semaphore functions.

 - Mark spinlock APIs noinline when the respective CONFIG_INLINE_SPIN_*
   toggles are disabled, to reduce LTO text size.

 - Print more debug information when lockdep gets confused in
   look_up_lock_class().

 - Improve header file abuse checks.

 - Misc cleanups

* tag 'locking-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  locking/lockdep: Print more debug information - report name and key when look_up_lock_class() got confused
  locking: Add __sched to semaphore functions
  locking/rwsem: Disable preemption while trying for rwsem lock
  locking: Detect includes rwlock.h outside of spinlock.h
  locking: Add __lockfunc to slow path functions
  locking/spinlocks: Mark spinlocks noinline when inline spinlocks are disabled
  selftests: futex: Fix 'the the' typo in comment
2022-10-10 09:44:12 -07:00
Alexander Potapenko
79dbd006a6 kmsan: disable instrumentation of unsupported common kernel code
EFI stub cannot be linked with KMSAN runtime, so we disable
instrumentation for it.

Instrumenting kcov, stackdepot or lockdep leads to infinite recursion
caused by instrumentation hooks calling instrumented code again.

Link: https://lkml.kernel.org/r/20220915150417.722975-13-glider@google.com
Signed-off-by: Alexander Potapenko <glider@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Christoph Lameter <cl@linux.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Eric Biggers <ebiggers@google.com>
Cc: Eric Biggers <ebiggers@kernel.org>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Vegard Nossum <vegard.nossum@oracle.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-10-03 14:03:20 -07:00
Tetsuo Handa
76e64c73db locking/lockdep: Print more debug information - report name and key when look_up_lock_class() got confused
Printing this information will be helpful:

  ------------[ cut here ]------------
  Looking for class "l2tp_sock" with key l2tp_socket_class, but found a different class "slock-AF_INET6" with the same key
  WARNING: CPU: 1 PID: 14195 at kernel/locking/lockdep.c:940 look_up_lock_class+0xcc/0x140
  Modules linked in:
  CPU: 1 PID: 14195 Comm: a.out Not tainted 6.0.0-rc6-dirty #863
  Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
  RIP: 0010:look_up_lock_class+0xcc/0x140

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/bd99391e-f787-efe9-5ec6-3c6dc4c587b0@I-love.SAKURA.ne.jp
2022-09-21 09:58:21 +02:00
Ingo Molnar
74656d03ac Linux 6.0-rc6
-----BEGIN PGP SIGNATURE-----
 
 iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAmMngx4eHHRvcnZhbGRz
 QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiGQ1AH/1p4oOT4iqaoTueO
 MaTQhyvFFcTSLL4y1qejtytNXe4ZEJHyf03jrwtYlfx8RROkZFMJh15G1uWu2deu
 43XsUuSWpJ18/C7hRNl1LUazBbuQe30d09zLe7dvD64IAABU6/iQCIorxheTl4EU
 NXsda2egJUIbTwn2zdFSgMMJPNORxq8KHgvNY/psIEteC+lFln2l2ZXZ21JAIdBj
 lcTbvx6JpJC0AqX1UuO6NsN4nUnEEh110UtYF6lxQ7olkQKwRaUjQIVuWOFLz75n
 wDrJxPlVGbDR5zeitDaHkKqWn8LNcqHpDIuAKMxTjT0N/1/sUwHNkyGZXyy1EDJu
 e0+SX1c=
 =ITjo
 -----END PGP SIGNATURE-----

Merge tag 'v6.0-rc6' into locking/core, to refresh the branch

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2022-09-21 09:58:02 +02:00
Namhyung Kim
0d97db0265 locking: Add __sched to semaphore functions
The internal functions are marked with __sched already, let's do the same
for external functions too so that we can skip them in the stack trace.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220909000803.4181857-1-namhyung@kernel.org
2022-09-15 16:14:03 +02:00
Gokul krishna Krishnakumar
48dfb5d256 locking/rwsem: Disable preemption while trying for rwsem lock
Make the region inside the rwsem_write_trylock non preemptible.

We observe RT task is hogging CPU when trying to acquire rwsem lock
which was acquired by a kworker task but before the rwsem owner was set.

Here is the scenario:
1. CFS task (affined to a particular CPU) takes rwsem lock.

2. CFS task gets preempted by a RT task before setting owner.

3. RT task (FIFO) is trying to acquire the lock, but spinning until
RT throttling happens for the lock as the lock was taken by CFS task.

This patch attempts to fix the above issue by disabling preemption
until owner is set for the lock. While at it also fix the issues
at the places where rwsem_{set,clear}_owner() are called.

This also adds lockdep annotation of preemption disable in
rwsem_{set,clear}_owner() on Peter Z. suggestion.

Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Waiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/1662661467-24203-1-git-send-email-quic_mojha@quicinc.com
2022-09-15 16:14:02 +02:00
Marco Elver
01fe8a3f81 locking/percpu-rwsem: Add percpu_is_write_locked() and percpu_is_read_locked()
Implement simple accessors to probe percpu-rwsem's locked state:
percpu_is_write_locked(), percpu_is_read_locked().

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20220829124719.675715-11-elver@google.com
2022-08-30 10:56:23 +02:00
Namhyung Kim
501f7f69bc locking: Add __lockfunc to slow path functions
So that we can skip the functions in the perf lock contention and other
places like /proc/PID/wchan.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Waiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/20220810220346.1919485-1-namhyung@kernel.org
2022-08-19 19:47:51 +02:00
Andi Kleen
9aeaf5bc4e locking/spinlocks: Mark spinlocks noinline when inline spinlocks are disabled
Otherwise LTO will inline them anyways and cause a large kernel text increase.

Since the explicit intention here is to not inline them marking them noinline
is good documentation even for the non-LTO case.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Martin Liska <mliska@suse.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20220719110548.1544-1-jslaby@suse.cz
2022-08-04 11:05:43 +02:00
Linus Torvalds
7d9d077c78 RCU pull request for v5.20 (or whatever)
This pull request contains the following branches:
 
 doc.2022.06.21a: Documentation updates.
 
 fixes.2022.07.19a: Miscellaneous fixes.
 
 nocb.2022.07.19a: Callback-offload updates, perhaps most notably a new
 	RCU_NOCB_CPU_DEFAULT_ALL Kconfig option that causes all CPUs to
 	be offloaded at boot time, regardless of kernel boot parameters.
 	This is useful to battery-powered systems such as ChromeOS
 	and Android.  In addition, a new RCU_NOCB_CPU_CB_BOOST kernel
 	boot parameter prevents offloaded callbacks from interfering
 	with real-time workloads and with energy-efficiency mechanisms.
 
 poll.2022.07.21a: Polled grace-period updates, perhaps most notably
 	making these APIs account for both normal and expedited grace
 	periods.
 
 rcu-tasks.2022.06.21a: Tasks RCU updates, perhaps most notably reducing
 	the CPU overhead of RCU tasks trace grace periods by more than
 	a factor of two on a system with 15,000 tasks.	The reduction
 	is expected to increase with the number of tasks, so it seems
 	reasonable to hypothesize that a system with 150,000 tasks might
 	see a 20-fold reduction in CPU overhead.
 
 torture.2022.06.21a: Torture-test updates.
 
 ctxt.2022.07.05a: Updates that merge RCU's dyntick-idle tracking into
 	context tracking, thus reducing the overhead of transitioning to
 	kernel mode from either idle or nohz_full userspace execution
 	for kernels that track context independently of RCU.  This is
 	expected to be helpful primarily for kernels built with
 	CONFIG_NO_HZ_FULL=y.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCgAxFiEEbK7UrM+RBIrCoViJnr8S83LZ+4wFAmLgMcgTHHBhdWxtY2tA
 a2VybmVsLm9yZwAKCRCevxLzctn7jArXD/0fjbCwqpRjHVTzjMY8jN4zDkqZZD6m
 g8Fx27hZ4ToNFwRptyHwNezrNj14skjAJEXfdjaVw32W62ivXvf0HINvSzsTLCSq
 k2kWyBdXLc9CwY5p5W4smnpn5VoAScjg5PoPL59INoZ/Zziji323C7Zepl/1DYJt
 0T6bPCQjo1ZQoDUCyVpSjDmAqxnderWG0MeJVt74GkLqmnYLANg0GH8c7mH4+9LL
 kVGlLp5nlPgNJ4FEoFdMwNU8T/ETmaVld/m2dkiawjkXjJzB2XKtBigU91DDmXz5
 7DIdV4ABrxiy4kGNqtIe/jFgnKyVD7xiDpyfjd6KTeDr/rDS8u2ZH7+1iHsyz3g0
 Np/tS3vcd0KR+gI/d0eXxPbgm5sKlCmKw/nU2eArpW/+4LmVXBUfHTG9Jg+LJmBc
 JrUh6aEdIZJZHgv/nOQBNig7GJW43IG50rjuJxAuzcxiZNEG5lUSS23ysaA9CPCL
 PxRWKSxIEfK3kdmvVO5IIbKTQmIBGWlcWMTcYictFSVfBgcCXpPAksGvqA5JiUkc
 egW+xLFo/7K+E158vSKsVqlWZcEeUbsNJ88QOlpqnRgH++I2Yv/LhK41XfJfpH+Y
 ALxVaDd+mAq6v+qSHNVq9wT3ozXIPy/zK1hDlMIqx40h2YvaEsH4je+521oSoN9r
 vX60+QNxvUBLwA==
 =vUNm
 -----END PGP SIGNATURE-----

Merge tag 'rcu.2022.07.26a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu

Pull RCU updates from Paul McKenney:

 - Documentation updates

 - Miscellaneous fixes

 - Callback-offload updates, perhaps most notably a new
   RCU_NOCB_CPU_DEFAULT_ALL Kconfig option that causes all CPUs to be
   offloaded at boot time, regardless of kernel boot parameters.

   This is useful to battery-powered systems such as ChromeOS and
   Android. In addition, a new RCU_NOCB_CPU_CB_BOOST kernel boot
   parameter prevents offloaded callbacks from interfering with
   real-time workloads and with energy-efficiency mechanisms

 - Polled grace-period updates, perhaps most notably making these APIs
   account for both normal and expedited grace periods

 - Tasks RCU updates, perhaps most notably reducing the CPU overhead of
   RCU tasks trace grace periods by more than a factor of two on a
   system with 15,000 tasks.

   The reduction is expected to increase with the number of tasks, so it
   seems reasonable to hypothesize that a system with 150,000 tasks
   might see a 20-fold reduction in CPU overhead

 - Torture-test updates

 - Updates that merge RCU's dyntick-idle tracking into context tracking,
   thus reducing the overhead of transitioning to kernel mode from
   either idle or nohz_full userspace execution for kernels that track
   context independently of RCU.

   This is expected to be helpful primarily for kernels built with
   CONFIG_NO_HZ_FULL=y

* tag 'rcu.2022.07.26a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu: (98 commits)
  rcu: Add irqs-disabled indicator to expedited RCU CPU stall warnings
  rcu: Diagnose extended sync_rcu_do_polled_gp() loops
  rcu: Put panic_on_rcu_stall() after expedited RCU CPU stall warnings
  rcutorture: Test polled expedited grace-period primitives
  rcu: Add polled expedited grace-period primitives
  rcutorture: Verify that polled GP API sees synchronous grace periods
  rcu: Make Tiny RCU grace periods visible to polled APIs
  rcu: Make polled grace-period API account for expedited grace periods
  rcu: Switch polled grace-period APIs to ->gp_seq_polled
  rcu/nocb: Avoid polling when my_rdp->nocb_head_rdp list is empty
  rcu/nocb: Add option to opt rcuo kthreads out of RT priority
  rcu: Add nocb_cb_kthread check to rcu_is_callbacks_kthread()
  rcu/nocb: Add an option to offload all CPUs on boot
  rcu/nocb: Fix NOCB kthreads spawn failure with rcu_nocb_rdp_deoffload() direct call
  rcu/nocb: Invert rcu_state.barrier_mutex VS hotplug lock locking order
  rcu/nocb: Add/del rdp to iterate from rcuog itself
  rcu/tree: Add comment to describe GP-done condition in fqs loop
  rcu: Initialize first_gp_fqs at declaration in rcu_gp_fqs()
  rcu/kvfree: Remove useless monitor_todo flag
  rcu: Cleanup RCU urgency state for offline CPU
  ...
2022-08-02 19:12:45 -07:00
Linus Torvalds
22a39c3d86 This was a fairly quiet cycle for the locking subsystem:
- lockdep: Fix a handful of the more complex lockdep_init_map_*() primitives
    that can lose the lock_type & cause false reports. No such mishap was
    observed in the wild.
 
  - jump_label improvements: simplify the cross-arch support of
    initial NOP patching by making it arch-specific code (used on MIPS only),
    and remove the s390 initial NOP patching that was superfluous.
 
 Signed-off-by: Ingo Molnar <mingo@kernel.org>
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCgAvFiEEBpT5eoXrXCwVQwEKEnMQ0APhK1gFAmLn3jERHG1pbmdvQGtl
 cm5lbC5vcmcACgkQEnMQ0APhK1hzeg/7BTC90XeMANhTiL23iiH7dOYZwqdFeB12
 VBqdaPaGC8i+mJzVAdGyPFwCFDww6Ak6P33PcHkemuIO5+DhWis8hfw5krHEOO1k
 AyVSMOZuWJ8/g6ZenjgNFozQ8C+3NqURrpdqN55d7jhMazPWbsNLLqUgvSSqo6DY
 Ah2O+EKrDfGNCxT6/YaTAmUryctotxafSyFDQxv3RKPfCoIIVv9b3WApYqTOqFIu
 VYTPr+aAcMsU20hPMWQI4kbQaoCxFqr3bZiZtAiS/IEunqi+PlLuWjrnCUpLwVTC
 +jOCkNJHt682FPKTWelUnCnkOg9KhHRujRst5mi1+2tWAOEvKltxfe05UpsZYC3b
 jhzddREMwBt3iYsRn65LxxsN4AMK/C/41zjejHjZpf+Q5kwDsc6Ag3L5VifRFURS
 KRwAy9ejoVYwnL7CaVHM2zZtOk4YNxPeXmiwoMJmOufpdmD1LoYbNUbpSDf+goIZ
 yPJpxFI5UN8gi8IRo3DMe4K2nqcFBC3wFn8tNSAu+44gqDwGJAJL6MsLpkLSZkk8
 3QN9O11UCRTJDkURjoEWPgRRuIu9HZ4GKNhiblDy6gNM/jDE/m5OG4OYfiMhojgc
 KlMhsPzypSpeApL55lvZ+AzxH8mtwuUGwm8lnIdZ2kIse1iMwapxdWXWq9wQr8eW
 jLWHgyZ6rcg=
 =4B89
 -----END PGP SIGNATURE-----

Merge tag 'locking-core-2022-08-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull locking updates from Ingo Molnar:
 "This was a fairly quiet cycle for the locking subsystem:

   - lockdep: Fix a handful of the more complex lockdep_init_map_*()
     primitives that can lose the lock_type & cause false reports. No
     such mishap was observed in the wild.

   - jump_label improvements: simplify the cross-arch support of initial
     NOP patching by making it arch-specific code (used on MIPS only),
     and remove the s390 initial NOP patching that was superfluous"

* tag 'locking-core-2022-08-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  locking/lockdep: Fix lockdep_init_map_*() confusion
  jump_label: make initial NOP patching the special case
  jump_label: mips: move module NOP patching into arch code
  jump_label: s390: avoid pointless initial NOP patching
2022-08-01 12:15:27 -07:00