Commit Graph

1170730 Commits

Author SHA1 Message Date
Seiya Wang
fa7e053866 ANDROID: GKI: Update the symbol list for mtk
1 function symbol(s) added
  'int class_interface_register(struct class_interface*)'

Bug: 429529278
Change-Id: I374130f16ab0c2be93267cf806f4aa3fd22256c0
Signed-off-by: Seiya Wang <seiya.wang@mediatek.com>
2025-07-04 02:57:32 -07:00
Mukesh Pilaniya
7011769d22 ANDROID: virt: gunyah: Replace arm_smccc_1_1_smc with arm_smccc_1_1_invoke
Replace arm_smccc_1_1_smc with arm_smccc_1_1_invoke because
arm_smccc_1_1_invoke() determines the conduit (hvc/smc/none) before
making an SMC, which may not be supported on some virtual platforms.

Bug: 428106948
Change-Id: Ib21c7790b03996e73caa0874dc826d78e7b1c3d8
Signed-off-by: Mukesh Pilaniya <quic_mpilaniy@quicinc.com>
2025-07-01 04:58:38 -07:00
Dylan Chang
a71768f6d0 ANDROID: GKI: Add symbol list for Nothing
Add symbol list for Nothing

1 function symbol(s) added
  'unsigned char fs_umode_to_dtype(umode_t)'

Bug: 428081661
Change-Id: I3f7c9a2d6b4a1e78fef5d3c2a1b84b9c1f4e5a6b
Signed-off-by: Dylan Chang <dylan.chang@nothing.tech>
2025-06-30 12:37:18 -07:00
Oleg Nesterov
1bf1aa362e UPSTREAM: posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()
commit f90fff1e152dedf52b932240ebbd670d83330eca upstream.

If an exiting non-autoreaping task has already passed exit_notify() and
calls handle_posix_cpu_timers() from IRQ, it can be reaped by its parent
or debugger right after unlock_task_sighand().

If a concurrent posix_cpu_timer_del() runs at that moment, it won't be
able to detect timer->it.cpu.firing != 0: cpu_timer_task_rcu() and/or
lock_task_sighand() will fail.

Add the tsk->exit_state check into run_posix_cpu_timers() to fix this.

This fix is not needed if CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y, because
exit_task_work() is called before exit_notify(). But the check still
makes sense, task_work_add(&tsk->posix_cputimers_work.work) will fail
anyway in this case.

Bug: 425282960
Cc: stable@vger.kernel.org
Reported-by: Benoît Sevens <bsevens@google.com>
Fixes: 0bdd2ed413 ("sched: run_posix_cpu_timers: Don't check ->exit_state, use lock_task_sighand()")
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit c29d5318708e67ac13c1b6fc1007d179fb65b4d7)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I2a9b8114abf2647c346e763edee1d424a07e86fe
2025-06-30 11:37:15 +01:00
Kalesh Singh
36d69f6a49 ANDROID: 16K: Use vma_area slab cache for pad VMA
Allocate padding VMA from the vma slab cache; this make it
easier to debug slab leaks than from kmalloc slabs.

Bug: 427145188
Change-Id: I24c5f5d0eb3b06acf506f18f5eb57cd497b13d6d
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2025-06-25 13:50:57 -07:00
Kalesh Singh
d56a28cb58 ANDROID: 16K: Add VMA padding size to smaps output
Instead of printing ?? for unexpected vm_flags due to
vm padding flag bits; print the size of the padding in kB if any.

Example output:

7ff6306c2000-7ff6306c3000 r--p 00000000 fe:09 1912                       /system/lib64/bootstrap/libdl.so
Size:                  4 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:                   4 kB
Pss:                   0 kB
Pss_Dirty:             0 kB
Shared_Clean:          4 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:         0 kB
Referenced:            4 kB
Anonymous:             0 kB
KSM:                   0 kB
LazyFree:              0 kB
AnonHugePages:         0 kB
ShmemPmdMapped:        0 kB
FilePmdMapped:         0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:                0 kB
THPeligible:           0
VmFlags: rd mr mw me pad=12kB    // <========
7ff6306c3000-7ff6306c6000 ---p 00000000 00:00 0                          [page size compat]
Size:                 12 kB      // <========
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:                   0 kB
Pss:                   0 kB
Pss_Dirty:             0 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:         0 kB
Referenced:            0 kB
Anonymous:             0 kB
KSM:                   0 kB
LazyFree:              0 kB
AnonHugePages:         0 kB
ShmemPmdMapped:        0 kB
FilePmdMapped:         0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:                0 kB
THPeligible:           0
VmFlags: mr mw me

Bug: 427145188
Bug: 409239984
Bug: 404710273
Bug: 394468578
Change-Id: I4e996f207c9eb980d1a108418c506542722e7265
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2025-06-25 13:50:57 -07:00
Kalesh Singh
1b1265db9e ANDROID: 16K: Don't copy data vma for maps/smaps output
Remove get_data_vma() which made a copy of the original VMA containing
padding and modified vm_end to exclude the trailing padding (if any).

Avoid this copy to avoid races due to stale data relating to
vma->vm_file.

Instead use VMA_PAD_START(vma) directly to get the correct end excluding
padding if any.

Add additional check to verify the padding VMA is as expected and also
check for allocation failure of the pad VMA.

ELFs with padding can be loaded from tmpfs. For simplicity swapped out
shmem accounting in smaps, skips the fast path for read only files and
walks the page table with the range adjusted for padding.

Example output:

===== Maps =====

7ff6306c2000-7ff6306c3000 r--p 00000000 fe:09 1912                       /system/lib64/bootstrap/libdl.so
7ff6306c3000-7ff6306c6000 ---p 00000000 00:00 0                          [page size compat]
7ff6306c6000-7ff6306c7000 r-xp 00004000 fe:09 1912                       /system/lib64/bootstrap/libdl.so
7ff6306c7000-7ff6306ca000 ---p 00000000 00:00 0                          [page size compat]
7ff6306ca000-7ff6306cb000 r--p 00008000 fe:09 1912                       /system/lib64/bootstrap/libdl.so

===== Smaps =====

7ff6306c2000-7ff6306c3000 r--p 00000000 fe:09 1912                       /system/lib64/bootstrap/libdl.so
Size:                  4 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:                   4 kB
Pss:                   0 kB
Pss_Dirty:             0 kB
Shared_Clean:          4 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:         0 kB
Referenced:            4 kB
Anonymous:             0 kB
KSM:                   0 kB
LazyFree:              0 kB
AnonHugePages:         0 kB
ShmemPmdMapped:        0 kB
FilePmdMapped:         0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:                0 kB
THPeligible:           0
VmFlags: rd mr mw me ??
7ff6306c3000-7ff6306c6000 ---p 00000000 00:00 0                          [page size compat]
Size:                 12 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:                   0 kB
Pss:                   0 kB
Pss_Dirty:             0 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:         0 kB
Referenced:            0 kB
Anonymous:             0 kB
KSM:                   0 kB
LazyFree:              0 kB
AnonHugePages:         0 kB
ShmemPmdMapped:        0 kB
FilePmdMapped:         0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:                0 kB
THPeligible:           0
VmFlags: mr mw me
7ff6306c6000-7ff6306c7000 r-xp 00004000 fe:09 1912                       /system/lib64/bootstrap/libdl.so
Size:                  4 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:                   4 kB
Pss:                   0 kB
Pss_Dirty:             0 kB
Shared_Clean:          4 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:         0 kB
Referenced:            4 kB
Anonymous:             0 kB
KSM:                   0 kB
LazyFree:              0 kB
AnonHugePages:         0 kB
ShmemPmdMapped:        0 kB
FilePmdMapped:         0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:                0 kB
THPeligible:           0
VmFlags: rd ex mr mw me ??
7ff6306c7000-7ff6306ca000 ---p 00000000 00:00 0                          [page size compat]
Size:                 12 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:                   0 kB
Pss:                   0 kB
Pss_Dirty:             0 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:         0 kB
Referenced:            0 kB
Anonymous:             0 kB
KSM:                   0 kB
LazyFree:              0 kB
AnonHugePages:         0 kB
ShmemPmdMapped:        0 kB
FilePmdMapped:         0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:                0 kB
THPeligible:           0
VmFlags: mr mw me
7ff6306ca000-7ff6306cb000 r--p 00008000 fe:09 1912                       /system/lib64/bootstrap/libdl.so
Size:                  4 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Rss:                   4 kB
Pss:                   4 kB
Pss_Dirty:             4 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:         4 kB
Referenced:            4 kB
Anonymous:             4 kB
KSM:                   0 kB
LazyFree:              0 kB
AnonHugePages:         0 kB
ShmemPmdMapped:        0 kB
FilePmdMapped:         0 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
Locked:                0 kB
THPeligible:           0
VmFlags: rd mr mw me ac

Bug: 427145188
Bug: 409239984
Change-Id: Ic54e89571276db62ffc01681e7ca8986bb1ca7c4
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2025-06-25 13:50:57 -07:00
Quentin Perret
44c8456c42 ANDROID: BACKPORT: KVM: arm64: Always unmap the pvmfw region at stage-2
The donation of the pvmfw region to pKVM is currently done transparently
as part of fix_host_ownership(). However, this function only runs over PA
ranges covered by the memblock list, although there is no guarantee for
the pvmfw region to be advertised in a memory node in DT. In this case,
the pKVM init will appear to succeed while silently keeping valid host
stage-2 mappings to the pvmfw region.

Fix this by forcefully registering the pvmfw region in the pKVM memblock
list.

BACKPORT: Fix usage of pvmfw_size and pvmfw_base which are pointers in
6.6 and earlier.

Bug: 278749606
Bug: 424382332
Reported-by: Bartłomiej Grzesik <bgrzesik@google.com>
Suggested-by: Will Deacon <willdeacon@google.com>
Change-Id: I8f5498df25debb432b7dffd1e40a8910bcec7b49
Signed-off-by: Quentin Perret <qperret@google.com>
2025-06-25 09:23:24 -07:00
Giuliano Procida
d93f956965 ANDROID: GKI: add final newline to protected exports file
Bug: 372617006
Change-Id: I51b131be6fe76ad81196ef6ad8641cb43c8218a3
Signed-off-by: Giuliano Procida <gprocida@google.com>
2025-06-25 11:48:12 +00:00
Mayank Rana
147721011e ANDROID: abi_gki_aarch64_qcom: Add PCIe ECAM related symbols
Add of_pci_parse_bus_range and pci_ecam_create symbols as part
of abi_gki_aarch64_qcom.

Bug: 425696821
Change-Id: Iaaea8a2f5d80f4ed36fa33f338e1593e95b40ad5
Signed-off-by: Mayank Rana <quic_mrana@quicinc.com>
2025-06-24 12:35:47 -07:00
Wenhao Liao
5ea45f742e ANDROID: GKI: Export tracepoint tcp_retransmit_skb
Export tracepoint tcp_retransmit_skb to collect the retransmission rate
of specific tcp streams and adjust the network policy. Also, update the
symbol list accordingly.

2 function symbol(s) added
  'int __traceiter_tcp_retransmit_skb(void*, const struct sock*, const struct sk_buff*)'
  'void skb_orphan_partial(struct sk_buff*)'

1 variable symbol(s) added
  'struct tracepoint __tracepoint_tcp_retransmit_skb'

Bug: 344697033
Bug: 424394849
Change-Id: Ic2f9a9b31c2cbdf2a59bf3ba13805dfba5036cf5
Signed-off-by: Lei Zhang <lei.zhang.rj@vivo.com>
Signed-off-by: Wenhao Liao <wenhao.liao@vivo.corp-partner.google.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: Yanxiao Guo <yanxiao.guo@vivo.corp-partner.google.com>
2025-06-24 05:00:47 -07:00
Yanxiao Guo
941a6c6848 ANDROID: GKI: Update symbol list for vivo
1 function symbol(s) added
  'int __traceiter_android_rvh_tcp_rcv_spurious_retrans(void*, struct sock*)'

1 variable symbol(s) added
  'struct tracepoint __tracepoint_android_rvh_tcp_rcv_spurious_retrans'

Bug: 351960112
Bug: 424394849

Change-Id: Iedb88dff2b5449ad20de6bfa77bfd9b0574cba19
Signed-off-by: Yanxiao Guo <yanxiao.guo@vivo.corp-partner.google.com>
2025-06-24 04:57:53 -07:00
Greg Kroah-Hartman
45271a2c46 Merge tag 'android14-6.1.141_r00' into android14-6.1
This merges the android14-6.1.141_r00 tag into the android14-6.1 branch,
catching it up with the latest LTS releases.

It contains the following commits:

* 18282059e0 Revert "espintcp: remove encap socket caching to avoid reference leak"
* eb47017bf9 Revert "genirq/msi: Store the IOMMU IOVA directly in msi_desc instead of iommu_cookie"
* 22d163151d Revert "perf: Avoid the read if the count is already updated"
* f4b979262f Revert "coredump: hand a pidfd to the usermode coredump helper"
* f23dc8c566 Revert "ipv6: save dontfrag in cork"
* b572d7f4f2 Revert "serial: mctrl_gpio: split disable_ms into sync and no_sync APIs"
* 7f0c46ade6 Revert "hrtimers: Force migrate away hrtimers queued after CPUHP_AP_HRTIMERS_DYING"
*   ef60b4555d Merge 6.1.141 into android14-6.1-lts
|\
| * 58485ff1a7 Linux 6.1.141
| * 0fadcc2043 net: ethernet: ti: am65-cpsw: Lower random mac address error print to info
| * 12fd7e6a2c platform/x86: thinkpad_acpi: Ignore battery threshold change event notification
| * 5d286f3cad platform/x86: fujitsu-laptop: Support Lifebook S2110 hotkeys
| * dcabad63e0 NFS: Avoid flushing data while holding directory locks in nfs_rename()
| * e1143267e9 nvme-pci: add NVME_QUIRK_NO_DEEPEST_PS quirk for SOLIDIGM P44 Pro
| * d8f13a8aef spi: spi-sun4i: fix early activation
| * 8f55d71b57 um: let 'make clean' properly clean underlying SUBARCH as well
| * fe4fb4134f platform/x86: thinkpad_acpi: Support also NEC Lavie X1475JAS
| * 38e8c73f02 nfs: don't share pNFS DS connections between net namespaces
| * 84b06a4293 HID: quirks: Add ADATA XPG alpha wireless mouse support
| * ac19091288 coredump: hand a pidfd to the usermode coredump helper
| * b2a5bf1cf4 fork: use pidfd_prepare()
| * 1ced79b25f pid: add pidfd_prepare()
| * fc7846a7d5 coredump: fix error handling for replace_fd()
| * 3939280be9 perf/arm-cmn: Initialise cmn->cpu earlier
| * 05b21a536a perf/arm-cmn: Fix REQ2/SNP2 mixup
| * a0ec22fa20 net_sched: hfsc: Address reentrant enqueue adding class to eltree twice
| * a5a9c42cd7 arm64: dts: qcom: sm8350: Fix typo in pil_camera_mem node
| * 0297e7ddf5 af_unix: Fix uninit-value in __unix_walk_scc()
| * c7edc6e616 af_unix: Fix garbage collection of embryos carrying OOB with SCM_RIGHTS
| * 28201f38dc af_unix: Add dead flag to struct scm_fp_list.
| * f9977b176f af_unix: Don't access successor in unix_del_edges() during GC.
| * 951e454715 af_unix: Try not to hold unix_gc_lock during accept().
| * 61a75360dc af_unix: Remove lock dance in unix_peek_fds().
| * 5dfd283f46 af_unix: Replace garbage collection algorithm.
| * 9734d332ef af_unix: Detect dead SCC.
| * 61f3d2706c af_unix: Assign a unique index to SCC.
| * adfb68b39b af_unix: Avoid Tarjan's algorithm if unnecessary.
| * b5b54a3875 af_unix: Skip GC if no cycle exists.
| * ccbe3d2aca af_unix: Save O(n) setup of Tarjan's algo.
| * edfa4872d0 af_unix: Fix up unix_edge.successor for embryo socket.
| * 12365b707c af_unix: Save listener for embryo socket.
| * a6c7ce40ea af_unix: Detect Strongly Connected Components.
| * 878df6a069 af_unix: Iterate all vertices by DFS.
| * 5593cb9b1c af_unix: Bulk update unix_tot_inflight/unix_inflight when queuing skb.
| * f8194e511c af_unix: Link struct unix_edge when queuing skb.
| * 6b7a036eaa af_unix: Allocate struct unix_edge for each inflight AF_UNIX fd.
| * 1002e86c46 af_unix: Allocate struct unix_vertex for each inflight AF_UNIX fd.
| * 44aebf50fa af_unix: Remove CONFIG_UNIX_SCM.
| * 6afc128665 af_unix: Remove io_uring code for GC.
| * a1ee63f7a0 af_unix: Replace BUG_ON() with WARN_ON_ONCE().
| * e9bd632f98 af_unix: Try to run GC async.
| * ceb8bd6c69 af_unix: Run GC on only one CPU.
| * 7637a75aed af_unix: Return struct unix_sock from unix_get_socket().
| * 63d00b25e0 af_unix: Kconfig: make CONFIG_UNIX bool
| * 36679fab54 btrfs: check folio mapping after unlock in relocate_one_folio()
| * 82ac6adbbb hrtimers: Force migrate away hrtimers queued after CPUHP_AP_HRTIMERS_DYING
| * 22e3ccf1d5 octeontx2-pf: Fix page pool frag allocation warning
| * 173d9d060c octeontx2-pf: Fix page pool cache index corruption.
| * a84f95fecb octeontx2-pf: fix page_pool creation fail for rings > 32k
| * bc952bf4e0 dmaengine: idxd: Fix passing freed memory in idxd_cdev_open()
| * 50026aa530 x86/mm/init: Handle the special case of device private pages in add_pages(), to not increase max_pfn and trigger dma_addressing_limited() bounce buffers bounce buffers
| * bb6e80472e i3c: master: svc: Fix implicit fallthrough in svc_i3c_master_ibi_work()
| * 79c9df2d7a pinctrl: tegra: Fix off by one in tegra_pinctrl_get_group()
| * c0c0b03ea1 serial: sh-sci: Save and restore more registers
| * 9502ebf2d2 kbuild: Disable -Wdefault-const-init-unsafe
| * 2c29113154 spi: spi-fsl-dspi: Reset SR flags before sending a new message
| * 8bdaffcdd7 spi: spi-fsl-dspi: Halt the module after a new message transfer
| * f48dc6849c spi: spi-fsl-dspi: restrict register range for regmap access
| * 795cea4731 ksmbd: fix stream write failure
| * 4c8d922337 Revert "arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection"
| * b9f7969173 mm/page_alloc.c: avoid infinite retries caused by cpuset race
| * 460664bf8b memcg: always call cond_resched() after fn()
| * 9c40d1f7b7 Revert "drm/amd: Keep display off while going into S4"
| * 080da7b2fc smb: client: Reset all search buffer pointers when releasing buffer
| * c8623231e0 smb: client: Fix use-after-free in cifs_fill_dirent
| * 34e2f19e0e drm/edid: fixed the bug that hdr metadata was not reset
| * 60bd13f8c4 platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()
| * 836024a6c8 llc: fix data loss when reading from a socket in llc_ui_recvmsg()
| * eefcc081ac ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14ASP10
| * f3e14d706e ALSA: pcm: Fix race of buffer access at PCM OSS layer
| * 6d7d458c41 can: bcm: add missing rcu read protection for procfs content
| * 2a437b86ac can: bcm: add locking for bcm_op runtime updates
| * 24ee050bb9 can: slcan: allow reception of short error messages
| * cceb15864e padata: do not leak refcount in reorder_work
| * f0f3d09f53 crypto: algif_hash - fix double free in hash_accept
| * 3cb003b959 octeontx2-af: Fix APR entry mapping based on APR_LMT_CFG
| * 7b1357a108 octeontx2-af: Set LMT_ENA bit for APR table entries
| * b8fcae6d2e net/tipc: fix slab-use-after-free Read in tipc_aead_encrypt_done
| * a005991013 octeontx2-pf: Add AF_XDP non-zero copy support
| * 2a2d7bf86d octeontx2-pf: Add support for page pool
| * f1dde3eb17 sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()
| * f2138e462c io_uring: fix overflow resched cqe reordering
| * 8620be38cf net: lan743x: Restore SGMII CTRL register on resume
| * e8138b81d3 net: dwmac-sun8i: Use parsed internal PHY address instead of 1
| * b6556470bb ice: fix vf->num_mac count with port representors
| * 2cee71a1a2 bridge: netfilter: Fix forwarding of fragmented packets
| * 15efa7d00f Bluetooth: L2CAP: Fix not checking l2cap_chan security level
| * 7549955105 dmaengine: idxd: Fix ->poll() return value
| * 35e6a84883 xfrm: Sanitize marks before insert
| * c4bfea4b61 clk: sunxi-ng: d1: Add missing divider for MMC mod clocks
| * 8509fb9dec remoteproc: qcom_wcnss: Fix on platforms without fallback regulators
| * d19d0157ed dmaengine: idxd: Fix allowing write() from different address spaces
| * 206d8a7b8c dmaengine: idxd: add idxd_copy_cr() to copy user completion record during page fault handling
| * 22d907d735 dmaengine: idxd: add per DSA wq workqueue for processing cr faults
| * e4cde54b46 espintcp: remove encap socket caching to avoid reference leak
| * 9b0915e72b __legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock
| * a58442f75b xenbus: Allow PVH dom0 a non-local xenstore
| * 390940c7f3 wifi: iwlwifi: add support for Killer on MTL
| * 0528bba48d btrfs: correct the order of prelim_ref arguments in btrfs__prelim_ref
| * 7c0394dbbd io_uring/fdinfo: annotate racy sq/cq head/tail reads
| * c240375587 nvmet-tcp: don't restore null sk_state_change
| * e104460e8a ALSA: hda/realtek: Add quirk for HP Spectre x360 15-df1xxx
| * 9fce40ac35 ASoC: Intel: bytcr_rt5640: Add DMI quirk for Acer Aspire SW3-013
| * 181438633a pinctrl: meson: define the pull up/down resistor value as 60 kOhm
| * f4ae54bffb ASoC: imx-card: Adjust over allocation of memory in imx_card_parse_of()
| * ffb55ddf26 drm: Add valid clones check
| * d822a8e3fb drm/panel-edp: Add Starry 116KHD024006
| * 6a93438018 drm/atomic: clarify the rules around drm_atomic_state->allow_modeset
| * a78b779206 wifi: ath9k: return by of_get_mac_address
| * f60d34d4a4 regulator: ad5398: Add device tree support
| * d97d423ad1 spi: zynqmp-gqspi: Always acknowledge interrupts
| * 8d0c67acdf wifi: rtw89: add wiphy_lock() to work that isn't held wiphy_lock() yet
| * f4c4d18f72 wifi: rtw88: Don't use static local variable in rtw8822b_set_tx_power_index_by_rate
| * 60f09a491f wifi: rtl8xxxu: retry firmware download on error
| * e7e61e09ce perf/amd/ibs: Fix perf_ibs_op.cnt_mask for CurCnt
| * 77a7df4b23 bpftool: Fix readlink usage in get_fd_type
| * 658a933038 drm/ast: Find VBIOS mode from regular display size
| * 762535bc37 ASoC: codecs: pcm3168a: Allow for 24-bit in provider mode
| * 08aec29a16 HID: usbkbd: Fix the bit shift number for LED_KANA
| * 3b72b12487 scsi: st: Restore some drive settings after reset
| * 9f9a65de83 scsi: lpfc: Free phba irq in lpfc_sli4_enable_msi() when pci_irq_vector() fails
| * 14f8b37e1c scsi: lpfc: Handle duplicate D_IDs in ndlp search-by D_ID routine
| * 31fbeed785 net/mana: fix warning in the writer of client oob
| * e0d0424a8a ice: count combined queues using Rx/Tx count
| * e1c3bfe365 perf: Avoid the read if the count is already updated
| * 84916c757c rcu: fix header guard for rcu_all_qs()
| * e2df1936c1 rcu: handle unstable rdp in rcu_read_unlock_strict()
| * 6090e60428 rcu: handle quiescent states for PREEMPT_RCU=n, PREEMPT_COUNT=y
| * 77835a04b1 r8169: don't scan PHY addresses > 0
| * 784b78295a vxlan: Annotate FDB data races
| * 73b9240149 media: qcom: camss: csid: Only add TPG v4l2 ctrl if TPG hardware is available
| * 50b7e3276b hwmon: (xgene-hwmon) use appropriate type for the latency value
| * e35875dd2b clk: qcom: camcc-sm8250: Use clk_rcg2_shared_ops for some RCGs
| * 5338343080 wifi: rtw88: Fix download_firmware_validate() for RTL8814AU
| * 83b5df3df8 r8152: add vendor/device ID pair for Dell Alienware AW1022z
| * ce534438a8 ip: fib_rules: Fetch net from fib_rule in fib[46]_rule_configure().
| * 81d2a85c65 arch/powerpc/perf: Check the instruction type before creating sample with perf_mem_data_src
| * 6dc0a704f5 wifi: mac80211: remove misplaced drv_mgd_complete_tx() call
| * 9fc9237ffa wifi: mac80211: don't unconditionally call drv_mgd_complete_tx()
| * 5d2af99518 net/mlx5e: reduce rep rxq depth to 256 for ECPF
| * 468255c8ed net/mlx5e: set the tx_queue_len for pfifo_fast
| * d525e62f18 net/mlx5: Extend Ethtool loopback selftest to support non-linear SKB
| * e4f6a56f45 drm/amd/display/dm: drop hw_support check in amdgpu_dm_i2c_xfer()
| * 9131a4be79 drm/amdgpu: enlarge the VBIOS binary size limit
| * bc40b6248a drm/amd/display: Initial psr_version with correct setting
| * 81f4b82cf3 drm/amdgpu: reset psp->cmd to NULL after releasing the buffer
| * cfdf164ef5 phy: core: don't require set_mode() callback for phy_get_mode() to work
| * b6e568caaf serial: sh-sci: Update the suspend/resume support
| * 5e3ee618d6 clk: qcom: clk-alpha-pll: Do not use random stack value for recalc rate
| * a6e871c912 net/mlx4_core: Avoid impossible mlx4_db_alloc() order value
| * 0d52c6168d kunit: tool: Use qboot on QEMU x86_64
| * 5d08c89c2a smack: recognize ipv4 CIPSO w/o categories
| * b23976c6f9 pinctrl: devicetree: do not goto err when probing hogs in pinctrl_dt_to_map
| * 709b1fb223 ASoC: soc-dai: check return value at snd_soc_dai_set_tdm_slot()
| * 4ffaac5e21 ASoC: tas2764: Power up/down amp on mute ops
| * ec3a91e22b ASoC: tas2764: Mark SW_RESET as volatile
| * 051f0ee928 ASoC: tas2764: Add reg defaults for TAS2764_INT_CLK_CFG
| * d9f7ac25ff ASoC: ops: Enforce platform maximum on initial value
| * 963bac7f04 net/mlx5: Apply rate-limiting to high temperature warning
| * 89acf46b9e net/mlx5: Modify LSB bitmask in temperature event to include only the first bit
| * 4d142115a9 media: test-drivers: vivid: don't call schedule in loop
| * 79dbd04fcc vxlan: Join / leave MC group after remote changes
| * 23ecfd5383 ACPI: HED: Always initialize before evged
| * 58fe8fead9 PCI: Fix old_size lower bound in calculate_iosize() too
| * 5f1ecc9aa5 eth: mlx4: don't try to complete XDP frames in netpoll
| * 0d9d54113f can: c_can: Use of_property_present() to test existence of DT property
| * e3c93c7917 pmdomain: imx: gpcv2: use proper helper for property detection
| * 24eb0979ff RDMA/core: Fix best page size finding when it can cross SG entries
| * 68435c1fa3 serial: mctrl_gpio: split disable_ms into sync and no_sync APIs
| * 74db6edb69 i3c: master: svc: Flush FIFO before sending Dynamic Address Assignment(DAA)
| * 07bf524a78 EDAC/ie31200: work around false positive build warning
| * ef1158a6a6 net: pktgen: fix access outside of user given buffer in pktgen_thread_write()
| * 70a9888018 wifi: rtw89: fw: propagate error code from rtw89_h2c_tx()
| * 3635589fa5 wifi: rtw88: Fix rtw_desc_to_mcsrate() to handle MCS16-31
| * 1c17d07fc4 wifi: rtw88: Fix rtw_init_ht_cap() for RTL8814AU
| * 100c6e2d0c wifi: rtw88: Fix rtw_init_vht_cap() for RTL8814AU
| * 526ec91398 scsi: mpt3sas: Send a diag reset if target reset fails
| * 790f74d684 clocksource: mips-gic-timer: Enable counter when CPUs start
| * 3972bd4ca5 MIPS: pm-cps: Use per-CPU variables as per-CPU, not per-core
| * e4d3763223 genirq/msi: Store the IOMMU IOVA directly in msi_desc instead of iommu_cookie
| * 3394aafdc8 MIPS: Use arch specific syscall name match function
| * ea4497337f x86/kaslr: Reduce KASLR entropy on most x86 systems
| * 95d0892433 dm: fix unconditional IO throttle caused by REQ_PREFLUSH
| * 75b01247b4 libbpf: Fix out-of-bound read
| * 01b4545bbc media: adv7180: Disable test-pattern control on adv7180
| * a9edb70084 cpuidle: menu: Avoid discarding useful information
| * 60750801ca x86/nmi: Add an emergency handler in nmi_desc & use it in nmi_shootdown_cpus()
| * 42733703c4 drm/amd/display: handle max_downscale_src_width fail check
| * a66f46751c x86/build: Fix broken copy command in genimage.sh when making isoimage
| * 5f496a9f1c soc: ti: k3-socinfo: Do not use syscon helper to build regmap
| * 3572663c55 bonding: report duplicate MAC address in all situations
| * 365e617487 net: xgene-v2: remove incorrect ACPI_PTR annotation
| * 62e7868f06 net: ethernet: mtk_ppe_offload: Allow QinQ, double ETH_P_8021Q only
| * 2272c9d14c leds: pwm-multicolor: Add check for fwnode_property_read_u32
| * c8cc14eeb2 drm/amdkfd: KFD release_work possible circular locking
| * 1964a698cb selftests/net: have `gro.sh -t` return a correct exit code
| * 866ae3322f net/mlx5: Avoid report two health errors on same syndrome
| * c6aa1d6bd6 firmware: arm_ffa: Set dma_mask for ffa devices
| * de963561ef PCI: brcmstb: Add a softdep to MIP MSI-X driver
| * 9fe2a6513a PCI: brcmstb: Expand inbound window size up to 64GB
| * 2d533b62db soc: apple: rtkit: Implement OSLog buffers properly
| * 8d64b2aa3e soc: apple: rtkit: Use high prio work queue
| * 0c14267f4d fpga: altera-cvp: Increase credit timeout
| * 31b96c1543 drm/mediatek: mtk_dpi: Add checks for reg_h_fre_con existence
| * eeb808ce1e ARM: at91: pm: fix at91_suspend_finish for ZQ calibration
| * 05315e1507 hwmon: (gpio-fan) Add missing mutex locks
| * 594dbf0a19 x86/bugs: Make spectre user default depend on MITIGATION_SPECTRE_V2
| * a5df17f35b clk: imx8mp: inform CCF of maximum frequency of clocks
| * 6782a62c32 media: uvcvideo: Add sanity check to uvc_ioctl_xu_ctrl_map
| * 7d49558be0 drm/rockchip: vop2: Add uv swap for cluster window
| * 79f3edb937 ipv4: fib: Move fib_valid_key_len() to rtm_to_fib_config().
| * f29dd5afa1 ALSA: hda/realtek: Enable PC beep passthrough for HP EliteBook 855 G7
| * 628ff556e4 perf/hw_breakpoint: Return EOPNOTSUPP for unsupported breakpoint type
| * 48bd9b9d66 net: pktgen: fix mpls maximum labels list parsing
| * d1f95fbdf6 net: ethernet: ti: cpsw_new: populate netdev of_node
| * 4473bd0993 pinctrl: bcm281xx: Use "unsigned int" instead of bare "unsigned"
| * 9d1a5be86d media: cx231xx: set device_caps for 417
| * 41f654291b drm/amdgpu: Do not program AGP BAR regs under SRIOV in gfxhub_v1_0.c
| * 8d0d4c11ca remoteproc: qcom_wcnss: Handle platforms with only single power domain
| * fdf85aa795 net: phylink: use pl->link_interface in phylink_expects_phy()
| * 15602508ad orangefs: Do not truncate file size
| * 00586b78ee dm cache: prevent BUG_ON by blocking retries on failed device resumes
| * 2996d38f2d media: c8sectpfe: Call of_node_put(i2c_bus) only once in c8sectpfe_probe()
| * b649481a1c ARM: tegra: Switch DSI-B clock parent to PLLD on Tegra114
| * fd10aa99ef ieee802154: ca8210: Use proper setters and getters for bitwise types
| * 9569e35890 rtc: ds1307: stop disabling alarms on probe
| * 2c86fafda7 tcp: bring back NUMA dispersion in inet_ehash_locks_alloc()
| * e6ca4d234b ALSA: seq: Improve data consistency at polling
| * aba0c50463 powerpc/prom_init: Fixup missing #size-cells on PowerBook6,7
| * 806d3ee930 arm64: tegra: p2597: Fix gpio for vdd-1v8-dis regulator
| * a98bd864e1 crypto: lzo - Fix compression buffer overrun
| * 8917266622 cpufreq: tegra186: Share policy per cluster
| * 239afef07e iommu/amd/pgtbl_v2: Improve error handling
| * 64e88f718e ASoC: qcom: sm8250: explicitly set format in sm8250_be_hw_params_fixup()
| * f306821a7b auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common"
| * 9e5228610f gfs2: Check for empty queue in run_queue
| * 0b60d03644 drm/amd/display: calculate the remain segments for all pipes
| * 4f809be95d ipv6: save dontfrag in cork
| * 4a8fcd77ce hwmon: (dell-smm) Increment the number of fans
| * d0306f88b4 mmc: sdhci: Disable SD card clock before changing parameters
| * 03c9ac48ae mmc: dw_mmc: add exynos7870 DW MMC support
| * 5cdb89f76e arm64/mm: Check PUD_TYPE_TABLE in pud_bad()
| * 3bb62cc313 netfilter: conntrack: Bound nf_conntrack sysctl writes
| * e563401934 timer_list: Don't use %pK through printk()
| * 209f290b4f posix-timers: Add cond_resched() to posix_timer_add() search loop
| * 8d67953978 RDMA/uverbs: Propagate errors from rdma_lookup_get_uobject()
| * 6944537397 ext4: reject the 'data_err=abort' option in nojournal mode
| * e472c3d8ad ASoC: sun4i-codec: support hp-det-gpios property
| * 7fcfed72a5 pinctrl-tegra: Restore SFSEL bit when freeing pins
| * 02d850de94 xen: Add support for XenServer 6.1 platform device
| * 9af7628ee6 net/smc: use the correct ndev to find pnetid by pnetid table
| * 6d974bd692 dm: restrict dm device size to 2^63-512 bytes
| * 3b5cc6e49c crypto: octeontx2 - suppress auth failure screaming due to negative tests
| * df5a4416c0 kbuild: fix argument parsing in scripts/config
| * e78a34da61 ASoC: mediatek: mt6359: Add stub for mt6359_accdet_enable_jack_detect
| * 669a53eecc thunderbolt: Do not add non-active NVM if NVM upgrade is disabled for retimer
| * 7d9682b015 rtc: rv3032: fix EERD location
| * 9ff6d39f17 tcp: reorganize tcp_in_ack_event() and tcp_count_delivered()
| * a73f1ba994 bpf: Return prog btf_id without capable check
| * 6cd9c9167c vfio/pci: Handle INTx IRQ_NOTCONNECTED
| * 4c92971bed scsi: st: ERASE does not change tape location
| * 1f20b8eccf scsi: st: Tighten the page format heuristics with MODE SELECT
| * 7f778cbffe ext4: reorder capability check last
| * ea4d9e1a6c um: Update min_low_pfn to match changes in uml_reserved
| * f8ddfaab46 um: Store full CSGSFS and SS register from mcontext
| * 75f74c89a8 dlm: make tcp still work in multi-link env
| * f2985a1de6 i3c: master: svc: Fix missing STOP for master request
| * 227c253c9e drm/amd/display: Guard against setting dispclk low for dcn31x
| * 822c0e09f4 btrfs: send: return -ENAMETOOLONG when attempting a path that is too long
| * 22bb11b3d5 btrfs: get zone unusable bytes while holding lock at btrfs_reclaim_bgs_work()
| * e2965d9d21 btrfs: fix non-empty delayed iputs list on unmount due to async workers
| * 013614c23e btrfs: run btrfs_error_commit_super() early
| * 2abb4bb795 btrfs: avoid linker error in btrfs_find_create_tree_block()
| * df4af023f6 btrfs: make btrfs_discard_workfn() block_group ref explicit
| * e212c8e9f2 i2c: pxa: fix call balance of i2c->clk handling routines
| * fb6a04c3b7 i2c: qup: Vote for interconnect bandwidth to DRAM
| * 8c18c904d3 x86/mm: Check return value from memblock_phys_alloc_range()
| * fa73abd359 mmc: host: Wait for Vdd to settle on card power off
| * db1aef51b8 libnvdimm/labels: Fix divide error in nd_label_data_init()
| * 1671494b71 PCI: vmd: Disable MSI remapping bypass under Xen
| * 5ad8142667 pNFS/flexfiles: Report ENETDOWN as a connection error
| * 1d5786b3ba tools/build: Don't pass test log files to linker
| * 1325473aba PCI: dwc: ep: Ensure proper iteration over outbound map windows
| * 1fdd7255d5 objtool: Properly disable uaccess validation
| * 2896063907 lockdep: Fix wait context check on softirq for PREEMPT_RT
| * 2d905fdb7f dql: Fix dql->limit value when reset.
| * 33aaf2e4d3 thermal/drivers/qoriq: Power down TMU on system suspend
| * 61ce7181fb SUNRPC: rpcbind should never reset the port to the value '0'
| * 18dd5c41f6 SUNRPC: rpc_clnt_set_transport() must not change the autobind setting
| * b11ffd1dc3 NFSv4: Treat ENETUNREACH errors as fatal for state recovery
| * 8e93857d8d cifs: Fix establishing NetBIOS session for SMB2+ connection
| * 96106d4f3f fbdev: core: tileblit: Implement missing margin clearing for tileblit
| * 57aa1e8197 fbcon: Use correct erase colour for clearing in fbcon
| * af6e4ccb08 fbdev: fsl-diu-fb: add missing device_remove_file()
| * d8aea4921f mailbox: use error ret code of of_parse_phandle_with_args()
| * 6707f9749d tracing: Mark binary printing functions with __printf() attribute
| * cdfe09355c arm64: Add support for HIP09 Spectre-BHB mitigation
| * 0b99bcbd62 SUNRPC: Don't allow waiting for exiting tasks
| * 2bd25a7916 NFS: Don't allow waiting for exiting tasks
| * 429d487d94 NFSv4: Check for delegation validity in nfs_start_delegation_return_locked()
| * f706cb4e37 fuse: Return EPERM rather than ENOSYS from link()
| * b413cf7ff5 cifs: Fix negotiate retry functionality
| * 5d736eee3c cifs: Fix querying and creating MF symlinks over SMB1
| * 17e53a15e6 cifs: Add fallback for SMB2 CREATE without FILE_READ_ATTRIBUTES
| * 8696f0e4f6 s390/vfio-ap: Fix no AP queue sharing allowed message written to kernel log
| * 53dd81d7ba kconfig: merge_config: use an empty file as initfile
| * aa8687470a samples/bpf: Fix compilation failure for samples/bpf on LoongArch Fedora
| * 0953353269 bpf: fix possible endless loop in BPF map iteration
| * 5f3d693861 selftests/bpf: Mitigate sockmap_ktls disconnect_after_delete failure
| * f238c9c15d drm/amdgpu: Allow P2P access through XGMI
| * 4964646234 net: enetc: refactor bulk flipping of RX buffers to separate function
| * 1d44f1511b scsi: mpi3mr: Add level check to control event logging
| * 91fe35809e cgroup: Fix compilation issue due to cgroup_mutex not being exported
| * 04aa1f6d16 dma-mapping: avoid potential unused data compilation warning
| * b6d6419548 virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN
| * 6815846e0c scsi: target: iscsi: Fix timeout on deleted connection
| * ee963a9847 phy: renesas: rcar-gen3-usb2: Assert PLL reset on PHY power off
| * a640e906d9 phy: renesas: rcar-gen3-usb2: Lock around hardware registers and driver data
| * 6dbb6f00dc phy: renesas: rcar-gen3-usb2: Move IRQ request in probe
| * ba7694f61c phy: renesas: rcar-gen3-usb2: Add support to initialize the bus
| * 262e32568a gpio: pca953x: fix IRQ storm on system wake up
| * aa34c055d3 gpio: pca953x: Simplify code with cleanup helpers
| * af7488d114 gpio: pca953x: Split pca953x_restore_context() and pca953x_save_context()
| * 59047be46c gpio: pca953x: Add missing header(s)
* | deadfd1486 Merge android14-6.1 into android14-6.1-lts
* | f4843e14bf Merge 6.1.140 into android14-6.1-lts
|\|
| * da3c5173c5 Linux 6.1.140
| * 05e85d3767 x86/modules: Set VM_FLUSH_RESET_PERMS in module_alloc()
| * 4e6310e8d4 drm/amdgpu: fix pm notifier handling
| * 2c914aac95 spi: cadence-qspi: fix pointer reference in runtime PM hooks
| * 55bf541e01 ipv4: Fix uninit-value access in __ip_make_skb()
| * a05c1ede50 ipv6: Fix potential uninit-value access in __ip6_make_skb()
| * b7fd784d7c bnxt_en: Fix receive ring space parameters when XDP is active
| * ab47d72b73 platform/x86/amd/pmc: Only disable IRQ1 wakeup where i8042 actually enabled it
| * f6421555db arm64/sme: Always exit sme_alloc() early with existing storage
| * b0f013bebf netfilter: nf_tables: do not defer rule destruction via call_rcu
| * e6c32a64d6 netfilter: nf_tables: wait for rcu grace period on net_device removal
| * bbd68196ac netfilter: nf_tables: pass nft_chain to destroy function, not nft_ctx
| * 18eb53a273 btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info()
| * 386507cb6f sctp: add mutual exclusion in proc_sctp_do_udp_port()
| * 3926b572fd hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio
| * 091a7f20d5 LoongArch: Explicitly specify code model in Makefile
| * 9e80f366eb bpf, arm64: Fix address emission with tag-based KASAN enabled
| * 0771494784 bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG
| * 92f08673d3 riscv: mm: Fix the out of bound issue of vmemmap address
| * e5ec1c24e7 mm/vmscan: fix a bug calling wakeup_kswapd() with a wrong zone index
| * 09b18c2435 selftests/mm: compaction_test: support platform with huge mount of memory
| * 0529646acd usb: typec: fix pm usage counter imbalance in ucsi_ccg_sync_control()
| * e44189455c usb: typec: fix potential array underflow in ucsi_ccg_sync_control()
| * f1c5ddaef5 usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group
| * f32451ca4c usb: typec: ucsi: displayport: Fix deadlock
| * d8ef6140fe dmaengine: idxd: fix memory leak in error handling path of idxd_pci_probe
| * 64afd9a1f6 dmaengine: idxd: fix memory leak in error handling path of idxd_alloc
| * 68ac5a01f6 dmaengine: idxd: Add missing idxd cleanup to fix memory leak in remove call
| * 24d9c14fdc dmaengine: idxd: Add missing cleanups in cleanup internals
| * 9b4947544b dmaengine: idxd: Add missing cleanup for early error out in idxd_setup_internals
| * 50f2300178 dmaengine: idxd: fix memory leak in error handling path of idxd_setup_groups
| * 11fd63ea08 dmaengine: idxd: fix memory leak in error handling path of idxd_setup_engines
| * d584acdf54 dmaengine: idxd: fix memory leak in error handling path of idxd_setup_wqs
| * c70ec7dc88 dmaengine: ti: k3-udma: Use cap_mask directly from dma_device structure instead of a local copy
| * df5987e76a dmaengine: ti: k3-udma: Add missing locking
| * 8e460b77b7 net: qede: Initialize qede_ll_ops with designated initializer
| * b892e830d1 wifi: mt76: disable napi on driver removal
| * e424894340 smb: client: fix memory leak during error handling for POSIX mkdir
| * d5b4310993 scsi: sd_zbc: block: Respect bio vector limits for REPORT ZONES buffer
| * 4861b3d2a4 phy: renesas: rcar-gen3-usb2: Set timing registers only once
| * 9b85a453ea phy: renesas: rcar-gen3-usb2: Fix role detection on unbind/bind
| * f774628bc1 phy: Fix error handling in tegra_xusb_port_init
| * 12ba469abe tracing: samples: Initialize trace_array_printk() with the correct function
| * cbe20c2c83 ftrace: Fix preemption accounting for stacktrace filter command
| * c4edc834d2 ftrace: Fix preemption accounting for stacktrace trigger command
| * 763db1b8b0 Drivers: hv: vmbus: Remove vmbus_sendpacket_pagebuffer()
| * 6ef4c72213 Drivers: hv: Allow vmbus_sendpacket_mpb_desc() to create multiple ranges
| * b47a984faf hv_netvsc: Remove rmsg_pgcnt
| * 86b05e14c4 hv_netvsc: Preserve contiguous PFN grouping in the page buffer array
| * 3e5210def3 hv_netvsc: Use vmbus_sendpacket_mpb_desc() to send VMBus messages
| * 3becc659f9 dma-buf: insert memory barrier before updating num_fences
| * 01dfc57326 ALSA: usb-audio: Add sample rate quirk for Microdia JP001 USB Camera
| * 7ba07e109f ALSA: usb-audio: Add sample rate quirk for Audioengine D1
| * f5abc1344f ALSA: es1968: Add error handling for snd_pcm_hw_constraint_pow2()
| * b71a04bae2 ACPI: PPTT: Fix processor subtable walk
| * 0638bad18d drm/amd/display: Avoid flooding unnecessary info messages
| * d9632f4aae drm/amd/display: Correct the reply value when AUX write incomplete
| * 0f035835b4 btrfs: fix discard worker infinite loop after disabling discard
| * 0567e7951f LoongArch: Fix MAX_REG_OFFSET calculation
| * 02a11d8638 dmaengine: Revert "dmaengine: dmatest: Fix dmatest waiting less when interrupted"
| * 8f2eb3adb3 NFSv4/pnfs: Reset the layout state after a layoutreturn
| * 8f7f96549b net/tls: fix kernel panic when alloc_page failed
| * 2c09d6460f octeontx2-pf: macsec: Fix incorrect max transmit size in TX secy
| * 6ba30f7aa2 regulator: max20086: fix invalid memory access
| * 10ea81e478 qlcnic: fix memory leak in qlcnic_sriov_channel_cfg_cmd()
| * 1e577aeb51 net/mlx5e: Disable MACsec offload for uplink representor profile
| * 6fbcfa3691 ALSA: sh: SND_AICA should depend on SH_DMA_API
| * 9609469159 nvme-pci: acquire cq_poll_lock in nvme_poll_irqdisable
| * 6fc167d45f nvme-pci: make nvme_pci_npages_prp() __always_inline
| * 4626234ca3 net: dsa: sja1105: discard incoming frames in BR_STATE_LISTENING
| * aace6b6389 net: cadence: macb: Fix a possible deadlock in macb_halt_tx.
| * 1cb9a891cf net: mctp: Ensure keys maintain only one ref to corresponding dev
| * d38939ebe0 net_sched: Flush gso_skb list too during ->change()
| * 915c3de392 spi: loopback-test: Do not split 1024-byte hexdumps
| * 85fb7f8ca5 nfs: handle failure of nfs_get_lock_context in unlock path
| * 01b76cc8ca HID: uclogic: Add NULL check in uclogic_input_configured()
| * de9b6d0635 HID: thrustmaster: fix memory leak in thrustmaster_interrupts()
| * 52daccfc3f RDMA/rxe: Fix slab-use-after-free Read in rxe_queue_cleanup bug
| * 718df14948 clocksource/i8253: Use raw_spinlock_irqsave() in clockevent_i8253_disable()
| * c4a550e0ba iio: chemical: sps30: use aligned_s64 for timestamp
| * 39d30f8ecc iio: adc: ad7768-1: Fix insufficient alignment of timestamp.
| * ced7c789e3 Revert "drm/amd: Stop evicting resources on APUs in suspend"
| * a2419fa7fe drm/amd: Add Suspend/Hibernate notification callback support
| * 43b8b33b81 drm/amdgpu: trigger flr_work if reading pf2vf data failed
| * c3408b49e3 drm/amdgpu: Fix the runtime resume failure issue
| * 6b9418c825 drm/amd: Stop evicting resources on APUs in suspend
| * d7b0db1246 iio: adc: ad7266: Fix potential timestamp alignment issue.
| * 22bed5bd0d tpm: tis: Double the timeout B to 4s
| * 2f81039276 tracing: probes: Fix a possible race in trace_probe_log APIs
| * 5eadacf806 platform/x86: asus-wmi: Fix wlan_ctrl_by_user detection
| * 44f3f92053 binfmt_elf: Move brk for static PIE even if ASLR disabled
| * af66f1d950 binfmt_elf: Honor PT_LOAD alignment for static PIE
| * 2fb38e1a01 binfmt_elf: Calculate total_size earlier
| * add3a49ae9 selftests/exec: Build both static and non-static load_address tests
| * 7a60eba05a binfmt_elf: Leave a gap between .bss and brk
| * fea22a3e06 selftests/exec: load_address: conform test to TAP format output
| * 1707053766 binfmt_elf: elf_bss no longer used by load_elf_binary()
| * 86811e8778 binfmt_elf: Support segments with 0 filesz and misaligned starts
| * e20878d4eb binfmt: Fix whitespace issues
* | d2136f8626 Merge 6.1.139 into android14-6.1-lts
|/
* 325285d9fc Linux 6.1.139
* 69afd82670 x86/its: FineIBT-paranoid vs ITS
* 73c71762fe x86/alternatives: Remove faulty optimization
* 7e00c01ff8 x86/alternative: Optimize returns patching
* c2bece04ba x86/its: Fix build errors when CONFIG_MODULES=n
* 959cadf09d x86/its: Use dynamic thunks for indirect branches
* 9502e83c22 x86/ibt: Keep IBT disabled during alternative patching
* e6da4a83e3 x86/its: Align RETs in BHB clear sequence to avoid thunking
* 139c0b8318 x86/its: Add "vmexit" option to skip mitigation on some CPUs
* b1701fee52 x86/its: Enable Indirect Target Selection mitigation
* dbd8f170af x86/its: Add support for ITS-safe return thunk
* 5e7d4f2ace x86/its: Add support for ITS-safe indirect thunk
* 0eda20c29e x86/its: Enumerate Indirect Target Selection (ITS) bug
* ed2e894a76 Documentation: x86/bugs/its: Add ITS documentation
* b1ef84b0ff x86/speculation: Remove the extra #ifdef around CALL_NOSPEC
* fb3768004e x86/speculation: Add a conditional CS prefix to CALL_NOSPEC
* 4bc1033dff x86/speculation: Simplify and make CALL_NOSPEC consistent
* db734ba733 x86/bhi: Do not set BHI_DIS_S in 32-bit mode
* cebc238b02 x86/bpf: Add IBHF call at end of classic BPF
* 845c707b80 x86/bpf: Call branch history clearing sequence on exit
* 9fc1391552 arm64: proton-pack: Add new CPUs 'k' values for branch mitigation
* 6e52d043f7 arm64: bpf: Only mitigate cBPF programs loaded by unprivileged users
* 8fe5c37b0e arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs
* 4977712341 arm64: proton-pack: Expose whether the branchy loop k value
* 351a505eb4 arm64: proton-pack: Expose whether the platform is mitigated by firmware
* cc0b8e148c arm64: insn: Add support for encoding DSB
* 361dfa7f5c Revert "net: phy: microchip: force IRQ polling mode for lan88xx"
* b82c386898 io_uring: ensure deferred completions are posted for multishot
* 95b9acb0bb io_uring: always arm linked timeouts prior to issue
* 0e42a14899 do_umount(): add missing barrier before refcount checks in sync case
* 8642cbf11e nvme: unblock ctrl state transition for firmware update
* bd68de433f drm/panel: simple: Update timings for AUO G101EVN010
* d189b461d5 MIPS: Fix MAX_REG_OFFSET
* ea25ee0bb4 iio: adc: dln2: Use aligned_s64 for timestamp
* b6c984f4eb iio: accel: adxl355: Make timestamp 64-bit aligned using aligned_s64
* 8f0064eb22 types: Complement the aligned types with signed 64-bit one
* 35061dc5f6 iio: temp: maxim-thermocouple: Fix potential lack of DMA safe buffer.
* 6f371b751b iio: accel: adxl367: fix setting odr for activity time update
* 7591a2e6c0 usb: usbtmc: Fix erroneous generic_read ioctl return
* 5f72912d35 usb: usbtmc: Fix erroneous wait_srq ioctl return
* a647d960fb usb: usbtmc: Fix erroneous get_stb ioctl error returns
* 1956c3d878 USB: usbtmc: use interruptible sleep in usbtmc_read
* 076ab0631e usb: typec: ucsi: displayport: Fix NULL pointer access
* 2e89025609 usb: typec: tcpm: delay SNK_TRY_WAIT_DEBOUNCE to SRC_TRYWAIT transition
* 7d6224d1cf usb: host: tegra: Prevent host controller crash when OTG port is used
* 6fe2677bcf usb: gadget: tegra-xudc: ACK ST_RC after clearing CTRL_RUN
* ee51a5d322 usb: cdnsp: fix L1 resume issue for RTL_REVISION_NEW_LPM version
* 0554dade57 usb: cdnsp: Fix issue with resuming from L1
* 4c3a0b0b23 ocfs2: stop quota recovery before disabling quotas
* 6e5c3d9f29 ocfs2: implement handshaking with ocfs2 recovery thread
* c77a473d6e ocfs2: switch osb->disable_recovery to enum
* 9e7b49ce4f module: ensure that kobject_put() is safe for module type kobjects
* 8b02f85e84 xenbus: Use kref to track req lifetime
* cf61669c50 usb: uhci-platform: Make the clock really optional
* b04cfc229a drm/amdgpu/hdp5.2: use memcfg register to post the write for HDP flush
* 470f56fc35 drm/amd/display: Copy AUX read reply data whenever length > 0
* 9e83c84de3 drm/amd/display: Fix wrong handling for AUX_DEFER case
* 2cca631283 drm/amd/display: Remove incorrect checking in dmub aux handler
* f3385a056a drm/amd/display: Fix the checking condition in dmub aux handling
* 5235b56b7e drm/v3d: Add job to pending list if the reset was skipped
* 16857370b3 iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_tagged_fifo
* 6c4a500061 iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_fifo
* 2c66239cbf iio: adis16201: Correct inclinometer channel resolution
* 06acabd59b iio: adc: ad7606: fix serial register access
* 30a4efc067 drm/amd/display: Shift DMUB AUX reply command if necessary
* 02ad4ce144 x86/mm: Eliminate window where TLB flushes may be inadvertently skipped
* 651d9b7d47 staging: axis-fifo: Correct handling of tx_fifo_depth for size validation
* 0a73a6ac5f staging: axis-fifo: Remove hardware resets for user errors
* 0f2c03bc1d staging: iio: adc: ad7816: Correct conditional logic for store mode
* a92a9a4a33 Input: synaptics - enable InterTouch on TUXEDO InfinityBook Pro 14 v5
* 4e904ea41f Input: synaptics - enable SMBus for HP Elitebook 850 G1
* 7905a5fd76 Input: synaptics - enable InterTouch on Dell Precision M3800
* ed506876c5 Input: synaptics - enable InterTouch on Dynabook Portege X30L-G
* f69db59eec Input: synaptics - enable InterTouch on Dynabook Portege X30-D
* 334d74a798 Input: mtk-pmic-keys - fix possible null pointer dereference
* 03d71e1b24 net: dsa: b53: fix learning on VLAN unaware bridges
* 3379b3ca2c net: dsa: b53: always rejoin default untagged VLAN on bridge leave
* 4dc610122c net: dsa: b53: fix VLAN ID for untagged vlan on bridge leave
* 55c845e76f net: dsa: b53: fix flushing old pvid VLAN on pvid change
* 7f622ae738 net: dsa: b53: fix clearing PVID of a port
* aad87c94be net: dsa: b53: allow leaky reserved multicast
* de1067cc8c bpf: Scrub packet on bpf_redirect_peer
* aa77294b0f netfilter: ipset: fix region locking in hash types
* 7d0032112a ipvs: fix uninit-value for saddr in do_output_route4
* 6e67f25c11 ipv4: Drop tos parameter from flowi4_update_output()
* 21988c712a can: gw: fix RCU/BH usage in cgw_create_job()
* 3df065841c rcu/kvfree: Add kvfree_rcu_mightsleep() and kfree_rcu_mightsleep()
* e50ee08faf can: mcp251xfd: fix TDC setting for low data bit rates
* a51dc9669f gre: Fix again IPv6 link-local address generation.
* c928dd4f6b sch_htb: make htb_deactivate() idempotent
* facf22c1a3 ksmbd: fix memory leak in parse_lease_state()
* bca8df998c openvswitch: Fix unsafe attribute parsing in output_userspace()
* 7f61da79df ksmbd: prevent out-of-bounds stream writes by validating *pos
* 7fbb439ee2 can: mcp251xfd: mcp251xfd_remove(): fix order of unregistration calls
* 0de5d055d4 can: mcan: m_can_class_unregister(): fix order of unregistration calls
* 9f9d1ddee8 arm64: dts: imx8mm-verdin: Link reg_usdhc2_vqmmc to usdhc2
* b173204aad dm: add missing unlock on in dm_keyslot_evict()

Change-Id: Ibf2bcf5be1d871f03b6b19cd8bd8d1c3cd240fa5
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-06-22 07:19:08 -07:00
Jyu Jiang
f6c21bc9a6 ANDROID: GKI: net: add vendor hooks net qos for gki purpose
Add vendor hooks to support net qos policy feature:

1.android_rvh_tcp_rcv_spurious_retrans
With this hook we could trace the ACK path through the segments which
are spuriously retransmitted by sender.

Bug: 351960112
Bug: 424394849

Change-Id: I739cef428f4a43999d99393a205b3d53a1eb52da
Signed-off-by: Jyu Jiang <jyu.jiang@vivo.corp-partner.google.com>
2025-06-19 05:15:39 -07:00
Yanxiao Guo
8f7e256d08 ANDROID: GKI: Update symbol list for vivo
12 function symbol(s) added
  'int __traceiter_android_rvh_inet_sock_create(void*, struct sock*)'
  'int __traceiter_android_rvh_inet_sock_release(void*, struct sock*)'
  'int __traceiter_android_rvh_tcp_recvmsg(void*, struct sock*, struct msghdr*, size_t, int, int*)'
  'int __traceiter_android_rvh_tcp_select_window(void*, struct sock*, u32*)'
  'int __traceiter_android_rvh_tcp_sendmsg(void*, struct sock*, struct msghdr*, size_t)'
  'int __traceiter_android_rvh_udp_recvmsg(void*, struct sock*, struct msghdr*, size_t, int, int*)'
  'int __traceiter_android_rvh_udp_sendmsg(void*, struct sock*, struct msghdr*, size_t)'
  'int __traceiter_android_rvh_udpv6_recvmsg(void*, struct sock*, struct msghdr*, size_t, int, int*)'
  'int __traceiter_android_rvh_udpv6_sendmsg(void*, struct sock*, struct msghdr*, size_t)'
  'int __traceiter_android_vh_build_skb_around(void*, struct sk_buff*)'
  'int __traceiter_android_vh_tcp_rtt_estimator(void*, struct sock*, long)'
  'int __traceiter_android_vh_udp_enqueue_schedule_skb(void*, struct sock*, struct sk_buff*)'

12 variable symbol(s) added
  'struct tracepoint __tracepoint_android_rvh_inet_sock_create'
  'struct tracepoint __tracepoint_android_rvh_inet_sock_release'
  'struct tracepoint __tracepoint_android_rvh_tcp_recvmsg'
  'struct tracepoint __tracepoint_android_rvh_tcp_select_window'
  'struct tracepoint __tracepoint_android_rvh_tcp_sendmsg'
  'struct tracepoint __tracepoint_android_rvh_udp_recvmsg'
  'struct tracepoint __tracepoint_android_rvh_udp_sendmsg'
  'struct tracepoint __tracepoint_android_rvh_udpv6_recvmsg'
  'struct tracepoint __tracepoint_android_rvh_udpv6_sendmsg'
  'struct tracepoint __tracepoint_android_vh_build_skb_around'
  'struct tracepoint __tracepoint_android_vh_tcp_rtt_estimator'
  'struct tracepoint __tracepoint_android_vh_udp_enqueue_schedule_skb'

Bug: 335081123
Bug: 424394849

Change-Id: I6bbe625c7299ba0b2a82b0bbb2c1c89be715c1d6
Signed-off-by: Yanxiao Guo <yanxiao.guo@vivo.corp-partner.google.com>
2025-06-19 05:15:39 -07:00
jujiang
b6fa3795ff ANDROID: GKI: net: add vendor hooks net qos for gki purpose
Add vendor hooks to support net qos policy feature:

1.android_rvh_tcp_select_window
We want to modify the tcp_select_window return value

2.android_rvh_inet_sock_create; android_rvh_inet_sock_release
We want to add a field when a inet sock is created

3.android_vh_tcp_rtt_estimator
To record the rtt of tcp connections for specified uids

4.android_vh_build_skb_around
To initialize the oem data field in the skb_shared_info structure

Bug: 335081123
Bug: 424394849

Change-Id: Ibb22813c5004464416346d2c4c526d6cc5531fcc
Signed-off-by: jujiang <jyu.jiang@vivo.corp-partner.google.com>
2025-06-19 05:14:22 -07:00
Isaac Manjarres
ba45069401 Revert "ANDROID: mm: Set PAGE_BLOCK_ORDER to 8 when ARM64_16K_PAGES"
This reverts commit 45afa562802ae9a253ef437dd0010c8c2ec17806.

Reason for revert: This was a workaround due to the kernel build
tools preserving the # nocheck comment as part of the config option
for CONFIG_PAGE_BLOCK_ORDER, which is problematic, since it is
supposed to be an int. The build tools have been patched to not
do that anymore, so this can be removed.

Bug: 424212284
Bug: 375647879
Bug: 355449177
Bug: 418282543
Change-Id: Ib999aea150c1c5f7f22ea6bdd81de0ec75f8efaf
[isaacmanjarres: resolved merge conflicts from PAGE_BLOCK_ORDER
being hardcoded to 8 on android14 kernels.]
Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
2025-06-16 22:39:34 +00:00
Juan Yescas
6246d345f5 ANDROID: mm: Set PAGE_BLOCK_ORDER to 8 when ARM64_16K_PAGES
This config will allow the 16kb page size kernels to have the
same CMA_MIN_ALIGNMENT_BYTES that 4k kernels. This means that
the CMA configs for the drivers won't have to change.

Note: This change is needed to avoid breaking old kernel
builds.

Bug: 424212284
Bug: 375647879
Bug: 355449177
Bug: 418282543
Test: tools/bazel run //common:kernel_aarch64_dist
      tools/bazel run //common:kernel_aarch64_16k_dist
      tools/bazel run //common:kernel_x86_64_dist
Change-Id: Icbfcab0d7e5ba18b3fc35c1186ef79e82f3e7ab1
Signed-off-by: Juan Yescas <jyescas@google.com>
2025-06-12 16:40:03 -07:00
Justin Jiang
74db64dcc8 ANDROID: GKI: Update symbol list for vivo
Update vivo symbol list for adding hook to retry mempool allocation
without delay.

1 function symbol(s) added
  'int __traceiter_android_vh_mempool_alloc_skip_wait(void*, gfp_t *, bool *)'

1 variable symbol(s) added
  'struct tracepoint __tracepoint_android_vh_mempool_alloc_skip_wait'

Bug: 423832910
Change-Id: I869cfce91993628c05ddefd01e67a655f53ee48a
Signed-off-by: Justin Jiang <justinjiang@vivo.corp-partner.google.com>
2025-06-12 01:13:47 -07:00
Justin Jiang
0c59801101 ANDROID: vendor_hooks: add hook to retry mempool allocation without delay
Allow important priority threads to retry mempool allocation,
achieving fast memory allocation and solving lagging problems
caused by delaying 5 seconds.

Bug: 423832910
Change-Id: I80e6b1c55652f5a62ac36bbf0091d22ec7fb6189
Signed-off-by: Justin Jiang <justinjiang@vivo.corp-partner.google.com>
2025-06-12 09:29:40 +08:00
Juan Yescas
312cb0bda6 BACKPORT: FROMGIT: mm: Add CONFIG_PAGE_BLOCK_ORDER to select page block order
Problem: On large page size configurations (16KiB, 64KiB), the CMA
alignment requirement (CMA_MIN_ALIGNMENT_BYTES) increases considerably,
and this causes the CMA reservations to be larger than necessary.
This means that system will have less available MIGRATE_UNMOVABLE and
MIGRATE_RECLAIMABLE page blocks since MIGRATE_CMA can't fallback to them.

The CMA_MIN_ALIGNMENT_BYTES increases because it depends on
MAX_PAGE_ORDER which depends on ARCH_FORCE_MAX_ORDER. The value of
ARCH_FORCE_MAX_ORDER increases on 16k and 64k kernels.

For example, in ARM, the CMA alignment requirement when:

- CONFIG_ARCH_FORCE_MAX_ORDER default value is used
- CONFIG_TRANSPARENT_HUGEPAGE is set:

PAGE_SIZE | MAX_PAGE_ORDER | pageblock_order | CMA_MIN_ALIGNMENT_BYTES
-----------------------------------------------------------------------
   4KiB   |      10        |       9         |  4KiB * (2 ^  9) =   2MiB
  16Kib   |      11        |      11         | 16KiB * (2 ^ 11) =  32MiB
  64KiB   |      13        |      13         | 64KiB * (2 ^ 13) = 512MiB

There are some extreme cases for the CMA alignment requirement when:

- CONFIG_ARCH_FORCE_MAX_ORDER maximum value is set
- CONFIG_TRANSPARENT_HUGEPAGE is NOT set:
- CONFIG_HUGETLB_PAGE is NOT set

PAGE_SIZE | MAX_PAGE_ORDER | pageblock_order |  CMA_MIN_ALIGNMENT_BYTES
------------------------------------------------------------------------
   4KiB   |      15        |      15         |  4KiB * (2 ^ 15) = 128MiB
  16Kib   |      13        |      13         | 16KiB * (2 ^ 13) = 128MiB
  64KiB   |      13        |      13         | 64KiB * (2 ^ 13) = 512MiB

This affects the CMA reservations for the drivers. If a driver in a
4KiB kernel needs 4MiB of CMA memory, in a 16KiB kernel, the minimal
reservation has to be 32MiB due to the alignment requirements:

reserved-memory {
    ...
    cma_test_reserve: cma_test_reserve {
        compatible = "shared-dma-pool";
        size = <0x0 0x400000>; /* 4 MiB */
        ...
    };
};

reserved-memory {
    ...
    cma_test_reserve: cma_test_reserve {
        compatible = "shared-dma-pool";
        size = <0x0 0x2000000>; /* 32 MiB */
        ...
    };
};

Solution: Add a new config CONFIG_PAGE_BLOCK_ORDER that
allows to set the page block order in all the architectures.
The maximum page block order will be given by
ARCH_FORCE_MAX_ORDER.

By default, CONFIG_PAGE_BLOCK_ORDER will have the same
value that ARCH_FORCE_MAX_ORDER. This will make sure that
current kernel configurations won't be affected by this
change. It is a opt-in change.

This patch will allow to have the same CMA alignment
requirements for large page sizes (16KiB, 64KiB) as that
in 4kb kernels by setting a lower pageblock_order.

Tests:

- Verified that HugeTLB pages work when pageblock_order is 1, 7, 10
on 4k and 16k kernels.

- Verified that Transparent Huge Pages work when pageblock_order
is 1, 7, 10 on 4k and 16k kernels.

- Verified that dma-buf heaps allocations work when pageblock_order
is 1, 7, 10 on 4k and 16k kernels.

Benchmarks:

The benchmarks compare 16kb kernels with pageblock_order 10 and 7. The
reason for the pageblock_order 7 is because this value makes the min
CMA alignment requirement the same as that in 4kb kernels (2MB).

- Perform 100K dma-buf heaps (/dev/dma_heap/system) allocations of
SZ_8M, SZ_4M, SZ_2M, SZ_1M, SZ_64, SZ_8, SZ_4. Use simpleperf
(https://developer.android.com/ndk/guides/simpleperf) to measure
the # of instructions and page-faults on 16k kernels.
The benchmark was executed 10 times. The averages are below:

           # instructions         |     #page-faults
    order 10     |  order 7       | order 10 | order 7
--------------------------------------------------------
 13,891,765,770	 | 11,425,777,314 |    220   |   217
 14,456,293,487	 | 12,660,819,302 |    224   |   219
 13,924,261,018	 | 13,243,970,736 |    217   |   221
 13,910,886,504	 | 13,845,519,630 |    217   |   221
 14,388,071,190	 | 13,498,583,098 |    223   |   224
 13,656,442,167	 | 12,915,831,681 |    216   |   218
 13,300,268,343	 | 12,930,484,776 |    222   |   218
 13,625,470,223	 | 14,234,092,777 |    219   |   218
 13,508,964,965	 | 13,432,689,094 |    225   |   219
 13,368,950,667	 | 13,683,587,37  |    219   |   225
-------------------------------------------------------------------
 13,803,137,433  | 13,131,974,268 |    220   |   220    Averages

There were 4.85% #instructions when order was 7, in comparison
with order 10.

     13,803,137,433 - 13,131,974,268 = -671,163,166 (-4.86%)

The number of page faults in order 7 and 10 were the same.

These results didn't show any significant regression when the
pageblock_order is set to 7 on 16kb kernels.

- Run speedometer 3.1 (https://browserbench.org/Speedometer3.1/) 5 times
 on the 16k kernels with pageblock_order 7 and 10.

order 10 | order 7  | order 7 - order 10 | (order 7 - order 10) %
-------------------------------------------------------------------
  15.8	 |  16.4    |         0.6        |     3.80%
  16.4	 |  16.2    |        -0.2        |    -1.22%
  16.6	 |  16.3    |        -0.3        |    -1.81%
  16.8	 |  16.3    |        -0.5        |    -2.98%
  16.6	 |  16.8    |         0.2        |     1.20%
-------------------------------------------------------------------
  16.44     16.4            -0.04	          -0.24%   Averages

The results didn't show any significant regression when the
pageblock_order is set to 7 on 16kb kernels.

Signed-off-by: Juan Yescas <jyescas@google.com>
Acked-by: Zi Yan <ziy@nvidia.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit e13e7922d03439e374c263049af5f740ceae6346 https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/ mm-stable)
Bug: 375647879
Bug: 355449177
Bug: 418282543
[jyescas: Use MAX_ORDER instead of MAX_PAGE_ORDER. Update the file
          mm/page_alloc.c instead of mm/mm_init.c due the function
          set_pageblock_order is there.]
Test: Built and ran kernel
Link: https://lkml.kernel.org/r/20250521215807.1860663-1-jyescas@google.com
Change-Id: Id7132b6848e5deb97a7531cf546060de2accffac
2025-06-11 17:57:48 -07:00
Tiffany Y. Yang
5b2e204a7b BACKPORT: binder: Create safe versions of binder log files
Binder defines several seq_files that can be accessed via debugfs or
binderfs. Some of these files (e.g., 'state' and 'transactions')
contain more granular information about binder's internal state that
is helpful for debugging, but they also leak userspace address data
through user-defined 'cookie' or 'ptr' values. Consequently, access
to these files must be heavily restricted.

Add two new files, 'state_hashed' and 'transactions_hashed', that
reproduce the information in the original files but use the kernel's
raw pointer obfuscation to hash any potential user addresses. This
approach allows systems to grant broader access to the new files
without having to change the security policy around the existing ones.

In practice, userspace populates these fields with user addresses, but
within the driver, these values only serve as unique identifiers for
their associated binder objects. Consequently, binder logs can
obfuscate these values and still retain meaning. While this strategy
prevents leaking information about the userspace memory layout in the
existing log files, it also decouples log messages about binder
objects from their user-defined identifiers.

Acked-by: Carlos Llamas <cmllamas@google.com>
Tested-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: "Tiffany Y. Yang" <ynaffit@google.com>
Link: https://lore.kernel.org/r/20250510013435.1520671-7-ynaffit@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 316970771
(cherry picked from commit 57483a362741e4f0f3f4d2fc82d48f82fd0986d9)
[Resolve conflicts from node prio]
Change-Id: I6a01048c0105a1d6061e95f386e7ee55e2fdc898
Signed-off-by: "Tiffany Yang" <ynaffit@google.com>
2025-06-10 17:56:56 -07:00
Tiffany Y. Yang
1fee46d076 UPSTREAM: binder: Refactor binder_node print synchronization
The binder driver outputs information about each dead binder node by
iterating over the dead nodes list, and it prints the state of each live
node in the system by traversing each binder_proc's proc->nodes tree.
Both cases require similar logic to maintain the global lock ordering
while accessing each node.

Create a helper function to synchronize around printing binder nodes in
a list. Opportunistically make minor cosmetic changes to binder print
functions.

Acked-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: "Tiffany Y. Yang" <ynaffit@google.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250510013435.1520671-5-ynaffit@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 316970771
(cherry picked from commit 91f1bbaa783d26b379d65ef7b4b2b947c338c749)
Change-Id: Iae546a847ca138ddfffcdc24faf075b325a54640
Signed-off-by: "Tiffany Yang" <ynaffit@google.com>
2025-06-10 17:51:01 -07:00
Sanjeev Yadav
47e5d7e917 FROMGIT: scsi: core: ufs: Fix a hang in the error handler
ufshcd_err_handling_prepare() calls ufshcd_rpm_get_sync(). The latter
function can only succeed if UFSHCD_EH_IN_PROGRESS is not set because
resuming involves submitting a SCSI command and ufshcd_queuecommand()
returns SCSI_MLQUEUE_HOST_BUSY if UFSHCD_EH_IN_PROGRESS is set. Fix this
hang by setting UFSHCD_EH_IN_PROGRESS after ufshcd_rpm_get_sync() has
been called instead of before.

Backtrace:
__switch_to+0x174/0x338
__schedule+0x600/0x9e4
schedule+0x7c/0xe8
schedule_timeout+0xa4/0x1c8
io_schedule_timeout+0x48/0x70
wait_for_common_io+0xa8/0x160 //waiting on START_STOP
wait_for_completion_io_timeout+0x10/0x20
blk_execute_rq+0xe4/0x1e4
scsi_execute_cmd+0x108/0x244
ufshcd_set_dev_pwr_mode+0xe8/0x250
__ufshcd_wl_resume+0x94/0x354
ufshcd_wl_runtime_resume+0x3c/0x174
scsi_runtime_resume+0x64/0xa4
rpm_resume+0x15c/0xa1c
__pm_runtime_resume+0x4c/0x90 // Runtime resume ongoing
ufshcd_err_handler+0x1a0/0xd08
process_one_work+0x174/0x808
worker_thread+0x15c/0x490
kthread+0xf4/0x1ec
ret_from_fork+0x10/0x20

Signed-off-by: Sanjeev Yadav <sanjeev.y@mediatek.com>
[ bvanassche: rewrote patch description ]
Fixes: 62694735ca ("[SCSI] ufs: Add runtime PM support for UFS host controller driver")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20250523201409.1676055-1-bvanassche@acm.org
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Bug: 415545051
Bug: 416266861
Change-Id: I25f116a84b999f2ea57c93fe5802c0d95b6e5014
(cherry picked from commit 8a3514d348de87a9d5e2ac00fbac4faae0b97996 https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git)
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2025-06-10 10:36:39 -07:00
Chunhai Guo
13ff1300ee BACKPORT: erofs: allocate more short-lived pages from reserved pool first
This patch aims to allocate bvpages and short-lived compressed pages
from the reserved pool first.

After applying this patch, there are three benefits.

1. It reduces the page allocation time.
 The bvpages and short-lived compressed pages account for about 4% of
the pages allocated from the system in the multi-app launch benchmarks
[1]. It reduces the page allocation time accordingly and lowers the
likelihood of blockage by page allocation in low memory scenarios.

2. The pages in the reserved pool will be allocated on demand.
 Currently, bvpages and short-lived compressed pages are short-lived
pages allocated from the system, and the pages in the reserved pool all
originate from short-lived pages. Consequently, the number of reserved
pool pages will increase to z_erofs_rsv_nrpages over time.
 With this patch, all short-lived pages are allocated from the reserved
pool first, so the number of reserved pool pages will only increase when
there are not enough pages. Thus, even if z_erofs_rsv_nrpages is set to
a large number for specific reasons, the actual number of reserved pool
pages may remain low as per demand. In the multi-app launch benchmarks
[1], z_erofs_rsv_nrpages is set at 256, while the number of reserved
pool pages remains below 64.

3. When erofs cache decompression is disabled
   (EROFS_ZIP_CACHE_DISABLED), all pages will *only* be allocated from
the reserved pool for erofs. This will significantly reduce the memory
pressure from erofs.

[1] For additional details on the multi-app launch benchmarks, please
refer to commit 0f6273ab4637 ("erofs: add a reserved buffer pool for lz4
decompression").

Signed-off-by: Chunhai Guo <guochunhai@vivo.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20240906121110.3701889-1-guochunhai@vivo.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>

Bug: 422867180
Bug: 387202250
Change-Id: Ife45adcb4c22c9d73952db1de956e1b9cda1b8c2
(cherry picked from commit 79f504a2cd3c0b7d953d0015618a2a41559a2cfd)
Signed-off-by: liujinbao1 <liujinbao1@xiaomi.corp-partner.google.com>
(cherry picked from commit 6e7af99d68e309a0a1a14e7674406d9462e1b0bb)
2025-06-09 11:31:29 -07:00
rs6987
753068e2ae ANDROID: GKI: Add zebra KMI symbol list
These symbols are required scanner driver

INFO:
1 function symbol(s) added
  'void vb2_video_unregister_device(struct video_device*)'

Bug: 423519221
Change-Id: I9826d7ca5b1e8d286fad1ec80efc674cc676540e
Signed-off-by: rajat.suri <rajat.suri@zebra.com>
2025-06-09 04:48:35 -07:00
Chao Yu
7af56ffc91 UPSTREAM: f2fs: compress: fix error path of inc_valid_block_count()
If inc_valid_block_count() can not allocate all requested blocks,
it needs to release block count in .total_valid_block_count and
resevation blocks in inode.

Bug: 419862398
Change-Id: I3d05f5ced5a8e9e4af6879d8e35ef9aef148dd95
(cherry picked from commit 043c832371cd9023fbd725138ddc6c7f288dc469)
Fixes: 54607494875e ("f2fs: compress: fix to avoid inconsistence bewteen i_blocks and dnode")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Chao Yu <chao@kernel.org>
2025-06-05 09:19:38 -07:00
Arnd Bergmann
d8780220fd UPSTREAM: scripts/unifdef: avoid constexpr keyword
Starting with c23, 'constexpr' is a keyword in C like in C++ and cannot
be used as an identifier:

scripts/unifdef.c:206:25: error: 'constexpr' can only be used in variable declarations
  206 | static bool             constexpr;              /* constant #if expression */
      |                         ^
scripts/unifdef.c:880:13: error: expected identifier or '('
  880 |                 constexpr = false;
      |                           ^

Rename this instance to allow changing to C23 at some point in the future.

Bug: 401172689
Bug: 422603167
Change-Id: I19e1c13f5dcffe98b8189d3317100f20774f1d4c
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-By: Tony Finch <dot@dotat.at>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
(cherry picked from commit 10f94d8fcc0880c93d7697184fe199022792a61c)
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
(cherry picked from commit b7fd55a297a77e72154def86b46c3d1cf1ffa1e1)
2025-06-05 08:48:52 -07:00
Greg Kroah-Hartman
18282059e0 Revert "espintcp: remove encap socket caching to avoid reference leak"
This reverts commit e4cde54b46 which is
commit 028363685bd0b7a19b4a820f82dd905b1dc83999 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I05ba7cd52d70dad7ccd570cfad6daec79c5ca791
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-06-05 14:30:18 +00:00
Greg Kroah-Hartman
eb47017bf9 Revert "genirq/msi: Store the IOMMU IOVA directly in msi_desc instead of iommu_cookie"
This reverts commit e4d3763223 which is
commit 1f7df3a691740a7736bbc99dc4ed536120eb4746 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Ib0d3d22614baadb6bd1a924fb46a905e05f4b23b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-06-05 14:27:53 +00:00
Greg Kroah-Hartman
22d163151d Revert "perf: Avoid the read if the count is already updated"
This reverts commit e1c3bfe365 which is
commit 8ce939a0fa194939cc1f92dbd8bc1a7806e7d40a upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I9c672a97df39e7381e10c7cf113a5a36f76c90e4
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-06-05 14:27:22 +00:00
Greg Kroah-Hartman
f4b979262f Revert "coredump: hand a pidfd to the usermode coredump helper"
This reverts commit ac19091288 which is
commit b5325b2a270fcaf7b2a9a0f23d422ca8a5a8bdea upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I79cda13392f475443cb9b0aa701b9224df1fa39e
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-06-05 14:26:30 +00:00
Greg Kroah-Hartman
f23dc8c566 Revert "ipv6: save dontfrag in cork"
This reverts commit 4f809be95d which is
commit a18dfa9925b9ef6107ea3aa5814ca3c704d34a8a upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I92d1731431ba8fdf5be8df5457bc73cd5ae4ffaf
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-06-05 14:25:58 +00:00
Greg Kroah-Hartman
b572d7f4f2 Revert "serial: mctrl_gpio: split disable_ms into sync and no_sync APIs"
This reverts commit 68435c1fa3 which is
commit 1bd2aad57da95f7f2d2bb52f7ad15c0f4993a685 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: I5a1f6ecb6b0139b48d9cbfeff2efde4362d6f3b0
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-06-05 13:19:46 +00:00
Greg Kroah-Hartman
7f0c46ade6 Revert "hrtimers: Force migrate away hrtimers queued after CPUHP_AP_HRTIMERS_DYING"
This reverts commit 82ac6adbbb which is
commit 53dac345395c0d2493cbc2f4c85fe38aef5b63f5 upstream.

It breaks the Android kernel build and can be brought back in the future
in an safe way if it is really needed.

Bug: 161946584
Change-Id: Ic3951674e27076bd9867102f525af9adc5c2a43c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-06-05 11:12:03 +00:00
Greg Kroah-Hartman
ef60b4555d Merge 6.1.141 into android14-6.1-lts
Changes in 6.1.141
	gpio: pca953x: Add missing header(s)
	gpio: pca953x: Split pca953x_restore_context() and pca953x_save_context()
	gpio: pca953x: Simplify code with cleanup helpers
	gpio: pca953x: fix IRQ storm on system wake up
	phy: renesas: rcar-gen3-usb2: Add support to initialize the bus
	phy: renesas: rcar-gen3-usb2: Move IRQ request in probe
	phy: renesas: rcar-gen3-usb2: Lock around hardware registers and driver data
	phy: renesas: rcar-gen3-usb2: Assert PLL reset on PHY power off
	scsi: target: iscsi: Fix timeout on deleted connection
	virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN
	dma-mapping: avoid potential unused data compilation warning
	cgroup: Fix compilation issue due to cgroup_mutex not being exported
	scsi: mpi3mr: Add level check to control event logging
	net: enetc: refactor bulk flipping of RX buffers to separate function
	drm/amdgpu: Allow P2P access through XGMI
	selftests/bpf: Mitigate sockmap_ktls disconnect_after_delete failure
	bpf: fix possible endless loop in BPF map iteration
	samples/bpf: Fix compilation failure for samples/bpf on LoongArch Fedora
	kconfig: merge_config: use an empty file as initfile
	s390/vfio-ap: Fix no AP queue sharing allowed message written to kernel log
	cifs: Add fallback for SMB2 CREATE without FILE_READ_ATTRIBUTES
	cifs: Fix querying and creating MF symlinks over SMB1
	cifs: Fix negotiate retry functionality
	fuse: Return EPERM rather than ENOSYS from link()
	NFSv4: Check for delegation validity in nfs_start_delegation_return_locked()
	NFS: Don't allow waiting for exiting tasks
	SUNRPC: Don't allow waiting for exiting tasks
	arm64: Add support for HIP09 Spectre-BHB mitigation
	tracing: Mark binary printing functions with __printf() attribute
	mailbox: use error ret code of of_parse_phandle_with_args()
	fbdev: fsl-diu-fb: add missing device_remove_file()
	fbcon: Use correct erase colour for clearing in fbcon
	fbdev: core: tileblit: Implement missing margin clearing for tileblit
	cifs: Fix establishing NetBIOS session for SMB2+ connection
	NFSv4: Treat ENETUNREACH errors as fatal for state recovery
	SUNRPC: rpc_clnt_set_transport() must not change the autobind setting
	SUNRPC: rpcbind should never reset the port to the value '0'
	thermal/drivers/qoriq: Power down TMU on system suspend
	dql: Fix dql->limit value when reset.
	lockdep: Fix wait context check on softirq for PREEMPT_RT
	objtool: Properly disable uaccess validation
	PCI: dwc: ep: Ensure proper iteration over outbound map windows
	tools/build: Don't pass test log files to linker
	pNFS/flexfiles: Report ENETDOWN as a connection error
	PCI: vmd: Disable MSI remapping bypass under Xen
	libnvdimm/labels: Fix divide error in nd_label_data_init()
	mmc: host: Wait for Vdd to settle on card power off
	x86/mm: Check return value from memblock_phys_alloc_range()
	i2c: qup: Vote for interconnect bandwidth to DRAM
	i2c: pxa: fix call balance of i2c->clk handling routines
	btrfs: make btrfs_discard_workfn() block_group ref explicit
	btrfs: avoid linker error in btrfs_find_create_tree_block()
	btrfs: run btrfs_error_commit_super() early
	btrfs: fix non-empty delayed iputs list on unmount due to async workers
	btrfs: get zone unusable bytes while holding lock at btrfs_reclaim_bgs_work()
	btrfs: send: return -ENAMETOOLONG when attempting a path that is too long
	drm/amd/display: Guard against setting dispclk low for dcn31x
	i3c: master: svc: Fix missing STOP for master request
	dlm: make tcp still work in multi-link env
	um: Store full CSGSFS and SS register from mcontext
	um: Update min_low_pfn to match changes in uml_reserved
	ext4: reorder capability check last
	scsi: st: Tighten the page format heuristics with MODE SELECT
	scsi: st: ERASE does not change tape location
	vfio/pci: Handle INTx IRQ_NOTCONNECTED
	bpf: Return prog btf_id without capable check
	tcp: reorganize tcp_in_ack_event() and tcp_count_delivered()
	rtc: rv3032: fix EERD location
	thunderbolt: Do not add non-active NVM if NVM upgrade is disabled for retimer
	ASoC: mediatek: mt6359: Add stub for mt6359_accdet_enable_jack_detect
	kbuild: fix argument parsing in scripts/config
	crypto: octeontx2 - suppress auth failure screaming due to negative tests
	dm: restrict dm device size to 2^63-512 bytes
	net/smc: use the correct ndev to find pnetid by pnetid table
	xen: Add support for XenServer 6.1 platform device
	pinctrl-tegra: Restore SFSEL bit when freeing pins
	ASoC: sun4i-codec: support hp-det-gpios property
	ext4: reject the 'data_err=abort' option in nojournal mode
	RDMA/uverbs: Propagate errors from rdma_lookup_get_uobject()
	posix-timers: Add cond_resched() to posix_timer_add() search loop
	timer_list: Don't use %pK through printk()
	netfilter: conntrack: Bound nf_conntrack sysctl writes
	arm64/mm: Check PUD_TYPE_TABLE in pud_bad()
	mmc: dw_mmc: add exynos7870 DW MMC support
	mmc: sdhci: Disable SD card clock before changing parameters
	hwmon: (dell-smm) Increment the number of fans
	ipv6: save dontfrag in cork
	drm/amd/display: calculate the remain segments for all pipes
	gfs2: Check for empty queue in run_queue
	auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common"
	ASoC: qcom: sm8250: explicitly set format in sm8250_be_hw_params_fixup()
	iommu/amd/pgtbl_v2: Improve error handling
	cpufreq: tegra186: Share policy per cluster
	crypto: lzo - Fix compression buffer overrun
	arm64: tegra: p2597: Fix gpio for vdd-1v8-dis regulator
	powerpc/prom_init: Fixup missing #size-cells on PowerBook6,7
	ALSA: seq: Improve data consistency at polling
	tcp: bring back NUMA dispersion in inet_ehash_locks_alloc()
	rtc: ds1307: stop disabling alarms on probe
	ieee802154: ca8210: Use proper setters and getters for bitwise types
	ARM: tegra: Switch DSI-B clock parent to PLLD on Tegra114
	media: c8sectpfe: Call of_node_put(i2c_bus) only once in c8sectpfe_probe()
	dm cache: prevent BUG_ON by blocking retries on failed device resumes
	orangefs: Do not truncate file size
	net: phylink: use pl->link_interface in phylink_expects_phy()
	remoteproc: qcom_wcnss: Handle platforms with only single power domain
	drm/amdgpu: Do not program AGP BAR regs under SRIOV in gfxhub_v1_0.c
	media: cx231xx: set device_caps for 417
	pinctrl: bcm281xx: Use "unsigned int" instead of bare "unsigned"
	net: ethernet: ti: cpsw_new: populate netdev of_node
	net: pktgen: fix mpls maximum labels list parsing
	perf/hw_breakpoint: Return EOPNOTSUPP for unsupported breakpoint type
	ALSA: hda/realtek: Enable PC beep passthrough for HP EliteBook 855 G7
	ipv4: fib: Move fib_valid_key_len() to rtm_to_fib_config().
	drm/rockchip: vop2: Add uv swap for cluster window
	media: uvcvideo: Add sanity check to uvc_ioctl_xu_ctrl_map
	clk: imx8mp: inform CCF of maximum frequency of clocks
	x86/bugs: Make spectre user default depend on MITIGATION_SPECTRE_V2
	hwmon: (gpio-fan) Add missing mutex locks
	ARM: at91: pm: fix at91_suspend_finish for ZQ calibration
	drm/mediatek: mtk_dpi: Add checks for reg_h_fre_con existence
	fpga: altera-cvp: Increase credit timeout
	soc: apple: rtkit: Use high prio work queue
	soc: apple: rtkit: Implement OSLog buffers properly
	PCI: brcmstb: Expand inbound window size up to 64GB
	PCI: brcmstb: Add a softdep to MIP MSI-X driver
	firmware: arm_ffa: Set dma_mask for ffa devices
	net/mlx5: Avoid report two health errors on same syndrome
	selftests/net: have `gro.sh -t` return a correct exit code
	drm/amdkfd: KFD release_work possible circular locking
	leds: pwm-multicolor: Add check for fwnode_property_read_u32
	net: ethernet: mtk_ppe_offload: Allow QinQ, double ETH_P_8021Q only
	net: xgene-v2: remove incorrect ACPI_PTR annotation
	bonding: report duplicate MAC address in all situations
	soc: ti: k3-socinfo: Do not use syscon helper to build regmap
	x86/build: Fix broken copy command in genimage.sh when making isoimage
	drm/amd/display: handle max_downscale_src_width fail check
	x86/nmi: Add an emergency handler in nmi_desc & use it in nmi_shootdown_cpus()
	cpuidle: menu: Avoid discarding useful information
	media: adv7180: Disable test-pattern control on adv7180
	libbpf: Fix out-of-bound read
	dm: fix unconditional IO throttle caused by REQ_PREFLUSH
	x86/kaslr: Reduce KASLR entropy on most x86 systems
	MIPS: Use arch specific syscall name match function
	genirq/msi: Store the IOMMU IOVA directly in msi_desc instead of iommu_cookie
	MIPS: pm-cps: Use per-CPU variables as per-CPU, not per-core
	clocksource: mips-gic-timer: Enable counter when CPUs start
	scsi: mpt3sas: Send a diag reset if target reset fails
	wifi: rtw88: Fix rtw_init_vht_cap() for RTL8814AU
	wifi: rtw88: Fix rtw_init_ht_cap() for RTL8814AU
	wifi: rtw88: Fix rtw_desc_to_mcsrate() to handle MCS16-31
	wifi: rtw89: fw: propagate error code from rtw89_h2c_tx()
	net: pktgen: fix access outside of user given buffer in pktgen_thread_write()
	EDAC/ie31200: work around false positive build warning
	i3c: master: svc: Flush FIFO before sending Dynamic Address Assignment(DAA)
	serial: mctrl_gpio: split disable_ms into sync and no_sync APIs
	RDMA/core: Fix best page size finding when it can cross SG entries
	pmdomain: imx: gpcv2: use proper helper for property detection
	can: c_can: Use of_property_present() to test existence of DT property
	eth: mlx4: don't try to complete XDP frames in netpoll
	PCI: Fix old_size lower bound in calculate_iosize() too
	ACPI: HED: Always initialize before evged
	vxlan: Join / leave MC group after remote changes
	media: test-drivers: vivid: don't call schedule in loop
	net/mlx5: Modify LSB bitmask in temperature event to include only the first bit
	net/mlx5: Apply rate-limiting to high temperature warning
	ASoC: ops: Enforce platform maximum on initial value
	ASoC: tas2764: Add reg defaults for TAS2764_INT_CLK_CFG
	ASoC: tas2764: Mark SW_RESET as volatile
	ASoC: tas2764: Power up/down amp on mute ops
	ASoC: soc-dai: check return value at snd_soc_dai_set_tdm_slot()
	pinctrl: devicetree: do not goto err when probing hogs in pinctrl_dt_to_map
	smack: recognize ipv4 CIPSO w/o categories
	kunit: tool: Use qboot on QEMU x86_64
	net/mlx4_core: Avoid impossible mlx4_db_alloc() order value
	clk: qcom: clk-alpha-pll: Do not use random stack value for recalc rate
	serial: sh-sci: Update the suspend/resume support
	phy: core: don't require set_mode() callback for phy_get_mode() to work
	drm/amdgpu: reset psp->cmd to NULL after releasing the buffer
	drm/amd/display: Initial psr_version with correct setting
	drm/amdgpu: enlarge the VBIOS binary size limit
	drm/amd/display/dm: drop hw_support check in amdgpu_dm_i2c_xfer()
	net/mlx5: Extend Ethtool loopback selftest to support non-linear SKB
	net/mlx5e: set the tx_queue_len for pfifo_fast
	net/mlx5e: reduce rep rxq depth to 256 for ECPF
	wifi: mac80211: don't unconditionally call drv_mgd_complete_tx()
	wifi: mac80211: remove misplaced drv_mgd_complete_tx() call
	arch/powerpc/perf: Check the instruction type before creating sample with perf_mem_data_src
	ip: fib_rules: Fetch net from fib_rule in fib[46]_rule_configure().
	r8152: add vendor/device ID pair for Dell Alienware AW1022z
	wifi: rtw88: Fix download_firmware_validate() for RTL8814AU
	clk: qcom: camcc-sm8250: Use clk_rcg2_shared_ops for some RCGs
	hwmon: (xgene-hwmon) use appropriate type for the latency value
	media: qcom: camss: csid: Only add TPG v4l2 ctrl if TPG hardware is available
	vxlan: Annotate FDB data races
	r8169: don't scan PHY addresses > 0
	rcu: handle quiescent states for PREEMPT_RCU=n, PREEMPT_COUNT=y
	rcu: handle unstable rdp in rcu_read_unlock_strict()
	rcu: fix header guard for rcu_all_qs()
	perf: Avoid the read if the count is already updated
	ice: count combined queues using Rx/Tx count
	net/mana: fix warning in the writer of client oob
	scsi: lpfc: Handle duplicate D_IDs in ndlp search-by D_ID routine
	scsi: lpfc: Free phba irq in lpfc_sli4_enable_msi() when pci_irq_vector() fails
	scsi: st: Restore some drive settings after reset
	HID: usbkbd: Fix the bit shift number for LED_KANA
	ASoC: codecs: pcm3168a: Allow for 24-bit in provider mode
	drm/ast: Find VBIOS mode from regular display size
	bpftool: Fix readlink usage in get_fd_type
	perf/amd/ibs: Fix perf_ibs_op.cnt_mask for CurCnt
	wifi: rtl8xxxu: retry firmware download on error
	wifi: rtw88: Don't use static local variable in rtw8822b_set_tx_power_index_by_rate
	wifi: rtw89: add wiphy_lock() to work that isn't held wiphy_lock() yet
	spi: zynqmp-gqspi: Always acknowledge interrupts
	regulator: ad5398: Add device tree support
	wifi: ath9k: return by of_get_mac_address
	drm/atomic: clarify the rules around drm_atomic_state->allow_modeset
	drm/panel-edp: Add Starry 116KHD024006
	drm: Add valid clones check
	ASoC: imx-card: Adjust over allocation of memory in imx_card_parse_of()
	pinctrl: meson: define the pull up/down resistor value as 60 kOhm
	ASoC: Intel: bytcr_rt5640: Add DMI quirk for Acer Aspire SW3-013
	ALSA: hda/realtek: Add quirk for HP Spectre x360 15-df1xxx
	nvmet-tcp: don't restore null sk_state_change
	io_uring/fdinfo: annotate racy sq/cq head/tail reads
	btrfs: correct the order of prelim_ref arguments in btrfs__prelim_ref
	wifi: iwlwifi: add support for Killer on MTL
	xenbus: Allow PVH dom0 a non-local xenstore
	__legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock
	espintcp: remove encap socket caching to avoid reference leak
	dmaengine: idxd: add per DSA wq workqueue for processing cr faults
	dmaengine: idxd: add idxd_copy_cr() to copy user completion record during page fault handling
	dmaengine: idxd: Fix allowing write() from different address spaces
	remoteproc: qcom_wcnss: Fix on platforms without fallback regulators
	clk: sunxi-ng: d1: Add missing divider for MMC mod clocks
	xfrm: Sanitize marks before insert
	dmaengine: idxd: Fix ->poll() return value
	Bluetooth: L2CAP: Fix not checking l2cap_chan security level
	bridge: netfilter: Fix forwarding of fragmented packets
	ice: fix vf->num_mac count with port representors
	net: dwmac-sun8i: Use parsed internal PHY address instead of 1
	net: lan743x: Restore SGMII CTRL register on resume
	io_uring: fix overflow resched cqe reordering
	sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()
	octeontx2-pf: Add support for page pool
	octeontx2-pf: Add AF_XDP non-zero copy support
	net/tipc: fix slab-use-after-free Read in tipc_aead_encrypt_done
	octeontx2-af: Set LMT_ENA bit for APR table entries
	octeontx2-af: Fix APR entry mapping based on APR_LMT_CFG
	crypto: algif_hash - fix double free in hash_accept
	padata: do not leak refcount in reorder_work
	can: slcan: allow reception of short error messages
	can: bcm: add locking for bcm_op runtime updates
	can: bcm: add missing rcu read protection for procfs content
	ALSA: pcm: Fix race of buffer access at PCM OSS layer
	ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14ASP10
	llc: fix data loss when reading from a socket in llc_ui_recvmsg()
	platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()
	drm/edid: fixed the bug that hdr metadata was not reset
	smb: client: Fix use-after-free in cifs_fill_dirent
	smb: client: Reset all search buffer pointers when releasing buffer
	Revert "drm/amd: Keep display off while going into S4"
	memcg: always call cond_resched() after fn()
	mm/page_alloc.c: avoid infinite retries caused by cpuset race
	Revert "arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection"
	ksmbd: fix stream write failure
	spi: spi-fsl-dspi: restrict register range for regmap access
	spi: spi-fsl-dspi: Halt the module after a new message transfer
	spi: spi-fsl-dspi: Reset SR flags before sending a new message
	kbuild: Disable -Wdefault-const-init-unsafe
	serial: sh-sci: Save and restore more registers
	pinctrl: tegra: Fix off by one in tegra_pinctrl_get_group()
	i3c: master: svc: Fix implicit fallthrough in svc_i3c_master_ibi_work()
	x86/mm/init: Handle the special case of device private pages in add_pages(), to not increase max_pfn and trigger dma_addressing_limited() bounce buffers bounce buffers
	dmaengine: idxd: Fix passing freed memory in idxd_cdev_open()
	octeontx2-pf: fix page_pool creation fail for rings > 32k
	octeontx2-pf: Fix page pool cache index corruption.
	octeontx2-pf: Fix page pool frag allocation warning
	hrtimers: Force migrate away hrtimers queued after CPUHP_AP_HRTIMERS_DYING
	btrfs: check folio mapping after unlock in relocate_one_folio()
	af_unix: Kconfig: make CONFIG_UNIX bool
	af_unix: Return struct unix_sock from unix_get_socket().
	af_unix: Run GC on only one CPU.
	af_unix: Try to run GC async.
	af_unix: Replace BUG_ON() with WARN_ON_ONCE().
	af_unix: Remove io_uring code for GC.
	af_unix: Remove CONFIG_UNIX_SCM.
	af_unix: Allocate struct unix_vertex for each inflight AF_UNIX fd.
	af_unix: Allocate struct unix_edge for each inflight AF_UNIX fd.
	af_unix: Link struct unix_edge when queuing skb.
	af_unix: Bulk update unix_tot_inflight/unix_inflight when queuing skb.
	af_unix: Iterate all vertices by DFS.
	af_unix: Detect Strongly Connected Components.
	af_unix: Save listener for embryo socket.
	af_unix: Fix up unix_edge.successor for embryo socket.
	af_unix: Save O(n) setup of Tarjan's algo.
	af_unix: Skip GC if no cycle exists.
	af_unix: Avoid Tarjan's algorithm if unnecessary.
	af_unix: Assign a unique index to SCC.
	af_unix: Detect dead SCC.
	af_unix: Replace garbage collection algorithm.
	af_unix: Remove lock dance in unix_peek_fds().
	af_unix: Try not to hold unix_gc_lock during accept().
	af_unix: Don't access successor in unix_del_edges() during GC.
	af_unix: Add dead flag to struct scm_fp_list.
	af_unix: Fix garbage collection of embryos carrying OOB with SCM_RIGHTS
	af_unix: Fix uninit-value in __unix_walk_scc()
	arm64: dts: qcom: sm8350: Fix typo in pil_camera_mem node
	net_sched: hfsc: Address reentrant enqueue adding class to eltree twice
	perf/arm-cmn: Fix REQ2/SNP2 mixup
	perf/arm-cmn: Initialise cmn->cpu earlier
	coredump: fix error handling for replace_fd()
	pid: add pidfd_prepare()
	fork: use pidfd_prepare()
	coredump: hand a pidfd to the usermode coredump helper
	HID: quirks: Add ADATA XPG alpha wireless mouse support
	nfs: don't share pNFS DS connections between net namespaces
	platform/x86: thinkpad_acpi: Support also NEC Lavie X1475JAS
	um: let 'make clean' properly clean underlying SUBARCH as well
	spi: spi-sun4i: fix early activation
	nvme-pci: add NVME_QUIRK_NO_DEEPEST_PS quirk for SOLIDIGM P44 Pro
	NFS: Avoid flushing data while holding directory locks in nfs_rename()
	platform/x86: fujitsu-laptop: Support Lifebook S2110 hotkeys
	platform/x86: thinkpad_acpi: Ignore battery threshold change event notification
	net: ethernet: ti: am65-cpsw: Lower random mac address error print to info
	Linux 6.1.141

Change-Id: I4b93f8e69385f2087bf71545f58ae6f5cee1c5ba
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-06-05 07:17:16 +00:00
jianhua hao
3048ff6925 ANDROID: GKI: Update symbol list file for xiaomi
INFO: 3 function symbol(s) added
  'struct page* read_swap_cache_async(swp_entry_t, gfp_t, struct vm_area_struct*, unsigned long, struct swap_iocb**)'
  'int unuse_swap_pte(struct vm_area_struct*, pmd_t*, unsigned long, swp_entry_t, struct folio*)'
  'int vfs_fadvise(struct file*, loff_t, loff_t, int)'

Bug: 415852480

Change-Id: I5c4d50e042dd8dc8ba4df430614b0ac79ffb41cd
Signed-off-by: jianhua hao <haojianhua1@xiaomi.com>
2025-06-04 08:49:15 -07:00
jianhua hao
7f2f532bd0 ANDROID: mm: export __pte_offset_map/unuse_swap_pte/read_swap_cache_async
Export __pte_offset_map facilitate retrieving the corresponding PTE using PMD and an address.
Add and export unuse_swap_pte to facilitate releasing the PTE resources corresponding to pages preloaded via swapin.
Export read_swap_cache_async to facilitate asynchronously reading pages from the swap partition using PTE-prefetch scanning.

Bug: 415852480

Change-Id: Ie200656ec97b087936ca98c06b0a370f547d5d0a
Signed-off-by: jianhua hao <haojianhua1@xiaomi.com>
(cherry picked from commit 88cb3505ebf4d9eb1dd0d3c63403727eb4b239bd)
(cherry picked from commit c5defcb638906800d4ab6b50e79e9f25538aefbd)
2025-06-04 08:49:15 -07:00
Greg Kroah-Hartman
58485ff1a7 Linux 6.1.141
Link: https://lore.kernel.org/r/20250602134319.723650984@linuxfoundation.org
Tested-by: Peter Schneider <pschneider1968@googlemail.com>
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Tested-by: Ron Economos <re@w6rz.net>
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Shuah Khan <skhan@linuxfoundation.org>
Tested-by: Mark Brown <broonie@kernel.org>
Tested-by: Miguel Ojeda <ojeda@kernel.org>
Tested-by: Hardik Garg <hargar@linux.microsoft.com>
Tested-by: Salvatore Bonaccorso <carnil@debian.org>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-06-04 14:40:26 +02:00
Nishanth Menon
0fadcc2043 net: ethernet: ti: am65-cpsw: Lower random mac address error print to info
[ Upstream commit 50980d8da71a0c2e045e85bba93c0099ab73a209 ]

Using random mac address is not an error since the driver continues to
function, it should be informative that the system has not assigned
a MAC address. This is inline with other drivers such as ax88796c,
dm9051 etc. Drop the error level to info level.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://patch.msgid.link/20250516122655.442808-1-nm@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:26 +02:00
Mark Pearson
12fd7e6a2c platform/x86: thinkpad_acpi: Ignore battery threshold change event notification
[ Upstream commit 29e4e6b4235fefa5930affb531fe449cac330a72 ]

If user modifies the battery charge threshold an ACPI event is generated.
Confirmed with Lenovo FW team this is only generated on user event. As no
action is needed, ignore the event and prevent spurious kernel logs.

Reported-by: Derek Barbosa <debarbos@redhat.com>
Closes: https://lore.kernel.org/platform-driver-x86/7e9a1c47-5d9c-4978-af20-3949d53fb5dc@app.fastmail.com/T/#m5f5b9ae31d3fbf30d7d9a9d76c15fb3502dfd903
Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20250517023348.2962591-1-mpearson-lenovo@squebb.ca
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:26 +02:00
Valtteri Koskivuori
5d286f3cad platform/x86: fujitsu-laptop: Support Lifebook S2110 hotkeys
[ Upstream commit a7e255ff9fe4d9b8b902023aaf5b7a673786bb50 ]

The S2110 has an additional set of media playback control keys enabled
by a hardware toggle button that switches the keys between "Application"
and "Player" modes. Toggling "Player" mode just shifts the scancode of
each hotkey up by 4.

Add defines for new scancodes, and a keymap and dmi id for the S2110.

Tested on a Fujitsu Lifebook S2110.

Signed-off-by: Valtteri Koskivuori <vkoskiv@gmail.com>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Link: https://lore.kernel.org/r/20250509184251.713003-1-vkoskiv@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:26 +02:00
Trond Myklebust
dcabad63e0 NFS: Avoid flushing data while holding directory locks in nfs_rename()
[ Upstream commit dcd21b609d4abc7303f8683bce4f35d78d7d6830 ]

The Linux client assumes that all filehandles are non-volatile for
renames within the same directory (otherwise sillyrename cannot work).
However, the existence of the Linux 'subtree_check' export option has
meant that nfs_rename() has always assumed it needs to flush writes
before attempting to rename.

Since NFSv4 does allow the client to query whether or not the server
exhibits this behaviour, and since knfsd does actually set the
appropriate flag when 'subtree_check' is enabled on an export, it
should be OK to optimise away the write flushing behaviour in the cases
where it is clearly not needed.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:26 +02:00
Ilya Guterman
e1143267e9 nvme-pci: add NVME_QUIRK_NO_DEEPEST_PS quirk for SOLIDIGM P44 Pro
[ Upstream commit e765bf89f42b5c82132a556b630affeb82b2a21f ]

This commit adds the NVME_QUIRK_NO_DEEPEST_PS quirk for device
[126f:2262], which belongs to device SOLIDIGM P44 Pro SSDPFKKW020X7

The device frequently have trouble exiting the deepest power state (5),
resulting in the entire disk being unresponsive.

Verified by setting nvme_core.default_ps_max_latency_us=10000 and
observing the expected behavior.

Signed-off-by: Ilya Guterman <amfernusus@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:26 +02:00
Alessandro Grassi
d8f13a8aef spi: spi-sun4i: fix early activation
[ Upstream commit fb98bd0a13de2c9d96cb5c00c81b5ca118ac9d71 ]

The SPI interface is activated before the CPOL setting is applied. In
that moment, the clock idles high and CS goes low. After a short delay,
CPOL and other settings are applied, which may cause the clock to change
state and idle low. This transition is not part of a clock cycle, and it
can confuse the receiving device.

To prevent this unexpected transition, activate the interface while CPOL
and the other settings are being applied.

Signed-off-by: Alessandro Grassi <alessandro.grassi@mailbox.org>
Link: https://patch.msgid.link/20250502095520.13825-1-alessandro.grassi@mailbox.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:26 +02:00
Masahiro Yamada
8f55d71b57 um: let 'make clean' properly clean underlying SUBARCH as well
[ Upstream commit ab09da75700e9d25c7dfbc7f7934920beb5e39b9 ]

Building the kernel with O= is affected by stale in-tree build artifacts.

So, if the source tree is not clean, Kbuild displays the following:

  $ make ARCH=um O=build defconfig
  make[1]: Entering directory '/.../linux/build'
  ***
  *** The source tree is not clean, please run 'make ARCH=um mrproper'
  *** in /.../linux
  ***
  make[2]: *** [/.../linux/Makefile:673: outputmakefile] Error 1
  make[1]: *** [/.../linux/Makefile:248: __sub-make] Error 2
  make[1]: Leaving directory '/.../linux/build'
  make: *** [Makefile:248: __sub-make] Error 2

Usually, running 'make mrproper' is sufficient for cleaning the source
tree for out-of-tree builds.

However, building UML generates build artifacts not only in arch/um/,
but also in the SUBARCH directory (i.e., arch/x86/). If in-tree stale
files remain under arch/x86/, Kbuild will reuse them instead of creating
new ones under the specified build directory.

This commit makes 'make ARCH=um clean' recurse into the SUBARCH directory.

Reported-by: Shuah Khan <skhan@linuxfoundation.org>
Closes: https://lore.kernel.org/lkml/20250502172459.14175-1-skhan@linuxfoundation.org/
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:26 +02:00
John Chau
fe4fb4134f platform/x86: thinkpad_acpi: Support also NEC Lavie X1475JAS
[ Upstream commit a032f29a15412fab9f4352e0032836d51420a338 ]

Change get_thinkpad_model_data() to check for additional vendor name
"NEC" in order to support NEC Lavie X1475JAS notebook (and perhaps
more).

The reason of this works with minimal changes is because NEC Lavie
X1475JAS is a Thinkpad inside. ACPI dumps reveals its OEM ID to be
"LENOVO", BIOS version "R2PET30W" matches typical Lenovo BIOS version,
the existence of HKEY of LEN0268, with DMI fw string is "R2PHT24W".

I compiled and tested with my own machine, attached the dmesg
below as proof of work:
[    6.288932] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[    6.288937] thinkpad_acpi: http://ibm-acpi.sf.net/
[    6.288938] thinkpad_acpi: ThinkPad BIOS R2PET30W (1.11 ), EC R2PHT24W
[    6.307000] thinkpad_acpi: radio switch found; radios are enabled
[    6.307030] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[    6.307033] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[    6.320322] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
[    6.371963] thinkpad_acpi: secondary fan control detected & enabled
[    6.391922] thinkpad_acpi: battery 1 registered (start 0, stop 85, behaviours: 0x7)
[    6.398375] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input13

Signed-off-by: John Chau <johnchau@0atlas.com>
Link: https://lore.kernel.org/r/20250504165513.295135-1-johnchau@0atlas.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:25 +02:00
Jeff Layton
38e8c73f02 nfs: don't share pNFS DS connections between net namespaces
[ Upstream commit 6b9785dc8b13d9fb75ceec8cf4ea7ec3f3b1edbc ]

Currently, different NFS clients can share the same DS connections, even
when they are in different net namespaces. If a containerized client
creates a DS connection, another container can find and use it. When the
first client exits, the connection will close which can lead to stalls
in other clients.

Add a net namespace pointer to struct nfs4_pnfs_ds, and compare those
value to the caller's netns in _data_server_lookup_locked() when
searching for a nfs4_pnfs_ds to match.

Reported-by: Omar Sandoval <osandov@osandov.com>
Reported-by: Sargun Dillon <sargun@sargun.me>
Closes: https://lore.kernel.org/linux-nfs/Z_ArpQC_vREh_hEA@telecaster/
Tested-by: Sargun Dillon <sargun@sargun.me>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Link: https://lore.kernel.org/r/20250410-nfs-ds-netns-v2-1-f80b7979ba80@kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:25 +02:00
Milton Barrera
84b06a4293 HID: quirks: Add ADATA XPG alpha wireless mouse support
[ Upstream commit fa9fdeea1b7d6440c22efa6d59a769eae8bc89f1 ]

This patch adds HID_QUIRK_ALWAYS_POLL for the ADATA XPG wireless gaming mouse (USB ID 125f:7505) and its USB dongle (USB ID 125f:7506). Without this quirk, the device does not generate input events properly.

Signed-off-by: Milton Barrera <miltonjosue2001@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:40:25 +02:00
Christian Brauner
ac19091288 coredump: hand a pidfd to the usermode coredump helper
commit b5325b2a270fcaf7b2a9a0f23d422ca8a5a8bdea upstream.

Give userspace a way to instruct the kernel to install a pidfd into the
usermode helper process. This makes coredump handling a lot more
reliable for userspace. In parallel with this commit we already have
systemd adding support for this in [1].

We create a pidfs file for the coredumping process when we process the
corename pattern. When the usermode helper process is forked we then
install the pidfs file as file descriptor three into the usermode
helpers file descriptor table so it's available to the exec'd program.

Since usermode helpers are either children of the system_unbound_wq
workqueue or kthreadd we know that the file descriptor table is empty
and can thus always use three as the file descriptor number.

Note, that we'll install a pidfd for the thread-group leader even if a
subthread is calling do_coredump(). We know that task linkage hasn't
been removed due to delay_group_leader() and even if this @current isn't
the actual thread-group leader we know that the thread-group leader
cannot be reaped until @current has exited.

[brauner: This is a backport for the v6.1 series. Upstream has
significantly changed and backporting all that infra is a non-starter.
So simply backport the pidfd_prepare() helper and waste the file
descriptor we allocated. Then we minimally massage the umh coredump
setup code.]

Link: https://github.com/systemd/systemd/pull/37125 [1]
Link: https://lore.kernel.org/20250414-work-coredump-v2-3-685bf231f828@kernel.org
Tested-by: Luca Boccassi <luca.boccassi@gmail.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-06-04 14:40:25 +02:00