Commit Graph

12667 Commits

Author SHA1 Message Date
jianzhou
dd83e88d4d Merge keystone/android14-6.1-keystone-qcom-release.6.1.25 (bd65f1b) into qcom-6.1
* refs/heads/tmp-bd65f1b:
  ANDROID: uid_sys_stats: Use llist for deferred work
  UPSTREAM: usb: typec: ucsi: Fix command cancellation
  ANDROID: GKI: update symbol list file for xiaomi
  UPSTREAM: erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
  UPSTREAM: erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF
  UPSTREAM: erofs: Fix detection of atomic context
  UPSTREAM: erofs: fix compact 4B support for 16k block size
  UPSTREAM: erofs: kill hooked chains to avoid loops on deduplicated compressed images
  UPSTREAM: erofs: fix potential overflow calculating xattr_isize
  UPSTREAM: erofs: stop parsing non-compact HEAD index if clusterofs is invalid
  UPSTREAM: erofs: initialize packed inode after root inode is assigned
  ANDROID: GKI: Update ABI for zsmalloc fixes
  BACKPORT: zsmalloc: fix races between modifications of fullness and isolated
  UPSTREAM: zsmalloc: consolidate zs_pool's migrate_lock and size_class's locks
  ANDROID: consolidate.fragment: Enable slub debug in consolidate-fragment
  BACKPORT: FROMGIT: mm: handle faults that merely update the accessed bit under the VMA lock
  FROMLIST: mm: Allow fault_dirty_shared_page() to be called under the VMA lock
  FROMGIT: mm: handle swap and NUMA PTE faults under the VMA lock
  FROMGIT: mm: run the fault-around code under the VMA lock
  FROMGIT: mm: move FAULT_FLAG_VMA_LOCK check down from do_fault()
  FROMGIT: mm: move FAULT_FLAG_VMA_LOCK check down in handle_pte_fault()
  BACKPORT: FROMGIT: mm: handle some PMD faults under the VMA lock
  BACKPORT: FROMGIT: mm: handle PUD faults under the VMA lock
  FROMGIT: mm: move FAULT_FLAG_VMA_LOCK check from handle_mm_fault()
  BACKPORT: FROMGIT: mm: allow per-VMA locks on file-backed VMAs
  FROMGIT: mm: remove CONFIG_PER_VMA_LOCK ifdefs
  FROMGIT: mm: fix a lockdep issue in vma_assert_write_locked
  FROMGIT: mm: handle userfaults under VMA lock
  FROMGIT: mm: handle swap page faults under per-VMA lock
  FROMGIT: mm: change folio_lock_or_retry to use vm_fault directly
  BACKPORT: FROMGIT: mm: drop per-VMA lock when returning VM_FAULT_RETRY or VM_FAULT_COMPLETED
  BACKPORT: FROMGIT: mm: move vma locking out of vma_prepare and dup_anon_vma
  BACKPORT: FROMGIT: mm: always lock new vma before inserting into vma tree
  FROMGIT: mm: lock vma explicitly before doing vm_flags_reset and vm_flags_reset_once
  FROMGIT: mm: replace mmap with vma write lock assertions when operating on a vma
  FROMGIT: mm: for !CONFIG_PER_VMA_LOCK equate write lock assertion for vma and mmap
  FROMGIT: mm: don't drop VMA locks in mm_drop_all_locks()
  BACKPORT: riscv: mm: try VMA lock-based page fault handling first
  BACKPORT: FROMGIT: mm: enable page walking API to lock vmas during the walk
  BACKPORT: mm: lock VMA in dup_anon_vma() before setting ->anon_vma
  UPSTREAM: mm: fix memory ordering for mm_lock_seq and vm_lock_seq
  FROMGIT: usb: host: ehci-sched: try to turn on io watchdog as long as periodic_count > 0
  FROMGIT: BACKPORT: usb: ehci: add workaround for chipidea PORTSC.PEC bug
  UPSTREAM: tty: n_gsm: fix UAF in gsm_cleanup_mux
  UPSTREAM: mm/mmap: Fix extra maple tree write
  FROMGIT: Multi-gen LRU: skip CMA pages when they are not eligible
  UPSTREAM: mm: skip CMA pages when they are not available
  UPSTREAM: dma-buf: fix an error pointer vs NULL bug
  UPSTREAM: dma-buf: keep the signaling time of merged fences v3
  UPSTREAM: netfilter: nf_tables: skip bound chain on rule flush
  UPSTREAM: net/sched: sch_qfq: account for stab overhead in qfq_enqueue
  UPSTREAM: net/sched: sch_qfq: refactor parsing of netlink parameters
  UPSTREAM: netfilter: nft_set_pipapo: fix improper element removal
  ANDROID: Add checkpatch target.
  UPSTREAM: USB: Gadget: core: Help prevent panic during UVC unconfigure
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: vendor_hook: fix the error record position of mutex
  ANDROID: ABI: add allowed list for galaxy
  ANDROID: gfp: add __GFP_CMA in gfpflag_names
  ANDROID: ABI: Update to fix slab-out-of-bounds in xhci_vendor_get_ops
  ANDROID: usb: host: fix slab-out-of-bounds in xhci_vendor_get_ops
  ANDROID: GKI: update pixel symbol list for xhci
  FROMGIT: fs: drop_caches: draining pages before dropping caches
  ANDROID: GKI: update symbol list file for xiaomi
  ANDROID: uid_sys_stats: Use a single work for deferred updates
  ANDROID: ABI: Update symbol for Exynos SoC
  ANDROID: GKI: Add symbols to symbol list for vivo
  ANDROID: vendor_hooks: Add tune scan type hook in get_scan_count()
  FROMGIT: BACKPORT: Multi-gen LRU: Fix can_swap in lru_gen_look_around()
  FROMGIT: Multi-gen LRU: Avoid race in inc_min_seq()
  FROMGIT: Multi-gen LRU: Fix per-zone reclaim
  ANDROID: ABI: update symbol list for galaxy
  ANDROID: oplus: Update the ABI xml and symbol list
  ANDROID: vendor_hooks: Add hooks for lookaround
  ANDROID: ABI: Update STG ABI to format version 2
  ANDROID: ABI: Update symbol list for imx
  FROMGIT: erofs: fix wrong primary bvec selection on deduplicated extents
  UPSTREAM: media: Add ABGR64_12 video format
  BACKPORT: media: Add BGR48_12 video format
  UPSTREAM: media: Add YUV48_12 video format
  UPSTREAM: media: Add Y212 v4l2 format info
  UPSTREAM: media: Add Y210, Y212 and Y216 formats
  UPSTREAM: media: Add Y012 video format
  UPSTREAM: media: Add P012 and P012M video format
  ANDROID: GKI: Create symbol files in include/config
  ANDROID: fuse-bpf: Use stored bpf for create_open
  ANDROID: fuse-bpf: Add bpf to negative fuse_dentry
  ANDROID: fuse-bpf: Check inode not null
  ANDROID: fuse-bpf: Fix flock test compile error
  ANDROID: fuse-bpf: Add partial ioctl support
  ANDROID: ABI: Update oplus symbol list
  UPSTREAM: mm/mempolicy: Take VMA lock before replacing policy
  BACKPORT: mm: lock_vma_under_rcu() must check vma->anon_vma under vma lock
  BACKPORT: FROMGIT: irqchip/gic-v3: Workaround for GIC-700 erratum 2941627
  ANDROID: GKI: update xiaomi symbol list
  UPSTREAM: mm: lock newly mapped VMA with corrected ordering
  UPSTREAM: fork: lock VMAs of the parent process when forking
  UPSTREAM: mm: lock newly mapped VMA which can be modified after it becomes visible
  UPSTREAM: mm: lock a vma before stack expansion
  ANDROID: GKI: bring back find_extend_vma()
  BACKPORT: mm: always expand the stack with the mmap write lock held
  BACKPORT: execve: expand new process stack manually ahead of time
  ANDROID: abi_gki_aarch64_qcom: ufshcd_mcq_poll_cqe_lock
  UPSTREAM: mm: make find_extend_vma() fail if write lock not held
  UPSTREAM: powerpc/mm: convert coprocessor fault to lock_mm_and_find_vma()
  UPSTREAM: mm/fault: convert remaining simple cases to lock_mm_and_find_vma()
  UPSTREAM: arm/mm: Convert to using lock_mm_and_find_vma()
  UPSTREAM: riscv/mm: Convert to using lock_mm_and_find_vma()
  UPSTREAM: mips/mm: Convert to using lock_mm_and_find_vma()
  UPSTREAM: powerpc/mm: Convert to using lock_mm_and_find_vma()
  BACKPORT: arch/arm64/mm/fault: Fix undeclared variable error in do_page_fault()
  BACKPORT: arm64/mm: Convert to using lock_mm_and_find_vma()
  UPSTREAM: mm: make the page fault mmap locking killable
  ANDROID: Inherit "user-aware property" across rtmutex.
  BACKPORT: blk-crypto: use dynamic lock class for blk_crypto_profile::lock
  ANDROID: ABI: update symbol list for Xclipse GPU
  ANDROID: drm/ttm: export ttm_tt_unpopulate()
  ANDROID: GKI: Add ABI symbol list(devlink) for MTK
  ANDROID: devlink: Select CONFIG_NET_DEVLINK in Kconfig.gki
  ANDROID: KVM: arm64: Fix memory ordering for pKVM module callbacks
  BACKPORT: mm: introduce new 'lock_mm_and_find_vma()' page fault helper
  BACKPORT: maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()
  UPSTREAM: x86/smp: Cure kexec() vs. mwait_play_dead() breakage
  UPSTREAM: x86/smp: Use dedicated cache-line for mwait_play_dead()
  UPSTREAM: x86/smp: Remove pointless wmb()s from native_stop_other_cpus()
  UPSTREAM: x86/smp: Dont access non-existing CPUID leaf
  UPSTREAM: x86/smp: Make stop_other_cpus() more robust
  UPSTREAM: x86/microcode/AMD: Load late on both threads too
  BACKPORT: mm, hwpoison: when copy-on-write hits poison, take page offline
  UPSTREAM: mm, hwpoison: try to recover from copy-on write faults
  BACKPORT: mm/mmap: Fix error return in do_vmi_align_munmap()
  BACKPORT: mm/mmap: Fix error path in do_vmi_align_munmap()
  UPSTREAM: HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651.
  UPSTREAM: HID: hidraw: fix data race on device refcount
  UPSTREAM: can: isotp: isotp_sendmsg(): fix return error fix on TX path
  UPSTREAM: fbdev: fix potential OOB read in fast_imageblit()
  ANDROID: GKI: add function symbols for unisoc
  ANDROID: cgroup: Cleanup android_rvh_cgroup_force_kthread_migration
  UPSTREAM: net/sched: cls_fw: Fix improper refcount update leads to use-after-free
  UPSTREAM: netfilter: nf_tables: fix chain binding transaction logic
  ANDROID: abi_gki_aarch64_qcom: update abi
  UPSTREAM: fs/ntfs3: Check fields while reading
  ANDROID: GKI: Update abi_gki_aarch64_qcom
  ANDROID: ABI: Update pixel symbol list
  ANDROID: GKI: Move GKI module headers to generated includes
  ANDROID: set kmi_symbol_list_add_only for Kleaf builds.
  ANDROID: GKI: Add Android ABI padding to wwan_port_ops
  ANDROID: GKI: Add Android ABI padding to wwan_ops
  ANDROID: update symbol list for unisoc regmap vendor hook
  ANDROID: GKI: Update mtk ABI symbol list
  UPSTREAM: media: dvb-core: Fix kernel WARNING for blocking operation in wait_event*()
  ANDROID: abi_gki_aarch64_qcom: Update QCOM symbol list
  ANDROID: ABI: Update pixel symbol list
  ANDROID: GKI: add ABI symbol for xiaomi
  ANDROID: vendor_hooks: add vendor hook to support SAGT
  FROMLIST: fuse: revalidate: don't invalidate if interrupted
  ANDROID: GKI: Update pixel symbol list for thermal
  ANDROID: thermal: Add vendor thermal genl check
  ANDROID: GKI: Update the pixel symbol list
  ANDROID: GKI: Update protected exports
  FROMGIT: mm: add missing VM_FAULT_RESULT_TRACE name for VM_FAULT_COMPLETED
  FROMGIT: swap: remove remnants of polling from read_swap_cache_async
  UPSTREAM: io_uring/poll: serialize poll linked timer start with poll removal

Change-Id: Ib4aaa987f777d4cdb0897af78aecb19aaee8d68b
Upstream-Build: ks_qcom-android14-6.1-keystone-qcom-release@10801570 UKQ2.230913.001
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2023-09-14 23:00:37 -07:00
qctecmdr
9a79ef7f41 Merge "ANDROID: build: Add --nocheck_bzl_visibility" 2023-09-08 02:11:44 -07:00
jianzhou
e1fcc974b1 Merge keystone/android14-6.1-keystone-qcom-release.6.1.25 (af4467f) into
qcom-6.1

* refs/heads/tmp-af4467f:
  ANDROID: ABI: Update STG ABI to format version 2
  ANDROID: GKI: Update pixel symbol list for thermal
  ANDROID: thermal: Add vendor thermal genl check
  ANDROID: ABI: Update symbol for Exynos SoC
  ANDROID: GKI: Update mtk ABI symbol list
  ANDROID: ABI: Update symbol list for imx
  FROMGIT: Multi-gen LRU: Fix per-zone reclaim
  ANDROID: GKI: Update abi_gki_aarch64_qcom
  ANDROID: ABI: Update STG ABI to format version 2
  BACKPORT: FROMGIT: irqchip/gic-v3: Workaround for GIC-700 erratum 2941627
  ANDROID: ABI: update symbol list for Xclipse GPU
  ANDROID: drm/ttm: export ttm_tt_unpopulate()
  ANDROID: fuse-bpf: Add partial flock support
  ANDROID: Incremental fs: Allocate data buffer based on input request size
  UPSTREAM: gfs2: Don't deref jdesc in evict
  ANDROID: KVM: arm64: Fix MMU context save/restore over TLB invalidation
  ANDROID: Update symbol list for VIVO
  ANDROID: add initial symbol list file for ExynosAuto SoCs
  ANDROID: sched: Export sched_domains_mutex for lockdep
  ANDROID: Update symbol for Exynos SoC
  ANDROID: ABI: Update symbol for Exynos SoC
  ANDROID: Update symbol list for mtk
  UPSTREAM: dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
  ANDROID: vendor_hooks: Supplement the missing hook call point.
  ANDROID: GKI: Add WWAN as GKI protected module
  ANDROID: GKI: regmap: Add regmap vendor hook for of_syscon_register
  UPSTREAM: kasan: suppress recursive reports for HW_TAGS
  UPSTREAM: kasan, arm64: add arch_suppress_tag_checks_start/stop
  UPSTREAM: arm64: mte: rename TCO routines
  BACKPORT: kasan, arm64: rename tagging-related routines
  UPSTREAM: kasan: drop empty tagging-related defines
  ANDROID: usb: xhci-plat: Fix double-free in xhci_plat_remove
  ANDROID: ABI: update symbol list for galaxy
  ANDROID: GKI: update the ABI symbol list
  ANDROID: ABI: Update symbol for Exynos SoC
  ANDROID: GKI: ABI: update whitelist for the kmsg_dump and native_hang symbols used by unisoc for kernel6.1
  ANDROID: ABI: Update symbols to unisoc whitelist for ims_bridge module
  ANDROID: abi_gki_aarch64_qcom: Add drm_plane_from_index and drm_gem_prime_export
  ANDROID: abi_gki_aarch64_qcom: Update symbol list
  UPSTREAM: fsverity: reject FS_IOC_ENABLE_VERITY on mode 3 fds
  UPSTREAM: fsverity: explicitly check for buffer overflow in build_merkle_tree()
  ANDROID: update unisoc symbol list
  ANDROID: update symbol for unisoc whitelist
  UPSTREAM: f2fs: fix deadlock in i_xattr_sem and inode page lock
  ANDROID: GKI: update xiaomi symbol list
  Revert "FROMLIST: f2fs: remove i_xattr_sem to avoid deadlock and fix the original issue"
  ANDROID: ABI: Update pixel symbol list
  ANDROID: Set arch attribute for allmodconfig builds
  UPSTREAM: usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race condition
  ANDROID: ABI: Add to QCOM symbols list
  UPSTREAM: arm64: mm: pass original fault address to handle_mm_fault() in PER_VMA_LOCK block
  UPSTREAM: media: rkvdec: fix use after free bug in rkvdec_remove
  ANDROID: GKI: Update symbol list for MediatTek
  UPSTREAM: scsi: ufs: core: Remove dedicated hwq for dev command
  BACKPORT: scsi: ufs: mcq: Fix the incorrect OCS value for the device command
  FROMLIST: scsi: ufs: ufs-mediatek: Add MCQ support for MTK platform
  FROMLIST: scsi: ufs: core: Export symbols for MTK driver module
  UPSTREAM: blk-mq: check on cpu id when there is only one ctx mapping
  UPSTREAM: relayfs: fix out-of-bounds access in relay_file_read
  UPSTREAM: net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
  UPSTREAM: x86/mm: Avoid using set_pgd() outside of real PGD pages
  UPSTREAM: iommu/amd: Add missing domain type checks
  UPSTREAM: tty: serial: qcom_geni: avoid duplicate struct member init
  UPSTREAM: scsi: ufs: core: bsg: Fix cast to restricted __be16 warning
  UPSTREAM: netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
  ANDROID: fix build error when use cpu_cgroup_online vh
  ANDROID: ABI: add android_debug_symbol to whitelist
  ANDROID: defconfig: Enable debug_symbol driver
  ANDROID: android: Create debug_symbols driver
  ANDROID: ABI: update symbol list for exynos
  ANDROID: KVM: arm64: Remove 'struct kvm_vcpu' from the KMI
  UPSTREAM: KVM: arm64: Restore GICv2-on-GICv3 functionality
  UPSTREAM: KVM: arm64: vgic: Wrap vgic_its_create() with config_lock
  UPSTREAM: KVM: arm64: vgic: Fix a circular locking issue
  UPSTREAM: KVM: arm64: vgic: Don't acquire its_lock before config_lock
  BACKPORT: KVM: arm64: Avoid lock inversion when setting the VM register width
  UPSTREAM: KVM: arm64: Avoid vcpu->mutex v. kvm->lock inversion in CPU_ON
  BACKPORT: KVM: arm64: Use config_lock to protect data ordered against KVM_RUN
  UPSTREAM: KVM: arm64: Use config_lock to protect vgic state
  BACKPORT: KVM: arm64: Add helper vgic_write_guest_lock()
  ANDROID: sound: usb: Fix wrong behavior of vendor hooking
  ANDROID: GKI: USB: XHCI: add Android ABI padding to struct xhci_vendor_ops
  Revert "ANDROID: android: Create debug_symbols driver"
  ANDROID: android: Create debug_symbols driver
  UPSTREAM: ipvlan:Fix out-of-bounds caused by unclear skb->cb
  ANDROID: update symbol list for unisoc vendor hook
  ANDROID: thermal: Add hook to enable/disable thermal power throttle
  ANDROID: ABI: Update symbol for Exynos SoC
  BACKPORT: FROMGIT: usb: gadget: udc: Handle gadget_connect failure during bind operation
  FROMGIT: usb: dwc3: gadget: Bail out in pullup if soft reset timeout happens
  ANDROID: GKI: Update symbol list for xiaomi
  ANDROID: vendor_hooks: vendor hook for MM
  ANDROID: add a symbol to unisoc symbol list
  ANDROID: GKI: update symbol list file for xiaomi
  UPSTREAM: net/sched: cls_u32: Fix reference counter leak leading to overflow
  ANDROID: db845c: Fix build when using --kgdb
  FROMGIT: usb: host: xhci-plat: Set XHCI_STATE_REMOVING before resuming XHCI HC
  FROMGIT: usb: host: xhci: Do not re-initialize the XHCI HC if being removed
  FROMLIST: kheaders: dereferences the source tree
  FROMLIST: f2fs: remove i_xattr_sem to avoid deadlock and fix the original issue
  ANDROID: db845c: Local define for db845c targets
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: Export memcg functions to allow module to add new files
  ANDROID: rockpi4: Fix build when using --kgdb
  ANDROID: GKI: update symbol list file for xiaomi
  ANDROID: kleaf: android/gki_system_dlkm_modules is generated.
  ANDROID: ABI: Update pixel symbol list
  ANDROID: fuse-bpf: Move FUSE_RELEASE to correct place
  ANDROID: fuse-bpf: Ensure bpf field can never be nulled
  ANDROID: GKI: Increase CMA areas to 32
  ANDROID: Delete MODULES_LIST from build configs.
  ANDROID: ABI: Update symbols to unisoc whitelist
  ANDROID: HID: Only utilise UHID provided exports if UHID is enabled

 Conflicts:
	BUILD.bazel

Change-Id: Ibeee32bbc28dd5ad943cfb512ae73094cce2027c
Upstream-Build: ks_qcom-android14-6.1-keystone-qcom-release@10659679
UKQ2.230815.001
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2023-08-30 02:32:26 -07:00
Chandana Kishori Chiluveru
3da8d60bbd q2pi: uapi: add q2spi header file
This change will add q2spi specific structures in q2spi.h header file.
User space clients will use these structure information while calling
q2spi driver file operations.

Change-Id: Ica7b3bf4204577c2d21d7a0739c431934a4a5622
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
2023-08-22 22:05:03 -07:00
jianzhou
572508aff3 Merge keystone/android14-6.1-keystone-qcom-release.6.1.25 (b9d4167) into qcom-6.1
* refs/heads/tmp-b9d4167:
  ANDROID: Snap to android14-6.1-2023-06
  ANDROID: fuse-bpf: Move FUSE_RELEASE to correct place
  BACKPORT: FROMLIST: ovl: get_acl: Fix null pointer dereference at realinode in rcu-walk mode
  BACKPORT: FROMLIST: ovl: ovl_permission: Fix null pointer dereference at realinode in rcu-walk mode
  BACKPORT: FROMLIST: ovl: Let helper ovl_i_path_real() return the realinode

 Conflicts:
	android/abi_gki_aarch64.stg

Change-Id: I1c41d9c5d104ea48b379f9d3e0637447637607ff
Upstream-Build: ks_qcom-android14-6.1-keystone-qcom-release@10638318 UKQ2.230809.001
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2023-08-10 01:28:37 -07:00
Elliot Berman
b7e8439a23 ANDROID: Snap to android14-6.1-2023-06
Snap tree to commit 3bccd89f07 ("ANDROID: fuse-bpf: Move FUSE_RELEASE
to correct place") while preserving the known keystone divergences for
consolidated builds.

Change-Id: I30ae6c895f9b7c9767277a1e8c7d7e0e6237319a
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2023-08-08 17:02:27 -07:00
Ming Qian
126ef64cba UPSTREAM: media: Add ABGR64_12 video format
ABGR64_12 is a reversed RGB format with alpha channel last,
12 bits per component like ABGR32,
expanded to 16bits.
Data in the 12 high bits, zeros in the 4 low bits,
arranged in little endian order.

Bug: 293213303
Change-Id: Idc4e1100c9e2134a48b594151e3398f6436b010d
(cherry picked from commit 302b988ca03d83da0a7e006a57efda646c30f978)
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
2023-08-01 21:45:37 +00:00
Ming Qian
86e2e8fd05 BACKPORT: media: Add BGR48_12 video format
BGR48_12 is a reversed RGB format with 12 bits per component like BGR24,
expanded to 16bits.
Data in the 12 high bits, zeros in the 4 low bits,
arranged in little endian order.

Bug: 293213303
Change-Id: I27d14a33c8e2b4847a63ea05b285786766949ebf
(cherry picked from commit da0b7a400e4f39726c3c383f377fb51dbd8b0c71)
[Jindong: Fixed conflicts in .rst file and v4l2-ioctl.c]
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
2023-08-01 21:45:37 +00:00
Ming Qian
892293272c UPSTREAM: media: Add YUV48_12 video format
YUV48_12 is a YUV format with 12-bits per component like YUV24,
expanded to 16bits.
Data in the 12 high bits, zeros in the 4 low bits,
arranged in little endian order.

[hverkuil: replaced a . by ,]

Bug: 293213303
Change-Id: I12e6f02b99918a429224320da2127d6b4d777584
(cherry picked from commit 99c954967762976b15265ea383354095e1ed1efa)
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
2023-08-01 21:45:37 +00:00
Tomi Valkeinen
0f3f7a21af UPSTREAM: media: Add Y210, Y212 and Y216 formats
Add Y210, Y212 and Y216 formats.

Bug: 293213303
Change-Id: I2d580dd82481f6a1364dfcedfd918e82d25ac211
(cherry picked from commit 0dc1d7a79a8d13e316d3b168e9fc57e376099c7a)
Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
2023-08-01 21:45:37 +00:00
Ming Qian
ca7b45b128 UPSTREAM: media: Add Y012 video format
Y012 is a luma-only formats with 12-bits per pixel,
expanded to 16bits.
Data in the 12 high bits, zeros in the 4 low bits,
arranged in little endian order.

Bug: 293213303
Change-Id: I1a8f73162932e0760aabbe44525d7c74ace9f7bd
(cherry picked from commit a490ea68444084ec0368c019e11ee4a7e5c8bb13)
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
2023-08-01 21:45:37 +00:00
Ming Qian
343b85ecad UPSTREAM: media: Add P012 and P012M video format
P012 is a YUV format with 12-bits per component with interleaved UV,
like NV12, expanded to 16 bits.
Data in the 12 high bits, zeros in the 4 low bits,
arranged in little endian order.
And P012M has two non contiguous planes.

Bug: 293213303
Change-Id: I1fbfa7c445bc682766f479cca07eb8cb16cbb44f
(cherry picked from commit aa1080404200694aace5989f99664ca75e73b03d)
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
2023-08-01 21:45:37 +00:00
jianzhou
603ba47616 Merge keystone/android14-6.1-keystone-qcom-release.6.1.25 (8823053) into qcom-6.1
* refs/heads/tmp-8823053:
  Revert "Merge remote-tracking branch into HEAD"
  UPSTREAM: memstick: r592: Fix UAF bug in r592_remove due to race condition
  UPSTREAM: xfs: verify buffer contents when we skip log replay
  UPSTREAM: bluetooth: Perform careful capability checks in hci_sock_ioctl()
  FROMLIST: maple_tree: Adjust node allocation on mas_rebalance()
  FROMLIST: maple_tree: Reduce resets during store setup
  FROMLIST: BACKPORT: maple_tree: Refine mas_preallocate() node calculations
  Revert "FROMLIST: BACKPORT: maple_tree: Refine mas_preallocate() node calculations"
  ANDROID: GKI: Include kheaders in gki_system_dlkm_modules
  ANDROID: 6/16/2023 KMI update
  ANDROID: sched: Add parameter to android_rvh_schedule.
  ANDROID: GKI: provide more padding for struct usb_phy
  ANDROID: GKI enable CONFIG_NETFILTER_XT_MATCH_CONNBYTES=y
  FROMGIT: arm64: set __exception_irq_entry with __irq_entry as a default
  ANDROID: GKI: update symbol list file for xiaomi
  ANDROID: Remove all but top-level OWNERS
  ANDROID: Enable GKI Dr. No Enforcement
  ANDROID: 6/16/2023 KMI update
  ANDROID: virt: gunyah: Sync with latest platform ops
  FROMGIT: usb: gadget: udc: core: Prevent soft_connect_store() race
  FROMGIT: usb: gadget: udc: core: Offload usb_udc_vbus_handler processing
  UPSTREAM: Bluetooth: fix debugfs registration
  UPSTREAM: Bluetooth: hci_sync: add lock to protect HCI_UNREGISTER
  UPSTREAM: net/ipv6: fix bool/int mismatch for skip_notify_on_dev_down
  UPSTREAM: neighbour: fix unaligned access to pneigh_entry
  UPSTREAM: tcp: deny tcp_disconnect() when threads are waiting
  ANDROID: sound: usb: Add vendor's hooking interface
  ANDROID: GKI: USB: XHCI: add Android ABI padding to struct xhci_driver_overrides
  ANDROID: usb: host: add address_device to xhci overrides
  UPSTREAM: bpf, sockmap: Avoid potential NULL dereference in sk_psock_verdict_data_ready()
  UPSTREAM: bpf, sockmap: Incorrectly handling copied_seq
  UPSTREAM: bpf, sockmap: Wake up polling after data copy
  UPSTREAM: bpf, sockmap: TCP data stall on recv before accept
  UPSTREAM: bpf, sockmap: Handle fin correctly
  UPSTREAM: bpf, sockmap: Improved check for empty queue
  UPSTREAM: bpf, sockmap: Reschedule is now done through backlog
  UPSTREAM: bpf, sockmap: Convert schedule_work into delayed_work
  UPSTREAM: bpf, sockmap: Pass skb ownership through read_skb
  Revert "ANDROID: virt: gunyah: Delta between v13 and v14"
  ANDROID: virt: gunyah: Sync with latest Gunyah patches
  ANDROID: virt: gunyah: Sync with latest documentation and sample
  FROMLIST: usb: xhci-plat: add xhci_plat_priv_overwrite
  ANDROID: usb: host: export symbols for xhci hooks usage
  ANDROID: usb: host: add xhci hooks for USB offload
  ANDROID: 6/16/2023 KMI update
  UPSTREAM: binder: fix UAF of alloc->vma in race with munmap()
  UPSTREAM: binder: add lockless binder_alloc_(set|get)_vma()
  UPSTREAM: Revert "android: binder: stop saving a pointer to the VMA"
  UPSTREAM: Revert "binder_alloc: add missing mmap_lock calls when using the VMA"
  UPSTREAM: tipc: check the bearer min mtu properly when setting it by netlink
  UPSTREAM: tipc: do not update mtu if msg_max is too small in mtu negotiation
  UPSTREAM: tipc: add tipc_bearer_min_mtu to calculate min mtu
  UPSTREAM: Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started"
  UPSTREAM: ASoC: fsl_micfil: Fix error handler with pm_runtime_enable
  UPSTREAM: platform: Provide a remove callback that returns no value
  UPSTREAM: firmware: arm_sdei: Fix sleep from invalid context BUG
  UPSTREAM: uapi/linux/const.h: prefer ISO-friendly __typeof__
  UPSTREAM: posix-cpu-timers: Implement the missing timer_wait_running callback
  ANDROID: GKI: reserve extra arm64 cpucaps for ABI preservation
  ANDROID: arm64: errata: Add WORKAROUND_NXP_ERR050104 cpucaps
  ANDROID: KVM: arm64: Allow setting {P,U}XN in stage-2 PTEs
  ANDROID: KVM: arm64: Restrict host-to-hyp MMIO donations
  ANDROID: KVM: arm64: Allow state changes of MMIO pages
  ANDROID: KVM: arm64: Allow MMIO perm changes from modules
  ANDROID: KVM: arm64: Don't allocate from handle_host_mem_abort
  ANDROID: KVM: arm64: Donate IOMMU regions to pKVM
  ANDROID: KVM: arm64: Map MMIO donation as device at EL2
  ANDROID: KVM: arm64: Don't recycle pages from host mem abort
  ANDROID: KVM: arm64: Pin host stage-2 tables
  ANDROID: KVM: arm64: Move kvm_pte_follow() to header
  ANDROID: KVM: arm64: Pre-populate host stage2
  ANDROID: KVM: arm64: Fix the host ownership later
  ANDROID: KVM: arm64: Don't recycle non-default PTEs
  ANDROID: KVM: arm64: Introduce kvm_pgtable_stage2_reclaim_leaves
  ANDROID: GKI: enable CONFIG_BLK_CGROUP_IOCOST
  BACKPORT: FROMGIT: usb: core: add sysfs entry for usb device state
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: HID; Over-ride default maximum buffer size when using UHID
  UPSTREAM: maple_tree: make maple state reusable after mas_empty_area()
  Revert "Revert "mm/mmap: regression fix for unmapped_area{_topdown}""
  FROMLIST: scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_RTC quirk
  FROMLIST: scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_INTR quirk
  FROMLIST: scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_RTC
  FROMLIST: scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_INTR
  ANDROID: GKI: Add symbols and update symbol list for Unisoc
  UPSTREAM: mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()
  UPSTREAM: mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()
  ANDROID: dma-buf: support users to change dma_buf.name
  ANDROID: set CONFIG_IKHEADERS=m for gki_defconfig.
  ANDROID: mm: Avoid merging cma with others
  ANDROID: cpufreq: times: record fast switch frequency transitions
  ANDROID: fix kernelci build failure in vmscan.c
  ANDROID: ABI: Update symbol list for Exynos SoC
  ANDROID: gki_defconfig: enable NVME
  ANDROID: ABI: Update symbols to unisoc whitelist for the scheduler
  UPSTREAM: usb: gadget: uvc: queue empty isoc requests if no video buffer is available
  ANDROID: GKI: Update symbol list for xiaomi
  ANDROID: vendor_hooks:vendor hook for madvise_cold_or_pageout_pte_range.
  ANDROID: ABI: Update pixel symbol list
  ANDROID: KVM: arm64: iommu: Erase pvmfw from EL1 if possible
  ANDROID: ABI: Update oplus symbol list
  ANDROID: Allow vendor module to reclaim a memcg
  ANDROID: Export memcg functions to allow module to add new files
  ANDROID: vendor_hooks: add hooks in mem_cgroup subsystem
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: block: export tracepoints
  ANDROID: vendor_hook: Avoid clearing protect-flag before waking waiters
  ANDROID: KVM: arm64: Deprecate late pKVM module loading
  ANDROID: ABI: Update symbol for Exynos SoC
  ANDROID: 6/7/2023 KMI update
  ANDROID: db845c: Update symbol list
  FROMLIST: ufs: core: Add error handling for MCQ mode
  FROMLIST: ufs: mcq: Use ufshcd_mcq_poll_cqe_lock() in mcq mode
  FROMLIST: ufs: mcq: Added ufshcd_mcq_abort()
  FROMLIST: ufs: mcq: Add support for clean up mcq resources
  FROMLIST: ufs: mcq: Add supporting functions for mcq abort
  FROMLIST: ufs: core: Update the ufshcd_clear_cmds() functionality
  FROMLIST: ufs: core: Combine 32-bit command_desc_base_addr_lo/hi
  ANDROID: GKI: Add OEM data to mutex/rwsem
  BACKPORT: mm: Multi-gen LRU: remove wait_event_killable()
  FROMGIT: Binder: Add async from to transaction record
  BACKPORT: FROMGIT: Binder: Add timestamp to transaction record
  ANDROID: GKI: add ANDROID_OEM_DATA() in struct request_queue
  ANDROID: GKI: Add ANDROID_OEM_DATA() in struct ufs_hba
  ANDROID: GKI: add ANDROID_OEM_DATA in struct bio
  ANDROID: GKI: Add ANDROID_OEM_DATA() in struct queue_limits
  ANDROID: GKI: Add ANDROID_OEM_DATA in struct ufs_dev_info
  ANDROID: sched: Add oem data in struct rq
  ANDROID: nl80211: reserve UAPI attributes to support backporting after KMI freeze
  ANDROID: GKI: mm: Add Android ABI padding to MGLRU structures
  ANDROID: abi_gki_aarch64_qcom: Add secure hibernation APIs
  ANDROID: abi_gki_aarch64_qcom: Add hibernation APIs
  ANDROID: vendor hooks: Encrypt snapshot for bootloader based hibernation
  UPSTREAM: tty: serial: qcom-geni-serial: Add support for Hibernation feature
  ANDROID: abi_gki_aarch64_qcom: Add clk_restore_context and clk_save_context
  ANDROID: vendor hooks: Add hooks to support bootloader based hibernation
  ANDROID: gki_defconfig: Enable CONFIG_HIBERNATION flag
  ANDROID: vendor hooks: Export symbols for bootloader based hibernation
  ANDROID: gki_defconfig: enable CONFIG_LED_TRIGGER_PHY
  ANDROID: add vendor fields to swap_info_struct to record swap stats
  ANDROID: add vendor fields to swap_slots_cache to support multiple swap devices
  ANDROID: add vendor fields to lruvec to record refault stats
  ANDROID: vendor_hooks: add a field in mem_cgroup
  ANDROID: vendor_hooks: add a field in pglist_data
  ANDROID: GKI: Update db845c symbol list for down_write
  ANDROID: fix atomisp driver missing in 6.4 kernel
  BACKPORT: mm: do not increment pgfault stats when page fault handler retries
  ANDROID: GKI: enable per-vma lock stats
  UPSTREAM: mm: change per-VMA lock statistics to be disabled by default
  UPSTREAM: s390/mm: try VMA lock-based page fault handling first
  UPSTREAM: mm: separate vma->lock from vm_area_struct
  UPSTREAM: mm/mmap: free vm_area_struct without call_rcu in exit_mmap
  UPSTREAM: powerc/mm: try VMA lock-based page fault handling first
  UPSTREAM: arm64/mm: try VMA lock-based page fault handling first
  UPSTREAM: x86/mm: try VMA lock-based page fault handling first
  UPSTREAM: mm: introduce per-VMA lock statistics
  UPSTREAM: mm: prevent userfaults to be handled under per-vma lock
  UPSTREAM: mm: prevent do_swap_page from handling page faults under VMA lock
  UPSTREAM: mm: add FAULT_FLAG_VMA_LOCK flag
  UPSTREAM: mm: fall back to mmap_lock if vma->anon_vma is not yet set
  UPSTREAM: mm: introduce lock_vma_under_rcu to be used from arch-specific code
  BACKPORT: mm: introduce vma detached flag
  UPSTREAM: mm/mmap: prevent pagefault handler from racing with mmu_notifier registration
  UPSTREAM: kernel/fork: assert no VMA readers during its destruction
  UPSTREAM: mm: conditionally write-lock VMA in free_pgtables
  UPSTREAM: mm: write-lock VMAs before removing them from VMA tree
  UPSTREAM: mm/mremap: write-lock VMA while remapping it to a new address range
  FROMLIST: mm/mmap: write-lock VMAs affected by VMA expansion
  FROMLIST: mm/mmap: write-lock VMAs in vma_adjust
  FROMLIST: mm/mmap: write-lock VMAs before merging, splitting or expanding them
  UPSTREAM: mm/khugepaged: write-lock VMA while collapsing a huge page
  FROMLIST: mm/mmap: move VMA locking before vma_adjust_trans_huge call
  UPSTREAM: mm: mark VMA as being written when changing vm_flags
  UPSTREAM: mm: add per-VMA lock and helper functions to control it
  UPSTREAM: mm: move mmap_lock assert function definitions
  UPSTREAM: mm: rcu safe VMA freeing
  UPSTREAM: mm: introduce CONFIG_PER_VMA_LOCK
  UPSTREAM: mm: introduce vm_flags_reset_once to replace WRITE_ONCE vm_flags updates
  UPSTREAM: mm: export dump_mm()
  UPSTREAM: mm: introduce __vm_flags_mod and use it in untrack_pfn
  UPSTREAM: mm: replace vma->vm_flags indirect modification in ksm_madvise
  UPSTREAM: mm: replace vma->vm_flags direct modifications with modifier calls
  UPSTREAM: mm: replace VM_LOCKED_CLEAR_MASK with VM_LOCKED_MASK
  UPSTREAM: mm: introduce vma->vm_flags wrapper functions
  UPSTREAM: kernel/fork: convert vma assignment to a memcpy
  ANDROID: GKI: dentry: add Android ABI padding to some structures
  ANDROID: GKI: sched: add Android ABI padding to some structures
  ANDROID: GKI: elevator: add Android ABI padding to some structures
  ANDROID: GKI: phy: add Android ABI padding to some structures
  ANDROID: GKI: workqueue.h: add Android ABI padding to some structures
  ANDROID: GKI: scsi: add Android ABI padding to some structures
  ANDROID: GKI: device.h: add Android ABI padding to some structures
  ANDROID: GKI: timer.h: add Android ABI padding to a structure
  ANDROID: GKI: USB: add Android ABI padding to some structures
  ANDROID: GKI: sched.h: add Android ABI padding to some structures
  ANDROID: GKI: module.h: add Android ABI padding to some structures
  ANDROID: GKI: sock.h: add Android ABI padding to some structures
  ANDROID: GKI: sched: add Android ABI padding to some structures
  ANDROID: GKI: mount.h: add Android ABI padding to some structures
  ANDROID: GKI: mm: add Android ABI padding to some structures
  ANDROID: GKI: add some padding to some driver core structures
  ANDROID: GKI: add padding to struct HID structures
  ANDROID: GKI: USB: XHCI: add Android ABI padding to lots of xhci structures
  ANDROID: GKI: dwc3: add Android ABI padding to some structures
  ANDROID: GKI: sound/usb/card.h: add Android ABI padding to struct snd_usb_endpoint
  ANDROID: GKI: user_namespace.h: add Android ABI padding to a structure
  ANDROID: GKI: quota.h: add Android ABI padding to some structures
  ANDROID: GKI: mmu_notifier.h: add Android ABI padding to some structures
  ANDROID: GKI: mm.h: add Android ABI padding to a structure
  ANDROID: GKI: kobject.h: add Android ABI padding to some structures
  ANDROID: GKI: kernfs.h: add Android ABI padding to some structures
  ANDROID: GKI: irqdomain.h: add Android ABI padding to a structure
  ANDROID: GKI: ioport.h: add Android ABI padding to a structure
  ANDROID: GKI: iomap.h: add Android ABI padding to a structure
  ANDROID: GKI: hrtimer.h: add Android ABI padding to a structure
  ANDROID: GKI: genhd.h: add Android ABI padding to some structures
  ANDROID: GKI: ethtool.h: add Android ABI padding to a structure
  ANDROID: GKI: dma-mapping.h: add Android ABI padding to a structure
  ANDROID: GKI: networking: add Android ABI padding to a lot of networking structures
  ANDROID: GKI: blk_types.h: add Android ABI padding to a structure
  ANDROID: GKI: scsi.h: add Android ABI padding to a structure
  ANDROID: GKI: pci: add Android ABI padding to some structures
  ANDROID: GKI: add Android ABI padding to struct nf_conn
  ANDROID: GKI: add kabi padding for structures for the android14 release
  UPSTREAM: ipv{4,6}/raw: fix output xfrm lookup wrt protocol
  UPSTREAM: inet: Add IP_LOCAL_PORT_RANGE socket option
  UPSTREAM: sched/fair: Fixes for capacity inversion detection
  UPSTREAM: sched/fair: Consider capacity inversion in util_fits_cpu()
  UPSTREAM: sched/fair: Detect capacity inversion
  ANDROID: KVM: arm64: Initialize hfgwtr_el2 correctly
  UPSTREAM: net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
  ANDROID: GKI: Add symbols and update symbol list for Unisoc(2nd)
  ANDROID: ABI: update symbol list related to meminfo for galaxy
  ANDROID: vendor_hooks: add hooks for extra memory
  BACKPORT: FROMLIST: ovl: get_acl: Fix null pointer dereference at realinode in rcu-walk mode
  BACKPORT: FROMLIST: ovl: ovl_permission: Fix null pointer dereference at realinode in rcu-walk mode
  BACKPORT: FROMLIST: ovl: Let helper ovl_i_path_real() return the realinode
  ANDROID: GKI: Update symbol list for xiaomi
  ANDROID: vendor_hooks:vendor hook for control memory dirty rate
  ANDROID: f2fs: enable cleancache
  FROMGIT: userfaultfd: fix regression in userfaultfd_unmap_prep()
  FROMGIT: BACKPORT: mm: avoid rewalk in mmap_region
  FROMGIT: maple_tree: clear up index and last setting in single entry tree
  FROMGIT: maple_tree: add mas_prev_range() and mas_find_range_rev interface
  FROMGIT: maple_tree: introduce mas_prev_slot() interface
  FROMGIT: maple_tree: relocate mas_rewalk() and mas_rewalk_if_dead()
  FROMGIT: maple_tree: add mas_next_range() and mas_find_range() interfaces
  FROMGIT: maple_tree: introduce mas_next_slot() interface
  FROMGIT: maple_tree: try harder to keep active node with mas_prev()
  FROMGIT: maple_tree: try harder to keep active node after mas_next()
  FROMGIT: BACKPORT: mm/mmap: change do_vmi_align_munmap() for maple tree iterator changes
  FROMLIST: BACKPORT: maple_tree: Refine mas_preallocate() node calculations
  ANDROID: maple_tree: Move mas_wr_modify node size calculation to mas_wr_node_size()
  FROMLIST: BACKPORT: maple_tree: Move mas_wr_end_piv() below mas_wr_extend_null()
  ANDROID: mm: Fix __vma_adjust() writes for the maple tree
  FROMLIST: BACKPORT: mm: Set up vma iterator for vma_iter_prealloc() calls
  FROMGIT: maple_tree: avoid unnecessary ascending
  FROMLIST: BACKPORT: mm: Change do_vmi_align_munmap() side tree index
  UPSTREAM: mm/mmap: remove preallocation from do_mas_align_munmap()
  ANDROID: abi_gki_aarch64_qcom: Update QCOM symbol list
  ANDROID: GKI: Update symbol list for xiaomi
  ANDROID: vendor_hooks:vendor hook for mmput
  ANDROID: ABI: update symbol list for galaxy
  ANDROID: task_mmu: add vendor hook for swap entry
  ANDROID: mm: add vendor hooks in madvise for swap entry
  BACKPORT: FROMLIST: arm64: mte: Simplify swap tag restoration logic
  FROMLIST: mm: Call arch_swap_restore() from unuse_pte()
  FROMLIST: mm: Call arch_swap_restore() from do_swap_page()
  ANDROID: abi_gki_aarch64_qcom: Update symbol list
  ANDROID: GKI: Update symbol list for xiaomi
  ANDROID: vendor_hooks:vendor hook for __alloc_pages_slowpath.
  ANDROID: ABI: Update honor symbol list
  ANDROID: mm: create vendor hooks for memory reclaim
  UPSTREAM: kcsan: Avoid READ_ONCE() in read_instrumented_memory()
  ANDROID: abi_gki_aarch64_qcom: update symbol list
  ANDROID: Update ABI as part of crash fix
  ANDROID: Fix incorrect hook declaration
  ANDROID: abi_gki_aarch64_qcom: Add GIC and hibernation APIs
  ANDROID: gic-v3: Export gic_v3_resume() for vendor GIC enhancements
  ANDROID: irqchip/irq-gic-v3: Add vendor hook for gic suspend
  ANDROID: abi_gki_aarch64_qcom: Update abi_gki_aarch64_qcom for DMA

 Conflicts:
	drivers/ufs/host/ufs-qcom.c

Change-Id: I9479fd1209d3769cd3c098554ddaceb31267f368
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2023-07-09 23:53:47 -07:00
Bean Huo
cbea99e1de UPSTREAM: scsi: ufs: core: bsg: Fix cast to restricted __be16 warning
Fix the following sparse endianness warning:

"sparse warnings: drivers/ufs/core/ufs_bsg.c:91:25: sparse: sparse: cast to
restricted __be16."

For consistency with endianness annotations of other UFS data structures,
change __u16/32 to __be16/32 in UFS ARPMB data structures.

Bug: 254441685
Fixes: 6ff265fc5ef6 ("scsi: ufs: core: bsg: Add advanced RPMB support in ufs_bsg")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit e2cb6e8db69e96c1514c2992e2d4fd6c8c1b8820)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I1c17034f9297722f4d6e0c39063434db675d5f36
2023-07-03 14:45:09 +01:00
Deyao Ren
bdfdc9261f Revert "Merge remote-tracking branch into HEAD"
This reverts commit eca1190399.

Reason for revert: extra commits

Change-Id: I54870a508c95e92600d76385954c61c71160c4de
2023-06-20 20:55:25 +00:00
qctecmdr
983d6413e6 Merge "arm64: defconfig: cfg/mac 80211 as vendor modules" 2023-06-16 17:19:55 -07:00
qctecmdr
66524828a4 Merge "power: supply: Add qcom folder for charger/fg drivers" 2023-06-16 02:54:28 -07:00
Matthias Maennich
73185e2d4e ANDROID: Remove all but top-level OWNERS
Now that the branch is used to create production GKI
images, need to institute ACK DrNo for all commits.

The DrNo approvers are in the android-mainline branch
at /OWNERS_DrNo.

Bug: 287162457
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Id5bb83d7add5f314df6816c1c51b4bf2d8018e79
2023-06-15 09:54:33 +01:00
Kevin Brodsky
b065972b7b UPSTREAM: uapi/linux/const.h: prefer ISO-friendly __typeof__
[ Upstream commit 31088f6f7906253ef4577f6a9b84e2d42447dba0 ]

typeof is (still) a GNU extension, which means that it cannot be used when
building ISO C (e.g.  -std=c99).  It should therefore be avoided in uapi
headers in favour of the ISO-friendly __typeof__.

Unfortunately this issue could not be detected by
CONFIG_UAPI_HEADER_TEST=y as the __ALIGN_KERNEL() macro is not expanded in
any uapi header.

This matters from a userspace perspective, not a kernel one. uapi
headers and their contents are expected to be usable in a variety of
situations, and in particular when building ISO C applications (with
-std=c99 or similar).

This particular problem can be reproduced by trying to use the
__ALIGN_KERNEL macro directly in application code, say:

int align(int x, int a)
{
	return __KERNEL_ALIGN(x, a);
}

and trying to build that with -std=c99.

Link: https://lkml.kernel.org/r/20230411092747.3759032-1-kevin.brodsky@arm.com
Fixes: a79ff731a1 ("netfilter: xtables: make XT_ALIGN() usable in exported headers by exporting __ALIGN_KERNEL()")
Change-Id: I05462cdee00da59617f3dfb875c233a246f7d2f6
Signed-off-by: Kevin Brodsky <kevin.brodsky@arm.com>
Reported-by: Ruben Ayrapetyan <ruben.ayrapetyan@arm.com>
Tested-by: Ruben Ayrapetyan <ruben.ayrapetyan@arm.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Tested-by: Petr Vorel <pvorel@suse.cz>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit ef9f854103)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-06-14 16:40:59 +00:00
Rakesh Kota
f7a5bec8df power: supply: Add qcom folder for charger/fg drivers
Add the qcom folder and snapshots of qpnp-smb5, qpnp-qg, smb1355
and smb1398 charger and fuel gauge drivers to 6.1 kernel.
This snapshot is based on the msm-5.15 mainline
commit 7f5365f307ab (defconfig: Enable configs for lvgvm
secure buffer).

Added fallthrough to avoid the switch case warnings
and update the of_xlate with fwnode_xlate.

Also, replacing the iio_channel_get and iio_channel_release
with devm_* APIs and remove remote-fg support from step-chg-jeita.

Change-Id: Idd062b185aa426eecee2d5e1b89b642dd57c9b4c
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
2023-06-14 00:08:20 -07:00
jianzhou
e555c11e74 Merge keystone/android14-6.1-keystone-qcom-release.6.1.25 (a0290fa) into qcom-6.1
* refs/heads/tmp-a0290fa:
  ANDROID: GKI: Update symbols to abi_gki_aarch64_oplus for extend copy & fbarrier feature
  ANDROID: abi_gki_aarch64_qcom: Update symbol list
  ANDROID: mmc: core: Export core functions for kernel modules usage
  ANDROID: vendor_hooks: Define new hooks in _mmc_suspend/resume
  ANDROID: update symbol for unisoc vendor_hooks
  ANDROID: vendor_hooks: psci: add hook to check if cpu is allowed to power off
  ANDROID: Add vendor hook to the effective_cpu_util
  ANDROID: Update symbol list for mtk
  ANDROID: ABI: update symbol list for galaxy
  ANDROID: update symbol for unisoc vendor_hooks
  ANDROID: thermal: Add vendor hook to check power range
  ANDROID: thermal: Add vendor hook to get thermal zone device
  ANDROID: thermal: Add hook for cpufreq thermal
  ANDROID: virt: gunyah: Delta between v13 and v14
  Revert "ANDROID: gki_config: use DWARFv5 rather than DWARFv4"
  ANDROID: gunyah: Sync with latest "mailbox: Add Gunyah message queue mailbox"
  FROMLIST: scsi: ufs: core: Fix mcq tag calcualtion
  UPSTREAM: ufs: mcq: qcom: Fix passing zero to PTR_ERR
  UPSTREAM: ufs: mcq: qcom: Clean the return path of ufs_qcom_mcq_config_resource
  UPSTREAM: scsi: ufs: core: Print trs for pending requests in MCQ mode
  UPSTREAM: scsi: ufs: core: Add trace event for MCQ
  UPSTREAM: mm,kfence: decouple kfence from page granularity mapping judgement
  UPSTREAM: mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock
  UPSTREAM: mm: page_alloc: skip regions with hugetlbfs pages when allocating 1G pages
  UPSTREAM: usb: gadget: f_fs: Add unbind event before functionfs_unbind
  UPSTREAM: mm: kmsan: handle alloc failures in kmsan_vmap_pages_range_noflush()
  ANDROID: defconfig: Enable debug configs in consolidate-fragment
  ANDROID: ABI: Update oplus symbol list
  Revert "FROMGIT: usb: gadget: udc: core: Prevent redundant calls to pullup"
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: vendor_hooks: Add hooks for binder proc transaction
  UPSTREAM: mm: kmsan: handle alloc failures in kmsan_ioremap_page_range()
  UPSTREAM: mm/huge_memory.c: warn with pr_warn_ratelimited instead of VM_WARN_ON_ONCE_FOLIO
  UPSTREAM: mm/userfaultfd: fix uffd-wp handling for THP migration entries
  UPSTREAM: mm/khugepaged: check again on anon uffd-wp during isolation
  UPSTREAM: fuse: always revalidate rename target dentry
  ANDROID: GKI: update xiaomi symbol list
  BACKPORT: FROMGIT: Multi-gen LRU: fix workingset accounting
  BACKPORT: FROMGIT: PCI: dwc: Wait for link up only if link is started
  ANDROID: ABI: update symbol list for exynos
  ANDROID: ufs: Improve MCQ err handling
  ANDROID: ABI: Update oplus symbol list
  ANDROID: GKI: sched: add rvh for new cfs task util
  ANDROID: Disable BTI_KERNEL, enable UNWIND_PATCH_PAC_INTO_SCS
  BACKPORT: arm64: implement dynamic shadow call stack for Clang
  UPSTREAM: scs: add support for dynamic shadow call stacks
  BACKPORT: arm64: unwind: add asynchronous unwind tables to kernel and modules
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: Add hook in shrink_node_memcgs
  ANDROID: ashmem: Export is_ashmem_file
  ANDROID: ABI: update symbol list related to show_mem for Exynos
  ANDROID: vendor_hooks: Add hooks for memory when debug
  ANDROID: GKI: Update symbol list for honor
  ANDROID: mutex: Add vendor hook to init mutex oem data.
  ANDROID: bazel: Adding make_goals to consolidate build
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hook: add hooks in dm_bufio.c
  ANDROID: abi_gki_aarch64_qcom: update QCOM symbol list
  ANDROID: ABI: Update honor symbol list
  ANDROID: mm: create vendor hooks for do_shrink_slab()
  ANDROID: mm: create vendor hooks for shrink_slab()
  BACKPORT: usb: dwc3: fix gadget mode suspend interrupt handler issue
  ANDROID: GKI: update symbol list file for xiaomi
  ANDROID: 5/24/2023 KMI update
  ANDROID: virt: gunyah: Add KABI reservations
  ANDROID: virt: gunyah: Sync with KMI impacting changes from v13
  ANDROID: virt: gunyah: Force struct gh_rm as opaque
  Revert "ANDROID: gki_config: use DWARFv5 rather than DWARFv4"
  ANDROID: ABI: Update symbol list for Exynos SoC
  ANDROID: power: Add ANDROID_OEM_DATA in freq_qos_request.
  ANDROID: GKI: net: add vendor hooks for 'struct sock' lifecycle
  ANDROID: GKI: net: add vendor hooks for 'struct nf_conn' lifecycle
  ANDROID: GKI: add vendor padding variable in struct sock
  ANDROID: GKI: add vendor padding variable in struct nf_conn
  ANDROID: GKI: add vendor padding variable in struct skb_shared_info
  UPSTREAM: ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
  UPSTREAM: cpuidle: teo: Introduce util-awareness
  UPSTREAM: cpuidle: teo: Optionally skip polling states in teo_find_shallower_state()
  ANDROID: ABI: Update oplus symbol list
  ANDROID: thermal: Add vendor hooks for thermal
  ANDROID: GKI: Update symbol list for honor
  ANDROID: mm: create vendor hooks for page alloc
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: Add hooks for cpufreq_acct_update_power
  ANDROID: ABI: Update symbol list for Exynos SoC
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: Add hooks for account irqtime process tick
  ANDROID: vendor_hooks: Add hooks to dup_task_struct
  ANDROID: vendor_hooks: Add hooks to record the time of the process in various states
  ANDROID: vendor_hooks: Add hooks for signal
  ANDROID: power: wakeup_reason: change abort log
  ANDROID: virt: gunyah: Delta between v13 and v14
  ANDROID: GKI: Update symbol list for xiaomi
  ANDROID: psi: Add vendor hooks for PSI tracing
  UPSTREAM: ext4: fix invalid free tracking in ext4_xattr_move_to_block()
  FROMGIT: scsi: ufs: core: mcq: Fix &hwq->cq_lock deadlock issue
  ANDROID: ABI: Update oplus symbol list
  ANDROID: android: Export symbols for invoking cpufreq_update_util()
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: Export the tracepoints task_rename
  ANDROID: Add macros to create reserved data fields to backport upstream changes
  ANDROID: retry page allocation from buddy on lock contention
  UPSTREAM: KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()
  ANDROID: arm64: Check FGT cap before touching HFGWTR_EL2
  Revert "ANDROID: Partially Revert "ANDROID: KVM: arm64: Allow tweaking HFGWTR_EL2 from modules""
  FROMGIT: f2fs: fix the wrong condition to determine atomic context
  ANDROID: GKI: update symbol list file for honor
  ANDROID: ABI: Update symbol list for imx
  ANDROID: mm: shmem: initialize the vendor data
  ANDROID: GKI: refresh STG ABI to new version
  ANDROID: GKI: Add symbols to symbol list for vivo
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: Add hooks for account process tick
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: add hook account_process_tick_gran
  ANDROID: vendor_hooks: Add hook in try_to_unmap_one()
  ANDROID: vendor_hooks: Add hook in mmap_region()
  ANDROID: Partially Revert "ANDROID: KVM: arm64: Allow tweaking HFGWTR_EL2 from modules"
  ANDROID: GKI: update the ABI symbol list
  ANDROID: freezer: Add vendor hook to freezer for GKI purpose.
  ANDROID: freezer: export the freezer_cgrp_subsys for GKI purpose.
  ANDROID: GKI: update the ABI symbol list
  ANDROID: Add vendor hooks for binder perf tuning
  ANDROID: Add vendor hooks to signal.
  ANDROID: Update the ABI symbol list
  ANDROID: page_pinner: add missing page_pinner_put_page
  ANDROID: page_pinner: prevent pp_buffer uninitialized access
  ANDROID: page_pinner: prevent pp_buffer access before initialization
  ANDROID: mm: fix use-after free of page_ext in page_pinner
  ANDROID: mm: introduce page_pinner
  ANDROID: abi_gki_aarch64_qcom: Add gh_rm_register_platform_ops
  ANDROID: gunyah: Sync remaining gunyah drivers with latest
  ANDROID: gunyah: Sync with latest "mailbox: Add Gunyah message queue mailbox"
  ANDROID: gunyah: Sync with latest "gunyah: Common types and error codes for Gunyah hypercalls"
  ANDROID: gunyah: Sync with latest hypercalls
  ANDROID: gunyah: Sync with latest documentation and UAPI
  ANDROID: gunyah: Sync with latest "firmware: qcom_scm: Register Gunyah platform ops"
  BACKPORT: firmware: qcom_scm: Use fixed width src vm bitmap
  BACKPORT: misc: fastrpc: Pass bitfield into qcom_scm_assign_mem
  ANDROID: gunyah: Sync with latest "virt: gunyah: Add ioeventfd"
  ANDROID: gunyah: Sync with latest "gunyah: vm_mgr: Add ioctls to support basic non-proxy VM boot"
  ANDROID: gunyah: Sync with latest "gunyah: vm_mgr: Add/remove user memory regions"
  ANDROID: gunyah: Sync with latest "virt: gunyah: Add resource tickets"
  ANDROID: gunyah: Sync with latest "gunyah: vm_mgr: Add framework for VM Functions"
  ANDROID: gunyah: Sync with latest "gunyah: rsc_mgr: Add resource manager RPC core"
  ANDROID: gunyah: Sync with latest "virt: gunyah: Translate gh_rm_hyp_resource into gunyah_resource"
  ANDROID: gunyah: Sync with latest "virt: gunyah: Add hypercalls to identify Gunyah"
  BACKPORT: overflow: Introduce overflows_type() and castable_to_type()
  UPSTREAM: drm/amd/display: set dcn315 lb bpp to 48
  UPSTREAM: drm/amdgpu: Fix desktop freezed after gpu-reset
  UPSTREAM: drm/i915: Fix fast wake AUX sync len
  UPSTREAM: ASN.1: Fix check for strdup() success
  UPSTREAM: ASoC: fsl_sai: Fix pins setting for i.MX8QM platform
  UPSTREAM: ASoC: fsl_asrc_dma: fix potential null-ptr-deref
  UPSTREAM: ASoC: SOF: pm: Tear down pipelines only if DSP was active
  UPSTREAM: fpga: bridge: properly initialize bridge device before populating children
  UPSTREAM: iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
  UPSTREAM: Input: pegasus-notetaker - check pipe type when probing
  UPSTREAM: gcc: disable '-Warray-bounds' for gcc-13 too
  UPSTREAM: sctp: Call inet6_destroy_sock() via sk->sk_destruct().
  UPSTREAM: dccp: Call inet6_destroy_sock() via sk->sk_destruct().
  UPSTREAM: netfilter: nf_tables: deactivate anonymous set from preparation phase
  ANDROID: GKI: add symbol list file for unisoc
  UPSTREAM: inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().
  UPSTREAM: purgatory: fix disabling debug info
  UPSTREAM: MIPS: Define RUNTIME_DISCARD_EXIT in LD script
  UPSTREAM: usb: dwc3: debugfs: Resume dwc3 before accessing registers
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: Export the tracepoints sched_stat_sleep and sched_waking to let module probe them
  ANDROID: vendor_hooks: Export the tracepoints sched_stat_iowait, sched_stat_blocked, sched_stat_wait to let modules probe them
  ANDROID: vendor_hooks: export get_wchan
  ANDROID: workqueue: export symbol of the function wq_worker_comm()
  BACKPORT: mm/kmemleak: fix UAF bug in kmemleak_scan()
  ANDROID: clang: update to 17.0.2
  ANDROID: abi_gki_aarch64_qcom: update symbol list
  UPSTREAM: media: add nv12_8l128 and nv12_10be_8l128 video format.
  ANDROID: ABI: update symbol list for galaxy
  ANDROID: db845c: Remove MAKE_GOALS from build.config
  ANDROID: GKI: gen_gki_modules_headers update preprocessing
  FROMGIT: locking/rwsem: Add __always_inline annotation to __down_read_common() and inlined callers
  FROMGIT: xfrm: Check if_id in inbound policy/secpath match
  ANDROID: always add the struct wireless_dev * to struct net_device
  ANDROID: ABI: Update symbol list for imx
  ANDROID: KVM: arm64: Always unmap protected regions from the host
  FROMLIST: usb: typec: altmodes/displayport: fix pin_assignment_show
  ANDROID: block: Improve shared tag set performance
  ANDROID: Update ABI representation broken by update race
  ANDROID: GKI: update the ABI symbol list
  ANDROID: cgroup: Add vendor hook for cpuset.
  ANDROID: export cpuset_cpus_allowed()for GKI purpose.
  ANDROID: sched: Add vendor hooks for cpu affinity.
  ANDROID: GKI: Update owners for GKI modules lists
  ANDROID: abi_gki_aarch64_qcom: Add USB SND power domain symbol
  FROMGIT: usb: xhci: Remove unused udev from xhci_log_ctx trace event
  ANDROID: 5/10/2023 KMI update
  ANDROID: KVM: arm64: Allow tweaking HFGWTR_EL2 from modules
  ANDROID: KVM: arm64: Allow tweaking HCR_EL2 from modules
  ANDROID: GKI: Trimmed symbol lists for 80211 modules
  ANDROID: GKI: DB845C: cfg/mac 80211 as vendor modules
  ANDROID: GKI: cfg/mac 80211 as vendor modules
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: Add hooks for futex
  ANDROID: vendor_hooks: Add hooks for oem futex optimization
  FROMGIT: wifi: nl80211: Add support for randomizing TA of auth and deauth frames
  ANDROID: GKI: update the ABI symbol list
  ANDROID: sched: Add ANDROID_OEM_DATA_ARRAY in user_struct.
  ANDROID: power: Add vendor hook to qos for GKI purpose.
  ANDROID: GKI: update the ABI symbol list
  ANDROID: export find_user() & free_uid()for GKI purpose.
  ANDROID: user: Add vendor hook to user for GKI purpose
  ANDROID: sched: add trace_android_vh_map_util_freq parameter
  FROMGIT: usb: gadget: udc: core: Prevent redundant calls to pullup
  FROMGIT: usb: gadget: udc: core: Invoke usb_gadget_connect only when started
  Revert "Revert "KVM: arm64: PMU: Don't save PMCR_EL0.{C,P} for the vCPU""
  Revert "Revert "KVM: arm64: PMU: Sanitise PMCR_EL0.LP on first vcpu run""
  Revert "Revert "KVM: arm64: PMU: Distinguish between 64bit counter and 64bit overflow""
  Revert "Revert "KVM: arm64: PMU: Align chained counter implementation with architecture pseudocode""
  Revert "Revert "pwm: meson: Explicitly set .polarity in .get_state()""
  Revert "Revert "pwm: sprd: Explicitly set .polarity in .get_state()""
  Revert "Revert "pwm: iqs620a: Explicitly set .polarity in .get_state()""
  Revert "Revert "pwm: cros-ec: Explicitly set .polarity in .get_state()""
  Revert "Revert "pwm: hibvt: Explicitly set .polarity in .get_state()""
  Revert "Revert "pwm: Make .get_state() callback return an error code""
  Revert "Revert "raw: Fix NULL deref in raw_get_next().""
  Revert "Revert "raw: use net_hash_mix() in hash function""
  FROMLIST: scsi: ufs: core: Fix mcq nr_hw_queues
  FROMLIST: scsi: ufs: core: Rename symbol sizeof_utp_transfer_cmd_desc()
  FROMLIST: scsi: ufs: core: Fix mcq tag calcualtion
  ANDROID: GKI: Remove MAKE_GOALS from build.config
  ANDROID: GKI: Add symbols to symbol list for vivo
  ANDROID: KVM: arm64: Restrict pKVM hyp exports
  ANDROID: kleaf: move NDK_TRIPLE for arm to build.config.constants.
  FROMLIST: clocksource/drivers/timer-mediatek: Make timer-mediatek become loadable module
  FROMLIST: clocksource/drivers/timer-of: Remove __init markings
  FROMLIST: clocksource/drivers/mmio: Export clocksource_mmio_init()
  FROMLIST: time/sched_clock: Export sched_clock_register()
  ANDROID: ABI: Update symbol list for Exynos SoC
  Revert "Revert "ANDROID: cpufreq: Add a restricted vendor hook for freq transition""
  ANDROID: usb: gadget: configfs: Protect composite_setup in a spinlock
  Revert "ANDROID: uid_sys_stat: split the global lock uid_lock to the fine-grained"
  ANDROID: GKI: update symbol list file for xiaomi
  ANDROID: GKI: x86_64: Remove 80211 from protected modules
  ANDROID: GKI: Update owners for GKI modules lists
  FROMLIST: binder: fix UAF caused by faulty buffer cleanup
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hooks: Add hooks to select binder worklist
  ANDROID: vendor_hooks: Add hooks for binder
  ANDROID: vendor_hooks: Add hooks for rwsem and mutex
  ANDROID: vendor_hooks: Add hooks for binder proc transaction
  ANDROID: vendor_hooks: Add hook for binder
  ANDROID: vendor_hooks: Add hooks for mutex and rwsem optimistic spin
  ANDROID: vendor_hooks: Add hooks for rwsem and mutex
  ANDROID: ABI: Update cpu-profiler symbol list for Exynos SoC
  ANDROID: ABI: Update WLBT, Sensor symbol list for Exynos SoC
  ANDROID: ABI: Update GPU symbol for Exynos SoC
  ANDROID: ABI: Update oplus symbol list
  ANDROID: vendor_hook: add hooks to protect locking-tsk in cpu scheduler
  ufs: Update struct ufs_hba
  ANDROID: ABI: Update DRM symbol for Exynos SoC
  fscrypt: destroy keyring after security_sb_delete()
  ANDROID: GKI: Increase max 8250 uarts
  ANDROID: ABI: Update Audio symbol for Exynos SoC
  UPSTREAM: ufs: mcq: qcom: Fix passing zero to PTR_ERR
  UPSTREAM: ufs: mcq: qcom: Clean the return path of ufs_qcom_mcq_config_resource
  ANDROID: Update symbol list for Exynos SoC
  fscrypt: optimize fscrypt_initialize()
  fscrypt: use WARN_ON_ONCE instead of WARN_ON
  fscrypt: new helper function - fscrypt_prepare_lookup_partial()
  fscrypt: check for NULL keyring in fscrypt_put_master_key_activeref()
  fscrypt: improve fscrypt_destroy_keyring() documentation
  drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume
  drm/rockchip: vop2: fix suspend/resume
  drm/amd/display: set dcn315 lb bpp to 48
  drm/amdgpu: Fix desktop freezed after gpu-reset
  drm/i915: Fix fast wake AUX sync len
  mmc: sdhci_am654: Set HIGH_SPEED_ENA for SDR12 and SDR25
  memstick: fix memory leak if card device is never registered
  writeback, cgroup: fix null-ptr-deref write in bdi_split_work_to_wbs
  tools/mm/page_owner_sort.c: fix TGID output when cull=tg is used
  kernel/sys.c: fix and improve control flow in __sys_setres[ug]id()
  nilfs2: initialize unused bytes in segment summary blocks
  maple_tree: fix a potential memory leak, OOB access, or other unpredictable bug
  maple_tree: fix mas_empty_area() search
  LoongArch: Mark 3 symbol exports as non-GPL
  rust: kernel: Mark rust_fmt_argument as extern "C"
  maple_tree: make maple state reusable after mas_empty_area_rev()
  LoongArch: Fix probing of the CRC32 feature
  btrfs: get the next extent map during fiemap/lseek more efficiently
  ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
  iio: light: tsl2772: fix reading proximity-diodes from device tree
  iio: dac: ad5755: Add missing fwnode_handle_put()
  drm/amdgpu/vcn: Disable indirect SRAM on Vangogh broken BIOSes
  Revert "userfaultfd: don't fail on unrecognized features"
  mtd: spi-nor: fix memory leak when using debugfs_lookup()
  platform/x86: asus-nb-wmi: Add quirk_asus_tablet_mode to other ROG Flow X13 models
  platform/x86: gigabyte-wmi: add support for X570S AORUS ELITE
  xen/netback: use same error messages for same errors
  nvme-tcp: fix a possible UAF when failing to allocate an io queue
  drm: test: Fix 32-bit issue in drm_buddy_test
  drm: buddy_allocator: Fix buddy allocator init on 32-bit systems
  s390/ptrace: fix PTRACE_GET_LAST_BREAK error handling
  platform/x86: gigabyte-wmi: add support for B650 AORUS ELITE AX
  net: dsa: b53: mmap: add phy ops
  scsi: core: Improve scsi_vpd_inquiry() checks
  scsi: megaraid_sas: Fix fw_crash_buffer_show()
  selftests: sigaltstack: fix -Wuninitialized
  platform/x86 (gigabyte-wmi): Add support for A320M-S2H V2
  platform/x86/intel: vsec: Fix a memory leak in intel_vsec_add_aux
  f2fs: Fix f2fs_truncate_partial_nodes ftrace event
  net: bridge: switchdev: don't notify FDB entries with "master dynamic"
  e1000e: Disable TSO on i219-LM card to increase speed
  bpf: Fix incorrect verifier pruning due to missing register precision taints
  spi: spi-rockchip: Fix missing unwind goto in rockchip_sfc_probe()
  mlxsw: pci: Fix possible crash during initialization
  net: rpl: fix rpl header size calculation
  bonding: Fix memory leak when changing bond type to Ethernet
  mlxfw: fix null-ptr-deref in mlxfw_mfa2_tlv_next()
  bnxt_en: Do not initialize PTP on older P3/P4 chips
  netfilter: nf_tables: tighten netlink attribute requirements for catch-all elements
  netfilter: nf_tables: validate catch-all set elements
  i40e: fix i40e_setup_misc_vector() error handling
  i40e: fix accessing vsi->active_filters without holding lock
  netfilter: nf_tables: fix ifdef to also consider nf_tables=m
  sfc: Fix use-after-free due to selftest_work
  virtio_net: bugfix overflow inside xdp_linearize_page()
  net: sched: sch_qfq: prevent slab-out-of-bounds in qfq_activate_agg
  regulator: fan53555: Fix wrong TCS_SLEW_MASK
  regulator: fan53555: Explicitly include bits header
  rust: str: fix requierments->requirements typo
  netfilter: nf_tables: Modify nla_memdup's flag to GFP_KERNEL_ACCOUNT
  netfilter: br_netfilter: fix recent physdev match breakage
  arm64: dts: imx8mp-verdin: correct off-on-delay
  arm64: dts: imx8mm-verdin: correct off-on-delay
  arm64: dts: imx8mm-evk: correct pmic clock source
  arm64: dts: qcom: sc8280xp-pmics: fix pon compatible and registers
  arm64: dts: meson-g12-common: specify full DMC range
  arm64: dts: qcom: ipq8074-hk10: enable QMP device, not the PHY node
  arm64: dts: qcom: hk10: use "okay" instead of "ok"
  arm64: dts: qcom: ipq8074-hk01: enable QMP device, not the PHY node
  arm64: dts: rockchip: Lower sd speed on rk3566-soquartz
  ARM: dts: rockchip: fix a typo error for rk3288 spdif node

 Conflicts:
	android/abi_gki_aarch64.stg
	android/gki_system_dlkm_modules

Change-Id: I753eb5791de01079ea02b215e38a149fe0626f76
Upstream-Build: ks_qcom-android14-6.1-keystone-qcom-release@10256832 UKQ2.230604.001
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2023-06-08 00:45:30 -07:00
Veerendranath Jakkam
87881c4dd1 ANDROID: nl80211: reserve UAPI attributes to support backporting after KMI freeze
Reserve sufficient nl80211 attributes in enum nl80211_commands, enum
nl80211_attr, etc., to support backporting upstream UAPI changes
after KMI freeze.

Bug: 284023430
Change-Id: Ic66c4658fc690f60ca133f197dbc5400745fb5e2
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
2023-06-07 14:25:06 +00:00
Nicolas Dichtel
1d39b94f8c UPSTREAM: ipv{4,6}/raw: fix output xfrm lookup wrt protocol
With a raw socket bound to IPPROTO_RAW (ie with hdrincl enabled), the
protocol field of the flow structure, build by raw_sendmsg() /
rawv6_sendmsg()),  is set to IPPROTO_RAW. This breaks the ipsec policy
lookup when some policies are defined with a protocol in the selector.

For ipv6, the sin6_port field from 'struct sockaddr_in6' could be used to
specify the protocol. Just accept all values for IPPROTO_RAW socket.

For ipv4, the sin_port field of 'struct sockaddr_in' could not be used
without breaking backward compatibility (the value of this field was never
checked). Let's add a new kind of control message, so that the userland
could specify which protocol is used.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
CC: stable@vger.kernel.org
Change-Id: I168bca9e37561b255268414e2fdfac18cd08381c
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Link: https://lore.kernel.org/r/20230522120820.1319391-1-nicolas.dichtel@6wind.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
(cherry picked from commit 3632679d9e4f879f49949bb5b050e0de553e4739)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-06-07 14:24:50 +00:00
Jakub Sitnicki
9713594a2b UPSTREAM: inet: Add IP_LOCAL_PORT_RANGE socket option
Users who want to share a single public IP address for outgoing connections
between several hosts traditionally reach for SNAT. However, SNAT requires
state keeping on the node(s) performing the NAT.

A stateless alternative exists, where a single IP address used for egress
can be shared between several hosts by partitioning the available ephemeral
port range. In such a setup:

1. Each host gets assigned a disjoint range of ephemeral ports.
2. Applications open connections from the host-assigned port range.
3. Return traffic gets routed to the host based on both, the destination IP
   and the destination port.

An application which wants to open an outgoing connection (connect) from a
given port range today can choose between two solutions:

1. Manually pick the source port by bind()'ing to it before connect()'ing
   the socket.

   This approach has a couple of downsides:

   a) Search for a free port has to be implemented in the user-space. If
      the chosen 4-tuple happens to be busy, the application needs to retry
      from a different local port number.

      Detecting if 4-tuple is busy can be either easy (TCP) or hard
      (UDP). In TCP case, the application simply has to check if connect()
      returned an error (EADDRNOTAVAIL). That is assuming that the local
      port sharing was enabled (REUSEADDR) by all the sockets.

        # Assume desired local port range is 60_000-60_511
        s = socket(AF_INET, SOCK_STREAM)
        s.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
        s.bind(("192.0.2.1", 60_000))
        s.connect(("1.1.1.1", 53))
        # Fails only if 192.0.2.1:60000 -> 1.1.1.1:53 is busy
        # Application must retry with another local port

      In case of UDP, the network stack allows binding more than one socket
      to the same 4-tuple, when local port sharing is enabled
      (REUSEADDR). Hence detecting the conflict is much harder and involves
      querying sock_diag and toggling the REUSEADDR flag [1].

   b) For TCP, bind()-ing to a port within the ephemeral port range means
      that no connecting sockets, that is those which leave it to the
      network stack to find a free local port at connect() time, can use
      the this port.

      IOW, the bind hash bucket tb->fastreuse will be 0 or 1, and the port
      will be skipped during the free port search at connect() time.

2. Isolate the app in a dedicated netns and use the use the per-netns
   ip_local_port_range sysctl to adjust the ephemeral port range bounds.

   The per-netns setting affects all sockets, so this approach can be used
   only if:

   - there is just one egress IP address, or
   - the desired egress port range is the same for all egress IP addresses
     used by the application.

   For TCP, this approach avoids the downsides of (1). Free port search and
   4-tuple conflict detection is done by the network stack:

     system("sysctl -w net.ipv4.ip_local_port_range='60000 60511'")

     s = socket(AF_INET, SOCK_STREAM)
     s.setsockopt(SOL_IP, IP_BIND_ADDRESS_NO_PORT, 1)
     s.bind(("192.0.2.1", 0))
     s.connect(("1.1.1.1", 53))
     # Fails if all 4-tuples 192.0.2.1:60000-60511 -> 1.1.1.1:53 are busy

  For UDP this approach has limited applicability. Setting the
  IP_BIND_ADDRESS_NO_PORT socket option does not result in local source
  port being shared with other connected UDP sockets.

  Hence relying on the network stack to find a free source port, limits the
  number of outgoing UDP flows from a single IP address down to the number
  of available ephemeral ports.

To put it another way, partitioning the ephemeral port range between hosts
using the existing Linux networking API is cumbersome.

To address this use case, add a new socket option at the SOL_IP level,
named IP_LOCAL_PORT_RANGE. The new option can be used to clamp down the
ephemeral port range for each socket individually.

The option can be used only to narrow down the per-netns local port
range. If the per-socket range lies outside of the per-netns range, the
latter takes precedence.

UAPI-wise, the low and high range bounds are passed to the kernel as a pair
of u16 values in host byte order packed into a u32. This avoids pointer
passing.

  PORT_LO = 40_000
  PORT_HI = 40_511

  s = socket(AF_INET, SOCK_STREAM)
  v = struct.pack("I", PORT_HI << 16 | PORT_LO)
  s.setsockopt(SOL_IP, IP_LOCAL_PORT_RANGE, v)
  s.bind(("127.0.0.1", 0))
  s.getsockname()
  # Local address between ("127.0.0.1", 40_000) and ("127.0.0.1", 40_511),
  # if there is a free port. EADDRINUSE otherwise.

[1] https://github.com/cloudflare/cloudflare-blog/blob/232b432c1d57/2022-02-connectx/connectx.py#L116

Reviewed-by: Marek Majkowski <marek@cloudflare.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Change-Id: I06e1860472cd2f90bf030076be0c87b9b775a3df
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
(cherry picked from commit 91d0b78c5177f3e42a4d8738af8ac19c3a90d002)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-06-07 14:24:50 +00:00
Divisha Bisht
2cc916affa qseecom : Remove qseecom headers and their usage
qseecom headers are being moved to securemsm kernel repository,
hence removing them and their usage from Kernel.

Change-Id: I3e6f62dd39b2a9020e1eabd308748535af4ab8dd
Signed-off-by: Divisha Bisht <quic_divibish@quicinc.com>
2023-06-07 11:55:59 +05:30
Elliot Berman
a30bae5a9a ANDROID: gunyah: Sync with latest documentation and UAPI
Align docs and UAPI to Gunyah v13 patches:

https://lore.kernel.org/all/20230509204801.2824351-1-quic_eberman@quicinc.com/

Bug: 279506910
Change-Id: I2719f07f69877374ffa88020fe2a23a70d79bb8b
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2023-05-16 20:35:28 +00:00
Elliot Berman
2220f8190a ANDROID: gunyah: Sync with latest "virt: gunyah: Add ioeventfd"
Align ioeventfd handling to Gunyah v13 patches:

https://lore.kernel.org/all/20230509204801.2824351-24-quic_eberman@quicinc.com/

Bug: 279506910
Change-Id: I8d66d83bee284eacb4bc9d76d3cbfd52785d9661
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2023-05-16 20:35:28 +00:00
jianzhou
106629f5e1 Merge keystone/android14-6.1-keystone-qcom-release.6.1.25 (98d56a5) into qcom-6.1
* refs/heads/tmp-98d56a5:
  FROMLIST: ANDROID: GKI: psi: remove 500ms min window size limitation for triggers
  ANDROID: uid_sys_stat: split the global lock uid_lock to the fine-grained locks for each hlist in hash_table.
  ANDROID: uid_sys_stats: defer process_notifier work if uid_lock is contended
  ANDROID: Add symbols for pkvm module support
  ANDROID: abi_gki_aarch64_qcom: Add dma_resv iterator symbols
  ANDROID: Unnest MAKE_GOALS from build configs
  ANDROID: iommu/dma: Add support for DMA_ATTR_SYS_CACHE_NWA
  ANDROID: iommu/dma: Add support for DMA_ATTR_SYS_CACHE
  ANDROID: iommu/io-pgtable-arm: Add IOMMU_SYS_CACHE/_NWA
  ANDROID: Enable CONFIG_ZONE_DEVICE
  ANDROID: abi_gki_aarch64_qcom: Add sock_gen_put
  BACKPORT: FROMLIST: Revert "scsi: ufs: core: Initialize devfreq synchronously"
  FROMLIST: staging: greybus: drop loopback test files
  UPSTREAM: wifi: cfg80211: Authentication offload to user space for MLO connection in STA mode
  UPSTREAM: wifi: cfg80211: trace: remove MAC_PR_{FMT,ARG}
  ANDROID: arm64: Add support for system cache memory type
  ANDROID: fuse-bpf: Fix bpf_test_xattr testcase error
  ANDROID: fuse-bpf: Simplify and fix setting bpf program
  ANDROID: GKI: update the ABI symbol list
  ANDROID: schedutil: add vendor hook for adjusting util to freq calculation
  BACKPORT: FROMLIST: arm64: Also reset KASAN tag if page is not PG_mte_tagged
  FROMLIST: arm64: mte: Do not set PG_mte_tagged if tags were not initialized
  ANDROID: GKI: Convert USB network adpaters to modules
  ANDROID: KVM: arm64: Prevent kmemleak from accessing EL2 module sections
  ANDROID: KVM: arm64: Move addr_is_allowed_memory() check into host callback
  UPSTREAM: wifi: cfg80211: Authentication offload to user space for MLO connection in STA mode
  ANDROID: Enable CONFIG_ZONE_DEVICE
  ANDROID: abi_gki_aarch64_qcom: Add sock_gen_put
  BACKPORT: FROMLIST: Revert "scsi: ufs: core: Initialize devfreq synchronously"
  FROMLIST: staging: greybus: drop loopback test files
  ANDROID: fuse-bpf: Make fuse_test compile and pass
  ANDROID: abi_gki_aarch64_qcom: Add missing symbol to QCOM list
  ANDROID: Update ABI representation
  ANDROID: ABI: Update QCOM symbol list for display drivers
  ANDROID: KVM: arm64: Prevent kmemleak from accessing .hyp.data
  ANDROID: 4/26/2023 KMI update
  ANDROID: mm: Create hooks for ZONE_MOVABLE allocs
  ANDROID: zram: allow zram to allocate CMA pages
  ANDROID: mm: add cma pcp list
  ANDROID: cma: redirect page allocation to CMA
  ANDROID: GKI: fscrypt: add OEM data to struct fscrypt_operations
  ANDROID: KVM: arm64: iommu: Pass device specific flags to hypervisor
  ANDROID: abi_gki_aarch64_qcom: Update qcom abi symbol list
  ANDROID: vmscan: Support multiple kswapd threads per node
  ANDROID: mm: Export kswapd function
  ANDROID: gki_defconfig: enable IPV6_MROUTE_MULTIPLE_TABLES
  Revert "ANDROID: gki_defconfig: remove CONFIG_CLEANCACHE from gki_defconfig"
  ANDROID: Revert "mm: remove cleancache"
  ANDROID: dma-buf: heaps: dmabuf page pool spinlock should be spinlock_t
  ANDROID: GKI: Update db845c symbol list for dmabuf_page_pool_get_size
  ANDROID: GKI: Update virtual_device symbol list for dmabuf_page_pool_get_size
  ANDROID: dma-heap: Let system heap report total pool size
  ANDROID: dma-buf: heaps: Add a sysfs file to report total pool size.
  ANDROID: block: Prepare for preserving the zoned write order
  ANDROID: Update symbol list for Exynos SoC
  ANDROID: ABI: Update symbol list for imx
  ANDROID: db845c: Update symbol list
  ANDROID: preserve CRC for xhci symbols
  Revert "raw: use net_hash_mix() in hash function"
  Revert "raw: Fix NULL deref in raw_get_next()."
  Revert "pwm: Make .get_state() callback return an error code"
  Revert "pwm: hibvt: Explicitly set .polarity in .get_state()"
  Revert "pwm: cros-ec: Explicitly set .polarity in .get_state()"
  Revert "pwm: iqs620a: Explicitly set .polarity in .get_state()"
  Revert "pwm: sprd: Explicitly set .polarity in .get_state()"
  Revert "pwm: meson: Explicitly set .polarity in .get_state()"
  Revert "KVM: arm64: PMU: Align chained counter implementation with architecture pseudocode"
  Revert "KVM: arm64: PMU: Distinguish between 64bit counter and 64bit overflow"
  Revert "KVM: arm64: PMU: Sanitise PMCR_EL0.LP on first vcpu run"
  Revert "KVM: arm64: PMU: Don't save PMCR_EL0.{C,P} for the vCPU"
  BACKPORT: KVM: arm64: Make vcpu flag updates non-preemptible
  BACKPORT: KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV2/3 to protected VMs
  FROMGIT: usb: dwc3: gadget: Refactor EP0 forced stall/restart into a separate API
  ANDROID: Update symbol list for mtk
  FROMGIT: usb: dwc3: gadget: Execute gadget stop after halting the controller
  UPSTREAM: scsi: ufs: core: Print trs for pending requests in MCQ mode
  UPSTREAM: scsi: ufs: core: Add trace event for MCQ
  ANDROID: ABI: update the pixel symbol list
  FROMGIT: USB: dwc3: gadget: drop dead hibernation code
  FROMGIT: usb: dwc3: gadget: Stall and restart EP0 if host is unresponsive
  FROMGIT: media: add RealVideo format RV30 and RV40
  FROMGIT: media: add Sorenson Spark video format
  ANDROID: Update ABI representation for imx symbol list updates
  ANDROID: ABI: Add clk/power related symbols for imx
  ANDROID: ABI: Add phy/pinctrl/regulator related symbols for imx
  ANDROID: ABI: Add bus/mmc/dma related symbols for imx
  ANDROID: ABI: Add display related symbols for imx
  ANDROID: ABI: Add video/camera related symbols for imx
  ANDROID: ABI: Add sensor/led/iput related symbols for imx
  ANDROID: ABI: Add usb related symbols for imx
  ANDROID: ABI: Add net related symbols for imx
  ANDROID: ABI: Add sound/soc/ related symbols for imx
  ANDROID: KVM: arm64: Clear the PTEs which are not refcounted on unmap path
  Revert "ANDROID: Add utf8_data_table for case-folding support"
  ANDROID: Add filp_open_block() for zram
  ANDROID: GKI: add init symbol list file for vivo
  FROMGIT: clocksource/drivers/timer-mediatek: Split out CPUXGPT timers
  ANDROID: dma-buf: Export is_dma_buf_file
  Linux 6.1.25
  cgroup/cpuset: Add cpuset_can_fork() and cpuset_cancel_fork() methods
  cgroup/cpuset: Make cpuset_fork() handle CLONE_INTO_CGROUP properly
  cgroup/cpuset: Skip spread flags update on v2
  nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD
  nvme-pci: mark Lexar NM760 as IGNORE_DEV_SUBNQN
  cifs: fix negotiate context parsing
  i2c: ocores: generate stop condition after timeout in polling mode
  x86/rtc: Remove __init for runtime functions
  sched/fair: Fix imbalance overflow
  powerpc/papr_scm: Update the NUMA distance table for the target node
  i2c: mchp-pci1xxxx: Update Timing registers
  ubi: Fix deadlock caused by recursively holding work_sem
  ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size
  mptcp: stricter state check in mptcp_worker
  mptcp: use mptcp_schedule_work instead of open-coding it
  drm/amd/pm: correct SMU13.0.7 max shader clock reporting
  drm/amd/pm: correct SMU13.0.7 pstate profiling clock settings
  cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
  cgroup/cpuset: Fix partition root's cpuset.cpus update bug
  cgroup: fix display of forceidle time at root
  x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot
  scsi: ses: Handle enclosure with just a primary component gracefully
  net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow
  net: phy: nxp-c45-tja11xx: add remove callback
  net: sfp: initialize sfp->i2c_block_size at sfp allocation
  HID: intel-ish-hid: Fix kernel panic during warm reset
  riscv: add icache flush for nommu sigreturn trampoline
  ksmbd: avoid out of bounds access in decode_preauth_ctxt()
  maple_tree: fix write memory barrier of nodes once dead for RCU mode
  tracing: Have tracing_snapshot_instance_cond() write errors to the appropriate instance
  tracing: Add trace_array_puts() to write into instance
  KVM: SVM: Flush Hyper-V TLB when required
  x86/hyperv: KVM: Rename "hv_enlightenments" to "hv_vmcb_enlightenments"
  KVM: SVM: Add a proper field for Hyper-V VMCB enlightenments
  KVM: selftests: Move "struct hv_enlightenments" to x86_64/svm.h
  x86/hyperv: Move VMCB enlightenment definitions to hyperv-tlfs.h
  ACPI: resource: Add Medion S17413 to IRQ override quirk
  drm/amdgpu/gfx: set cg flags to enter/exit safe mode
  drm/amdgpu: Force signal hw_fences that are embedded in non-sched jobs
  drm/amdgpu: add mes resume when do gfx post soft reset
  wifi: iwlwifi: mvm: protect TXQ list manipulation
  wifi: iwlwifi: mvm: fix mvmtxq->stopped handling
  nvme: send Identify with CNS 06h only to I/O controllers
  asymmetric_keys: log on fatal failures in PE/pkcs7
  verify_pefile: relax wrapper length check
  hwmon: (xgene) Fix ioremap and memremap leak
  hwmon: (peci/cputemp) Fix miscalculated DTS for SKX
  drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
  ACPI: video: Add backlight=native DMI quirk for Acer Aspire 3830TG
  block: ublk_drv: mark device as LIVE before adding disk
  efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
  i2c: hisi: Avoid redundant interrupts
  i2c: imx-lpi2c: clean rx/tx buffers upon new message
  wifi: mwifiex: mark OF related data as maybe unused
  selftests/bpf: Fix progs/find_vma_fail1.c build error.
  power: supply: axp288_fuel_gauge: Added check for negative values
  power: supply: cros_usbpd: reclassify "default case!" as debug
  power: supply: rk817: Fix unsigned comparison with less than zero
  ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory
  ARM: 9290/1: uaccess: Fix KASAN false-positives
  libbpf: Fix single-line struct definition output in btf_dump
  skbuff: Fix a race between coalescing and releasing SKBs
  net: macb: fix a memory corruption in extended buffer descriptor mode
  udp6: fix potential access to stale information
  selftests: openvswitch: adjust datapath NL message declaration
  RDMA/core: Fix GID entry ref leak when create_ah fails
  sctp: fix a potential overflow in sctp_ifwdtsn_skip
  net: qrtr: Fix an uninit variable access bug in qrtr_tx_resume()
  cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex
  net: wwan: iosm: Fix error handling path in ipc_pcie_probe()
  qlcnic: check pci_reset_function result
  drm/armada: Fix a potential double free in an error handling path
  Bluetooth: Set ISO Data Path on broadcast sink
  Bluetooth: SCO: Fix possible circular locking dependency sco_sock_getsockopt
  Bluetooth: Fix printing errors if LE Connection times out
  Bluetooth: hci_conn: Fix not cleaning up on LE Connection failure
  net: openvswitch: fix race on port output
  iavf: remove active_cvlans and active_svlans bitmaps
  iavf: refactor VLAN filter states
  bonding: fix ns validation on backup slaves
  tcp: restrict net.ipv4.tcp_app_win
  niu: Fix missing unwind goto in niu_alloc_channels()
  KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV2/3 to protected VMs
  KVM: arm64: Initialise hypervisor copies of host symbols unconditionally
  bpf, arm64: Fixed a BTI error on returning to patched function
  9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
  dmaengine: apple-admac: Fix 'current_tx' not getting freed
  dmaengine: apple-admac: Set src_addr_widths capability
  dmaengine: apple-admac: Handle 'global' interrupt flags
  LoongArch, bpf: Fix jit to skip speculation barrier opcode
  bpf: tcp: Use sock_gen_put instead of sock_put in bpf_iter_tcp
  RDMA/cma: Allow UD qp_type to join multicast only
  clk: rs9: Fix suspend/resume
  RDMA/erdma: Defer probing if netdevice can not be found
  RDMA/erdma: Inline mtt entries into WQE if supported
  RDMA/erdma: Update default EQ depth to 4096 and max_send_wr to 8192
  IB/mlx5: Add support for 400G_8X lane speed
  RDMA/irdma: Add ipv4 check to irdma_find_listener()
  RDMA/irdma: Increase iWARP CM default rexmit count
  RDMA/irdma: Fix memory leak of PBLE objects
  RDMA/irdma: Do not generate SW completions for NOPs
  clk: sprd: set max_register according to mapping range
  drm/i915/dsi: fix DSS CTL register offsets for TGL+
  fbcon: set_con2fb_map needs to set con2fb_map!
  fbcon: Fix error paths in set_con2fb_map
  KVM: arm64: PMU: Restore the guest's EL0 event counting after migration
  mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min
  mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
  mtd: rawnand: meson: fix bitmask for length in command word
  mtdblock: tolerate corrected bit-flips
  fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
  btrfs: fix fast csum implementation detection
  btrfs: restore the thread_pool= behavior in remount for the end I/O workqueues
  Bluetooth: hci_conn: Fix possible UAF
  Bluetooth: Free potentially unfreed SCO connection
  bluetooth: btbcm: Fix logic error in forming the board name.
  Bluetooth: Fix race condition in hidp_session_thread
  Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
  ALSA: hda/hdmi: disable KAE for Intel DG2
  ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
  ALSA: emu10k1: don't create old pass-through playback device on Audigy
  ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
  ALSA: hda/realtek: Add quirks for Lenovo Z13/Z16 Gen2
  ALSA: hda: patch_realtek: add quirk for Asus N7601ZM
  ALSA: i2c/cs8427: fix iec958 mixer control deactivation
  ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
  ALSA: emu10k1: fix capture interrupt handler unlinking
  drm/amd/display: Pass the right info to drm_dp_remove_payload
  Revert "pinctrl: amd: Disable and mask interrupts on resume"
  f2fs: remove unnessary comment in __may_age_extent_tree
  f2fs: allocate node blocks for atomic write block replacement
  f2fs: use cow inode data when updating atomic write
  f2fs: remove power-of-two limitation of zoned device
  f2fs: allocate trace path buffer from names_cache
  ANDROID: ABI: Update the tcpci symbols for pixel
  ANDROID: ABI: Add drm_atomic_bridge_chain_disable and drm_atomic_bridge_chain_enable in QCOM symbol list
  ANDROID: firmware/psci: Remove PSCI_1_1_FN64_MEM_PROTECT definition
  ANDROID: Add initial symbol list for Exynos SoC
  f2fs: add has_enough_free_secs()
  f2fs: relax sanity check if checkpoint is corrupted
  f2fs: refactor f2fs_gc to call checkpoint in urgent condition
  f2fs: remove folio_detach_private() in .invalidate_folio and .release_folio
  f2fs: remove bulk remove_proc_entry() and unnecessary kobject_del()
  f2fs: support iopoll method
  Linux 6.1.24
  bpftool: Print newline before '}' for struct with padding only fields
  mm: enable maple tree RCU mode by default.
  maple_tree: add RCU lock checking to rcu callback functions
  maple_tree: add smp_rmb() to dead node detection
  maple_tree: remove extra smp_wmb() from mas_dead_leaves()
  maple_tree: fix freeing of nodes in rcu mode
  maple_tree: detect dead nodes in mas_start()
  maple_tree: refine ma_state init from mas_start()
  maple_tree: be more cautious about dead nodes
  maple_tree: fix mas_prev() and mas_find() state handling
  maple_tree: fix handle of invalidated state in mas_wr_store_setup()
  maple_tree: reduce user error potential
  maple_tree: fix potential rcu issue
  maple_tree: remove GFP_ZERO from kmem_cache_alloc() and kmem_cache_alloc_bulk()
  mm: take a page reference when removing device exclusive entries
  drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()
  drm/i915: Use _MMIO_PIPE() for SKL_BOTTOM_COLOR
  drm/bridge: lt9611: Fix PLL being unable to lock
  drm/i915/dp_mst: Fix payload removal during output disabling
  drm/display/dp_mst: Handle old/new payload states in drm_dp_remove_payload()
  drm/amdgpu: skip psp suspend for IMU enabled ASICs mode2 reset
  drm/amdgpu: for S0ix, skip SDMA 5.x+ suspend/resume
  drm/amd/display: Clear MST topology if it fails to resume
  blk-throttle: Fix that bps of child could exceed bps limited in parent
  maple_tree: fix a potential concurrency bug in RCU mode
  maple_tree: fix get wrong data_end in mtree_lookup_walk()
  mm/hugetlb: fix uffd wr-protection for CoW optimization path
  mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()
  ring-buffer: Fix race while reader and writer are on the same page
  drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
  drm/i915: Fix context runtime accounting
  drm/nouveau/disp: Support more modes by checking with lower bpc
  drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
  ublk: read any SQE values upfront
  wifi: mt76: ignore key disable commands
  mm: vmalloc: avoid warn_alloc noise caused by fatal signal
  zsmalloc: document freeable stats
  tracing/synthetic: Make lastcmd_mutex static
  ASoC: hdac_hdmi: use set_stream() instead of set_tdm_slots()
  tracing: Free error logs of tracing instances
  tracing/osnoise: Fix notify new tracing_max_latency
  tracing/timerlat: Notify new max thread latency
  tracing/synthetic: Fix races on freeing last_cmd
  net: stmmac: Add queue reset into stmmac_xdp_open() function
  ACPI: video: Add acpi_backlight=video quirk for Lenovo ThinkPad W530
  ACPI: video: Add acpi_backlight=video quirk for Apple iMac14,1 and iMac14,2
  ACPI: video: Make acpi_backlight=video work independent from GPU driver
  ACPI: video: Add auto_detect arg to __acpi_video_get_backlight_type()
  can: isotp: isotp_recvmsg(): use sock_recv_cmsgs() to get SOCK_RXQ_OVFL infos
  can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT events
  can: isotp: fix race between isotp_sendsmg() and isotp_release()
  can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access
  fs: drop peer group ids under namespace lock
  ftrace: Fix issue that 'direct->addr' not restored in modify_ftrace_direct()
  ftrace: Mark get_lock_parent_ip() __always_inline
  perf/core: Fix the same task check in perf_event_set_output
  block: don't set GD_NEED_PART_SCAN if scan partition failed
  block: ublk: make sure that block size is set correctly
  cifs: sanitize paths in cifs_update_super_prepath.
  nvme: fix discard support without oncs
  scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()
  scsi: qla2xxx: Fix memory leak in qla2x00_probe_one()
  io_uring: fix memory leak when removing provided buffers
  io_uring: fix return value when removing provided buffers
  iio: adc: ad7791: fix IRQ flags
  blk-mq: directly poll requests
  counter: 104-quad-8: Fix Synapse action reported for Index signals
  counter: 104-quad-8: Fix race condition between FLAG and CNTR reads
  coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug
  coresight: etm4x: Do not access TRCIDR1 for identification
  mm: kfence: fix handling discontiguous page
  mm: kfence: fix PG_slab and memcg_data clearing
  KVM: nVMX: Do not report error code when synthesizing VM-Exit from Real Mode
  KVM: x86: Clear "has_error_code", not "error_code", for RM exception injection
  x86/ACPI/boot: Use FADT version to check support for online capable
  x86/acpi/boot: Correct acpi_is_processor_usable() check
  ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
  ALSA: hda/realtek: Add quirk for Clevo X370SNW
  ksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr
  ksmbd: do not call kvmalloc() with __GFP_NORETRY | __GFP_NO_WARN
  serial: 8250: Prevent starting up DMA Rx on THRI interrupt
  dt-bindings: serial: renesas,scif: Fix 4th IRQ for 4-IRQ SCIFs
  nilfs2: fix sysfs interface lifetime
  nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
  tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty
  tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
  tty: serial: sh-sci: Fix transmit end interrupt handler
  iio: light: cm32181: Unregister second I2C client if present
  iio: buffer: make sure O_NONBLOCK is respected
  iio: buffer: correctly return bytes written in output buffers
  iio: dac: cio-dac: Fix max DAC write value check for 12-bit
  iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
  iio: adc: qcom-spmi-adc5: Fix the channel name
  iio: adis16480: select CONFIG_CRC32
  drivers: iio: adc: ltc2497: fix LSB shift
  USB: serial: option: add Quectel RM500U-CN modem
  USB: serial: option: add Telit FE990 compositions
  usb: typec: altmodes/displayport: Fix configure initial pin assignment
  USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs
  usb: dwc3: pci: add support for the Intel Meteor Lake-S
  usb: cdnsp: Fixes error: uninitialized symbol 'len'
  xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu
  xhci: Free the command allocated for setting LPM if we return early
  usb: xhci: tegra: fix sleep in atomic call
  PCI/DOE: Fix memory leak with CONFIG_DEBUG_OBJECTS=y
  PCI/DOE: Silence WARN splat with CONFIG_DEBUG_OBJECTS=y
  cxl/pci: Handle excessive CDAT length
  cxl/pci: Handle truncated CDAT entries
  cxl/pci: Handle truncated CDAT header
  cxl/pci: Fix CDAT retrieval on big endian
  net: stmmac: check fwnode for phy device before scanning for phy
  arm64: compat: Work around uninitialized variable warning
  gve: Secure enough bytes in the first TX desc for all TCP pkts
  netlink: annotate lockless accesses to nlk->max_recvmsg_len
  ethtool: reset #lanes when lanes is omitted
  ping: Fix potentail NULL deref for /proc/net/icmp.
  raw: Fix NULL deref in raw_get_next().
  raw: use net_hash_mix() in hash function
  ice: Reset FDIR counter in FDIR init stage
  ice: fix wrong fallback logic for FDIR
  NFSD: callback request does not use correct credential for AUTH_SYS
  sunrpc: only free unix grouplist after RCU settles
  net: stmmac: fix up RX flow hash indirection table when setting channels
  net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe
  gpio: davinci: Add irq chip flag to skip set wake
  gpio: davinci: Do not clear the bank intr enable bit in save_context
  platform/x86: think-lmi: Clean up display of current_value on Thinkstation
  platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings
  platform/x86: think-lmi: Fix memory leak when showing current settings
  ipv6: Fix an uninit variable access bug in __ip6_make_skb()
  net: qrtr: Do not do DEL_SERVER broadcast after DEL_CLIENT
  sctp: check send stream number after wait_for_sndbuf
  net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit
  net: don't let netpoll invoke NAPI if in xmit context
  ALSA: hda/hdmi: Preserve the previous PCM device upon re-enablement
  icmp: guard against too small mtu
  nfsd: call op_release, even when op_func returns an error
  NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL
  wifi: brcmfmac: Fix SDIO suspend/resume regression
  l2tp: generate correct module alias strings
  net: stmmac: remove redundant fixup to support fixed-link mode
  net: stmmac: check if MAC needs to attach to a PHY
  net: phylink: add phylink_expects_phy() method
  net: qrtr: Fix a refcount bug in qrtr_recvmsg()
  wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
  wifi: mac80211: fix the size calculation of ieee80211_ie_len_eht_cap()
  KVM: s390: pv: fix external interruption loop not always detected
  ASoC: codecs: lpass: fix the order or clks turn off during suspend
  pwm: meson: Explicitly set .polarity in .get_state()
  pwm: sprd: Explicitly set .polarity in .get_state()
  pwm: iqs620a: Explicitly set .polarity in .get_state()
  pwm: cros-ec: Explicitly set .polarity in .get_state()
  pwm: hibvt: Explicitly set .polarity in .get_state()
  pwm: Make .get_state() callback return an error code
  ASoC: SOF: ipc4: Ensure DSP is in D0I0 during sof_ipc4_set_get_data()
  Drivers: vmbus: Check for channel allocation before looking up relids
  gpio: GPIO_REGMAP: select REGMAP instead of depending on it
  KVM: arm64: PMU: Don't save PMCR_EL0.{C,P} for the vCPU
  KVM: arm64: PMU: Sanitise PMCR_EL0.LP on first vcpu run
  KVM: arm64: PMU: Distinguish between 64bit counter and 64bit overflow
  KVM: arm64: PMU: Align chained counter implementation with architecture pseudocode
  dm: fix improper splitting for abnormal bios
  dm: change "unsigned" to "unsigned int"
  dm integrity: Remove bi_sector that's only used by commented debug code
  dm cache: Add some documentation to dm-cache-background-tracker.h
  f2fs: remove batched_trim_sections node description
  f2fs: fix to check return value of inc_valid_block_count()
  f2fs: fix to check return value of f2fs_do_truncate_blocks()
  f2fs: fix passing relative address when discard zones
  f2fs: fix potential corruption when moving a directory
  f2fs: add radix_tree_preload_end in error case
  f2fs: fix to recover quota data correctly
  f2fs: fix to check readonly condition correctly
  docs: f2fs: Correct instruction to disable checkpoint
  f2fs: fix to keep consistent i_gc_rwsem lock order
  f2fs: fix to drop all dirty pages during umount() if cp_error is set
  f2fs: fix to avoid use-after-free for cached IPU bio
  f2fs: remove unneeded in-memory i_crtime copy
  f2fs: use f2fs_hw_is_readonly() instead of bdev_read_only()
  f2fs: use common implementation of file type
  f2fs: merge lz4hc_compress_pages() to lz4_compress_pages()
  f2fs: convert to use sysfs_emit
  f2fs: set default compress option only when sb_has_compression
  f2fs: Fix system crash due to lack of free space in LFS
  f2fs: remove struct victim_selection default_v_ops
  f2fs: fix null pointer panic in tracepoint in __replace_atomic_write_block
  f2fs: fix iostat lock protection
  f2fs: fix align check for npo2
  f2fs: add compression feature check for all compress mount opt
  f2fs: convert is_extension_exist() to return bool type
  f2fs: fix scheduling while atomic in decompression path
  f2fs: preserve direct write semantics when buffering is forced
  f2fs: compress: fix to call f2fs_wait_on_page_writeback() in f2fs_write_raw_pages()
  f2fs: remove else in f2fs_write_cache_pages()
  f2fs: apply zone capacity to all zone type
  f2fs: fix to handle filemap_fdatawrite() error in f2fs_ioc_decompress_file/f2fs_ioc_compress_file
  f2fs: convert to MAX_SBI_FLAG instead of 32 in stat_show()
  f2fs: Fix discard bug on zoned block devices with 2MiB zone size
  f2fs: remove entire rb_entry sharing
  f2fs: factor out discard_cmd usage from general rb_tree use
  f2fs: factor out victim_entry usage from general rb_tree use
  f2fs: fix uninitialized skipped_gc_rwsem
  f2fs: handle dqget error in f2fs_transfer_project_quota()
  f2fs: convert to use bitmap API
  f2fs: export compress_percent and compress_watermark entries
  f2fs: make f2fs_sync_inode_meta() static
  f2fs: Fix f2fs_truncate_partial_nodes ftrace event

 Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/serial/renesas,scif.yaml
	android/abi_gki_aarch64.stg
	net/qrtr/af_qrtr.c
	net/qrtr/ns.c

Change-Id: I2b2b2f1569aa65700b2382c7ea4ea5d84c8f573c
Upstream-Build: ks_qcom-android14-6.1-keystone-qcom-release@10066587 UKQ2.230504.001
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2023-05-15 08:16:35 -07:00
Ming Qian
b176c2f44d UPSTREAM: media: add nv12_8l128 and nv12_10be_8l128 video format.
add contiguous nv12 tiled format nv12_8l128 and nv12_10be_8l128

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Bug: 279270030
Change-Id: Idcad785b8952765030462fb7c133be7913aff671
(cherry picked from commit 5b8bb216e91a2f4f4d5b82739c0101b3922064e5)
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
2023-05-15 15:15:49 +00:00
Vinay Gannevaram
122e8a69e6 FROMGIT: wifi: nl80211: Add support for randomizing TA of auth and deauth frames
Add support to use a random local address in authentication and
deauthentication frames sent to unassociated peer when the driver
supports.

The driver needs to configure receive behavior to accept frames with
random transmit address specified in TX path authentication frames
during the time of the frame exchange is pending and such frames need to
be acknowledged similarly to frames sent to the local permanent address
when this random address functionality is used.

This capability allows use of randomized transmit address for PASN
authentication frames to improve privacy of WLAN clients.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://lore.kernel.org/r/20230112012415.167556-2-quic_vjakkam@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Bug: 280613325
Change-Id: Ife3ad20656cba20c1b971bb3a074cc27e21e2c5b
(cherry picked from commit 6933486133ecf71bbe273d7ac72cfc4a51286af3
https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main)
Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
2023-05-11 05:22:29 +00:00
Jeyaprabu J
afcb3a7009 soc: qcom: hgsl: snapshot of hgsl driver
Add hgsl driver snapshot from msm-5.15 branch at
commit f15d26e64eb6 ("Revert "soc: qcom: hgsl: Add
door bell context queue support"").

The dma_buf_map structure name was changed to iosys_map
and dma_buf_map_set_vaddr API was renamed to iosys_map_set_vaddr.

Change-Id: Ic4eb0cfb92487798dc7d632262d13e8a9634540a
Signed-off-by: Jeyaprabu J <quic_jeyaprab@quicinc.com>
2023-05-04 21:39:29 +05:30
jianzhou
f7cee9f6c1 Merge keystone/android14-6.1-keystone-qcom-release.6.1.22 (cc425b8) into msm-pineapple
* refs/heads/tmp-cc425b8:
  ANDROID: defconfig: Remove "-mainline" from LOCALVERSION for gki and consolidate
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: KVM: arm64: Remove the non-consuming hyp trace interface
  FROMLIST: ANDROID: GKI: psi: remove 500ms min window size limitation for triggers
  Revert "ANDROID: cpufreq: Add a restricted vendor hook for freq transition"
  Revert "ANDROID: kernel: Add restricted vendor hook in creds"
  ANDROID: ABI: update symbol list for galaxy
  Revert "net: mdio: fix owner field for mdio buses registered using device-tree"
  ANDROID: update ABI for gunyah series
  ANDROID: gunyah: Add protected VM firmware boot support
  ANDROID: gunyah: vm_mgr: Add lent memory
  ANDROID: abi_gki_aarch64_qcom: Add Gunyah symbols
  ANDROID: gunyah: Enable gunyah configs
  ANDROID: gunyah: Add support for Gunyah vendor modules
  FROMLIST: MAINTAINERS: Add Gunyah hypervisor drivers section
  FROMLIST: virt: gunyah: Add ioeventfd
  FROMLIST: virt: gunyah: Add irqfd interface
  FROMLIST: virt: gunyah: Add hypercalls for sending doorbell
  FROMLIST: virt: gunyah: Add proxy-scheduled vCPUs
  FROMLIST: virt: gunyah: Add IO handlers
  BACKPORT: FROMLIST: virt: gunyah: Add resource tickets
  BACKPORT: FROMLIST: gunyah: vm_mgr: Add framework to add VM Functions
  FROMLIST: virt: gunyah: Translate gh_rm_hyp_resource into gunyah_resource
  FROMLIST: docs: gunyah: Document Gunyah VM Manager
  BACKPORT: FROMLIST: gunyah: rsc_mgr: Add platform ops on mem_lend/mem_reclaim
  FROMLIST: samples: Add sample userspace Gunyah VM Manager
  BACKPORT: FROMLIST: gunyah: vm_mgr: Add ioctls to support basic non-proxy VM boot
  FROMLIST: gunyah: vm_mgr: Add/remove user memory regions
  FROMLIST: gunyah: rsc_mgr: Add RPC for sharing memory
  BACKPORT: FROMLIST: gunyah: vm_mgr: Introduce basic VM Manager
  FROMLIST: gunyah: rsc_mgr: Add VM lifecycle RPC
  FROMLIST: gunyah: rsc_mgr: Add resource manager RPC core
  FROMLIST: mailbox: Add Gunyah message queue mailbox
  FROMLIST: virt: gunyah: msgq: Add hypercalls to send and receive messages
  FROMLIST: virt: gunyah: Identify hypervisor version
  FROMLIST: virt: gunyah: Add hypercalls to identify Gunyah
  FROMLIST: gunyah: Common types and error codes for Gunyah hypercalls
  FROMLIST: dt-bindings: Add binding for gunyah hypervisor
  FROMLIST: docs: gunyah: Introduce Gunyah Hypervisor
  FROMLIST: mailbox: Allow direct registration to a channel
  ANDROID: Fix the KMI
  ANDROID: mm: shmem: whitelist the symbols in the shmem
  ANDROID: mm/shmem: Add a trace hook to get the shmem folio
  ANDROID: mm: shmem: add vendor data in 'shmem_inode_info'
  ANDROID: 3/29/2023 KMI update
  ANDROID: ufs: core: move Android quirks into separate field
  ANDROID: KVM: arm64: Save and restore host sve state in pKVM
  ANDROID: KVM: arm64: Specialize deactivate fpsimd traps on guest fpsimd trap
  ANDROID: KVM: arm64: Specialize handling of host fpsimd state on EL2 trap n/vhe
  ANDROID: KVM: arm64: Allocate memory at hyp for host sve state
  ANDROID: KVM: arm64: Store the maximum sve vector length at hyp
  ANDROID: KVM: arm64: Allocate host fp state at pkvm init rather than per cpu
  ANDROID: KVM: arm64: Move loaded host fp state to pkvm
  ANDROID: KVM: arm64: Use helper to get the host fpsimd state in pKVM
  ANDROID: KVM: arm64: Use enum instead of helper for fp state
  ANDROID: KVM: arm64: Do not map the host fpsimd state to hyp in pKVM
  ANDROID: KVM: arm64: Clarify rationale for ZCR_EL1 value restored on guest exit
  Revert "Revert "scsi: core: Add BLIST_NO_VPD_SIZE for some VDASD""
  Revert "Revert "drm/msm/gem: Prevent blocking within shrinker loop""
  Revert "Revert "PCI: loongson: Add more devices that need MRRS quirk""
  Revert "Revert "PCI: loongson: Prevent LS7A MRRS increases""
  Revert "Revert "netfilter: ctnetlink: make event listener tracking global""
  Revert "Revert "HID: retain initial quirks set up when creating HID devices""
  Revert "Revert "sbitmap: Try each queue to wake up at least one waiter""
  Revert "Revert "sbitmap: Advance the queue index before waking up a queue""
  Revert "Revert "sbitmap: correct wake_batch recalculation to avoid potential IO hung""
  Revert "Revert "sbitmap: Use single per-bitmap counting to wake up queued tags""
  Linux 6.1.22
  drm/amdkfd: Fix the memory overrun
  drm/amdkfd: add GC 11.0.4 KFD support
  drm/amdkfd: Fix the warning of array-index-out-of-bounds
  drm/amdkfd: introduce dummy cache info for property asic
  sched/fair: Sanitize vruntime of entity being migrated
  sched/fair: sanitize vruntime of entity being placed
  dm crypt: avoid accessing uninitialized tasklet
  dm crypt: add cond_resched() to dmcrypt_write()
  dm stats: check for and propagate alloc_percpu failure
  i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
  bus: imx-weim: fix branch condition evaluates to a garbage value
  mm/ksm: fix race with VMA iteration and mm_struct teardown
  soc: qcom: llcc: Fix slice configuration values for SC8280XP
  arm64: dts: qcom: sm8150: Fix the iommu mask used for PCIe controllers
  arm64: dts: qcom: sc7280: Mark PCIe controller as cache coherent
  firmware: arm_scmi: Fix device node validation for mailbox transport
  tee: amdtee: fix race condition in amdtee_open_session
  riscv: Handle zicsr/zifencei issues between clang and binutils
  riscv: mm: Fix incorrect ASID argument when flushing TLB
  drm/amdgpu: reposition the gpu reset checking for reuse
  drm/amdgpu: skip ASIC reset for APUs when go to S4
  drm/i915: Preserve crtc_state->inherited during state clearing
  drm/i915/active: Fix missing debug object activation
  drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi
  drm/meson: fix missing component unbind on bind errors
  drm/amd/display: fix wrong index used in dccg32_set_dpstreamclk
  drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found
  nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
  wifi: mac80211: fix qos on mesh interfaces
  ksmbd: return unsupported error on smb1 mount
  ksmbd: return STATUS_NOT_SUPPORTED on unsupported smb2.0 dialect
  ksmbd: don't terminate inactive sessions after a few seconds
  ksmbd: set FILE_NAMED_STREAMS attribute in FS_ATTRIBUTE_INFORMATION
  ksmbd: fix wrong signingkey creation when encryption is AES256
  maple_tree: fix mas_skip_node() end slot detection
  test_maple_tree: add more testing for mas_empty_area()
  Revert "kasan: drop skip_kasan_poison variable in free_pages_prepare"
  io_uring/rsrc: fix null-ptr-deref in io_file_bitmap_get()
  io_uring/net: avoid sending -ECONNABORTED on repeated connection requests
  kfence: avoid passing -g for test
  mm: kfence: fix using kfence_metadata without initialization in show_object()
  usb: ucsi_acpi: Increase the command completion timeout
  usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
  usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
  usb: chipidea: core: fix possible concurrent when switch role
  usb: chipdea: core: fix return -EINVAL if request role is the same with current role
  usb: cdnsp: changes PCI Device ID to fix conflict with CNDS3 driver
  usb: cdnsp: Fixes issue with redundant Status Stage
  usb: cdns3: Fix issue with using incorrect PCI device function
  usb: typec: tcpm: fix warning when handle discover_identity message
  usb: typec: tcpm: fix create duplicate source-capabilities file
  dm thin: fix deadlock when swapping to thin device
  igb: revert rtnl_lock() that causes deadlock
  arm64: dts: imx8mm-nitrogen-r2: fix WM8960 clock name
  lockd: set file_lock start and end when decoding nlm4 testargs
  fsverity: Remove WQ_UNBOUND from fsverity read workqueue
  fscrypt: destroy keyring after security_sb_delete()
  mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP
  efi: sysfb_efi: Fix DMI quirks not working for simpledrm
  Bluetooth: Fix race condition in hci_cmd_sync_clear
  btrfs: zoned: fix btrfs_can_activate_zone() to support DUP profile
  usb: gadget: u_audio: don't let userspace block driver unbind
  usb: dwc2: fix a devres leak in hw_enable upon suspend resume
  usb: dwc2: drd: fix inconsistent mode if role-switch-default-mode="host"
  usb: misc: onboard-hub: add support for Microchip USB2517 USB 2.0 hub
  scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
  selftests/x86/amx: Add a ptrace test
  x86/fpu/xstate: Prevent false-positive warning in __copy_xstate_uabi_buf()
  cifs: fix dentry lookups in directory handle cache
  cifs: print session id while listing open files
  cifs: dump pending mids for all channels in DebugData
  cifs: empty interface list when server doesn't support query interfaces
  cifs: do not poll server interfaces too regularly
  cifs: append path to open_enter trace event
  cifs: lock chan_lock outside match_session
  act_mirred: use the backlog for nested calls to mirred ingress
  net/sched: act_mirred: better wording on protection against excessive stack growth
  drm/amd: Fix initialization mistake for NBIO 7.3.0
  drm/amdgpu: Fix call trace warning and hang when removing amdgpu device
  sh: sanitize the flags on sigreturn
  drm/amd/display: Update clock table to include highest clock setting
  net: usb: qmi_wwan: add Telit 0x1080 composition
  net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
  platform/x86: int3472: Add GPIOs to Surface Go 3 Board data
  scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file
  scsi: mpi3mr: Bad drive in topology results kernel crash
  scsi: mpi3mr: NVMe command size greater than 8K fails
  scsi: mpi3mr: Wait for diagnostic save during controller init
  scsi: mpi3mr: Driver unload crashes host when enhanced logging is enabled
  scsi: lpfc: Avoid usage of list iterator variable after loop
  scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()
  scsi: ufs: core: Add soft dependency on governor_simpleondemand
  scsi: hisi_sas: Check devm_add_action() return value
  scsi: qla2xxx: Add option to disable FC2 Target support
  scsi: target: iscsi: Fix an error message in iscsi_check_key()
  selftests/bpf: check that modifier resolves after pointer
  m68k: Only force 030 bus error if PC not in exception table
  m68k: mm: Fix systems with memory at end of 32-bit address space
  HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
  HID: logitech-hidpp: Add support for Logitech MX Master 3S mouse
  ca8210: fix mac_len negative array access
  HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
  drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update()
  riscv: Bump COMMAND_LINE_SIZE value to 1024
  ACPI: x86: utils: Add Cezanne to the list for forcing StorageD3Enable
  ACPI: x86: Drop quirk for HP Elitebook
  ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A43)
  ASoC: amd: yp: Add OMEN by HP Gaming Laptop 16z-n000 to quirks
  thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit
  thunderbolt: Use const qualifier for `ring_interrupt_index`
  thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access
  thunderbolt: Disable interrupt auto clear for rings
  thunderbolt: Fix memory leak in margining
  thunderbolt: Add quirk to disable CLx
  thunderbolt: Call tb_check_quirks() after initializing adapters
  thunderbolt: Use scale field when allocating USB3 bandwidth
  uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
  smb3: fix unusable share after force unmount failure
  smb3: lower default deferred close timeout to address perf regression
  scsi: qla2xxx: Perform lockless command completion in abort path
  scsi: qla2xxx: Synchronize the IOCB count to be in order
  hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
  hwmon: fix potential sensor registration fail if of_node is missing
  entry/rcu: Check TIF_RESCHED _after_ delayed RCU wake-up
  perf/x86/amd/core: Always clear status for idx
  entry: Fix noinstr warning in __enter_from_user_mode()
  platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
  Bluetooth: HCI: Fix global-out-of-bounds
  Bluetooth: mgmt: Fix MGMT add advmon with RSSI command
  Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
  Bluetooth: L2CAP: Fix responding with wrong PDU type
  Bluetooth: btqcomsmd: Fix command timeout after setting BD address
  drm/amd/display: Set dcn32 caps.seamless_odm
  net: mdio: thunder: Add missing fwnode_handle_put()
  net: dsa: mt7530: move setting ssc_delta to PHY_INTERFACE_MODE_TRGMII case
  net: dsa: mt7530: move lowering TRGMII driving to mt7530_setup()
  net: dsa: mt7530: move enabling disabling core clock to mt7530_pll_setup()
  net: asix: fix modprobe "sysfs: cannot create duplicate filename"
  gve: Cache link_speed value from device
  Bluetooth: Remove "Power-on" check from Mesh feature
  Bluetooth: ISO: fix timestamped HCI ISO data packet parsing
  Bluetooth: btusb: Remove detection of ISO packets over bulk
  Bluetooth: hci_core: Detect if an ACL packet is in fact an ISO packet
  Bluetooth: hci_sync: Resume adv with no RPA when active scan
  ksmbd: fix possible refcount leak in smb2_open()
  ksmbd: add low bound validation to FSCTL_QUERY_ALLOCATED_RANGES
  ksmbd: add low bound validation to FSCTL_SET_ZERO_DATA
  hvc/xen: prevent concurrent accesses to the shared ring
  mlxsw: spectrum_fid: Fix incorrect local port type
  nvme-tcp: fix nvme_tcp_term_pdu to match spec
  net/sonic: use dma_mapping_error() for error check
  erspan: do not use skb_mac_header() in ndo_start_xmit()
  atm: idt77252: fix kmemleak when rmmod idt77252
  net: dsa: tag_brcm: legacy: fix daisy-chained switches
  net/mlx5: E-Switch, Fix an Oops in error handling code
  net/mlx5: Read the TC mapping of all priorities on ETS query
  net/mlx5e: Overcome slow response for first macsec ASO WQE
  net/mlx5: Fix steering rules cleanup
  net/mlx5e: Block entering switchdev mode with ns inconsistency
  net/mlx5e: Set uplink rep as NETNS_LOCAL
  bpf: Adjust insufficient default bpf_jit_limit
  i40e: fix flow director packet filter programming
  iavf: fix hang on reboot with ice
  ice: check if VF exists before mode check
  keys: Do not cache key in task struct if key is requested from kernel thread
  bootconfig: Fix testcase to increase max node
  octeontx2-vf: Add missing free for alloc_percpu
  net/ps3_gelic_net: Use dma_mapping_error
  net/ps3_gelic_net: Fix RX sk_buff length
  net: usb: lan78xx: Limit packet length to skb->len
  net: qcom/emac: Fix use after free bug in emac_remove due to race condition
  drm/i915/gt: perform uc late init after probe error injection
  drm/i915/guc: Fix missing ecodes
  drm/i915/guc: Rename GuC register state capture node to be more obvious
  drm/i915/fbdev: lock the fbdev obj before vma pin
  drm/i915: Print return value on error
  mlxsw: core_thermal: Fix fan speed in maximum cooling state
  thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function
  net: stmmac: Fix for mismatched host/device DMA address width
  net: mdio: fix owner field for mdio buses registered using ACPI
  net: mdio: fix owner field for mdio buses registered using device-tree
  net: phy: Ensure state transitions are processed from phy_stop()
  xirc2ps_cs: Fix use after free bug in xirc2ps_detach
  qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
  efi/libstub: smbios: Use length member instead of record struct size
  net: usb: smsc95xx: Limit packet length to skb->len
  net: dsa: b53: mmap: fix device tree support
  nfsd: don't replace page in rq_pages if it's a continuation of last page
  scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
  i2c: hisi: Only use the completion interrupt to finish the transfer
  i2c: mxs: ensure that DMA buffers are safe for DMA
  i2c: imx-lpi2c: check only for enabled interrupt flags
  igc: fix the validation logic for taprio's gate list
  igbvf: Regard vf reset nack as success
  intel/igbvf: free irq on the error path in igbvf_request_msix()
  iavf: do not track VLAN 0 filters
  iavf: fix non-tunneled IPv6 UDP packet type and hashing
  iavf: fix inverted Rx hash condition leading to disabled hash
  xsk: Add missing overflow check in xdp_umem_reg
  NFS: Fix /proc/PID/io read_bytes for buffered reads
  arm64: dts: imx93: add missing #address-cells and #size-cells to i2c nodes
  arm64: dts: imx8mn: specify #sound-dai-cells for SAI nodes
  ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl
  ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl
  ARM: dts: imx6sll: e70k02: fix usbotg1 pinctrl
  arm64: dts: imx8dxl-evk: Fix eqos phy reset gpio
  arm64: dts: imx8dxl-evk: Disable hibernation mode of AR8031 for EQOS
  power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
  power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition
  arm64: dts: qcom: sm8450: Mark UFS controller as cache coherent
  drm/amd/display: Fix DP MST sinks removal issue
  mptcp: fix UaF in listener shutdown
  mptcp: use the workqueue to destroy unaccepted sockets
  mptcp: refactor passive socket initialization
  drm/amd/display: Remove OTG DIV register write for Virtual signals.
  drm/amd/display: fix k1 k2 divider programming for phantom streams
  drm/amd/display: Include virtual signal to set k1 and k2 values
  tracing/hwlat: Replace sched_setaffinity with set_cpus_allowed_ptr
  perf: fix perf_event_context->time
  perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
  interconnect: qcom: qcm2290: Fix MASTER_SNOC_BIMC_NRT
  interconnect: qcom: sm8450: switch to qcom_icc_rpmh_* function
  interconnect: qcom: osm-l3: fix icc_onecell_data allocation
  Revert "Revert "wait: Return number of exclusive waiters awaken""
  Revert "Revert "kobject: modify kobject_get_path() to take a const *""
  UPSTREAM: mm: multi-gen LRU: avoid futile retries
  UPSTREAM: mm: multi-gen LRU: simplify arch_has_hw_pte_young() check
  BACKPORT: mm: multi-gen LRU: clarify scan_control flags
  BACKPORT: mm: multi-gen LRU: per-node lru_gen_folio lists
  UPSTREAM: mm: multi-gen LRU: shuffle should_run_aging()
  BACKPORT: mm: multi-gen LRU: remove aging fairness safeguard
  UPSTREAM: mm: multi-gen LRU: remove eviction fairness safeguard
  UPSTREAM: mm: multi-gen LRU: rename lrugen->lists[] to lrugen->folios[]
  UPSTREAM: mm: multi-gen LRU: rename lru_gen_struct to lru_gen_folio
  ANDROID: Update symbol lists for dmabuf_page_pool
  ANDROID: dma-buf: heaps: Move dmabuf_page_pool struct out of the KMI
  ANDROID: dma-buf: system_heap: kmap_local_page instead of kmap_atomic
  ANDROID: dma-buf: system_heap: Add pagepool support to system heap
  ANDROID: dma-buf: heaps: Minor cleanup of dmabuf_page_pool includes
  ANDROID: dma-buf: heaps: replace mutex lock with spinlock
  ANDROID: dma-buf: heaps: fix a warning in dmabuf page pools
  ANDROID: dma-heap: Make the page-pool library built-in
  ANDROID: dma-buf: heaps: Add a shrinker controlled page pool
  UPSTREAM: usb: typec: tcpci: Add callback for evaluating contaminant presence
  UPSTREAM: usb: typec: tcpm: Add callbacks to mitigate wakeups due to contaminant
  ANDROID: GKI: defconfig: Enable DMA-BUF sysfs stats
  UPSTREAM: wifi: nl80211: Allow authentication frames and set keys on NAN interface
  UPSTREAM: wifi: cfg80211: Allow action frames to be transmitted with link BSS in MLD
  UPSTREAM: wifi: cfg80211: include puncturing bitmap in channel switch events
  UPSTREAM: wifi: nl80211: validate and configure puncturing bitmap
  BACKPORT: wifi: cfg80211: move puncturing bitmap validation from mac80211
  UPSTREAM: wifi: nl80211: add MLO_LINK_ID to CMD_STOP_AP event
  UPSTREAM: wifi: cfg80211: Extend cfg80211_update_owe_info_event() for MLD AP
  UPSTREAM: wifi: cfg80211: Extend cfg80211_new_sta() for MLD AP
  UPSTREAM: wifi: cfg80211: Authentication offload to user space for MLO connection in STA mode
  UPSTREAM: wifi: cfg80211: trace: remove MAC_PR_{FMT,ARG}
  UPSTREAM: cfg80211: Update Transition Disable policy during port authorization
  UPSTREAM: wifi: cfg80211: Support 32 bytes KCK key in GTK rekey offload
  UPSTREAM: wifi: nl80211: use link ID in NL80211_CMD_SET_BSS
  UPSTREAM: wifi: cfg80211: support reporting failed links
  ANDROID: KVM: arm64: Allow post-freeze backports to pKVM
  ANDROID: KVM: arm64: Expose host_{un}share_hyp() to modules
  ANDROID: gki_config: use DWARFv5 rather than DWARFv4
  FROMGIT: pstore: Revert pmsg_lock back to a normal mutex
  ANDROID: GKI: Multi arch exports protection support
  ANDROID: ABI: update symbol list for galaxy
  FROMGIT: f2fs: fix scheduling while atomic in decompression path
  ANDROID: dm-default-key: update for blk_crypto_evict_key() returning void
  FROMGIT: blk-crypto: make blk_crypto_evict_key() more robust
  FROMGIT: blk-crypto: make blk_crypto_evict_key() return void
  FROMGIT: blk-mq: release crypto keyslot before reporting I/O complete
  ANDROID: gki_defconfig: enable CONFIG_CRYPTO_GHASH_ARM64_CE
  Revert "ANDROID: module: Add vendor hooks"
  Revert "ANDROID: GKI: Export clocksource_mmio_init"
  ANDROID: clang: update to 17.0.0
  FROMGIT: f2fs v2: factor out discard_cmd usage from general rb_tree use
  ANDROID: ABI: Update QCOM symbol list
  ANDROID: ABI: update symbol list for galaxy
  ANDROID: update db845c symbol list.
  Revert "drm/msm/gem: Prevent blocking within shrinker loop"
  Revert "scsi: core: Add BLIST_NO_VPD_SIZE for some VDASD"
  ANDROID: ABI: Update QCOM symbol list for minidump
  ANDROID: ABI: Update QCOM symbol list
  ANDROID: ABI: Update QCOM symbol list
  Linux 6.1.21
  powerpc/64: Replace -mcpu=e500mc64 by -mcpu=e5500
  powerpc: Disable CPU unknown by CLANG when CC_IS_CLANG
  perf: Fix check before add_event_to_groups() in perf_group_detach()
  io_uring/msg_ring: let target know allocated index
  virt/coco/sev-guest: Add throttling awareness
  virt/coco/sev-guest: Convert the sw_exit_info_2 checking to a switch-case
  virt/coco/sev-guest: Do some code style cleanups
  virt/coco/sev-guest: Carve out the request issuing logic into a helper
  virt/coco/sev-guest: Remove the disable_vmpck label in handle_guest_request()
  virt/coco/sev-guest: Simplify extended guest request handling
  virt/coco/sev-guest: Check SEV_SNP attribute at probe time
  powerpc: Pass correct CPU reference to assembler
  x86/resctrl: Clear staged_config[] before and after it is used
  x86/mm: Fix use of uninitialized buffer in sme_enable()
  x86/mce: Make sure logged MCEs are processed after sysfs update
  ASoC: qcom: q6prm: fix incorrect clk_root passed to ADSP
  ASoC: Intel: soc-acpi: fix copy-paste issue in topology names
  cpuidle: psci: Iterate backwards over list in psci_pd_remove()
  fbdev: Fix incorrect page mapping clearance at fb_deferred_io_release()
  net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit
  ACPI: PPTT: Fix to avoid sleep in the atomic context when PPTT is absent
  trace/hwlat: Do not start per-cpu thread if it is already running
  trace/hwlat: Do not wipe the contents of per-cpu thread data
  fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
  mmc: sdhci_am654: lower power-on failed message severity
  powerpc/boot: Don't always pass -mcpu=powerpc when building 32-bit uImage
  powerpc/64: Set default CPU in Kconfig
  mm: teach mincore_hugetlb about pte markers
  mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage
  vp_vdpa: fix the crash in hot unplug with vp_vdpa
  ice: avoid bonding causing auxiliary plug/unplug under RTNL lock
  nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV3000
  ocfs2: fix data corruption after failed write
  ftrace: Fix invalid address access in lookup_rec() when index is 0
  mptcp: fix lockdep false positive in mptcp_pm_nl_create_listen_socket()
  mptcp: avoid setting TCP_CLOSE state twice
  mptcp: add ro_after_init for tcp{,v6}_prot_override
  mptcp: fix possible deadlock in subflow_error_report
  drm/amd/display: disconnect MPCC only on OTG change
  drm/amd/display: Do not set DRR on pipe Commit
  drm/amd/pm: bump SMU 13.0.4 driver_if header version
  drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume
  drm/amdgpu: Don't resume IOMMU after incomplete init
  drm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz
  drm/i915/active: Fix misuse of non-idle barriers as fence trackers
  drm/sun4i: fix missing component unbind on bind errors
  drm/shmem-helper: Remove another errant put in error path
  riscv: asid: Fixup stale TLB entry cause application crash
  Revert "riscv: mm: notify remote harts about mmu cache updates"
  ALSA: hda/realtek: fix speaker, mute/micmute LEDs not work on a HP platform
  ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro
  ALSA: hda: intel-dsp-config: add MTL PCI id
  KVM: nVMX: add missing consistency checks for CR0 and CR4
  KVM: SVM: Modify AVIC GATag to support max number of 512 vCPUs
  KVM: SVM: Fix a benign off-by-one bug in AVIC physical table mask
  cifs: Fix smb2_set_path_size()
  tracing: Make tracepoint lockdep check actually test something
  tracing: Check field value in hist_field_name()
  tracing: Make splice_read available again
  cifs: generate signkey for the channel that's reconnecting
  md: select BLOCK_LEGACY_AUTOLOAD
  interconnect: exynos: fix registration race
  interconnect: exynos: fix node leak in probe PM QoS error path
  interconnect: qcom: msm8974: fix registration race
  interconnect: qcom: rpmh: fix registration race
  interconnect: qcom: rpmh: fix probe child-node error handling
  interconnect: qcom: rpm: fix registration race
  interconnect: qcom: rpm: fix probe child-node error handling
  interconnect: qcom: osm-l3: fix registration race
  interconnect: fix mem leak when freeing nodes
  interconnect: imx: fix registration race
  interconnect: fix provider registration API
  interconnect: fix icc_provider_del() error handling
  s390/ipl: add missing intersection check to ipl_report handling
  drm/ttm: Fix a NULL pointer dereference
  memory: tegra30-emc: fix interconnect registration race
  memory: tegra124-emc: fix interconnect registration race
  memory: tegra20-emc: fix interconnect registration race
  memory: tegra: fix interconnect registration race
  firmware: xilinx: don't make a sleepable memory allocation from an atomic context
  serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it
  serial: 8250_fsl: fix handle_irq locking
  serial: 8250_em: Fix UART port type
  tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
  Revert "tty: serial: fsl_lpuart: adjust SERIAL_FSL_LPUART_CONSOLE config dependency"
  ext4: fix possible double unlock when moving a directory
  drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
  drm/amdgpu: fix ttm_bo calltrace warning in psp_hw_fini
  sh: intc: Avoid spurious sizeof-pointer-div warning
  LoongArch: Only call get_timer_irq() once in constant_clockevent_init()
  net/9p: fix bug in client create for .L
  drm/amdkfd: Fix an illegal memory access
  ext4: fix task hung in ext4_xattr_delete_inode
  ext4: update s_journal_inum if it changes after journal replay
  ext4: fail ext4_iget if special inode unallocated
  rust: arch/um: Disable FP/SIMD instruction to match x86
  jffs2: correct logic when creating a hole in jffs2_write_begin
  soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not supported
  mmc: atmel-mci: fix race between stop command and start of next command
  media: m5mols: fix off-by-one loop termination error
  hwmon: (ltc2992) Set `can_sleep` flag for GPIO chip
  hwmon: (adm1266) Set `can_sleep` flag for GPIO chip
  kconfig: Update config changed flag before calling callback
  hwmon: tmp512: drop of_match_ptr for ID table
  hwmon: (ucd90320) Add minimum delay between bus accesses
  hwmon: (ina3221) return prober error code
  hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
  hwmon: (adt7475) Fix masking of hysteresis registers
  hwmon: (adt7475) Display smoothing attributes in correct order
  bonding: restore bond's IFF_SLAVE flag if a non-eth dev enslave fails
  bonding: restore IFF_MASTER/SLAVE flags on bond enslave ether type change
  ethernet: sun: add check for the mdesc_grab()
  net: dsa: microchip: fix RGMII delay configuration on KSZ8765/KSZ8794/KSZ8795
  qed/qed_mng_tlv: correctly zero out ->min instead of ->hour
  selftests: net: devlink_port_split.py: skip test if no suitable device available
  i825xx: sni_82596: use eth_hw_addr_set()
  net/iucv: Fix size of interrupt data
  net: atlantic: Fix crash when XDP is enabled but no program is loaded
  net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
  ipv4: Fix incorrect table ID in IOCTL path
  sh_eth: avoid PHY being resumed when interface is not up
  ravb: avoid PHY being resumed when interface is not up
  net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290
  net: dsa: don't error out when drivers return ETH_DATA_LEN in .port_max_mtu()
  ice: xsk: disable txq irq before flushing hw
  veth: Fix use after free in XDP_REDIRECT
  net/mlx5: Set BREAK_FW_WAIT flag first when removing driver
  net/mlx5e: Fix cleanup null-ptr deref on encap lock
  net/mlx5: E-switch, Fix missing set of split_count when forward to ovs internal port
  net/mlx5: E-switch, Fix wrong usage of source port rewrite in split rules
  net/mlx5e: Support Geneve and GRE with VF tunnel offload
  net/mlx5: Disable eswitch before waiting for VF pages
  net/mlx5: Fix setting ec_function bit in MANAGE_PAGES
  net/mlx5e: Don't cache tunnel offloads capability
  net/mlx5e: Fix macsec ASO context alignment
  block: sunvdc: add check for mdesc_grab() returning NULL
  nvmet: avoid potential UAF in nvmet_req_complete()
  nvme: fix handling single range discard request
  block: null_blk: Fix handling of fake timeout request
  powerpc/mm: Fix false detection of read faults
  drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
  net: usb: smsc75xx: Limit packet length to skb->len
  net/smc: fix deadlock triggered by cancel_delayed_work_syn()
  mlxsw: spectrum: Fix incorrect parsing depth after reload
  nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
  tcp: Fix bind() conflict check for dual-stack wildcard address.
  net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
  net: tunnels: annotate lockless accesses to dev->needed_headroom
  loop: Fix use-after-free issues
  block: do not reverse request order when flushing plug list
  net: dsa: mt7530: set PLL frequency and trgmii only when trgmii is used
  net: dsa: mt7530: remove now incorrect comment regarding port 5
  qed/qed_dev: guard against a possible division by zero
  net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
  drm/i915/sseu: fix max_subslices array-index-out-of-bounds access
  drm/i915/psr: Use calculated io and fast wake lines
  PCI: s390: Fix use-after-free of PCI resources with per-function hotplug
  vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_ready
  vdpa_sim: not reset state in vdpasim_queue_ready
  vhost-vdpa: free iommu domain after last use during cleanup
  i40e: Fix kernel crash during reboot when adapter is in recovery mode
  ipvlan: Make skb->skb_iif track skb->dev for l3s mode
  nfc: pn533: initialize struct pn533_out_arg properly
  selftests: fix LLVM build for i386 and x86_64
  wifi: cfg80211: fix MLO connection ownership
  wifi: nl80211: fix NULL-ptr deref in offchan check
  vdpa/mlx5: should not activate virtq object when suspended
  tcp: tcp_make_synack() can be called from process context
  ftrace,kcfi: Define ftrace_stub_graph conditionally
  scsi: core: Fix a procfs host directory removal regression
  scsi: core: Add BLIST_NO_VPD_SIZE for some VDASD
  netfilter: nft_redir: correct value of inet type `.maxattrs`
  netfilter: nft_redir: correct length for loading protocol registers
  netfilter: nft_masq: correct length for loading protocol registers
  netfilter: nft_nat: correct length for loading protocol registers
  ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
  scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  scsi: mpi3mr: Return proper values for failures in firmware init path
  scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  scsi: mpi3mr: Fix config page DMA memory leak
  scsi: mpi3mr: Fix throttle_groups memory leak
  scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
  docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
  ASoC: SOF: ipc4-topology: set dmic dai index from copier
  ASOC: SOF: Intel: pci-tgl: Fix device description
  ASoC: SOF: Intel: SKL: Fix device description
  ASoC: SOF: Intel: HDA: Fix device description
  ASoC: SOF: Intel: MTL: Fix the device description
  clk: HI655X: select REGMAP instead of depending on it
  drm/meson: fix 1px pink line on GXM when scaling video overlay
  cifs: Move the in_send statistic to __smb_send_rqst()
  fbdev: chipsfb: Fix error codes in chipsfb_pci_init()
  drm/panfrost: Don't sync rpm suspension after mmu flushing
  drm/msm/gem: Prevent blocking within shrinker loop
  drm/virtio: Pass correct device to dma_sync_sgtable_for_device()
  xfrm: Allow transport-mode states with AF_UNSPEC selector

 Conflicts:
	Documentation/devicetree/bindings
	arch/arm64/gunyah/Makefile
	drivers/interconnect/qcom/icc-rpmh.c
	drivers/soc/qcom/llcc-qcom.c
	drivers/virt/Kconfig
	drivers/virt/gunyah/Kconfig
	drivers/virt/gunyah/Makefile

Change-Id: Iff2b0ada13463b9bd0093924a8baa22d0bf46888
Upstream-Build: ks_qcom-android14-6.1-keystone-qcom-release@9894404 UKQ2.230406.001
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2023-04-25 19:46:05 -07:00
Ming Qian
4dbfc3a024 FROMGIT: media: add RealVideo format RV30 and RV40
RealVideo, or also spelled as Real Video, is a suite of proprietary
video compression formats developed by RealNetworks -
the specific format changes with the version.
RealVideo codecs are identified by four-character codes.
RV30 and RV40 are RealNetworks' proprietary H.264-based codecs.

Bug: 279270030
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
(cherry picked from commit ec9aa62a1e4d151e9f14b7bda0b13438a901f904
    https://git.linuxtv.org/mchehab/media-next.git master)
Change-Id: I8388fb2764a25543a3b155e5ce65f8af3ac005e4
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
2023-04-24 10:45:38 +00:00
Ming Qian
61c48ea296 FROMGIT: media: add Sorenson Spark video format
Sorenson Spark is an implementation of H.263 for use
in Flash Video and Adobe Flash files.
Sorenson Spark is an incomplete implementation of H.263.
It differs mostly in header structure and ranges of the coefficients.

Bug: 279270030
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
(cherry picked from commit ae77d1391445f1357d888990c07b5288a4cacac5
    https://git.linuxtv.org/mchehab/media-next.git master)
Change-Id: I914e0a2bbbeaf9095be239844051a7919ffd2e02
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
2023-04-24 10:45:38 +00:00
Prakruthi Deepak Heragu
c606808724 gunyah: Rename the existing gunyah.h UAPI file to gunyah_deprecated.h
Use gunyah_deprecated.h file for vendor Gunyah drivers.

Change-Id: Ib65a54490c1caeeb17e79d27c5603f4c1a5de8a9
Signed-off-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
2023-04-20 09:46:50 -07:00
Will Deacon
4e45cae5e8 ANDROID: firmware/psci: Remove PSCI_1_1_FN64_MEM_PROTECT definition
The PSCI MEM_PROTECT function does not have a 64-bit function identifier,
so remove the unused definition which was erroneously left intact when
applying fe3157f328 ("ANDROID: KVM: arm64: Use 32-bit function ID for
PSCI MEM_PROTECT call").

Bug: 260316363
Cc: Quentin Perret <qperret@google.com>
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ica948b202bf01175b6ab0961307899d269649880
2023-04-19 12:58:27 +00:00
qctecmdr
96c702befb Merge "soc: qcom: hab: snapshot of HAB driver" 2023-04-04 16:20:29 -07:00
jianzhou
63bb445b95 Merge keystone/android14-6.1-keystone-qcom-release.6.1.20 (2be6a1c) into msm-pineapple
* refs/heads/tmp-2be6a1c:
  ANDROID: mm: add get_page_owner_handle function
  ANDROID: mm: add get_each_object_track function
  ANDROID: mm: Export get_slabinfo
  ANDROID: mm: Export page_ext_[get|put]
  ANDROID: mm: Export si_swapinfo
  ANDROID: mm: Export vmalloc_nr_pages
  ANDROID: mm: Export pcpu_nr_pages
  ANDROID: dma-buf: add dma_buf_get_each function
  ANDROID: abi_gki_aarch64_qcom: Update symbol list
  Revert "HID: core: Provide new max_buffer_size attribute to over-ride the default"
  Revert "HID: uhid: Over-ride the default maximum data buffer value with our own"
  Revert "ANDROID: sound: usb: Add vendor hooks for connect & disconnect"
  Revert "ANDROID: usb: host: export additional xhci symbols for ring management"
  Revert "ANDROID: sound: usb: Export symbols for endpoint management"
  ANDROID: abi_gki_aarch64_qcom: Sort list
  ANDROID: of: of_reserved_mem: Increase limit for reserved_mem regions
  ANDROID: update the db845c symbol list
  ANDROID: Update the .stg file due to internal io_uring changes
  Revert "netfilter: ctnetlink: make event listener tracking global"
  Revert "PCI: loongson: Prevent LS7A MRRS increases"
  Revert "PCI: loongson: Add more devices that need MRRS quirk"
  ANDROID: remove CONFIG_NET_CLS_TCINDEX from gki_defconfig
  ANDROID: GKI: Enable USB C DP alternate mode support
  ANDROID: abi_gki_aarch64_qcom: Add USB offload symbols
  ANDROID: sound: usb: Add vendor hooks for connect & disconnect
  ANDROID: sound: usb: Export symbols for endpoint management
  ANDROID: usb: host: export additional xhci symbols for ring management
  ANDROID: ABI: Update QCOM symbol list
  FROMGIT: f2fs: remove entire rb_entry sharing
  FROMGIT: f2fs: factor out discard_cmd usage from general rb_tree use
  FROMGIT: f2fs: factor out victim_entry usage from general rb_tree use
  UPSTREAM: loop: Fix use-after-free issues
  ANDROID: fuse-bpf: Correctly put backing files
  ANDROID: Revert "psi: allow unprivileged users with CAP_SYS_RESOURCE to write psi files"
  ANDROID: gic: Add vendor hook for gic-v3 resume
  ANDROID: abi_gki_aarch64_qcom: add system_freezable_power_efficient_wq
  ANDROID: GKI: arm64: Enable KMI strict mode
  ANDROID: GKI: QCOM: Remove stale symbols
  FROMGIT: usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
  Linux 6.1.20
  UML: define RUNTIME_DISCARD_EXIT
  Revert "bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES"
  filelocks: use mount idmapping for setlease permission check
  drm/amd/display: adjust MALL size available for DCN32 and DCN321
  drm/amd/display: Allow subvp on vactive pipes that are 2560x1440@60
  media: rc: gpio-ir-recv: add remove function
  media: ov5640: Fix analogue gain control
  scripts: handle BrokenPipeError for python scripts
  PCI: Add SolidRun vendor ID
  macintosh: windfarm: Use unsigned type for 1-bit bitfields
  alpha: fix R_ALPHA_LITERAL reloc for large modules
  powerpc/kcsan: Exclude udelay to prevent recursive instrumentation
  powerpc/64: Move paca allocation to early_setup()
  powerpc/64: Fix task_cpu in early boot when booting non-zero cpuid
  powerpc/bpf/32: Only set a stack frame when necessary
  clk: renesas: rcar-gen3: Disable R-Car H3 ES1.*
  powerpc/iommu: fix memory leak with using debugfs_lookup()
  powerpc/64: Don't recurse irq replay
  MIPS: Fix a compilation issue
  tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address
  watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths
  drm/msm/adreno: fix runtime PM imbalance at unbind
  adreno: Shutdown the GPU properly
  drm/amdgpu/soc21: Add video cap query support for VCN_4_0_4
  drm/amdgpu/soc21: don't expose AV1 if VCN0 is harvested
  ext4: Fix deadlock during directory rename
  drm/amdgpu: fix return value check in kfd
  RISC-V: Don't check text_mutex during stop_machine
  riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode
  erofs: Revert "erofs: fix kvcalloc() misuse with __GFP_NOFAIL"
  af_unix: fix struct pid leaks in OOB support
  net: dsa: mt7530: permit port 5 to work without port 6 on MT7621 SoC
  SUNRPC: Fix a server shutdown leak
  octeontx2-af: Unlock contexts in the queue context cache in case of fault detection
  net/smc: fix fallback failed while sendmsg with fastopen
  ethernet: ice: avoid gcc-9 integer overflow warning
  ice: Fix DSCP PFC TLV creation
  NFSD: Protect against filesystem freezing
  block: fix wrong mode for blkdev_put() from disk_scan_partitions()
  platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it
  platform: mellanox: select REGMAP instead of depending on it
  netfilter: conntrack: adopt safer max chain length
  scsi: sd: Fix wrong zone_write_granularity value during revalidate
  scsi: megaraid_sas: Update max supported LD IDs to 240
  net: tls: fix device-offloaded sendpage straddling records
  net: ethernet: mtk_eth_soc: fix RX data corruption issue
  net: phy: smsc: fix link up detection in forced irq mode
  btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR
  bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES
  btrfs: fix extent map logging bit not cleared for split maps after dropping range
  m68k: mm: Move initrd phys_to_virt handling after paging_init()
  netfilter: tproxy: fix deadlock due to missing BH disable
  netfilter: ctnetlink: revert to dumping mark regardless of event type
  bnxt_en: Avoid order-5 memory allocation for TPA data
  net: phylib: get rid of unnecessary locking
  net: stmmac: add to set device wake up flag when stmmac init phy
  drm/msm/dpu: clear DSPP reservations in rm release
  drm/msm/dpu: fix clocks settings for msm8998 SSPP blocks
  drm/msm/dpu: drop DPU_DIM_LAYER from MIXER_MSM8998_MASK
  drm/msm/dpu: fix len of sc7180 ctl blocks
  bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_parser()
  ice: copy last block omitted in ice_get_module_eeprom()
  net: caif: Fix use-after-free in cfusbl_device_notify()
  net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver
  perf stat: Fix counting when initial delay configured
  net: use indirect calls helpers for sk_exit_memory_pressure()
  net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
  netfilter: nft_quota: copy content when cloning expression
  netfilter: nft_last: copy content when cloning expression
  selftests: nft_nat: ensuring the listening side is up before starting the client
  net: lan966x: Fix port police support using tc-matchall
  ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
  drm/msm/dpu: disable features unsupported by QCM2290
  tls: rx: fix return value for async crypto
  powerpc: dts: t1040rdb: fix compatible string for Rev A boards
  nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
  bgmac: fix *initial* chip reset to support BCM5358
  drm/msm/a5xx: fix context faults during ring switch
  drm/msm/a5xx: fix the emptyness check in the preempt code
  drm/msm/a5xx: fix highest bank bit for a530
  drm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register
  drm/msm: Fix potential invalid ptr free
  drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype
  cifs: improve checking of DFS links over STATUS_OBJECT_NAME_INVALID
  ext4: Fix possible corruption when moving a directory
  scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
  riscv: Add header include guards to insn.h
  block: fix scan partition for exclusively open device again
  block: Revert "block: Do not reread partition table on exclusively open device"
  drm/i915: Populate encoder->devdata for DSI on icl+
  drm/i915: Do panel VBT init early if the VBT declares an explicit panel type
  drm/i915: Introduce intel_panel_init_alloc()
  spi: intel: Check number of chip selects after reading the descriptor
  ipmi:ssif: Add a timer between request retries
  ipmi:ssif: Increase the message retry time
  ipmi:ssif: Remove rtc_us_timer
  Input: exc3000 - properly stop timer on shutdown
  bus: mhi: ep: Change state_lock to mutex
  bus: mhi: ep: Power up/down MHI stack during MHI RESET
  udf: Fix off-by-one error when discarding preallocation
  fs: dlm: fix race setting stop tx flag
  fs: dlm: be sure to call dlm_send_queue_flush()
  fs: dlm: use WARN_ON_ONCE() instead of WARN_ON()
  fs: dlm: fix use after free in midcomms commit
  fd: dlm: trace send/recv of dlm message and rcom
  fs: dlm: use packet in dlm_mhandle
  fs: dlm: remove send repeat remove handling
  fs: dlm: start midcomms before scand
  fs: dlm: add midcomms init/start functions
  fs: dlm: fix log of lowcomms vs midcomms
  KVM: VMX: Do _all_ initialization before exposing /dev/kvm to userspace
  KVM: x86: Move guts of kvm_arch_init() to standalone helper
  KVM: VMX: Don't bother disabling eVMCS static key on module exit
  KVM: VMX: Reset eVMCS controls in VP assist page during hardware disabling
  nfc: change order inside nfc_se_io error path
  HID: uhid: Over-ride the default maximum data buffer value with our own
  HID: core: Provide new max_buffer_size attribute to over-ride the default
  ext4: zero i_disksize when initializing the bootloader inode
  ext4: fix WARNING in ext4_update_inline_data
  ext4: move where set the MAY_INLINE_DATA flag is set
  ext4: fix another off-by-one fsmap error on 1k block filesystems
  ext4: fix RENAME_WHITEOUT handling for inline directories
  ext4: fix cgroup writeback accounting with fs-layer encryption
  staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss()
  staging: rtl8723bs: Fix key-store index handling
  drm/connector: print max_requested_bpc in state debugfs
  drm/display: Don't block HDR_OUTPUT_METADATA on unknown EOTF
  drm/amdgpu: fix error checking in amdgpu_read_mm_registers for nv
  drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc21
  drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15
  x86/CPU/AMD: Disable XSAVES on AMD family 0x17
  RISC-V: Stop emitting attributes
  fork: allow CLONE_NEWTIME in clone3 flags
  perf inject: Fix --buildid-all not to eat up MMAP2
  erofs: fix wrong kunmap when using LZMA on HIGHMEM platforms
  io_uring/uring_cmd: ensure that device supports IOPOLL
  btrfs: fix percent calculation for bg reclaim message
  btrfs: fix unnecessary increment of read error stat on write error
  fs: prevent out-of-bounds array speculation when closing a file descriptor
  ANDROID: remove CONFIG_NET_CLS_TCINDEX from gki_defconfig
  ANDROID: abi_gki_aarch64_qcom: update symbol list
  ANDROID: further fix incorrectly submitted KMI update
  ANDROID: fix incorrectly submitted KMI update
  ANDROID: ABI: Update QCOM symbol list
  ANDROID: thermal: vendor hook to disable thermal cooling stats
  ANDROID: GKI: 3/15/2023 KMI update
  ANDROID: GKI: Enable MGLRU by default
  Revert "Revert "sched/psi: Stop relying on timer_pending() for poll_work rescheduling""
  ANDROID: update db845c symbol list
  UPSTREAM: scsi: ufs: core: Simplify ufshcd_execute_start_stop()
  UPSTREAM: scsi: ufs: core: Rely on the block layer for setting RQF_PM
  UPSTREAM: scsi: ufs: mcq: Fix incorrectly set queue depth
  UPSTREAM: scsi: ufs: ufs-mediatek: Guard power management functions with CONFIG_PM
  UPSTREAM: scsi: ufs: core: Initialize devfreq synchronously
  UPSTREAM: scsi: ufs: Make the TC G210 driver dependent on CONFIG_OF
  UPSTREAM: scsi: ufs: core: Fix an error handling path in ufshcd_read_desc_param()
  UPSTREAM: scsi: ufs: core: Fix kernel-doc syntax
  UPSTREAM: scsi: ufs: core: Add hibernation callbacks
  UPSTREAM: scsi: ufs: core: Limit DMA alignment check
  UPSTREAM: scsi: ufs: ufs-qcom: Clear qunipro_g4_sel for HW version major 5
  UPSTREAM: scsi: ufs: qcom: fix platform_msi_domain_free_irqs() reference
  UPSTREAM: scsi: core: Extend struct scsi_exec_args
  UPSTREAM: scsi: core: Remove scsi_execute_req()/scsi_execute() functions
  UPSTREAM: scsi: cxlflash: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: target: target_core_pscsi: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: virtio_scsi: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: sr: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: ses: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: zbc: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: sd: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: spi: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: core: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: scsi_dh: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: ch: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: hwmon: drivetemp: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: ata: libata-scsi: Convert to scsi_execute_cmd()
  UPSTREAM: scsi: core: Add struct for args to execution functions
  UPSTREAM: scsi: core: Fix the scsi_device_put() might_sleep annotation
  UPSTREAM: scsi: core: scsi_error: Do not queue pointless abort workqueue functions
  ANDROID: scsi: ufs: Enable CONFIG_SCSI_UFS_VARIABLE_SG_ENTRY_SIZE if encryption is enabled
  FROMGIT: scsi: ufs: core: Enable DMA clustering
  FROMGIT: scsi: ufs: exynos: Fix the maximum segment size
  FROMGIT: scsi: ufs: ufs: Remove duplicate entry
  FROMGIT: scsi: ufs: qcom: Add MCQ ESI config vendor specific ops
  FROMGIT: scsi: ufs: core: mcq: Add Event Specific Interrupt enable and config functions
  FROMGIT: scsi: ufs: core: Add Event Specific Interrupt configuration vendor specific ops
  FROMGIT: scsi: ufs: core: mcq: Enable multi-circular queue
  FROMGIT: scsi: ufs: core: mcq: Add completion support in poll
  FROMGIT: scsi: ufs: mcq: Add completion support of a CQE
  FROMGIT: scsi: ufs: core: Prepare for completion in MCQ
  FROMGIT: scsi: ufs: core: mcq: Find hardware queue to queue request
  FROMGIT: scsi: ufs: core: Prepare ufshcd_send_command() for MCQ
  FROMGIT: scsi: ufs: core: mcq: Use shared tags for MCQ mode
  FROMGIT: scsi: ufs: core: mcq: Configure operation and runtime interface
  FROMGIT: scsi: ufs: core: mcq: Allocate memory for MCQ mode
  FROMGIT: scsi: ufs: core: mcq: Calculate queue depth
  FROMGIT: scsi: ufs: core: mcq: Configure resource regions
  FROMGIT: scsi: ufs: core: mcq: Add support to allocate multiple queues
  FROMGIT: scsi: ufs: core: Defer adding host to SCSI if MCQ is supported
  FROMGIT: scsi: ufs: core: Introduce multi-circular queue capability
  FROMGIT: scsi: ufs: core: Probe for EXT_IID support
  FROMGIT: scsi: core: Fix invisible definition compilation warning
  FROMGIT: scsi: ufs: core: bsg: Fix sometimes-uninitialized warnings
  FROMGIT: scsi: ufs: ufs-qcom: Add support for finding max gear on new platforms
  FROMGIT: scsi: ufs: ufs-qcom: Add support for reinitializing the UFS device
  FROMGIT: scsi: ufs: ufs-qcom: Factor out the logic finding the HS Gear
  FROMGIT: scsi: ufs: core: Add reinit_notify() callback
  FROMGIT: scsi: ufs: ufs-qcom: Fix the Qcom register name for offset 0xD0
  FROMGIT: scsi: ufs: ufs-qcom: Use dev_err_probe() for printing probe error
  FROMGIT: scsi: ufs: ufs-qcom: Use bitfields where appropriate
  FROMGIT: scsi: ufs: ufs-qcom: Remove unnecessary WARN_ON()
  FROMGIT: scsi: ufs: ufs-qcom: Remove unnecessary goto statements
  FROMGIT: scsi: ufs: ufs-unisoc: Add support for Unisoc UFS host controller
  FROMGIT: scsi: ufs: core: Remove ufshcd_map_desc_id_to_length()
  FROMGIT: scsi: ufs: core: Remove len parameter from ufshcd_set_active_icc_lvl()
  FROMGIT: scsi: ufs: core: Remove redundant desc_size variable from hba
  FROMGIT: scsi: ufs: core: Remove redundant wb check
  FROMGIT: scsi: ufs: core: Allow UFS host drivers to override the sg entry size
  FROMGIT: scsi: ufs: core: Pass the clock scaling timeout as an argument
  FROMGIT: scsi: ufs: core: Reduce the clock scaling latency
  FROMGIT: scsi: ufs: ufs-qcom: Use dev_err() where possible
  FROMGIT: scsi: ufs: ufs-qcom: Remove usage of dbg_print_en
  FROMGIT: scsi: ufs: ufs-qcom: Clean up dbg_register_dump
  FROMGIT: scsi: ufs: ufs-qcom: Drop unnecessary NULL checks
  FROMGIT: scsi: ufs: core: bsg: Add advanced RPMB support in ufs_bsg
  FROMGIT: scsi: ufs: core: Pass EHS length into ufshcd_prepare_req_desc_hdr()
  FROMGIT: scsi: ufs: core: Advanced RPMB detection
  FROMGIT: scsi: ufs: core: Remove check_upiu_size() from ufshcd.h
  FROMGIT: scsi: ufs: Fix a deadlock between PM and the SCSI error handler
  FROMGIT: scsi: ufs: Track system suspend / resume activity
  FROMGIT: scsi: core: Support failing requests while recovering
  FROMGIT: scsi: core: Change the return type of .eh_timed_out()
  ANDROID: Disable AF_RXRPC for allmodconfig.
  UPSTREAM: arm64: pass ESR_ELx to die() of cfi_handler
  UPSTREAM: block: Fix the blk_mq_destroy_queue() documentation
  ANDROID: KVM: arm64: pKVM module loading before deprivilege
  ANDROID: KVM: arm64: Move pKVM host deprivilege to device_initcall
  ANDROID: KVM: arm64: Cleanup useless declarations
  ANDROID: CONFIG_MODPROBE_PATH to toolbox's modprobe
  ANDROID: ABI: update symbol list for galaxy
  ANDROID: arm64: add vendor hooks for unusal abort cases
  ANDROID: arm64: add vendor hooks for kernel fault cases
  ANDROID: power: add vendor hooks for try_to_freeze fail
  ANDROID: softlockup: add vendor hook for a softlockup task
  ANDROID: bug: add vendor hook for bug trap
  ANDROID: update abi definition due to io_uring changes.
  UPSTREAM: Revert "blk-cgroup: dropping parent refcount after pd_free_fn() is done"
  UPSTREAM: Revert "blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()"
  Revert "kobject: modify kobject_get_path() to take a const *"
  Revert "wait: Return number of exclusive waiters awaken"
  Revert "sbitmap: Use single per-bitmap counting to wake up queued tags"
  Revert "sbitmap: correct wake_batch recalculation to avoid potential IO hung"
  Revert "sbitmap: Advance the queue index before waking up a queue"
  Revert "sbitmap: Try each queue to wake up at least one waiter"
  Revert "HID: retain initial quirks set up when creating HID devices"
  ANDROID: abi_gki_aarch64_qcom: Add vma apis
  ANDROID: KVM: arm64: Move hyp events in a hyp/ folder
  ANDROID: KVM: arm64: Allow single char for hyp tracing interface
  ANDROID: KVM: arm64: Hyp tracing polling to 100ms
  ANDROID: KVM: arm64: Fix nVHE enter/exit events
  ANDROID: KVM: arm64: Handle pipe buffer overflow for hyp tracing
  ANDROID: KVM: arm64: Flush hyp trace pipe when tracing stops
  ANDROID: ring-buffer: Fix ring_buffer_read_page for external writers
  ANDROID: KVM: arm64: Add trace_clock for nVHE tracing
  ANDROID: KVM: arm64: Add common "trace_pipe" file for hyp tracing
  ANDROID: KVM: arm64: Allow to reset hyp trace buffers
  ANDROID: KVM: arm64: Add common "trace" file for hyp tracing
  ANDROID: KVM: arm64: Add __pkvm_enable_tracing
  ANDROID: KVM: arm64: Empty buffer support for hyp tracing trace file
  ANDROID: KVM: arm64: Rename nVHE hyp event ELF sections
  Linux 6.1.19
  staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh
  staging: rtl8192e: Remove function ..dm_check_ac_dc_power calling a script
  wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"
  tpm: disable hwrng for fTPM on some AMD designs
  Linux 6.1.18
  usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
  arm64: Reset KASAN tag in copy_highpage with HW tags only
  arm64: mte: Fix/clarify the PG_mte_tagged semantics
  arm64: efi: Make efi_rt_lock a raw_spinlock
  io_uring/poll: allow some retries for poll triggering spuriously
  io_uring: fix two assignments in if conditions
  media: uvcvideo: Fix race condition with usb_kill_urb
  drm/i915: Fix system suspend without fbdev being initialized
  drm/i915/dp_mst: Add the MST topology state for modesetted CRTCs
  drm/display/dp_mst: Fix payload addition on a disconnected sink
  drm/display/dp_mst: Fix down message handling after a packet reception error
  drm/display/dp_mst: Fix down/up message handling after sink disconnect
  drm/display/dp_mst: Add drm_atomic_get_old_mst_topology_state()
  vDPA/ifcvf: allocate the adapter in dev_add()
  vDPA/ifcvf: manage ifcvf_hw in the mgmt_dev
  vDPA/ifcvf: ifcvf_request_irq works on ifcvf_hw
  vDPA/ifcvf: decouple config/dev IRQ requester and vectors allocator from the adapter
  vDPA/ifcvf: decouple vq irq requester from the adapter
  vDPA/ifcvf: decouple config IRQ releaser from the adapter
  vDPA/ifcvf: decouple vq IRQ releasers from the adapter
  vDPA/ifcvf: alloc the mgmt_dev before the adapter
  vDPA/ifcvf: decouple config space ops from the adapter
  vDPA/ifcvf: decouple hw features manipulators from the adapter
  x86/resctl: fix scheduler confusion with 'current'
  net: tls: avoid hanging tasks on the tx_lock
  soundwire: cadence: Drain the RX FIFO after an IO timeout
  soundwire: cadence: Remove wasted space in response_buf
  iommu: Attach device group to old domain in error path
  RDMA/cma: Distinguish between sockaddr_in and sockaddr_in6 by size
  phy: rockchip-typec: Fix unsigned comparison with less than zero
  PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
  PCI: Add ACS quirk for Wangxun NICs
  PCI: loongson: Add more devices that need MRRS quirk
  kernel/fail_function: fix memory leak with using debugfs_lookup()
  drivers: base: dd: fix memory leak with using debugfs_lookup()
  drivers: base: component: fix memory leak with using debugfs_lookup()
  misc: vmw_balloon: fix memory leak with using debugfs_lookup()
  tty: pcn_uart: fix memory leak with using debugfs_lookup()
  PCI: Distribute available resources for root buses, too
  PCI: Take other bus devices into account when distributing resources
  PCI: Align extra resources for hotplug bridges properly
  usb: gadget: uvc: Make bSourceID read/write
  usb: uvc: Enumerate valid values for color matching
  USB: ene_usb6250: Allocate enough memory for full object
  usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math
  USB: gadget: pxa27x_udc: fix memory leak with using debugfs_lookup()
  USB: gadget: pxa25x_udc: fix memory leak with using debugfs_lookup()
  USB: gadget: lpc32xx_udc: fix memory leak with using debugfs_lookup()
  USB: gadget: bcm63xx_udc: fix memory leak with using debugfs_lookup()
  USB: gadget: gr_udc: fix memory leak with using debugfs_lookup()
  USB: isp1362: fix memory leak with using debugfs_lookup()
  USB: isp116x: fix memory leak with using debugfs_lookup()
  USB: fotg210: fix memory leak with using debugfs_lookup()
  USB: sl811: fix memory leak with using debugfs_lookup()
  USB: uhci: fix memory leak with using debugfs_lookup()
  USB: ULPI: fix memory leak with using debugfs_lookup()
  USB: chipidea: fix memory leak with using debugfs_lookup()
  USB: dwc3: fix memory leak with using debugfs_lookup()
  staging: pi433: fix memory leak with using debugfs_lookup()
  PCI: loongson: Prevent LS7A MRRS increases
  soundwire: bus_type: Avoid lockdep assert in sdw_drv_probe()
  media: uvcvideo: Add GUID for BGRA/X 8:8:8:8
  iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word()
  iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word()
  bus: mhi: ep: Fix the debug message for MHI_PKT_TYPE_RESET_CHAN_CMD cmd
  tools/iio/iio_utils:fix memory leak
  mei: bus-fixup:upon error print return values of send and receive
  serial: sc16is7xx: setup GPIO controller later in probe
  tty: serial: fsl_lpuart: disable the CTS when send break signal
  tty: fix out-of-bounds access in tty_driver_lookup_tty()
  staging: emxx_udc: Add checks for dma_alloc_coherent()
  cacheinfo: Fix shared_cpu_map to handle shared caches at different levels
  USB: fix memory leak with using debugfs_lookup()
  media: uvcvideo: Silence memcpy() run-time false positive warnings
  media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910
  media: uvcvideo: Handle errors from calls to usb_string
  media: uvcvideo: Handle cameras with invalid descriptors
  media: uvcvideo: Remove format descriptions
  PCI/ACPI: Account for _S0W of the target bridge in acpi_pci_bridge_d3()
  iommu/amd: Fix error handling for pdev_pri_ats_enable()
  IB/hfi1: Update RMT size calculation
  mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
  bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support
  firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
  kernel/printk/index.c: fix memory leak with using debugfs_lookup()
  tracing: Add NULL checks for buffer in ring_buffer_free_read_page()
  thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
  thermal: intel: quark_dts: fix error pointer dereference
  ASoC: mediatek: mt8195: add missing initialization
  ASoC: zl38060 add gpiolib dependency
  nvme-fabrics: show well known discovery name
  nvme-tcp: don't access released socket during error recovery
  nvme: bring back auto-removal of deleted namespaces during sequential scan
  ASoC: apple: mca: Improve handling of unavailable DMA channels
  ASoC: apple: mca: Fix SERDES reset sequence
  ASoC: apple: mca: Fix final status read on SERDES reset
  ASoC: adau7118: don't disable regulators on device unbind
  loop: loop_set_status_from_info() check before assignment
  io_uring: fix size calculation when registering buf ring
  rtc: allow rtc_read_alarm without read_alarm callback
  scsi: mpi3mr: Use number of bits to manage bitmap sizes
  scsi: mpi3mr: Fix an issue found by KASAN
  scsi: ipr: Work around fortify-string warning
  genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask()
  rtc: sun6i: Always export the internal oscillator
  spi: tegra210-quad: Fix iterator outside loop
  vc_screen: modify vcs_size() handling in vcs_read()
  tcp: tcp_check_req() can be called from process context
  ARM: dts: spear320-hmi: correct STMPE GPIO compatible
  net: dsa: felix: fix internal MDIO controller resource length
  net: dsa: seville: ignore mscc-miim read errors from Lynx PCS
  net/sched: act_sample: fix action bind logic
  net/sched: act_mpls: fix action bind logic
  net/sched: act_pedit: fix action bind logic
  net/sched: transition act_pedit to rcu and percpu stats
  nfc: fix memory leak of se_io context in nfc_genl_se_io
  ext4: fix incorrect options show of original mount_opt and extend mount_opt2
  net/mlx5: Geneve, Fix handling of Geneve object id as error code
  net/mlx5e: Verify flow_source cap before using it
  net/mlx5: ECPF, wait for VF pages only after disabling host PFs
  mlx5: fix possible ptp queue fifo use-after-free
  mlx5: fix skb leak while fifo resync and push
  spi: tegra210-quad: Fix validate combined sequence
  9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
  9p/xen: fix connection sequence
  9p/xen: fix version parsing
  net: fix __dev_kfree_skb_any() vs drop monitor
  octeontx2-pf: Use correct struct reference in test condition
  sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop
  net: sunhme: Fix region request
  octeontx2-pf: Recalculate UDP checksum for ptp 1-step sync packet
  ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
  drm/i915: move a Kconfig symbol to unbreak the menu presentation
  ptp: vclock: use mutex to fix "sleep on atomic" bug
  netfilter: x_tables: fix percpu counter block leak on error path when creating new netns
  netfilter: ctnetlink: make event listener tracking global
  netfilter: xt_length: use skb len to match in length_mt6
  netfilter: ebtables: fix table blob use-after-free
  netfilter: ip6t_rpfilter: Fix regression with VRF interfaces
  netfilter: conntrack: fix rmmod double-free race
  netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()
  watchdog: sbsa_wdog: Make sure the timeout programming is within the limits
  watchdog: pcwd_usb: Fix attempting to access uninitialized memory
  watchdog: Fix kmemleak in watchdog_cdev_register
  watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path
  watchdog: rzg2l_wdt: Handle TYPE-B reset for RZ/V2M
  watchdog: rzg2l_wdt: Issue a reset before we put the PM clocks
  f2fs: synchronize atomic write aborts
  um: virt-pci: properly remove PCI device from bus
  um: virtio_uml: move device breaking into workqueue
  um: virtio_uml: mark device as unregistered when breaking it
  um: virtio_uml: free command if adding to virtqueue failed
  x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
  netfilter: nf_tables: allow to fetch set elements when table has an owner
  ext4: don't show commit interval if it is zero
  ext4: use ext4_fc_tl_mem in fast-commit replay path
  soc: qcom: stats: Populate all subsystem debugfs files
  f2fs: fix to avoid potential memory corruption in __update_iostat_latency()
  ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed
  ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
  ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmap
  ubifs: ubifs_releasepage: Remove ubifs_assert(0) to valid this process
  ubifs: ubifs_writepage: Mark page dirty after writing inode failed
  ubifs: dirty_cow_znode: Fix memleak in error handling path
  ubifs: Re-statistic cleaned znode count if commit failed
  ubi: Fix possible null-ptr-deref in ubi_free_volume()
  ubifs: Fix memory leak in alloc_wbufs()
  ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()
  ubi: Fix use-after-free when volume resizing failed
  ubifs: Reserve one leb for each journal head while doing budget
  ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
  ubifs: Fix wrong dirty space budget for dirty inode
  ubifs: Rectify space budget for ubifs_xrename()
  ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted
  ubifs: Fix memory leak in ubifs_sysfs_init()
  ubifs: Fix build errors as symbol undefined
  ubi: ensure that VID header offset + VID header size <= alloc, size
  um: vector: Fix memory leak in vector_config
  f2fs: fix to abort atomic write only during do_exist()
  f2fs: allow set compression option of files without blocks
  fs: f2fs: initialize fsdata in pagecache_write()
  soc: mediatek: mtk-svs: Use pm_runtime_resume_and_get() in svs_init01()
  soc: mediatek: mtk-svs: reset svs when svs_resume() fail
  soc: mediatek: mtk-svs: restore default voltages when svs_init02() fail
  f2fs: clear atomic_write_task in f2fs_abort_atomic_write()
  f2fs: correct i_size change for atomic writes
  f2fs: introduce trace_f2fs_replace_atomic_write_block
  pwm: stm32-lp: fix the check on arr and cmp registers update
  pwm: sifive: Always let the first pwm_apply_state succeed
  soc: mediatek: mtk-svs: Enable the IRQ later
  memory: renesas-rpc-if: Move resource acquisition to .probe()
  memory: renesas-rpc-if: Split-off private data from struct rpcif
  soc: mediatek: mtk-pm-domains: Allow mt8186 ADSP default power on
  objtool: Fix memory leak in create_static_call_sections()
  f2fs: fix to avoid potential deadlock
  f2fs: don't rely on F2FS_MAP_* in f2fs_iomap_begin
  driver: soc: xilinx: fix memory leak in xlnx_add_cb_for_notify_event()
  fs/jfs: fix shift exponent db_agl2size negative
  auxdisplay: hd44780: Fix potential memory leak in hd44780_remove()
  net/sched: Retire tcindex classifier
  Linux 6.1.17
  Revert "blk-cgroup: dropping parent refcount after pd_free_fn() is done"
  Revert "blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()"
  ANDROID: ABI: update symbol list for galaxy
  ANDROID: Re-apply vendor hooks for information of blocked tasks
  ANDROID: ABI: Add missing symbols to QCOM list
  Linux 6.1.16
  net: avoid double iput when sock_alloc_file fails
  kbuild: Port silent mode detection to future gnu make.
  sbitmap: Try each queue to wake up at least one waiter
  wait: Return number of exclusive waiters awaken
  sbitmap: Advance the queue index before waking up a queue
  brd: use radix_tree_maybe_preload instead of radix_tree_preload
  qede: avoid uninitialized entries in coal_entry array
  drm/edid: fix parsing of 3D modes from HDMI VSDB
  drm/edid: fix AVI infoframe aspect ratio handling
  drm/gud: Fix UBSAN warning
  drm/i915: Don't use BAR mappings for ring buffers with LLC
  drm/i915: Don't use stolen memory for ring buffers with LLC
  drm/radeon: Fix eDP for single-display iMac11,2
  drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
  drm/amd: Fix initialization for nbio 7.5.1
  vfio/type1: restore locked_vm
  vfio/type1: track locked_vm per dma
  vfio/type1: prevent underflow of locked_vm via exec()
  vfio/type1: exclude mdevs from VFIO_UPDATE_VADDR
  iommu/vt-d: Fix PASID directory pointer coherency
  iommu/vt-d: Avoid superfluous IOTLB tracking in lazy mode
  bus: mhi: ep: Save channel state locally during suspend and resume
  bus: mhi: ep: Move chan->lock to the start of processing queued ch ring
  bus: mhi: ep: Only send -ENOTCONN status if client driver is available
  PCI/DPC: Await readiness of secondary bus after reset
  PCI: Avoid FLR for AMD FCH AHCI adapters
  PCI: hotplug: Allow marking devices as disconnected during bind/unbind
  PCI: Unify delay handling for reset and resume
  PCI/PM: Observe reset delay irrespective of bridge_d3
  MIPS: DTS: CI20: fix otg power gpio
  riscv: ftrace: Reduce the detour code size to half
  riscv: ftrace: Remove wasted nops for !RISCV_ISA_C
  riscv, mm: Perform BPF exhandler fixup on page fault
  riscv: jump_label: Fixup unaligned arch_static_branch function
  riscv: mm: fix regression due to update_mmu_cache change
  riscv: Avoid enabling interrupts in die()
  RISC-V: add a spin_shadow_stack declaration
  scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
  scsi: ses: Fix possible desc_ptr out-of-bounds accesses
  scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
  scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
  scsi: ses: Don't attach if enclosure has no components
  scsi: qla2xxx: Remove increment of interface err cnt
  scsi: qla2xxx: Fix erroneous link down
  scsi: qla2xxx: Remove unintended flag clearing
  scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
  scsi: qla2xxx: Check if port is online before sending ELS
  scsi: qla2xxx: Fix link failure in NPIV environment
  scsi: aacraid: Allocate cmd_priv with scsicmd
  iommu/amd: Improve page fault error reporting
  iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
  tracing/eprobe: Fix to add filter on eprobe description in README file
  tools/bootconfig: fix single & used for logical condition
  ring-buffer: Handle race between rb_move_tail and rb_check_pages
  memory tier: release the new_memtier in find_create_memory_tier()
  ktest.pl: Add RUN_TIMEOUT option with default unlimited
  ktest.pl: Fix missing "end_monitor" when machine check fails
  kprobes: Fix to handle forcibly unoptimized kprobes on freeing_list
  ktest.pl: Give back console on Ctrt^C on monitor
  mm/thp: check and bail out if page in deferred queue already
  mm: memcontrol: deprecate charge moving
  docs: gdbmacros: print newest record
  remoteproc/mtk_scp: Move clk ops outside send_lock
  media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
  mips: fix syscall_get_nr
  dax/kmem: Fix leak of memory-hotplug resources
  alpha: fix FEN fault handling
  mm/hwpoison: convert TTU_IGNORE_HWPOISON to TTU_HWPOISON
  panic: fix the panic_print NMI backtrace setting
  regulator: core: Use ktime_get_boottime() to determine how long a regulator was off
  ceph: update the time stamps and try to drop the suid/sgid
  rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
  fuse: add inode/permission checks to fileattr_get/fileattr_set
  arm64: mm: hugetlb: Disable HUGETLB_PAGE_OPTIMIZE_VMEMMAP
  ARM: dts: exynos: correct TMU phandle in Odroid HC1
  ARM: dts: exynos: correct TMU phandle in Odroid XU
  ARM: dts: exynos: correct TMU phandle in Exynos5250
  ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
  ARM: dts: exynos: correct TMU phandle in Exynos4
  ARM: dts: exynos: correct TMU phandle in Exynos4210
  ARM: dts: qcom: sdx55: Add Qcom SMMU-500 as the fallback for IOMMU node
  ARM: dts: qcom: sdx65: Add Qcom SMMU-500 as the fallback for IOMMU node
  hwmon: (nct6775) Fix incorrect parenthesization in nct6775_write_fan_div()
  hwmon: (peci/cputemp) Fix off-by-one in coretemp_label allocation
  dm flakey: fix a bug with 32-bit highmem systems
  dm flakey: don't corrupt the zero page
  dm cache: free background tracker's queued work in btracker_destroy
  dm flakey: fix logic when corrupting a bio
  thermal: intel: powerclamp: Fix cur_state for multi package system
  qede: fix interrupt coalescing configuration
  cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies
  wifi: cfg80211: Set SSID if it is not already set
  wifi: cfg80211: Fix use after free for wext
  wifi: ath11k: allow system suspend to survive ath11k
  wifi: rtl8xxxu: Use a longer retry limit of 48
  wifi: rtw88: use RTW_FLAG_POWERON flag to prevent to power on/off twice
  dm: add cond_resched() to dm_wq_requeue_work()
  dm: add cond_resched() to dm_wq_work()
  dm: send just one event on resize, not two
  mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
  mtd: spi-nor: spansion: Consider reserved bits in CFR5 register
  mtd: spi-nor: sfdp: Fix index value for SCCR dwords
  cxl/pmem: Fix nvdimm registration races
  ext4: refuse to create ea block when umounted
  ext4: optimize ea_inode block expansion
  jbd2: fix data missing when reusing bh which is ready to be checkpointed
  ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
  ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
  mm/damon/paddr: fix missing folio_put()
  crypto: qat - fix out-of-bounds read
  irqdomain: Fix domain registration race
  irqdomain: Fix mapping-creation race
  irqdomain: Refactor __irq_domain_alloc_irqs()
  irqdomain: Drop bogus fwspec-mapping error handling
  irqdomain: Look for existing mapping only once
  irqdomain: Fix disassociation race
  irqdomain: Fix association race
  selftests: seccomp: Fix incorrect kernel headers search path
  selftests: vm: Fix incorrect kernel headers search path
  selftests: dmabuf-heaps: Fix incorrect kernel headers search path
  selftests: drivers: Fix incorrect kernel headers search path
  selftests: futex: Fix incorrect kernel headers search path
  selftests: ipc: Fix incorrect kernel headers search path
  selftests: perf_events: Fix incorrect kernel headers search path
  selftests: mount_setattr: Fix incorrect kernel headers search path
  selftests: move_mount_set_group: Fix incorrect kernel headers search path
  selftests: rseq: Fix incorrect kernel headers search path
  selftests: sync: Fix incorrect kernel headers search path
  selftests: ptp: Fix incorrect kernel headers search path
  selftests: user_events: Fix incorrect kernel headers search path
  selftests: filesystems: Fix incorrect kernel headers search path
  selftests: gpio: Fix incorrect kernel headers search path
  selftests: media_tests: Fix incorrect kernel headers search path
  selftests: kcmp: Fix incorrect kernel headers search path
  selftests: membarrier: Fix incorrect kernel headers search path
  selftests: pidfd: Fix incorrect kernel headers search path
  selftests: clone3: Fix incorrect kernel headers search path
  selftests: arm64: Fix incorrect kernel headers search path
  selftests: pid_namespace: Fix incorrect kernel headers search path
  selftests: core: Fix incorrect kernel headers search path
  selftests: sched: Fix incorrect kernel headers search path
  selftests/ftrace: Fix eprobe syntax test case to check filter support
  selftests/powerpc: Fix incorrect kernel headers search path
  ima: Align ima_file_mmap() parameters with mmap_file LSM hook
  ima: fix error handling logic when file measurement failed
  brd: check for REQ_NOWAIT and set correct page allocation mask
  brd: return 0/-error from brd_insert_page()
  brd: mark as nowait compatible
  virt/sev-guest: Return -EIO if certificate buffer is not large enough
  Documentation/hw-vuln: Document the interaction between IBRS and STIBP
  x86/speculation: Allow enabling STIBP with legacy IBRS
  x86/microcode/AMD: Fix mixed steppings support
  x86/microcode/AMD: Add a @cpu parameter to the reloading functions
  x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
  x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
  x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
  x86/reboot: Disable SVM, not just VMX, when stopping CPUs
  x86/reboot: Disable virtualization in an emergency if SVM is supported
  x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
  x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
  selftests: x86: Fix incorrect kernel headers search path
  KVM: SVM: hyper-v: placate modpost section mismatch error
  KVM: SVM: Fix potential overflow in SEV's send|receive_update_data()
  KVM: x86: Inject #GP on x2APIC WRMSR that sets reserved bits 63:32
  KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI
  KVM: SVM: Don't put/load AVIC when setting virtual APIC mode
  KVM: SVM: Process ICR on AVIC IPI delivery failure due to invalid target
  KVM: SVM: Flush the "current" TLB when activating AVIC
  KVM: x86: Don't inhibit APICv/AVIC if xAPIC ID mismatch is due to 32-bit ID
  KVM: x86: Don't inhibit APICv/AVIC on xAPIC ID "change" if APIC is disabled
  KVM: x86: Blindly get current x2APIC reg value on "nodecode write" traps
  KVM: x86: Purge "highest ISR" cache when updating APICv state
  KVM: Register /dev/kvm as the _very_ last thing during initialization
  KVM: VMX: Fix crash due to uninitialized current_vmcs
  KVM: Destroy target device if coalesced MMIO unregistration fails
  RDMA/siw: Fix user page pinning accounting
  md: don't update recovery_cp when curr_resync is ACTIVE
  udf: Fix file corruption when appending just after end of preallocated extent
  udf: Detect system inodes linked into directory hierarchy
  udf: Preserve link count of system files
  udf: Do not update file length for failed writes to inline files
  udf: Do not bother merging very long extents
  udf: Truncate added extents on failed expansion
  selftests/landlock: Test ptrace as much as possible with Yama
  selftests/landlock: Skip overlayfs tests when not supported
  fs/cramfs/inode.c: initialize file_ra_state
  ocfs2: fix non-auto defrag path not working issue
  ocfs2: fix defrag path triggering jbd2 ASSERT
  f2fs: fix kernel crash due to null io->bio
  f2fs: fix cgroup writeback accounting with fs-layer encryption
  f2fs: retry to update the inode page given data corruption
  f2fs: fix information leak in f2fs_move_inline_dirents()
  fs: dlm: send FIN ack back in right cases
  fs: dlm: move sending fin message into state change handling
  fs: dlm: don't set stop rx flag after node reset
  exfat: fix inode->i_blocks for non-512 byte sector size device
  exfat: redefine DIR_DELETED as the bad cluster number
  exfat: fix unexpected EOF while reading dir
  exfat: fix reporting fs error when reading dir beyond EOF
  fs: hfsplus: fix UAF issue in hfsplus_put_super
  hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
  io_uring: mark task TASK_RUNNING before handling resume/task work
  ARM: dts: exynos: correct HDMI phy compatible in Exynos4
  torture: Fix hang during kthread shutdown phase
  ksmbd: fix possible memory leak in smb2_lock()
  ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length
  ksmbd: fix wrong data area length for smb2 lock request
  locking/rwsem: Prevent non-first waiter from spinning in down_write() slowpath
  btrfs: hold block group refcount during async discard
  scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  cifs: return a single-use cfid if we did not get a lease
  cifs: Check the lease context if we actually got a lease
  cifs: don't try to use rdma offload on encrypted connections
  cifs: split out smb3_use_rdma_offload() helper
  cifs: introduce cifs_io_parms in smb2_async_writev()
  cifs: fix mount on old smb servers
  cifs: Fix uninitialized memory reads for oparms.mode
  cifs: Fix uninitialized memory read in smb3_qfs_tcon()
  KVM: s390: disable migration mode when dirty tracking is disabled
  s390/kprobes: fix current_kprobe never cleared after kprobes reenter
  s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
  s390: discard .interp section
  s390/extmem: return correct segment type in __segment_load()
  io_uring: fix fget leak when fs don't support nowait buffered read
  io_uring: remove MSG_NOSIGNAL from recvmsg
  io_uring/rsrc: disallow multi-source reg buffers
  io_uring: add reschedule point to handle_tw_list()
  io_uring: add a conditional reschedule to the IOPOLL cancelation loop
  io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
  io_uring: use user visible tail in io_uring_poll()
  io_uring: Replace 0-length array with flexible array
  ipmi_ssif: Rename idle state and check
  ipmi:ssif: resend_msg() cannot fail
  ipmi: ipmb: Fix the MODULE_PARM_DESC associated to 'retry_time_ms'
  rtc: pm8xxx: fix set-alarm race
  block: be a bit more careful in checking for NULL bdev while polling
  block: clear bio->bi_bdev when putting a bio back in the cache
  block: don't allow multiple bios for IOCB_NOWAIT issue
  firmware: coreboot: framebuffer: Ignore reserved pixel color bits
  scsi: mpt3sas: Remove usage of dma_get_required_mask() API
  wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
  driver core: fw_devlink: Avoid spurious error message
  drm/shmem-helper: Revert accidental non-GPL export
  cifs: prevent data race in smb2_reconnect()
  nfsd: don't hand out delegation on setuid files being opened for write
  nfsd: zero out pointers after putting nfsd_files on COPY setup error
  dm cache: add cond_resched() to various workqueue loops
  dm thin: add cond_resched() to various workqueue loops
  drm/amd/display: Disable HUBP/DPP PG on DCN314 for now
  drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
  drm/amd/display: Enable P-state validation checks for DCN314
  HID: logitech-hidpp: Don't restart communication if not necessary
  scsi: ufs: core: Fix device management cmd timeout flow
  scsi: snic: Fix memory leak with using debugfs_lookup()
  drm/amd/display: Do not commit pipe when updating DRR
  pinctrl: at91: use devm_kasprintf() to avoid potential leaks
  hwmon: (nct6775) B650/B660/X670 ASUS boards support
  hwmon: (nct6775) Directly call ASUS ACPI WMI method
  hwmon: (coretemp) Simplify platform device handling
  gfs2: Improve gfs2_make_fs_rw error handling
  drm/amd/display: fix FCLK pstate change underflow
  Revert "drm/amdgpu: TA unload messages are not actually sent to psp when amdgpu is uninstalled"
  regulator: s5m8767: Bounds check id indexing into arrays
  regulator: max77802: Bounds check regulator id against opmode
  ASoC: kirkwood: Iterate over array indexes instead of using pointer math
  ASoC: soc-compress: Reposition and add pcm_mutex
  drm/msm/dpu: Add DSC hardware blocks to register snapshot
  docs/scripts/gdb: add necessary make scripts_gdb step
  habanalabs: fix bug in timestamps registration code
  habanalabs: extend fatal messages to contain PCI info
  drm/amd/display: Set hvm_enabled flag for S/G mode
  drm/drm_print: correct format problem
  drm: rcar-du: Fix setting a reserved bit in DPLLCR
  drm: rcar-du: Add quirk for H3 ES1.x pclk workaround
  drm/msm/dsi: Add missing check for alloc_ordered_workqueue
  HID: uclogic: Add support for XP-PEN Deco Pro MW
  HID: uclogic: Add support for XP-PEN Deco Pro SW
  HID: uclogic: Add battery quirk
  HID: uclogic: Add frame type quirk
  drm/amd/display: fix mapping to non-allocated address
  drm: amd: display: Fix memory leakage
  drm/amd: Avoid ASSERT for some message failures
  Revert "fbcon: don't lose the console font across generic->chip driver switch"
  scsi: lpfc: Fix use-after-free KFENCE violation during sysfs firmware write
  drm/amdkfd: Page aligned memory reserve size
  drm/amd: Avoid BUG() for case of SRIOV missing IP version
  drm/radeon: free iio for atombios when driver shutdown
  drm/amd/display: Defer DIG FIFO disable after VID stream enable
  drm/tiny: ili9486: Do not assume 8-bit only SPI controllers
  HID: Add Mapping for System Microphone Mute
  drm/omap: dsi: Fix excessive stack usage
  drm/amd/display: Fix potential null-deref in dm_resume
  drm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write
  drm/amd/display: Reduce expected sdp bandwidth for dcn321
  drm: panel-orientation-quirks: Add quirk for DynaBook K50
  drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Tab 3 X90F
  scm: add user copy checks to put_cmsg()
  devlink: Fix TP_STRUCT_entry in trace of devlink health report
  s390/kfence: fix page fault reporting
  hv_netvsc: Check status in SEND_RNDIS_PKT completion message
  wifi: rtw89: debug: avoid invalid access on RTW89_DBG_SEL_MAC_30
  Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE
  Bluetooth: btusb: Add new PID/VID 0489:e0f2 for MT7921
  Bluetooth: Fix issue with Actions Semi ATS2851 based devices
  PM: EM: fix memory leak with using debugfs_lookup()
  PM: domains: fix memory leak with using debugfs_lookup()
  time/debug: Fix memory leak with using debugfs_lookup()
  s390/idle: mark arch_cpu_idle() noinstr
  uaccess: Add minimum bounds check on kernel buffer size
  coda: Avoid partial allocation of sig_inputArgs
  net/mlx5: fw_tracer: Fix debug print
  ACPI: video: Fix Lenovo Ideapad Z570 DMI match
  wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
  tools/power/x86/intel-speed-select: Add Emerald Rapid quirk
  gcc-plugins: drop -std=gnu++11 to fix GCC 13 build
  can: isotp: check CAN address family in isotp_bind()
  netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()
  s390/mm,ptdump: avoid Kasan vs Memcpy Real markers swapping
  m68k: Check syscall_trace_enter() return code
  net: bcmgenet: Add a check for oversized packets
  crypto: hisilicon: Wipe entire pool on error
  clocksource: Suspend the watchdog temporarily when high read latency detected
  thermal: intel: intel_pch: Add support for Wellsburg PCH
  bpf, docs: Fix modulo zero, division by zero, overflow, and underflow
  ACPI: Don't build ACPICA with '-Os'
  ice: add missing checks for PF vsi type
  ice: restrict PTP HW clock freq adjustments to 100, 000, 000 PPB
  inet: fix fast path in __inet_hash_connect()
  wifi: mt7601u: fix an integer underflow
  wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
  bpftool: Always disable stack protection for BPF objects
  x86/bugs: Reset speculation control settings on init
  timers: Prevent union confusion from unexpected restart_syscall()
  thermal: intel: Fix unsigned comparison with less than zero
  wifi: ath11k: debugfs: fix to work with multiple PCI devices
  rcu-tasks: Handle queue-shrink/callback-enqueue race condition
  rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug
  srcu: Delegate work to the boot cpu if using SRCU_SIZE_SMALL
  rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
  rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
  wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
  wifi: ath11k: fix monitor mode bringup crash
  wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()
  perf/x86/intel/uncore: Add Meteor Lake support
  cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUG
  cpuidle: drivers: firmware: psci: Dont instrument suspend code
  x86/fpu: Don't set TIF_NEED_FPU_LOAD for PF_IO_WORKER threads
  cpuidle, intel_idle: Fix CPUIDLE_FLAG_INIT_XSTATE
  arm64: zynqmp: Enable hs termination flag for USB dwc3 controller
  btrfs: scrub: improve tree block error reporting
  trace/blktrace: fix memory leak with using debugfs_lookup()
  blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()
  blk-cgroup: dropping parent refcount after pd_free_fn() is done
  blk-iocost: fix divide by 0 error in calc_lcoefs()
  fs: Use CHECK_DATA_CORRUPTION() when kernel bugs are detected
  ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
  exit: Detect and fix irq disabled state in oops
  context_tracking: Fix noinstr vs KASAN
  udf: Define EFSCORRUPTED error code
  arm64: dts: qcom: msm8996: Add additional A2NoC clocks
  ARM: OMAP2+: omap4-common: Fix refcount leak bug
  rpmsg: glink: Release driver_override
  rpmsg: glink: Avoid infinite loop on intent for missing channel
  media: saa7134: Use video_unregister_device for radio_dev
  media: usb: siano: Fix use after free bugs caused by do_submit_urb
  media: i2c: ov7670: 0 instead of -EINVAL was returned
  media: atomisp: Only set default_run_mode on first open of a stream/asd
  media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
  media: drivers/media/v4l2-core/v4l2-h264 : add detection of null pointers
  media: amphion: correct the unspecified color space
  media: imx-jpeg: Apply clk_bulk api instead of operating specific clk
  media: hantro: Fix JPEG encoder ENUM_FRMSIZE on RK3399
  media: v4l2-jpeg: ignore the unknown APP14 marker
  media: v4l2-jpeg: correct the skip count in jpeg_parse_app14_data
  media: platform: mtk-mdp3: fix Kconfig dependencies
  media: platform: mtk-mdp3: remove unused VIDEO_MEDIATEK_VPU config
  media: camss: csiphy-3ph: avoid undefined behavior
  media: platform: mtk-mdp3: Fix return value check in mdp_probe()
  media: i2c: imx219: Fix binning for RAW8 capture
  media: i2c: imx219: Split common registers from mode tables
  media: i2c: ov772x: Fix memleak in ov772x_probe()
  media: mc: Get media_device directly from pad
  media: ov5640: Handle delays when no reset_gpio set
  media: ov5640: Fix soft reset sequence and timings
  media: ov5675: Fix memleak in ov5675_init_controls()
  media: ov2740: Fix memleak in ov2740_init_controls()
  media: max9286: Fix memleak in max9286_v4l2_register()
  builddeb: clean generated package content
  s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64
  powerpc: Remove linker flag from KBUILD_AFLAGS
  media: imx: imx7-media-csi: fix missing clk_disable_unprepare() in imx7_csi_init()
  media: platform: ti: Add missing check for devm_regulator_get
  media: ti: cal: fix possible memory leak in cal_ctx_create()
  remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
  Revert "remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use"
  IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors
  IB/hfi1: Fix math bugs in hfi1_can_pin_pages()
  RDMA/rxe: Fix missing memory barriers in rxe_queue.h
  RDMA/rxe: cleanup some error handling in rxe_verbs.c
  iommu/vt-d: Allow to use flush-queue when first level is default
  iommu/vt-d: Fix error handling in sva enable/disable paths
  dmaengine: ptdma: check for null desc before calling pt_cmd_callback
  dmaengine: dw-axi-dmac: Do not dereference NULL structure
  dmaengine: sf-pdma: pdma_desc memory leak fix
  iommu/amd: Do not identity map v2 capable device when snp is enabled
  iommu: Fix error unwind in iommu_group_alloc()
  iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()
  PCI: qcom: Fix host-init error handling
  phy: rockchip-typec: fix tcphy_get_mode error case
  PCI: Fix dropping valid root bus resources with .end = zero
  dmaengine: dw-edma: Fix readq_ch() return value truncation
  usb: host: fsl-mph-dr-of: reuse device_set_of_node_from_dev
  mtd: mtdpart: Don't create platform device that'll never probe
  driver core: fw_devlink: Make cycle detection more robust
  driver core: fw_devlink: Improve check for fwnode with no device/driver
  driver core: fw_devlink: Consolidate device link flag computation
  driver core: fw_devlink: Allow marking a fwnode link as being part of a cycle
  driver core: fw_devlink: Don't purge child fwnode's consumer links
  driver core: fw_devlink: Add DL_FLAG_CYCLE support to device links
  tty: serial: imx: disable Ageing Timer interrupt request irq
  tty: serial: imx: Handle RS485 DE signal active high
  serial: fsl_lpuart: fix RS485 RTS polariy inverse issue
  RDMA/irdma: Cap MSIX used to online CPUs + 1
  usb: max-3421: Fix setting of I/O pins
  RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()
  power: supply: remove faulty cooling logic
  iommu/vt-d: Set No Execute Enable bit in PASID table entry
  iommu/dart: Fix apple_dart_device_group for PCI groups
  iommu: dart: Support >64 stream IDs
  iommu: dart: Add suspend/resume support
  PCI: mt7621: Delay phy ports initialization
  phy: mediatek: remove temporary variable @mask_
  usb: gadget: configfs: Restrict symlink creation is UDC already binded
  usb: musb: mediatek: don't unregister something that wasn't registered
  RDMA/cxgb4: add null-ptr-check after ip_dev_find()
  tty: serial: fsl_lpuart: Fix the wrong RXWATER setting for rx dma case
  usb: early: xhci-dbc: Fix a potential out-of-bound memory access
  fpga: microchip-spi: rewrite status polling in a time measurable way
  fpga: microchip-spi: move SPI I/O buffers out of stack
  dmaengine: dw-edma: Fix missing src/dst address of interleaved xfers
  fotg210-udc: Add missing completion handler
  firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle
  drivers: base: transport_class: fix resource leak when transport_add_device() fails
  drivers: base: transport_class: fix possible memory leak
  driver core: location: Free struct acpi_pld_info *pld before return false
  driver core: fix resource leak in device_add()
  misc: fastrpc: Fix an error handling path in fastrpc_rpmsg_probe()
  misc/mei/hdcp: Use correct macros to initialize uuid_le
  mei: pxp: Use correct macros to initialize uuid_le
  VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF
  firmware: stratix10-svc: fix error handle while alloc/add device failed
  firmware: stratix10-svc: add missing gen_pool_destroy() in stratix10_svc_drv_probe()
  applicom: Fix PCI device refcount leak in applicom_init()
  eeprom: idt_89hpesx: Fix error handling in idt_init()
  Revert "char: pcmcia: cm4000_cs: Replace mdelay with usleep_range in set_protocol"
  serial: tegra: Add missing clk_disable_unprepare() in tegra_uart_hw_init()
  tty: serial: fsl_lpuart: clear LPUART Status Register in lpuart32_shutdown()
  tty: serial: fsl_lpuart: disable Rx/Tx DMA in lpuart32_shutdown()
  hwtracing: hisi_ptt: Only add the supported devices to the filters list
  PCI: endpoint: pci-epf-vntb: Add epf_ntb_mw_bar_clear() num_mws kernel-doc
  PCI: endpoint: pci-epf-vntb: Clean up kernel_doc warning
  PCI: switchtec: Return -EFAULT for copy_to_user() errors
  PCI/IOV: Enlarge virtfn sysfs name buffer
  usb: typec: intel_pmc_mux: Don't leak the ACPI device reference count
  coresight: cti: Add PM runtime call in enable_store
  coresight: cti: Prevent negative values of enable count
  coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR
  media: uvcvideo: Refactor power_line_frequency_controls_limited
  media: uvcvideo: Refactor uvc_ctrl_mappings_uvcXX
  media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU
  media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible()
  alpha/boot/tools/objstrip: fix the check for ELF header
  kobject: Fix slab-out-of-bounds in fill_kobj_path()
  kobject: modify kobject_get_path() to take a const *
  driver core: fix potential null-ptr-deref in device_add()
  soundwire: cadence: Don't overflow the command FIFOs
  i2c: designware: fix i2c_dw_clk_rate() return size to be u32
  usb: gadget: fusb300_udc: free irq on the error path in fusb300_probe()
  iio: light: tsl2563: Do not hardcode interrupt trigger type
  RDMA/hns: Fix refcount leak in hns_roce_mmap
  dmaengine: HISI_DMA should depend on ARCH_HISI
  RDMA/erdma: Fix refcount leak in erdma_mmap
  dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0
  mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
  mfd: cs5535: Don't build on UML
  objtool: add UACCESS exceptions for __tsan_volatile_read/write
  perf tests stat_all_metrics: Change true workload to sleep workload for system wide check
  printf: fix errname.c list
  perf record: Fix segfault with --overwrite and --max-size
  selftests: use printf instead of echo -ne
  selftests/ftrace: Fix bash specific "==" operator
  selftests: find echo binary to use -ne options
  sparc: allow PM configs for sparc32 COMPILE_TEST
  perf tools: Fix auto-complete on aarch64
  perf test bpf: Skip test if kernel-debuginfo is not present
  perf intel-pt: Do not try to queue auxtrace data on pipe
  perf inject: Use perf_data__read() for auxtrace
  tools/tracing/rtla: osnoise_hist: use total duration for average calculation
  leds: simatic-ipc-leds-gpio: Make sure we have the GPIO providing driver
  leds: is31fl319x: Wrap mutex_destroy() for devm_add_action_or_rest()
  leds: led-core: Fix refcount leak in of_led_get()
  perf llvm: Fix inadvertent file creation
  gfs2: jdata writepage fix
  cifs: use tcon allocation functions even for dummy tcon
  cifs: Fix warning and UAF when destroy the MR list
  cifs: Fix lost destroy smbd connection when MR allocate failed
  NFSD: copy the whole verifier in nfsd_copy_write_verifier
  nfsd: don't fsync nfsd_files on last close
  nfsd: fix courtesy client with deny mode handling in nfs4_upgrade_open
  NFSD: fix problems with cleanup on errors in nfsd4_copy
  nfsd: clean up potential nfsd_file refcount leaks in COPY codepath
  nfsd: fix race to check ls_layouts
  NFSD: fix leaked reference count of nfsd4_ssc_umount_item
  NFSD: enhance inter-server copy cleanup
  drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()
  ALSA: hda/hdmi: Register with vga_switcheroo on Dual GPU Macbooks
  hid: bigben_probe(): validate report count
  HID: bigben: use spinlock to safely schedule workers
  HID: bigben_worker() remove unneeded check on report_field
  HID: bigben: use spinlock to protect concurrent accesses
  ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
  spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
  NFS: fix disabling of swap
  nfs4trace: fix state manager flag printing
  dm: remove flush_scheduled_work() during local_exit()
  ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init
  hwmon: (mlxreg-fan) Return zero speed for broken fan
  spi: bcm63xx-hsspi: Fix multi-bit mode setting
  HID: logitech-hidpp: Hard-code HID++ 1.0 fast scroll support
  drm/amd/display: don't call dc_interrupt_set() for disabled crtcs
  ASoC: codecs: lpass: fix incorrect mclk rate
  ASoC: codecs: lpass: register mclk after runtime pm
  ASoC: qcom: q6apm-dai: Add SNDRV_PCM_INFO_BATCH flag
  ASoC: qcom: q6apm-dai: fix race condition while updating the position pointer
  ASoC: qcom: q6apm-lpass-dai: unprepare stream if its already prepared
  HID: retain initial quirks set up when creating HID devices
  HID: multitouch: Add quirks for flipped axes
  scsi: aic94xx: Add missing check for dma_map_single()
  scsi: mpt3sas: Fix a memory leak
  drm/amdgpu: fix enum odm_combine_mode mismatch
  ALSA: hda: Fix the control element identification for multiple codecs
  hwmon: (ltc2945) Handle error case in ltc2945_value_store
  hwmon: (asus-ec-sensors) add missing mutex path
  regulator: tps65219: use generic set_bypass()
  ASoC: dt-bindings: meson: fix gx-card codec node regex
  ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()
  ASoC: rsnd: fixup #endif position
  regmap: apply reg_base and reg_downshift for single register ops
  dm: improve shrinker debug names
  ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()
  ASoC: mchp-spdifrx: fix controls that works with completion mechanism
  ASoC: mchp-spdifrx: fix return value in case completion times out
  ASoC: mchp-spdifrx: fix controls which rely on rsr register
  spi: dw_bt1: fix MUX_MMIO dependencies
  ASoC: topology: Properly access value coming from topology file
  gpio: vf610: connect GPIO label to dev name
  dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr
  ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
  drm/mediatek: Clean dangling pointer on bind error path
  drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
  drm/mediatek: Drop unbalanced obj unref
  drm/mediatek: Use NULL instead of 0 for NULL pointer
  drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd
  drm/msm/dpu: set pdpu->is_rt_pipe early in dpu_plane_sspp_atomic_update()
  pinctrl: renesas: rzg2l: Fix configuring the GPIO pins as interrupts
  drm/tegra: firewall: Check for is_addr_reg existence in IMM check
  gpu: host1x: Don't skip assigning syncpoints to channels
  gpu: host1x: Fix mask for syncpoint increment register
  pinctrl: mediatek: Initialize variable *buf to zero
  pinctrl: mediatek: Initialize variable pullen and pullup to zero
  pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()
  habanalabs: bugs fixes in timestamps buff alloc
  drm/msm/mdp5: Add check for kzalloc
  drm/msm/dpu: Add check for pstates
  drm/msm/dpu: Add check for cstate
  drm/msm: use strscpy instead of strncpy
  drm/msm/dpu: sc7180: add missing WB2 clock control
  scsi: ufs: exynos: Fix DMA alignment for PAGE_SIZE != 4096
  drm/msm/dsi: Allow 2 CTRLs on v2.5.0
  drm: exynos: dsi: Fix MIPI_DSI*_NO_* mode flags
  drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
  regulator: tps65219: use IS_ERR() to detect an error pointer
  drm/bridge: lt9611: pass a pointer to the of node
  drm/bridge: lt9611: fix clock calculation
  drm/bridge: lt9611: fix programming of video modes
  drm/bridge: lt9611: fix polarity programming
  drm/bridge: lt9611: fix HPD reenablement
  drm/bridge: lt9611: fix sleep mode setup
  drm/msm/dpu: Disallow unallocated resources to be returned
  drm/msm/gem: Add check for kmalloc
  drm/amdgpu: Use the sched from entity for amdgpu_cs trace
  ALSA: hda/ca0132: minor fix for allocation size
  drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
  drm/bridge: tc358767: Set default CLRSIPO count
  ASoC: fsl_sai: initialize is_dsp_mode flag
  scsi: qla2xxx: edif: Fix clang warning
  scsi: qla2xxx: Fix exchange oversubscription for management commands
  scsi: qla2xxx: Fix exchange oversubscription
  drm/panel-edp: fix name for IVO product id 854b
  drm/msm: clean event_thread->worker in case of an error
  drm/vc4: hdmi: Correct interlaced timings again
  drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
  drm/vc4: hvs: Correct interrupt masking bit assignment for HVS5
  drm/vc4: hvs: SCALER_DISPBKGND_AUTOHS is only valid on HVS4
  drm/vc4: hvs: Set AXI panic modes
  pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
  pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
  pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins
  drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
  drm/msm/dpu: check for null return of devm_kzalloc() in dpu_writeback_init()
  hwmon: (ftsteutates) Fix scaling of measurements
  drm/vc4: drop all currently held locks if deadlock happens
  gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
  drm: tidss: Fix pixel format definition
  drm/vc4: dpi: Fix format mapping for RGB565
  drm/vkms: Fix null-ptr-deref in vkms_release()
  drm/vkms: Fix memory leak in vkms_init()
  drm/bridge: megachips: Fix error handling in i2c_register_driver()
  drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
  drm: mxsfb: DRM_IMX_LCDIF should depend on ARCH_MXC
  drm/bridge: ti-sn65dsi83: Fix delay after reset deassert to match spec
  drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
  drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
  sefltests: netdevsim: wait for devlink instance after netns removal
  selftest: fib_tests: Always cleanup before exit
  net/mlx4_en: Introduce flexible array to silence overflow warning
  net: lan966x: Fix possible deadlock inside PTP
  net: bcmgenet: fix MoCA LED control
  l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()
  selftests/net: Interpret UDP_GRO cmsg data as an int value
  net/smc: fix application data exception
  net/smc: fix potential panic dues to unprotected smc_llc_srv_add_link()
  irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
  irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
  bpf: Fix global subprog context argument resolution logic
  LoongArch, bpf: Use 4 instructions for function address in JIT
  xsk: check IFF_UP earlier in Tx path
  can: esd_usb: Make use of can_change_state() and relocate checking skb for NULL
  can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
  selftests/bpf: Fix xdp_do_redirect on s390x
  bpf: Zeroing allocated object from slab in bpf memory allocator
  wifi: mac80211: pass 'sta' to ieee80211_rx_data_set_sta()
  selftests/bpf: Fix map_kptr test.
  thermal/drivers/hisi: Drop second sensor hi3660
  tools/lib/thermal: Fix thermal_sampling_exit()
  wifi: mac80211: fix off-by-one link setting
  wifi: mac80211: avoid u32_encode_bits() warning
  wifi: mac80211: Don't translate MLD addresses for multicast
  wifi: mac80211: fix non-MLO station association
  wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
  wifi: mac80211: move color collision detection report in a delayed work
  crypto: crypto4xx - Call dma_unmap_page when done
  crypto: octeontx2 - Fix objects shared between several modules
  ACPI: resource: Do IRQ override on all TongFang GMxRGxx
  ACPI: resource: Add IRQ overrides for MAINGEAR Vector Pro 2 models
  selftests/bpf: Fix out-of-srctree build
  wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
  wifi: iwl4965: Add missing check for create_singlethread_workqueue()
  wifi: iwl3945: Add missing check for create_singlethread_workqueue
  clocksource/drivers/riscv: Patch riscv_clock_next_event() jump before first use
  RISC-V: time: initialize hrtimer based broadcast clock event device
  m68k: /proc/hardware should depend on PROC_FS
  crypto: rsa-pkcs1pad - Use akcipher_request_complete
  rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
  xen/grant-dma-iommu: Implement a dummy probe_device() callback
  libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
  s390/ap: fix status returned by ap_qact()
  s390/ap: fix status returned by ap_aqic()
  s390: vfio-ap: tighten the NIB validity check
  net: ipa: generic command param fix
  Bluetooth: hci_qca: get wakeup status from serdev device handle
  Bluetooth: L2CAP: Fix potential user-after-free
  Bluetooth: hci_conn: Refactor hci_bind_bis() since it always succeeds
  cpufreq: davinci: Fix clk use after free
  OPP: fix error checking in opp_migrate_dentry()
  tap: tap_open(): correctly initialize socket uid
  tun: tun_chr_open(): correctly initialize socket uid
  net: add sock_init_data_uid()
  s390/boot: fix mem_detect extended area allocation
  s390/mem_detect: rely on diag260() if sclp_early_get_memsize() fails
  s390/boot: cleanup decompressor header files
  s390/vmem: fix empty page tables cleanup under KASAN
  s390/mem_detect: fix detect_memory() error handling
  irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
  irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
  irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
  irqchip: Fix refcount leak in platform_irqchip_probe
  net/mlx5: Enhance debug print in page allocation failure
  wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read
  wifi: mt76: add memory barrier to SDIO queue kick
  wifi: mt76: mt7915: fix WED TxS reporting
  wifi: mt76: mt7915: fix memory leak in mt7915_mcu_exit
  wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only after init_work
  bpftool: profile online CPUs instead of possible
  crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware
  selftests/bpf: Initialize tc in xdp_synproxy
  can: rcar_canfd: Fix R-Car V3U GAFLCFG field accesses
  kselftest/arm64: Fix enumeration of systems without 128 bit SME
  wifi: iwlwifi: mei: fix compilation errors in rfkill()
  s390/bpf: Add expoline to tail calls
  leds: led-class: Add missing put_device() to led_put()
  crypto: xts - Handle EBUSY correctly
  selftests/bpf: Fix vmtest static compilation error
  selftests/bpf: Use consistent build-id type for liburandom_read.so
  x86/microcode: Adjust late loading result reporting message
  x86/microcode: Check CPU capabilities after late microcode update correctly
  x86/microcode: Add a parameter to microcode_check() to store CPU capabilities
  powercap: fix possible name leak in powercap_register_zone()
  crypto: seqiv - Handle EBUSY correctly
  crypto: essiv - Handle EBUSY correctly
  crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
  selftests/bpf: Fix build errors if CONFIG_NF_CONNTRACK=m
  ACPI: battery: Fix missing NUL-termination with large strings
  wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()
  wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
  wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
  wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
  wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
  thermal/drivers/imx_sc_thermal: Fix the loop condition
  thermal/drivers/imx_sc_thermal: Drop empty platform remove function
  wifi: orinoco: check return value of hermes_write_wordrec()
  wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU
  wifi: rtw89: Add missing check for alloc_workqueue
  wifi: rtw89: fix potential leak in rtw89_append_probe_req_ie()
  thermal/drivers/tsens: limit num_sensors to 9 for msm8939
  thermal/drivers/tsens: fix slope values for msm8939
  thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
  thermal/drivers/tsens: Drop msm8976-specific defines
  x86/signal: Fix the value returned by strict_sas_size()
  s390/vfio-ap: fix an error handling path in vfio_ap_mdev_probe_queue()
  s390/early: fix sclp_early_sccb variable lifetime
  workqueue: Protects wq_unbound_cpumask with wq_pool_attach_mutex
  kselftest/arm64: Fix syscall-abi for systems without 128 bit SME
  arm64/cpufeature: Fix field sign for DIT hwcap detection
  selftests/xsk: print correct error codes when exiting
  selftests/xsk: print correct payload for packet dump
  ACPICA: nsrepair: handle cases without a return value correctly
  platform/chrome: cros_ec_typec: Update port DP VDO
  crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2
  lib/mpi: Fix buffer overrun when SG is too long
  rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()
  rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
  rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose
  genirq: Fix the return type of kstat_cpu_irqs_sum()
  ACPICA: Drop port I/O validation for some regions
  crypto: x86/ghash - fix unaligned access in ghash_setkey()
  libbpf: Fix invalid return address register in s390
  wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
  wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
  wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
  wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
  wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
  wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
  wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
  wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()
  wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
  wifi: ipw2200: fix memory leak in ipw_wdev_init()
  wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
  libbpf: Fix btf__align_of() by taking into account field offsets
  wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
  wifi: rtw89: 8852c: rfk: correct DPK settings
  wifi: rtw89: 8852c: rfk: correct DACK setting
  wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
  wifi: libertas: fix memory leak in lbs_init_adapter()
  wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
  wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
  wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()
  wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()
  wifi: rsi: Fix memory leak in rsi_coex_attach()
  wifi: mt76: fix coverity uninit_use_in_call in mt76_connac2_reverse_frag0_hdr_trans()
  wifi: mt76: mt7915: fix unintended sign extension of mt7915_hw_queue_read()
  wifi: mt76: mt7915: drop always true condition of __mt7915_reg_addr()
  wifi: mt76: mt7915: check return value before accessing free_block_num
  wifi: mt76: mt7921s: fix slab-out-of-bounds access in sdio host
  wifi: mt76: mt7915: add missing of_node_put()
  block: use proper return value from bio_failfast()
  block: bio-integrity: Copy flags when bio_integrity_payload is cloned
  block: Fix io statistics for cgroup in throttle path
  block: sync mixed merged request's failfast with 1st bio's
  erofs: relinquish volume with mutex held
  arm64: dts: qcom: pmk8350: Use the correct PON compatible
  arm64: dts: qcom: pmk8350: Specify PBS register for PON
  block: ublk: check IO buffer based on flag need_get_data
  KEYS: asymmetric: Fix ECDSA use via keyctl uapi
  x86/perf/zhaoxin: Add stepping check for ZXC
  perf/x86/intel/ds: Fix the conversion from TSC to perf time
  sched/rt: pick_next_rt_entity(): check list_entry
  s390/dasd: Fix potential memleak in dasd_eckd_init()
  arm64: dts: qcom: msm8992-lg-bullhead: Enable regulators
  arm64: dts: qcom: msm8992-*: Fix up comments
  arm64: dts: qcom: msm8953: correct TLMM gpio-ranges
  arm64: dts: qcom: msm8992-lg-bullhead: Correct memory overlaps with the SMEM and MPSS memory regions
  arm64: dts: qcom: sm8450: drop incorrect cells from serial
  arm64: dts: qcom: sm8350: drop incorrect cells from serial
  arm64: dts: qcom: msm8996 switch from RPM_SMD_BB_CLK1 to RPM_SMD_XO_CLK_SRC
  arm64: dts: qcom: msm8996: support using GPLL0 as kryocc input
  blk-mq: correct stale comment of .get_budget
  blk-mq: Fix potential io hung for shared sbitmap per tagset
  blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait
  blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
  blk-mq: avoid sleep in blk_mq_alloc_request_hctx
  ARM: dts: stm32: Update part number NVMEM description on stm32mp131
  arm64: dts: mediatek: mt7986: Fix watchdog compatible
  arm64: dts: mediatek: mt8195: Fix watchdog compatible
  arm64: dts: mediatek: mt8186: Fix watchdog compatible
  arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
  arm64: dts: mt8186: Fix CPU map for single-cluster SoC
  arm64: dts: mt8192: Fix CPU map for single-cluster SoC
  arm64: dts: mt8195: Fix CPU map for single-cluster SoC
  sbitmap: correct wake_batch recalculation to avoid potential IO hung
  sbitmap: Use single per-bitmap counting to wake up queued tags
  sbitmap: remove redundant check in __sbitmap_queue_get_batch
  ARM: dts: imx7s: correct iomuxc gpr mux controller cells
  ublk_drv: don't probe partitions if the ubq daemon isn't trusted
  ublk_drv: remove nr_aborted_queues from ublk_device
  ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
  arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN
  arm64: dts: meson: radxa-zero: allow usb otg mode
  arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
  locking/rwsem: Disable preemption in all down_read*() and up_read() code paths
  arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip
  arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
  arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
  arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node names
  arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
  arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
  arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix invalid rtc node name
  arm64: dts: amlogic: meson-gxl-s905w-jethome-jethub-j80: fix invalid rtc node name
  arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
  arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
  arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix supply name of USB controller node
  arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
  arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
  arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
  ARM: imx: Call ida_simple_remove() for ida_simple_get
  ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
  arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
  ARM: s3c: fix s3c64xx_set_timer_source prototype
  ARM: bcm2835_defconfig: Enable the framebuffer
  arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken
  ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
  arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
  arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
  arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
  arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
  arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
  arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
  arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
  arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem
  arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size
  arm64: dts: msm8992-bullhead: add memory hole region
  arm64: tegra: Fix duplicate regulator on Jetson TX1
  arm64: dts: ti: k3-am62-main: Fix clocks for McSPI
  arm64: dts: ti: k3-am62: Enable SPI nodes at the board level
  cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*
  arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
  arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
  arm64: dts: meson-gx: Fix Ethernet MAC address unit name
  arm64: dts: meson-axg: jethub-j1xx: Fix MAC address node names
  arm64: dts: meson-gxl: jethub-j80: Fix Bluetooth MAC node name
  arm64: dts: meson-gxl: jethub-j80: Fix WiFi MAC address node
  arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers
  arm64: dts: qcom: sc8280xp: correct SPMI bus address cells
  arm64: dts: qcom: sc7280: correct SPMI bus address cells
  arm64: dts: qcom: sc7180: correct SPMI bus address cells
  x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC
  arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
  arm64: dts: mediatek: mt8186: Fix systimer 13 MHz clock description
  arm64: dts: mediatek: mt8195: Fix systimer 13 MHz clock description
  arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock description
  arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
  arm64: dts: mediatek: mt8195: Add power domain to U3PHY1 T-PHY
  ARM: zynq: Fix refcount leak in zynq_early_slcr_init
  arm64: dts: imx8m: Align SoC unique ID node unit address
  arm64: dts: qcom: sm6125-seine: Clean up gpio-keys (volume down)
  arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match bindings
  arm64: dts: qcom: sm6350: Fix up the ramoops node
  arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k instead of 4k
  arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to wake up
  arm64: dts: qcom: qcs404: use symbol names for PCIe resets
  ARM: OMAP2+: Fix memory leak in realtime_counter_init()
  ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI controller"
  powerpc/mm: Rearrange if-else block to avoid clang warning
  HID: asus: use spinlock to safely schedule workers
  HID: asus: use spinlock to protect concurrent accesses
  Revert "ANDROID: disble the UID_SYS_STATS driver"
  Revert "exit: Remove profile_task_exit & profile_munmap"
  FROMGIT: pstore: Revert pmsg_lock back to a normal mutex
  ANDROID: ABI: Update allowed list for QCOM
  ANDROID: ABI: Add missing symbols to QCOM list
  fscrypt: support decrypting data from large folios
  fsverity: support verifying data from large folios
  fsverity.rst: update git repo URL for fsverity-utils
  ext4: allow verity with fs block size < PAGE_SIZE
  fs/buffer.c: support fsverity in block_read_full_folio()
  f2fs: simplify f2fs_readpage_limit()
  ext4: simplify ext4_readpage_limit()
  fsverity: support enabling with tree block size < PAGE_SIZE
  fsverity: support verification with tree block size < PAGE_SIZE
  fsverity: replace fsverity_hash_page() with fsverity_hash_block()
  fsverity: use EFBIG for file too large to enable verity
  fsverity: store log2(digest_size) precomputed
  fsverity: simplify Merkle tree readahead size calculation
  fsverity: use unsigned long for level_start
  fsverity: remove debug messages and CONFIG_FS_VERITY_DEBUG
  fsverity: pass pos and size to ->write_merkle_tree_block
  fsverity: optimize fsverity_cleanup_inode() on non-verity files
  fsverity: optimize fsverity_prepare_setattr() on non-verity files
  fsverity: optimize fsverity_file_open() on non-verity files
  fscrypt: clean up fscrypt_add_test_dummy_key()
  fs/super.c: stop calling fscrypt_destroy_keyring() from __put_super()
  f2fs: stop calling fscrypt_add_test_dummy_key()
  ext4: stop calling fscrypt_add_test_dummy_key()
  fscrypt: add the test dummy encryption key on-demand
  f2fs: drop unnecessary arg for f2fs_ioc_*()
  f2fs: Revert "f2fs: truncate blocks in batch in __complete_revoke_list()"
  f2fs: synchronize atomic write aborts
  f2fs: fix wrong segment count
  f2fs: replace si->sbi w/ sbi in stat_show()
  f2fs: export ipu policy in debugfs
  f2fs: make kobj_type structures constant
  f2fs: fix to do sanity check on extent cache correctly
  f2fs: add missing description for ipu_policy node
  f2fs: fix to set ipu policy
  f2fs: fix typos in comments
  f2fs: fix kernel crash due to null io->bio
  f2fs: use iostat_lat_type directly as a parameter in the iostat_update_and_unbind_ctx()
  f2fs: add sysfs nodes to set last_age_weight
  f2fs: fix f2fs_show_options to show nogc_merge mount option
  f2fs: fix cgroup writeback accounting with fs-layer encryption
  f2fs: fix wrong calculation of block age
  f2fs: fix to update age extent in f2fs_do_zero_range()
  f2fs: fix to update age extent correctly during truncation
  f2fs: fix to avoid potential memory corruption in __update_iostat_latency()
  f2fs: retry to update the inode page given data corruption
  f2fs: fix to handle F2FS_IOC_START_ATOMIC_REPLACE in f2fs_compat_ioctl()
  f2fs: clean up i_compress_flag and i_compress_level usage
  f2fs: reduce stack memory cost by using bitfield in struct f2fs_io_info
  f2fs: factor the read/write tracing logic into a helper
  f2fs: remove __has_curseg_space
  f2fs: refactor next blk selection
  f2fs: remove __allocate_new_section
  f2fs: refactor __allocate_new_segment
  f2fs: add a f2fs_curseg_valid_blocks helper
  f2fs: simplify do_checkpoint
  f2fs: remove __add_sum_entry
  f2fs: fix to abort atomic write only during do_exist()
  f2fs: allow set compression option of files without blocks
  f2fs: fix information leak in f2fs_move_inline_dirents()
  fs: f2fs: initialize fsdata in pagecache_write()
  f2fs: fix to check warm_data_age_threshold
  f2fs: return true if all cmd were issued or no cmd need to be issued for f2fs_issue_discard_timeout()
  f2fs: clarify compress level bit offset
  f2fs: fix to show discard_unit mount opt
  f2fs: fix to do sanity check on extent cache correctly
  f2fs: remove unneeded f2fs_cp_error() in f2fs_create_whiteout()
  f2fs: clear atomic_write_task in f2fs_abort_atomic_write()
  f2fs: introduce trace_f2fs_replace_atomic_write_block
  f2fs: introduce discard_io_aware_gran sysfs node
  f2fs: drop useless initializer and unneeded local variable
  f2fs: add iostat support for flush
  f2fs: support accounting iostat count and avg_bytes
  f2fs: convert discard_wake and gc_wake to bool type
  f2fs: convert to use MIN_DISCARD_GRANULARITY macro
  f2fs: merge f2fs_show_injection_info() into time_to_inject()
  f2fs: add a f2fs_ prefix to punch_hole() and expand_inode_data()
  f2fs: remove unnecessary blank lines
  f2fs: mark f2fs_init_compress_mempool w/ __init
  f2fs: judge whether discard_unit is section only when have CONFIG_BLK_DEV_ZONED
  f2fs: start freeing cluster pages from the unused number
  MAINTAINERS: Add f2fs's patchwork
  f2fs: deliver the accumulated 'issued' to __issue_discard_cmd_orderly()
  f2fs: avoid to check PG_error flag
  f2fs: add missing doc for fault injection sysfs
  f2fs: fix to avoid potential deadlock
  f2fs: introduce IS_F2FS_IPU_* macro
  f2fs: refactor the hole reporting and allocation logic in f2fs_map_blocks
  f2fs: factor out a f2fs_map_no_dnode
  f2fs: factor a f2fs_map_blocks_cached helper
  f2fs: remove the create argument to f2fs_map_blocks
  f2fs: remove f2fs_get_block
  docs: f2fs: fix html doc error
  f2fs: simplify __allocate_data_block
  f2fs: reflow prepare_write_begin
  f2fs: f2fs_do_map_lock
  f2fs: add a f2fs_get_block_locked helper
  f2fs: add a f2fs_lookup_extent_cache_block helper
  f2fs: split __submit_bio
  f2fs: rename F2FS_MAP_UNWRITTEN to F2FS_MAP_DELALLOC
  f2fs: decouple F2FS_MAP_ from buffer head flags
  f2fs: don't rely on F2FS_MAP_* in f2fs_iomap_begin
  f2fs: fix to call clear_page_private_reference in .{release,invalid}_folio
  f2fs: remove unused PAGE_PRIVATE_ATOMIC_WRITE
  f2fs: fix to support .migrate_folio for compressed inode
  f2fs: file: drop useless initializer in expand_inode_data()

 Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml
	Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
	android/abi_gki_aarch64.stg
	drivers/hwtracing/coresight/coresight-cti-sysfs.c
	drivers/soc/qcom/qcom_stats.c
	drivers/ufs/host/ufs-qcom.c
	drivers/ufs/host/ufs-qcom.h

Change-Id: I6a2a516fd53a940d28d7f51b0b73f816b2a632fc
Upstream-Build: ks_qcom-android14-6.1-keystone-qcom-release@9839361 UKQ2.230328.002
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2023-04-04 00:15:30 -07:00
Abdul Salam
d347e2957c soc: qcom: hab: snapshot of HAB driver
HAB driver is snapshot from msm-5.15 branch at
commit 4c3db734edf7 ("soc: qcom: hab: Remove redundant
NULL pointer check").

Change-Id: I70152c1d61a4b79382a63a1ec590f5e28adb4549
Signed-off-by: Abdul Salam <quic_asalam@quicinc.com>
2023-04-04 09:38:00 +05:30
Sreenad Menon
0c187fcc37 ANDROID: gunyah: Add protected VM firmware boot support
Add support for setting the protected VM firmware load location. This
change requires lent memory support, which will land in future kernel as
restricted_memfd. Until then, it is in Android Common Kernel following
the GH_VM_ANDROID_LEND_USER_MEMORY patches.

Bug: 268234781
Change-Id: I1d1385ee6d4018d7a6e82868bf115b9bd6c785ca
Co-developed-by: Elliot Berman <quic_eberman@quicinc.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Signed-off-by: Sreenad Menon <quic_sreemeno@quicinc.com>
2023-03-30 19:20:32 +00:00
Elliot Berman
657af3fa64 ANDROID: gunyah: vm_mgr: Add lent memory
Add support for lending memory via GH_VM_ANDROID_LEND_USER_MEM. Lending
memory makes it inaccessible to the host.

pKVM and Gunyah aim to converge to a common design based around
restricted_memfd in kernel.org, but the base restricted_memfd support is
not available yet. So, carry the support to lend memory as an Android
patch.

Bug: 268234781
Change-Id: Iecef11891f40efe4a3df7585808d6fe28a14ab39
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2023-03-30 19:20:31 +00:00
Elliot Berman
7ac3fef966 FROMLIST: virt: gunyah: Add ioeventfd
Allow userspace to attach an ioeventfd to an mmio address within the guest.

Co-developed-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Change-Id: I9565c47de3cba3e76528e36088d773b3ce31178e
Signed-off-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Bug: 268234781
Link: https://lore.kernel.org/all/20230304010632.2127470-26-quic_eberman@quicinc.com/
2023-03-30 19:20:31 +00:00
Elliot Berman
45831b2fd5 FROMLIST: virt: gunyah: Add irqfd interface
Enable support for creating irqfds which can raise an interrupt on a
Gunyah virtual machine. irqfds are exposed to userspace as a Gunyah VM
function with the name "irqfd". If the VM devicetree is not configured
to create a doorbell with the corresponding label, userspace will still
be able to assert the eventfd but no interrupt will be raised on the
guest.

Co-developed-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Change-Id: Ia3a08edfa77f10519c56be9e332f79f08cd89d57
Signed-off-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Bug: 268234781
Link: https://lore.kernel.org/all/20230304010632.2127470-25-quic_eberman@quicinc.com/
2023-03-30 19:20:30 +00:00
Elliot Berman
aeccb8b9e9 FROMLIST: virt: gunyah: Add proxy-scheduled vCPUs
Gunyah allows host virtual machines to schedule guest virtual machines
and handle their MMIO accesses. vCPUs are presented to the host as a
Gunyah resource and represented to userspace as a Gunyah VM function.

Creating the vcpu VM function will create a file descriptor that:
 - can run an ioctl: GH_VCPU_RUN to schedule the guest vCPU until the
   next interrupt occurs on the host or when the guest vCPU can no
   longer be run.
 - can be mmap'd to share a gh_vcpu_run structure which can look up the
   reason why GH_VCPU_RUN returned and provide return values for MMIO
   access.

Co-developed-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Change-Id: I8939bdfa61a9836a5a61c6616818c1eb2078c0f1
Signed-off-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Bug: 268234781
Link: https://lore.kernel.org/all/20230304010632.2127470-23-quic_eberman@quicinc.com/
2023-03-30 19:20:30 +00:00
Elliot Berman
291489ffb6 BACKPORT: FROMLIST: gunyah: vm_mgr: Add framework to add VM Functions
Introduce a framework for Gunyah userspace to install VM functions. VM
functions are optional interfaces to the virtual machine. vCPUs,
ioeventfs, and irqfds are examples of such VM functions and are
implemented in subsequent patches.

A generic framework is implemented instead of individual ioctls to
create vCPUs, irqfds, etc., in order to simplify the VM manager core
implementation and allow dynamic loading of VM function modules.

Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>

Change-Id: I616fa24621348bb6a3a23b400a80423cb91a0d78
Bug: 268234781
Link: https://lore.kernel.org/all/20230304010632.2127470-20-quic_eberman@quicinc.com/
[Elliot: gh_vm_free adjustments for gh_rm_vm_reset]
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2023-03-30 19:20:30 +00:00
Elliot Berman
fa4e7824da BACKPORT: FROMLIST: gunyah: vm_mgr: Add ioctls to support basic non-proxy VM boot
Add remaining ioctls to support non-proxy VM boot:

 - Gunyah Resource Manager uses the VM's devicetree to configure the
   virtual machine. The location of the devicetree in the guest's
   virtual memory can be declared via the SET_DTB_CONFIG ioctl.
 - Trigger start of the virtual machine with VM_START ioctl.

Co-developed-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>

Bug: 268234781
Link: https://lore.kernel.org/all/20230304010632.2127470-14-quic_eberman@quicinc.com/
Change-Id: Iade2105969dc9bde2274e124696a5fb914478236
[Elliot: fixup gh_vm_free flow to align with future v12 patch]
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2023-03-30 19:20:29 +00:00
Elliot Berman
afe9d3b501 FROMLIST: gunyah: vm_mgr: Add/remove user memory regions
When launching a virtual machine, Gunyah userspace allocates memory for
the guest and informs Gunyah about these memory regions through
SET_USER_MEMORY_REGION ioctl.

Co-developed-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Change-Id: Iddd31901bb8b0dc4e7db77d98a7692718ad65c2e
Signed-off-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Bug: 268234781
Link: https://lore.kernel.org/all/20230304010632.2127470-13-quic_eberman@quicinc.com/
2023-03-30 19:20:29 +00:00
Elliot Berman
f251362242 BACKPORT: FROMLIST: gunyah: vm_mgr: Introduce basic VM Manager
Gunyah VM manager is a kernel moduel which exposes an interface to
Gunyah userspace to load, run, and interact with other Gunyah virtual
machines. The interface is a character device at /dev/gunyah.

Add a basic VM manager driver. Upcoming patches will add more ioctls
into this driver.

Co-developed-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>

Bug: 268234781
Link: https://lore.kernel.org/all/20230304010632.2127470-11-quic_eberman@quicinc.com/
[Elliot: switch ENOIOCTLCMD to ENOTTY]
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Change-Id: I593c754d0a56f274fa92a3f165dde2e31b85af45
2023-03-30 19:20:28 +00:00
Vinay Gannevaram
3902abc57f UPSTREAM: wifi: nl80211: Allow authentication frames and set keys on NAN interface
Wi-Fi Aware R4 specification defines NAN Pairing which uses PASN handshake
to authenticate the peer and generate keys. Hence allow to register and transmit
the PASN authentication frames on NAN interface and set the keys to driver or
underlying modules on NAN interface.

The driver needs to configure the feature flag NL80211_EXT_FEATURE_SECURE_NAN,
which also helps userspace modules to know if the driver supports secure NAN.

Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
Link: https://lore.kernel.org/r/1675519179-24174-1-git-send-email-quic_vganneva@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Bug: 271996243
Change-Id: Ib8e15683772cf9696b51fb5360642813ca0a078b
(cherry picked from commit 9b89495e479c5fedbf3f2eca4f1c4e9dd481265e)
Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
2023-03-30 10:23:50 +00:00
Aloka Dixit
7254d15c54 UPSTREAM: wifi: nl80211: validate and configure puncturing bitmap
- New feature flag, NL80211_EXT_FEATURE_PUNCT, to advertise
  driver support for preamble puncturing in AP mode.
- New attribute, NL80211_ATTR_PUNCT_BITMAP, to receive a puncturing
  bitmap from the userspace during AP bring up (NL80211_CMD_START_AP)
  and channel switch (NL80211_CMD_CHANNEL_SWITCH) operations. Each bit
  corresponds to a 20 MHz channel in the operating bandwidth, lowest
  bit for the lowest channel. Bit set to 1 indicates that the channel
  is punctured. Higher 16 bits are reserved.
- New members added to structures cfg80211_ap_settings and
  cfg80211_csa_settings to propagate the bitmap to the driver after
  validation.

Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
Signed-off-by: Muna Sinada <quic_msinada@quicinc.com>
Link: https://lore.kernel.org/r/20230131001227.25014-3-quic_alokad@quicinc.com
[move validation against 0xffff into policy]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

Bug: 271996243
Change-Id: I2d9a90cba8812bfe81d0168133ef2239dcc536ac
(cherry picked from commit d7c1a9a0ed180d8884798ce97afe7283622a484f)
Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
2023-03-30 10:23:50 +00:00