Commit Graph

127 Commits

Author SHA1 Message Date
0829547966 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  techpack: display: msm: sde: Fix uninitialized errors
  drivers: hwtracing: coresight: Fix sometimes-uninitialized errors

Change-Id: Ie715280746591772b7fc1174e839e11ba5ea4dbc
2026-06-29 14:41:40 -04:00
74d6796391 techpack: display: msm: sde: Fix uninitialized errors
Change-Id: I481190f2a03bc49976241e4c0b60304ca634f89a
2026-06-24 21:41:24 -04:00
8779d3827c Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  arm64: configs: vendor: Enable CONFIG_FUSE_BPF
  Revert "sdcardfs: Disallow SDCARD_FS when FUSE_BPF is enabled"
  UPSTREAM: bpf: Fix regression on BPF_OBJ_GET with non-O_RDWR flags
  UPSTREAM: bpf: program: Refuse non-O_RDWR flags in BPF_OBJ_GET
  UPSTREAM: bpf: Take module reference for trampoline in module
  UPSTREAM: bpf: Fix a spelling typo in bpf_atomic_alu_string disasm
  UPSTREAM: bpf: BPF-helper for MTU checking add length input
  UPSTREAM: bpf: Dont allow vmlinux BTF to be used in map_create and prog_load.
  UPSTREAM: bpf: Explicitly zero-extend R0 after 32-bit cmpxchg
  UPSTREAM: bpf: Account for BPF_FETCH in insn_has_def32()
  UPSTREAM: bpf: Remove blank line in bpf helper description comment
  UPSTREAM: bpf: Drop imprecise log message
  UPSTREAM: bpf: Clear percpu pointers in bpf_prog_clone_free()
  UPSTREAM: bpf: Fix a warning message in mark_ptr_not_null_reg()
  UPSTREAM: bpf: Support pointers in global func args
  UPSTREAM: bpf: Extract nullable reg type conversion into a helper function
  UPSTREAM: bpf: Rename bpf_reg_state variables
  UPSTREAM: bpf: Drop MTU check when doing TC-BPF redirect to ingress
  UPSTREAM: bpf: Add BPF-helper for MTU checking
  UPSTREAM: bpf: bpf_fib_lookup return MTU value as output when looked up
  UPSTREAM: bpf: Allow bpf_d_path in bpf_iter program
  UPSTREAM: bpf: Introduce task_vma bpf_iter
  UPSTREAM: mmap locking API: add mmap_lock_is_contended()
  BACKPORT: mmap locking API: rename mmap_sem to mmap_lock
  UPSTREAM: bpf: Fix subreg optimization for BPF_FETCH
  UPSTREAM: bpf: Clear per_cpu pointers during bpf_prog_realloc
  UPSTREAM: net/sock: Add kernel config SOCK_RX_QUEUE_MAPPING
  UPSTREAM: bpf: Expose bpf_get_socket_cookie to tracing programs
  UPSTREAM: bpf: Be less specific about socket cookies guarantees
  UPSTREAM: bpf: Allows per-cpu maps and map-in-map in sleepable programs
  UPSTREAM: bpf: Count the number of times recursion was prevented
  UPSTREAM: bpf: Add per-program recursion prevention mechanism
  UPSTREAM: bpf: Compute program stats for sleepable programs
  UPSTREAM: bpf: Run sleepable programs with migration disabled
  UPSTREAM: bpf: Optimize program stats
  BACKPORT: IPv6: Extend 'fib_notify_on_flag_change' sysctl
  BACKPORT: ipv6: Fix sysctl max for fib_multipath_hash_policy
  BACKPORT: IPv6: Add "offload failed" indication to routes
  UPSTREAM: net: ipv4: Pass fib_rt_info as const to fib_dump_info()
  UPSTREAM: rtnetlink: Add RTM_F_OFFLOAD_FAILED flag
  UPSTREAM: net: ipv4: Publish fib_nlmsg_size()
  UPSTREAM: net: add EXPORT_INDIRECT_CALLABLE wrapper
  UPSTREAM: net: use indirect call helpers for dst_input
  BACKPORT: IPv4: Add "offload failed" indication to routes
  UPSTREAM: net: ipv4: Emit notification when fib hardware flags are changed
  UPSTREAM: bpf: Refactor BPF_PSEUDO_CALL checking as a helper function
  UPSTREAM: net: fix building errors on powerpc when CONFIG_RETPOLINE is not set
  UPSTREAM: bpf: Allow usage of BPF ringbuffer in sleepable programs
  UPSTREAM: net: indirect call helpers for ipv4/ipv6 dst_check functions
  UPSTREAM: net: use indirect call helpers for dst_mtu
  UPSTREAM: bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCH
  UPSTREAM: net: ipv6: Emit notification when fib hardware flags are changed
  BACKPORT: net: Pass 'net' struct as first argument to fib6_info_hw_flags_set()
  UPSTREAM: bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_UDP{4,6}_RECVMSG
  UPSTREAM: bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_INET{4,6}_GET{PEER,SOCK}NAME
  UPSTREAM: bpf: Enable bpf_{g,s}etsockopt in BPF_CGROUP_UDP{4,6}_SENDMSG
  BACKPORT: bpf: Allow rewriting to ports under ip_unprivileged_port_start
  BACKPORT: net: switch sock_set_timeout to sockptr_t
  UPSTREAM: net: switch sock_setbindtodevice to sockptr_t
  BACKPORT: net: switch sock_set_timeout to sockptr_t
  BACKPORT: net: port < inet_prot_sock(net) --> inet_port_requires_bind_service(net, port)
  UPSTREAM: bpf: Change 'BPF_ADD' to 'BPF_AND' in print_bpf_insn()
  BACKPORT: net: allow user to set metric on default route learned via Router Advertisement
  UPSTREAM: net: ipv6: add support for rpl sr exthdr
  UPSTREAM: addrconf: add functionality to check on rpl requirements
  UPSTREAM: include: uapi: linux: add rpl sr header definition
  BACKPORT: fs: add file and path permissions helpers
  UPSTREAM: bpf: Fix typo in scalar{,32}_min_max_rsh comments
  UPSTREAM: bpf: Split cgroup_bpf_enabled per attach type
  UPSTREAM: bpf: Try to avoid kzalloc in cgroup/{s,g}etsockopt
  UPSTREAM: bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVE
  UPSTREAM: bpf: Permit size-0 datasec
  UPSTREAM: net, xdp: Introduce __xdp_build_skb_from_frame utility routine
  UPSTREAM: xdp: implement convert_to_xdp_frame for MEM_TYPE_ZERO_COPY
  UPSTREAM: bpf: Add size arg to build_id_parse function
  UPSTREAM: bpf: Move stack_map_get_build_id into lib
  UPSTREAM: bpf: Add bitwise atomic instructions
  UPSTREAM: bpf: Pull out a macro for interpreting atomic ALU operations
  UPSTREAM: bpf: Add instructions for atomic_[cmp]xchg
  UPSTREAM: bpf: Add BPF_FETCH field / create atomic_fetch_add instruction
  UPSTREAM: bpf: Move BPF_STX reserved field check into BPF_STX verifier code
  BACKPORT: bpf: Rename BPF_XADD and prepare to encode other atomics in .imm
  UPSTREAM: bpf: Support BPF ksym variables in kernel modules
  UPSTREAM: bpf: Allow to retrieve sol_socket opts from sock_addr progs
  UPSTREAM: bpf: Fix a verifier message for alloc size helper arg
  UPSTREAM: bpf: Clarify return value of probe str helpers
  UPSTREAM: bpf: Remove unnecessary <argp.h> include from preload/iterators
  UPSTREAM: bpf: Drop disabled LSM hooks from the sleepable set
  UPSTREAM: bpf: Allow empty module BTFs
  UPSTREAM: bpf: Fix typo in bpf_inode_storage.c
  UPSTREAM: bpf: Use thread_group_leader()
  UPSTREAM: bpf: Add schedule point in htab_init_buckets()
  UPSTREAM: bpf: Remove unused including <linux/version.h>
  UPSTREAM: bpf/task_iter: In task_file_seq_get_next use task_lookup_next_fd_rcu
  UPSTREAM: file: Implement task_lookup_next_fd_rcu
  Revert "UPSTREAM: bpf: Simplify task_file_seq_get_next()"
  Revert "UPSTREAM: bpf: Save correct stopping point in file seq iteration"
  BACKPORT: bpf: Eliminate rlimit-based memory accounting for sockmap and sockhash maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for xskmap maps
  UPSTREAM: vfs, fdtable: Add fget_task helper
  BACKPORT: mm, memcg: rework remote charging API to support nesting
  UPSTREAM: net: Remove the err argument from sock_from_file
  UPSTREAM: ima: Implement ima_inode_hash
  UPSTREAM: ima: add the ability to query the cached hash of a given file
  UPSTREAM: ima: define ima_post_create_tmpfile() hook and add missing call
  UPSTREAM: IMA: Define a new hook to measure the kexec boot command line arguments
  UPSTREAM: file: Rename __fcheck_files to files_lookup_fd_raw
  BACKPORT: file: Replace fcheck_files with files_lookup_fd_rcu
  UPSTREAM: bpf: In bpf_task_fd_query use fget_task
  UPSTREAM: bpf: Only provide bpf_sock_from_file with CONFIG_NET
  UPSTREAM: bpf: Return -ENOTSUPP when attaching to non-kernel BTF
  UPSTREAM: bpf: Propagate __user annotations properly
  UPSTREAM: bpf: Avoid overflows involving hash elem_size
  UPSTREAM: bpf: Expose bpf_sk_storage_* to iterator programs
  UPSTREAM: bpf: Add a bpf_sock_from_file helper
  UPSTREAM: bpf: Allow to specify kernel module BTFs when attaching BPF programs
  UPSTREAM: bpf: Remove hard-coded btf_vmlinux assumption from BPF verifier
  UPSTREAM: bpf: Adds support for setting window clamp
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for bpf progs
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting infra for bpf maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for bpf local storage maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for stackmap maps
  Revert "UPSTREAM: bpf: Fix excessive memory allocation in stack_map_alloc()"
  Revert "UPSTREAM: bpf: Fix incorrect memory charge cost calculation in stack_map_alloc()"
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for bpf ringbuffer
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for reuseport_array maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for queue_stack_maps maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for lpm_trie maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for hashtab maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for devmap maps
  Revert "UPSTREAM: bpf: Fix DEVMAP_HASH overflow check on 32-bit arches"
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for cgroup storage maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for cpumap maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for bpf_struct_ops maps
  UPSTREAM: bpf: Eliminate rlimit-based memory accounting for arraymap maps
  UPSTREAM: bpf: Memcg-based memory accounting for bpf local storage maps
  UPSTREAM: bpf: Memcg-based memory accounting for bpf ringbuffer
  UPSTREAM: bpf: Memcg-based memory accounting for lpm_trie maps
  UPSTREAM: bpf: Refine memcg-based memory accounting for hashtab maps
  UPSTREAM: bpf: Refine memcg-based memory accounting for devmap maps
  UPSTREAM: bpf: Memcg-based memory accounting for cgroup storage maps
  UPSTREAM: bpf: Refine memcg-based memory accounting for cpumap maps
  UPSTREAM: bpf: Refine memcg-based memory accounting for arraymap maps
  UPSTREAM: bpf: Memcg-based memory accounting for bpf maps
  UPSTREAM: bpf: Prepare for memcg-based memory accounting for bpf maps
  UPSTREAM: bpf: Memcg-based memory accounting for bpf progs
  UPSTREAM: bpf: Allow bpf_{s,g}etsockopt from cgroup bind{4,6} hooks
  UPSTREAM: bpf: Add a BPF helper for getting the IMA hash of an inode
  UPSTREAM: bpf: Refactor check_cfg to use a structured loop.
  UPSTREAM: lockdep: Annotate irq_work
  UPSTREAM: lockdep: Add hrtimer context tracing bits
  UPSTREAM: hrtimer: Introduce HARD expiry mode
  UPSTREAM: hrtimer: Make enqueue mode check work on RT
  BACKPORT: lockdep: Introduce wait-type checks
  UPSTREAM: locking/lockdep: Inline __lockdep_init_map()
  UPSTREAM: IPv6: RTM_GETROUTE: Add RTA_ENCAP to result
  UPSTREAM: bpf: Add bpf_ktime_get_coarse_ns helper
  UPSTREAM: bpf: Add bpf_bprm_opts_set helper
  UPSTREAM: bpf: Fix the irq and nmi check in bpf_sk_storage for tracing usage
  UPSTREAM: IPv4: RTM_GETROUTE: Add RTA_ENCAP to result
  UPSTREAM: bpf: Expose bpf_d_path helper to sleepable LSM hooks
  UPSTREAM: bpf: Augment the set of sleepable LSM hooks
  UPSTREAM: bpf: Allow using bpf_sk_storage in FENTRY/FEXIT/RAW_TP
  UPSTREAM: bpf: Rename some functions in bpf_sk_storage
  UPSTREAM: bpf: Fix NULL dereference in bpf_task_storage
  UPSTREAM: bpf: Compile out btf_parse_module() if module BTF is not enabled
  UPSTREAM: tracing: Fix some typos in comments
  UPSTREAM: bpf: Load and verify kernel module BTFs
  UPSTREAM: bpf: Assign ID to vmlinux BTF and return extra info for BTF in GET_OBJ_INFO
  UPSTREAM: bpf: Add in-kernel split BTF support
  UPSTREAM: bpf, btf: Remove the duplicate btf_ids.h include
  UPSTREAM: nexthop: Remove in-kernel route notifications when nexthop changes
  UPSTREAM: bpf: Implement get_current_task_btf and RET_PTR_TO_BTF_ID
  UPSTREAM: bpf: Implement task local storage
  UPSTREAM: pid: move pidfd_get_pid() to pid.c
  UPSTREAM: exit: support non-blocking pidfds
  UPSTREAM: pidfd: add P_PIDFD to waitid()
  UPSTREAM: bpf: Allow LSM programs to use bpf spin locks
  UPSTREAM: bpf: Lift hashtab key_size limit
  UPSTREAM: bpf: Fix error path in htab_map_alloc()
  UPSTREAM: bpf: Avoid hashtab deadlock with map_locked
  UPSTREAM: bpf: Use separate lockdep class for each hashtab
  BACKPORT: locking/lockdep: Add support for dynamic keys
  UPSTREAM: bpf: Permit cond_resched for some iterators
  UPSTREAM: bpf: Reliably preserve btf_trace_xxx types
  UPSTREAM: bpf: Add typecast to raw_tracepoints to help BTF generation
  UPSTREAM: trace: bpf: Allow bpf to attach to bare tracepoints
  UPSTREAM: bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
  UPSTREAM: net: bpfilter: dont use module_init in non-modular code
  UPSTREAM: net: bpfilter: fallback to netfilter if failed to load bpfilter kernel module
  arm64: configs: vendor: Enable DMABUF heaps
  arm64: configs: vendor: Enable DMA-BUF sysfs stats
  arm64: configs: vendor: Enable CONFIG_UDMABUF
  UPSTREAM: mm: introduce page_size()
  ANDROID: dma-buf: heaps: Add a sysfs file to report total pool size.
  ANDROID: dma-buf: Export is_dma_buf_file
  UPSTREAM: dma-mapping: move the dma_coherent flag to struct device
  UPSTREAM: iommu: Introduce wrappers around dev->iommu_fwspec
  UPSTREAM: scatterlist: add generic wrappers for iterating over sgtable objects
  UPSTREAM: lib/scatterlist: Provide a DMA page iterator
  UPSTREAM: xarray: Move multiorder account test in-kernel
  UPSTREAM: shmem: Convert find_swap_entry to XArray
  UPSTREAM: xarray: Fix early termination of xas_for_each_marked
  UPSTREAM: xarray.h: fix kernel-doc warning
  UPSTREAM: mm: fix page cache convergence regression
  UPSTREAM: page cache: Finish XArray conversion
  UPSTREAM: XArray: Use xa_cmpxchg to implement xa_reserve
  UPSTREAM: XArray: Fix xa_release in allocating arrays
  UPSTREAM: XArray: Mark xa_insert and xa_reserve as must_check
  UPSTREAM: XArray: Add cyclic allocation
  BACKPORT: XArray: Redesign xa_alloc API
  BACKPORT: XArray: Add support for 1s-based allocation
  UPSTREAM: XArray: Fix xa_alloc when id exceeds max
  UPSTREAM: XArray: Change xa_insert to return -EBUSY
  UPSTREAM: XArray: Update xa_erase family descriptions
  UPSTREAM: XArray: Fix an arithmetic error in xa_is_err
  UPSTREAM: XArray: Fix typo in comment
  UPSTREAM: XArray: Honour reserved entries in xa_insert
  UPSTREAM: XArray: Permit storing 2-byte-aligned pointers
  UPSTREAM: XArray: Change xa_for_each iterator
  UPSTREAM: XArray: Fix xa_for_each with a single element at 0
  UPSTREAM: XArray: Turn xa_init_flags into a static inline
  UPSTREAM: XArray: Add xa_cmpxchg_irq and xa_cmpxchg_bh
  UPSTREAM: shmem: Convert shmem_free_swap to XArray
  UPSTREAM: XArray: Fix Documentation
  UPSTREAM: XArray: Add xa_store_bh() and xa_store_irq()
  UPSTREAM: XArray: Turn xa_erase into an exported function
  UPSTREAM: XArray: Unify xa_cmpxchg and __xa_cmpxchg
  UPSTREAM: XArray: Regularise xa_reserve
  UPSTREAM: xarray: Add range store functionality
  UPSTREAM: mm: Convert workingset to XArray
  UPSTREAM: page cache: Convert delete_batch to XArray
  UPSTREAM: page cache: Convert page deletion to XArray
  UPSTREAM: page cache: Add and replace pages using the XArray
  UPSTREAM: xarray: Track free entries in an XArray
  UPSTREAM: xarray: Add xa_reserve and xa_release
  UPSTREAM: xarray: Add xas_create_range
  UPSTREAM: xarray: Add xas_for_each_conflict
  UPSTREAM: xarray: Step through an XArray
  UPSTREAM: xarray: Destroy an XArray
  UPSTREAM: xarray: Extract entries from an XArray
  UPSTREAM: xarray: Add XArray iterators
  UPSTREAM: xarray: Add XArray conditional store operations
  fixup! idr: Fix idr_get_next race with idr_remove
  UPSTREAM: xarray: Add XArray unconditional store operations
  UPSTREAM: xarray: Add XArray marks
  UPSTREAM: xarray: Add XArray load operation
  UPSTREAM: xarray: Define struct xa_node
  UPSTREAM: xarray: Add definition of struct xarray
  UPSTREAM: xarray: Change definition of sibling entries
  UPSTREAM: idr: Permit any valid kernel pointer to be stored
  BACKPORT: xarray: Replace exceptional entries
  UPSTREAM: udmabuf: fix a buf size overflow issue during udmabuf creation
  UPSTREAM: dma-buf: heaps: Fix off-by-one in CMA heap fault handler
  UPSTREAM: udmabuf: also check for F_SEAL_FUTURE_WRITE
  UPSTREAM: dma-buf: fix dma_fence_array_signaled v4
  UPSTREAM: dma-buf: system_heap: Avoid warning on mid-order allocations
  UPSTREAM: dma-buf: call dma_buf_stats_setup after dmabuf is in valid list
  UPSTREAM: dma-buf: heaps: Fix potential spectre v1 gadget
  UPSTREAM: dma-buf: cma_heap: Fix mutex locking section
  UPSTREAM: dma-buf: DMABUF_SYSFS_STATS should depend on DMA_SHARED_BUFFER
  UPSTREAM: udmabuf: Set the DMA mask for the udmabuf device (v2)
  UPSTREAM: udmabuf: add back sanity check
  UPSTREAM: udmabuf: validate ubuf->pagecount
  UPSTREAM: dma-buf: system_heap: Use 'for_each_sgtable_sg' in pages free flow
  UPSTREAM: dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
  UPSTREAM: dma-buf: WARN on dmabuf release with pending attachments
  UPSTREAM: ANDROID: dma-buf: Add mutex_unlock back which was being wrongly removed
  UPSTREAM: ANDROID: Delete the DMA-BUF attachment sysfs statistics
  UPSTREAM: Revert "ANDROID: dmabuf: Add mmap_count to struct dmabuf"
  UPSTREAM: dma-buf: cma_heap: Include linux/vmalloc.h to fix build failures on MIPS
  UPSTREAM: ANDROID: dma-buf: Fix error path on system heaps use of the page pool
  UPSTREAM: ANDROID: dma-buf: heaps: fix a warning in dmabuf page pools
  UPSTREAM: ANDROID: dmabuf: Add mmap_count to struct dmabuf
  UPSTREAM: ANDROID: Add EXPORT_SYMBOL_GPL for dma_heap_get_name
  UPSTREAM: FROMLIST: dma-buf: heaps: Fix the name used when exporting dmabufs to be the actual heap name
  UPSTREAM: BACKPORT: FROMLIST: dma-buf: dma-heap: Provide accessor to get heap name
  UPSTREAM: ANDROID: dma-buf: system_heap: Add deferred freeing to the system heap
  UPSTREAM: ANDROID: dma-buf: system_heap: Add pagepool support to system heap
  UPSTREAM: ANDROID: dma-buf: heaps: Add a shrinker controlled page pool
  UPSTREAM: ANDROID: dma-buf: heaps: Add deferred-free-helper library code
  UPSTREAM: ANDROID: dma-buf: heap: export dma_heap_put
  UPSTREAM: kobject: Add support for default attribute groups to kobj_type
  BACKPORT: FROMLIST: dmabuf: Add the capability to expose DMA-BUF stats in sysfs
  UPSTREAM: FROMGIT: dma-buf: cma_heap: Fix memory leak in CMA heap
  UPSTREAM: ANDROID: dma-buf: heaps: Allow the DMA-BUF system heap to be a module
  UPSTREAM: FROMLIST: dma-buf: system_heap: Add a system-uncached heap re-using the system heap
  UPSTREAM: FROMLIST: dma-buf: dma-heap: Keep track of the heap device struct
  UPSTREAM: dma-buf: system_heap: Allocate higher order pages if available
  UPSTREAM: dma-buf: heaps: Skip sync if not mapped
  UPSTREAM: dma-buf: heaps: Remove heap-helpers code
  UPSTREAM: BACKPORT: dma-buf: heaps: Move heap-helper logic into the cma_heap implementation
  UPSTREAM: BACKPORT: dma-buf: system_heap: Rework system heap to use sgtables instead of pagelists
  UPSTREAM: ANDROID: dma-buf: heaps: Allow cma heaps to be configured as a module
  UPSTREAM: dma-buf/dma-resv: Respect num_fences when initializing the shared fence list.
  UPSTREAM: ANDROID: dma-buf: heaps: Make cma_heap_allocate() static
  UPSTREAM: ANDROID: dma-heap: Provide accessors so that in-kernel drivers can allocate dmabufs from specific heaps
  UPSTREAM: ANDROID: dma-heap: Rework allocation calls to return struct dma_buf instead of fd
  UPSTREAM: ANDROID: dma-heap: Refactor code to allow for future in-kernel users
  UPSTREAM: ANDROID: dma-buf: Cleanup minor usage in "Add proper kref handling on dma-buf heaps"
  UPSTREAM: ANDROID: dma-heap: Add proper kref handling on dma-buf heaps
  UPSTREAM: ANDROID: Export dma_heap_add to modularize heaps
  UPSTREAM: dmabuf: fix NULL pointer dereference in dma_buf_release()
  UPSTREAM: dma-buf: fix resource leak on -ENOTTY error return path
  UPSTREAM: dma-heap: Make the symbol 'dma_heap_ioctl_cmds' static
  UPSTREAM: dma-buf: heaps: Remove redundant heap identifier from system heap name
  UPSTREAM: dma-buf: heaps: Use _IOCTL_ for userspace IOCTL identifier
  UPSTREAM: dma-buf: heaps: Add CMA heap to dmabuf heaps
  UPSTREAM: dma-buf: heaps: Add system heap to dmabuf heaps
  UPSTREAM: dma-buf: heaps: Add heap helpers
  UPSTREAM: dma-buf: Add dma-buf heaps framework
  UPSTREAM: dmabuf: use spinlock to access dmabuf->name
  fixup! BACKPORT: vfs: Convert dma-buf to use the new mount API
  UPSTREAM: dma-buf/resv: fix exclusive fence get
  UPSTREAM: dmabuf: Mark up onstack timer for selftests
  UPSTREAM: dma-buf: Use %zu for printing sizeof
  UPSTREAM: dma-buf: Add selftests for dma-fence
  UPSTREAM: dma-buf: Introduce selftesting framework
  UPSTREAM: dma-fence: Store the timestamp in the same union as the cb_list
  disp: msm: sde: let dma-fence driver set timestamp on signal
  UPSTREAM: dma-buf: make dma_fence structure a bit smaller v2
  UPSTREAM: dma-fence: Simply wrap dma_fence_signal_locked with dma_fence_signal
  UPSTREAM: dma-fence: Avoid list_del during fence->cb_list iteration
  BACKPORT: dma-buf: rename reservation_object to dma_resv
  UPSTREAM: drm/virtio: switch driver from bo->resv to bo->base.resv
  UPSTREAM: dma-fence: Report the composite sync_file status
  UPSTREAM: dma-fence: Propagate errors to dma-fence-array container
  UPSTREAM: dma-buf: clarify locking documentation for reservation_object_get_excl
  UPSTREAM: dma-buf: simplify reservation_object_get_fences_rcu a bit
  UPSTREAM: dma-buf: fix shared fence list handling in reservation_object_copy_fences
  UPSTREAM: dma-buf: fix busy wait for new shared fences
  UPSTREAM: dma-buf: fix stack corruption in dma_fence_chain_release
  UPSTREAM: dma-buf: Relax the write-seqlock for reallocating the shared fence list
  UPSTREAM: dma-buf: Expand reservation_list to fill allocation
  UPSTREAM: dma-buf: cleanup reservation_object_init/fini
  UPSTREAM: dma-fence: Signal all callbacks from dma_fence_release()
  UPSTREAM: udmabuf: actually unmap the scatterlist
  UPSTREAM: dma-buf: start caching of sg_table objects v2
  UPSTREAM: dma-buf: Make mmap callback actually optional
  UPSTREAM: dma-buf: Remove unused sync_dump()
  UPSTREAM: dma-buf: explicitely note that dma-fence-chains use 64bit seqno
  UPSTREAM: dma-buf: add new dma_fence_chain container v7
  UPSTREAM: dma-buf: add some lockdep asserts to the reservation object implementation
  UPSTREAM: dma-buf: Change to use DEFINE_SHOW_ATTRIBUTE macro
  UPSTREAM: dma-buf: make fence sequence numbers 64 bit v2
  UPSTREAM: dma-buf: add dma_fence_get_stub
  UPSTREAM: udmabuf: set read/write flag when exporting
  UPSTREAM: dma-buf: Update reservation shared_count after adding the new fence
  BACKPORT: dma-buf: allow reserving more than one shared fence slot
  UPSTREAM: dma-buf: remove shared fence staging in reservation object
  UPSTREAM: udmabuf: fix error code in map_udmabuf()
  UPSTREAM: udmabuf: use sizeof(variable) instead of sizeof(type)
  UPSTREAM: udmabuf: drop WARN_ON() check.
  UPSTREAM: udmabuf: use ENOTTY for invalid ioctls
  UPSTREAM: udmabuf: use EBADFD in case we didn't got a memfd
  UPSTREAM: udmabuf: improve udmabuf_create error handling
  UPSTREAM: udmabuf: rework limits
  UPSTREAM: udmabuf: add MEMFD_CREATE dependency
  UPSTREAM: udmabuf: constify udmabuf_create args
  UPSTREAM: udmabuf: constify udmabuf_ops
  UPSTREAM: udmabuf: use pgoff_t for pagecount
  UPSTREAM: udmabuf: improve map_udmabuf error handling
  UPSTREAM: udmabuf: sort headers, drop uapi/ path prefix
  UPSTREAM: dma-buf/udmabuf: Fix NULL pointer dereference in udmabuf_create
  UPSTREAM: drivers/dma-buf/udmabuf.c: convert to use vm_fault_t
  UPSTREAM: Add udmabuf misc device
  UPSTREAM: dma-buf: Remove requirement for ops->map() from dma_buf_export
  UPSTREAM: bpf: Fix metadata_dst leak __bpf_redirect_neigh_v{4,6}
  UPSTREAM: ipv6: Initialize fib6_result in bpf_ipv6_fib_lookup
  UPSTREAM: bpf: Handle ipv6 gateway in bpf_ipv4_fib_lookup
  UPSTREAM: bpf: Do not let BPF test infra emit invalid GSO types to stack
  UPSTREAM: bpf: Reject narrower access to pointer ctx fields
  UPSTREAM: ipv6: Set errno after ip_fib_metrics_init() in ip6_route_info_create().
  UPSTREAM: ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().
  UPSTREAM: ipv4: Refactor nhc evaluation in fib_table_lookup
  UPSTREAM: ipv6: prevent possible NULL deref in fib6_nh_init()
  UPSTREAM: ipv6: fix possible race in __fib6_drop_pcpu_from()
  UPSTREAM: net/ipv6: Fix route deleting failure when metric equals 0
  UPSTREAM: ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
  UPSTREAM: nexthop: Fix data-races around nexthop_compat_mode.
  UPSTREAM: ipv6: take care of disable_policy when restoring routes
  UPSTREAM: ipv6: Fix stats accounting in ip6_pkt_drop
  UPSTREAM: lwtunnel: Validate RTA_ENCAP_TYPE attribute length
  UPSTREAM: net: ipv6: add fib6_nh_release_dsts stub
  UPSTREAM: net: ipv4: Fix rtnexthop len when RTA_FLOW is present
  UPSTREAM: ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
  UPSTREAM: ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
  UPSTREAM: ipv6: route: convert comma to semicolon
  UPSTREAM: ipv6: remove redundant assignment to variable err
  UPSTREAM: ipv6: Fix nexthop refcnt leak when creating ipv6 route info
  UPSTREAM: ipv6: Fix use of anycast address with loopback
  UPSTREAM: ipv6: fib6_select_path can not use out path for nexthop objects
  UPSTREAM: ipv6: fib6: avoid indirect calls from fib6_rule_lookup
  UPSTREAM: nexthop: support for fdb ecmp nexthops
  UPSTREAM: nexthops: remove redundant assignment to variable err
  UPSTREAM: ipv6: lift copy_from_user out of ipv6_route_ioctl
  UPSTREAM: ipv6: use DST_NOCOUNT in ip6_rt_pcpu_alloc()
  UPSTREAM: ipv6: Use global sernum for dst validation with nexthop objects
  BACKPORT: net: ipv4: add sysctl for nexthop api compatibility mode
  UPSTREAM: nexthops: add support for replace
  BACKPORT: net: ipv6: new arg skip_notify to ip6_rt_del
  BACKPORT: net: add net available in build_state
  BACKPORT: inet: Use fallthrough;
  UPSTREAM: ipv6: Add "offload" and "trap" indications to routes
  UPSTREAM: ipv6: Handle multipath route deletion notification
  UPSTREAM: ipv6: Notify multipath route if should be offloaded
  UPSTREAM: ipv6: Handle route deletion notification
  UPSTREAM: ipv6: Unlink sibling route in case of failure
  BACKPORT: ipv6: Stop sending in-kernel notifications for each nexthop
  Revert "ipv6: Unlink sibling route in case of failure"
  UPSTREAM: net: fib_notifier: Add temporary events to the FIB notification chain
  UPSTREAM: ipv6: keep track of routes using src
  UPSTREAM: ipv6/route: return if there is no fib_nh_gw_family
  UPSTREAM: ipv6: Don't use dst gateway directly in ip6_confirm_neigh()
  UPSTREAM: ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()
  UPSTREAM: net: Properly update v4 routes with v6 nexthop
  UPSTREAM: ipv4: Allow ipv6 gateway with ipv4 routes
  UPSTREAM: ipv6: Fix RTA_MULTIPATH with nexthop objects
  UPSTREAM: net-ipv6: fix excessive RTF_ADDRCONF flag on ::1/128 local route (and others)
  UPSTREAM: ipv6: have a single rcu unlock point in __ip6_rt_update_pmtu
  UPSTREAM: ipv6: Fix unbalanced rcu locking in rt6_update_exception_stamp_rt
  UPSTREAM: ipv6: Support multipath hashing on inner IP pkts
  UPSTREAM: ipv6: Convert gateway validation to use fib6_info
  UPSTREAM: ipv6: fix neighbour resolution with raw socket
  UPSTREAM: ipv6: constify rt6_nexthop()
  UPSTREAM: ipv6: fix suspicious RCU usage in rt6_dump_route()
  UPSTREAM: net/ipv6: Fix misuse of proc_dointvec "skip_notify_on_dev_down"
  UPSTREAM: ipv6: Dump route exceptions if requested
  UPSTREAM: ipv6/route: Change return code of rt6_dump_route() for partial node dumps
  UPSTREAM: ipv6/route: Don't match on fc_nh_id if not set in ip6_route_del()
  UPSTREAM: ipv6: convert major tx path to use RT6_LOOKUP_F_DST_NOREF
  UPSTREAM: ipv6: honor RT6_LOOKUP_F_DST_NOREF in rule lookup logic
  UPSTREAM: ipv6: convert rx data path to not take refcnt on dst
  UPSTREAM: ipv6: initialize rt6->rt6i_uncached in all pre-allocated dst entries
  UPSTREAM: ipv6: introduce RT6_LOOKUP_F_DST_NOREF flag in ip6_pol_route()
  UPSTREAM: ipv6: Error when route does not have any valid nexthops
  UPSTREAM: ipv6: Add IPv6 multipath notification for route delete
  UPSTREAM: ipv6: Add IPv6 multipath notifications for add / replace
  UPSTREAM: netlink: Add field to skip in-kernel notifications
  UPSTREAM: netlink: Document all fields of 'struct nl_info'
  UPSTREAM: ipv6: Allow routes to use nexthop objects
  UPSTREAM: ipv6: Extend notifier info for multipath routes
  UPSTREAM: ipv6: Handle all fib6_nh in a nexthop in mtu updates
  UPSTREAM: nexthops: Add ipv6 helper to walk all fib6_nh in a nexthop struct
  UPSTREAM: ipv6: Handle all fib6_nh in a nexthop in rt6_do_redirect
  UPSTREAM: ipv6: Handle all fib6_nh in a nexthop in __ip6_route_redirect
  UPSTREAM: ipv6: Handle all fib6_nh in a nexthop in exception handling
  UPSTREAM: ipv6: Handle all fib6_nh in a nexthop in fib6_info_uses_dev
  UPSTREAM: ipv6: Handle all fib6_nh in a nexthop in rt6_nlmsg_size
  UPSTREAM: ipv6: Handle all fib6_nh in a nexthop in __find_rr_leaf
  UPSTREAM: ipv6: Handle all fib6_nh in a nexthop in rt6_device_match
  UPSTREAM: ipv6: fix spelling mistake: "wtih" -> "with"
  UPSTREAM: ipv6: Plumb support for nexthop object in a fib6_info
  UPSTREAM: ipv4: Plumb support for nexthop object in a fib_info
  UPSTREAM: ipv4: export fib_flush
  UPSTREAM: ipv4: Add function to send route updates
  UPSTREAM: scsi: libcxgbi: fib6_ino reference in rt6_info is rcu protected
  UPSTREAM: ipv6: Always allocate pcpu memory in a fib6_nh
  UPSTREAM: ipv6: use this_cpu_read() in rt6_get_pcpu_route()
  UPSTREAM: ipv6: Refactor ip6_route_del for cached routes
  UPSTREAM: ipv6: Make fib6_nh optional at the end of fib6_info
  UPSTREAM: ipv6: Refactor fib6_drop_pcpu_from
  UPSTREAM: ipv6: Restore RTF_ADDRCONF check in rt6_qualify_for_ecmp
  UPSTREAM: ipv6: Simplify rt6_qualify_for_ecmp
  UPSTREAM: ipv6: Move exception bucket to fib6_nh
  UPSTREAM: ipv6: fix src addr routing with the exception table
  UPSTREAM: net: Move free of fib_metrics to helper
  UPSTREAM: ipv6: fib6_info_destroy_rcu() cleanup
  UPSTREAM: ipv6: Refactor exception functions
  UPSTREAM: ipv6: Move pcpu cached routes to fib6_nh
  UPSTREAM: net: Set strict_start_type for routes and rules
  UPSTREAM: ipv6: export function to send route updates
  UPSTREAM: ipv6: Add hook to bump sernum for a route to stubs
  UPSTREAM: ipv6: Add delete route hook to stubs
  UPSTREAM: ipv6: Remove fib6_info_nh_lwt
  UPSTREAM: vrf: Use orig netdev to count Ip6InNoRoutes and a fresh route lookup when sending dest unreach
  BACKPORT: netlink: make nla_nest_start() add NLA_F_NESTED flag
  UPSTREAM: ipv6: convert fib6_ref to refcount_t
  UPSTREAM: ipv6: broadly use fib6_info_hold() helper
  UPSTREAM: ipv6: Add fib6_type and fib6_flags to fib6_result
  UPSTREAM: ipv6: Pass fib6_result to rt6_device_match
  UPSTREAM: ipv6: Pass fib6_result to ip6_mtu_from_fib6 and fib6_mtu
  UPSTREAM: ipv6: Pass fib6_result to rt6_insert_exception
  UPSTREAM: ipv6: Pass fib6_result to ip6_rt_get_dev_rcu and ip6_rt_copy_init
  UPSTREAM: ipv6: Pass fib6_result to pcpu route functions
  BACKPORT: ipv6: Pass fib6_result to ip6_rt_cache_alloc
  UPSTREAM: ipv6: Refactor rt6_device_match
  UPSTREAM: ipv6: Remove fallback argument from ip6_hold_safe
  UPSTREAM: net/ipv6: prefer rcu_access_pointer() over rcu_dereference()
  BACKPORT: net: ipv6: route: perform strict checks also for doit handlers
  UPSTREAM: ipv6: route: place a warning with duplicated string with correct extack
  UPSTREAM: net/ipv6: Add knob to skip DELROUTE message on device down
  UPSTREAM: net/ipv6: Make ipv6_route_table_template static
  BACKPORT: net: Add extack to nlmsg_parse
  UPSTREAM: ipv6: do not leave garbage in rt->fib6_metrics
  UPSTREAM: net: inet6_rtm_getroute() - use new style struct initializer instead of memset
  UPSTREAM: net: rtm_to_fib6_config() - use new style struct initializer instead of memset
  UPSTREAM: net: ip6_update_pmtu() - use new style struct initializer instead of memset
  UPSTREAM: net: remove 1 always zero parameter from ip6_redirect_no_header()
  UPSTREAM: net: ip6_redirect_no_header() - use new style struct initializer instead of memset
  UPSTREAM: net: ip6_redirect() - use new style struct initializer instead of memset
  UPSTREAM: ipv6: Allow the l3mdev to be a loopback
  CIP: Bump version suffix to -cip133 after merge from cip/linux-4.19.y-st tree
  Update localversion-st, tree is up-to-date with 5.10.256.
  x86/CPU/AMD: Prevent improper isolation of shared resources in Zen2's op cache
  x86/CPU/AMD: Add X86_FEATURE_ZEN1
  x86/CPU/AMD: Rename init_amd_zn() to init_amd_zen_common()
  x86/CPU/AMD: Add ZenX generations flags
  ptrace: slightly saner 'get_dumpable()' logic
  xfrm: esp: avoid in-place decrypt on shared skb frags

Change-Id: I93cfa9d0507c3f089eeba3d26a58d516137da21a
2026-06-01 22:53:30 -04:00
bb71415f94 disp: msm: sde: let dma-fence driver set timestamp on signal
Avoid corrupting the cb_list by setting timestamp before signal.
The fence driver changed in msm-5.4 by creating a union for the
fence cb_list, timestamp, and rcu. Therefore only one of these
fields can be used at a time. Fence driver will take care of
setting the timestamp during dma_fence_signal after it has
cached the cb_list. Also, use fence framework API to set fence
error instead of modifying the dma_fence struct directly.

Change-Id: I58dbaa495027cb575f4f0b03275ca4aa551ecacb
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
2026-05-31 11:15:35 +01:00
ac643c781c Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  fixup! BACKPORT: kbuild: check the minimum assembler version in Kconfig
  techpack: drm/msm/sde: add sysfs node for trigger wake up early

Change-Id: Ia6c195fd5d8f0d04fb612d918ca2100a712a06e6
2026-05-19 21:54:26 -04:00
92d5f87662 techpack: drm/msm/sde: add sysfs node for trigger wake up early
Add sysfs node on crtc to trigger sde wake up early.
The command to trigger wake up early give in shell:

echo 1 > /sys/class/drm/sde-crtc-*/early_wakeup

Bug: 150196517
Test: trigger wake up and switch display power state
Test: testInflatingEmojiListViewFling
Test: testBrowseContentScroll
Change-Id: I96e6ad73e83e8a9e3e5e65e064c92f8e6a6d63f8
Signed-off-by: Midas Chien <midaschieh@google.com>
2026-05-18 17:45:54 -07:00
d02b4dfc69 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  UPSTREAM: x86/jump_table: Use relative references
  UPSTREAM: x86/jump_label: Switch to jump_entry accessors
  UPSTREAM: arm64/kernel: jump_label: Switch to relative references
  UPSTREAM: net: add and use skb_unclone_keeptruesize() helper
  UPSTREAM: kfence: fix is_kfence_address() for addresses below KFENCE_POOL_SIZE
  BACKPORT: kbuild: check CONFIG_AS_IS_LLVM instead of LLVM_IAS
  BACKPORT: kbuild: Switch to 'f' variants of integrated assembler flag
  Revert "Makefile: Fix LLVM_IAS condition after IAS default flip"
  UPSTREAM: vsock: Do not allow binding to VMADDR_PORT_ANY
  kgsl: Add buffer overflow check for perfcounter dynamic list
  kgsl: Use the page compound order when freeing pages
  kgsl: Avoid use after free in kgsl_destroy_ion()
  msm: camera: common: Fix buffer validation check
  msm: camera: common: Fix buffer validation check
  kgsl: Prevent sign extension on alignments
  UPSTREAM: posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()
  disp: msm: dsi: add null pointer check in dsi_display_dev_remove
  asoc: codec: avoid out of bound write to map array.
  asoc: codec: avoid out of bound write to map array
  qcacld-3.0: Fix the possible OOB write in country IE unpack
  qcacld-3.0: Correcting the TSInfo structure size according to the Spec
  dsp: q6voice: Adds checks for an integer overflow

Change-Id: Iba8c5c70ec5b69dbb140d141c1053db1ed014c60
2026-05-07 10:51:55 -04:00
6b8a3ca0b7 Merge tag 'LA.UM.9.15.2.c26-05800-KAMORTA.QSSI13c26.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.15.2.c26-05800-KAMORTA.QSSI13c26.0"

* tag 'LA.UM.9.15.2.c26-05800-KAMORTA.QSSI13c26.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: common: Fix buffer validation check

Change-Id: Iff076074d6b3c66afe682c387d7630bcd1f0f39e
2026-04-30 19:25:05 +03:00
31fe3dfb95 Merge tag 'LA.UM.9.12.c25-04100-SMxx50.QSSI13c28.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.c25-04100-SMxx50.QSSI13c28.0"

* tag 'LA.UM.9.12.c25-04100-SMxx50.QSSI13c28.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: common: Fix buffer validation check

Change-Id: Ie0d7d5169ffd5f42e0b87c2542eec1eae8e6a3e6
2026-04-30 19:24:13 +03:00
5035b4cb9b Merge tag 'LA.UM.9.12.c25-04100-SMxx50.QSSI13c28.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.c25-04100-SMxx50.QSSI13c28.0"

* tag 'LA.UM.9.12.c25-04100-SMxx50.QSSI13c28.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  asoc: codec: avoid out of bound write to map array.
  dsp: q6voice: Adds checks for an integer overflow

 Conflicts:
	techpack/audio/asoc/codecs/rouleur/rouleur.c
	techpack/audio/asoc/codecs/wcd937x/wcd937x.c

Change-Id: I56dc8bb76492c2000138048ca1a48ed66c38e5d9
2026-04-30 19:22:22 +03:00
0bd6998187 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  arm64: configs: vendor: Switch linker to LLD
  arm64: configs: vendor: Enable CONFIG_SHADOW_CALL_STACK
  arm64: configs: vendor: Enable CONFIG_RD_LZ4
  msm: ipa3: fix callback function type for ndo_start_xmit
  thermal: qcom: fix KCFI errors
  msm: vidc/cvp: fix function type for hfi_cmd_response_callback
  msm: vidc/cvp: Fix handle_cmd_response parameter type
  msm: vidc: fix KCFI errors
  core: Remove dl marker v1 usage
  linux/kallsyms: Increase KSYM_NAME_LEN both in kernel and kallsyms.c
  bus: mhi: devices: netdev: Use netdev_tx_t for ndo_start_xmit
  disp: msm: dsi: fix function type for dsi_display_clk_ctrl
  UPSTREAM: kbuild: remove 'addtree' and 'flags' magic for header search paths
  UPSTREAM: libfdt: prefix header search paths with $(srctree)/
  qcacld-3.0: Fix the compiler error- Argument list too long
  fixup! BACKPORT: treewide: prefix header search paths with $(srctree)/
  UPSTREAM: kbuild: simplify rules of data compression with size appending
  UPSTREAM: kbuild: skip 'addtree' and 'flags' magic for external module build
  UPSTREAM: kbuild: remove UIMAGE_IN and UIMAGE_OUT
  UPSTREAM: kbuild: remove redundant 'set -e' from filechk_offsets
  UPSTREAM: kbuild: Enable dtc graph_port warning by default
  UPSTREAM: init/main.c: include <linux/mem_encrypt.h>
  BACKPORT: kbuild: check the minimum assembler version in Kconfig
  UPSTREAM: kbuild: simplify GCC_PLUGINS enablement in dummy-tools/gcc
  UPSTREAM: kbuild: dummy-tools: fix inverted tests for gcc
  UPSTREAM: kbuild: add dummy toolchains to enable all cc-option etc. in Kconfig
  qcacld-3.0: Fix implicit enum-enum-cast warnings
  Makefile: Fix LLVM_IAS condition after IAS default flip
  fixup! BACKPORT: fuse: name fs_context consistently
  arm64: dts: vendor: qcom: camera: Import missing `kona-camera-sensor-rb5-nopop.dtsi` devicetree
  arm64: dts: vendor: qcom: Remove references to coresight
  arm64: dts: vendor: qcom: Remove reference to `disp_rdump_memory`

Change-Id: I4a54abe3500e3fffdf5c43c68c49e938ebe7ad48
2026-04-20 23:33:10 -04:00
43054a6fa3 msm: vidc/cvp: fix function type for hfi_cmd_response_callback
Change-Id: I5ae2a546fa08343a7e16dc6aff8183c08a5f3ea2
Signed-off-by: Flicker372 flicker372@outlook.com
2026-04-20 23:15:57 -04:00
68084f3505 msm: vidc/cvp: Fix handle_cmd_response parameter type
Bug: 117299373
Change-Id: Iffee5fd84fb1340bed7585d3dfb438e7955f61c5
Signed-off-by: Miguel de Dios <migueldedios@google.com>
Signed-off-by: Flicker372 <flicker372@outlook.com>
2026-04-20 23:15:56 -04:00
7f90265b8e core: Remove dl marker v1 usage
This removes the unused dl marker v1 definitions, handlers and users
since these are no longer used.

This also fixes the following CFI warning-
CFI failure (target: rmnet_perf_core_handle_map_control_end.cfi_jt+0x0/0x4 [rmnet_perf]):
WARNING: CPU: 1 PID: 0 at kernel/cfi.c:29 __ubsan_handle_cfi_check_fail+0x4c/0x54
pstate: 60400005 (nZCv daif +PAN -UAO)
pc: __ubsan_handle_cfi_check_fail+0x4c/0x54
lr: __ubsan_handle_cfi_check_fail+0x4c/0x54
Call trace:
__ubsan_handle_cfi_check_fail+0x4c/0x54
__cfi_check+0x204/0x220 [rmnet_perf]
rmnet_map_dl_trl_notify_v2+0x58/0x88 [rmnet_core]
rmnet_frag_flow_command+0x110/0x120 [rmnet_core]
rmnet_frag_ingress_handler+0xe0/0x3bc [rmnet_core]
rmnet_rx_handler+0x1cc/0x2a4 [rmnet_core]
__netif_receive_skb_core+0x554/0xdc4
process_backlog$4cc8cf18b485f47de9fc54109f04daea+0x1a4/0x314
net_rx_action$4cc8cf18b485f47de9fc54109f04daea+0x144/0x578
__do_softirq+0x250/0x580
irq_exit+0xcc/0xd0
handle_IPI+0x228/0x3b0
efi_header_end+0x148/0x17c
el1_irq+0x108/0x200
lpm_cpuidle_enter$a9941074ca35bb1f25355cf2ff310eae+0x57c/0x5c8
cpuidle_enter_state+0x130/0x334
cpuidle_enter+0x38/0x50
do_idle.llvm.4847091502713502628+0x1e4/0x2ec
cpu_startup_entry+0x24/0x28
__cpu_disable+0x0/0xbc

CRs-Fixed: 2647192
Change-Id: I5dc625f0791aff9738b2128f99c79d7e0dadf26d
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2026-04-20 23:15:56 -04:00
a23387f38d disp: msm: dsi: fix function type for dsi_display_clk_ctrl
dsi_display_clk_ctrl is assigned as a callback function to struct
sde_connector_ops::clk_ctrl. This changes changes the function type to
match the pointer type to avoid Control-Flow Integrity (CFI) failures.

Bug: 148470764
Change-Id: Id67a6971a597b047524cf6eac6c48c057e8f9e9a
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
2026-04-20 23:15:56 -04:00
2405e1c745 Merge remote-tracking branch 'sm8250/lineage-20' into lineage-23.2
* sm8250/lineage-20:
  arm64: configs: vendor: Enable CONFIG_UNICODE
  UPSTREAM: net/ipv6: Remove rt6i_prefsrc
  UPSTREAM: ipv6: Pass fib6_result to fib lookups
  UPSTREAM: ipv6: Pass fib6_result to fib6_table_lookup tracepoint
  UPSTREAM: ipv6: Pass fib6_result to ip6_create_rt_rcu
  UPSTREAM: ipv6: Remove flowi6_oif compare from __ip6_route_redirect
  UPSTREAM: ipv6: Pass fib6_result to rt6_find_cached_rt
  Revert "ipv6: fix src addr routing with the exception table"
  UPSTREAM: ipv6: Refactor __ip6_route_redirect
  UPSTREAM: ipv6: Pass fib6_result to rt6_select and find_rr_leaf
  UPSTREAM: ipv6: Refactor find_rr_leaf
  UPSTREAM: ipv6: Refactor find_match
  UPSTREAM: ipv6: fixes rt6_probe() and fib6_nh->last_probe init
  UPSTREAM: ipv6: Pass fib6_nh and flags to rt6_score_route
  UPSTREAM: ipv6: Change rt6_probe to take a fib6_nh
  Revert "ipv6: fixes rt6_probe() and fib6_nh->last_probe init"
  UPSTREAM: ipv6: Remove rt6_check_dev
  UPSTREAM: ipv6: Only call rt6_check_neigh for nexthop with gateway
  UPSTREAM: ipv6: Rename fib6_multipath_select and pass fib6_result
  UPSTREAM: ipv6: Move fib6_multipath_select down in ip6_pol_route
  UPSTREAM: ipv6: Be smarter with null_entry handling in ip6_pol_route_lookup
  UPSTREAM: net: Replace nhc_has_gw with nhc_gw_family
  UPSTREAM: ipv6: Flip to fib_nexthop_info
  UPSTREAM: net: Enable kernel side filtering of route dumps
  BACKPORT: netlink: Add strict version of nlmsg_parse and nla_parse
  UPSTREAM: netlink: Add answer_flags to netlink_callback
  UPSTREAM: ipv4: Change fib_nexthop_info and fib_add_nexthop to take fib_nh_common
  UPSTREAM: ipv4: Refactor nexthop attributes in fib_dump_info
  UPSTREAM: ipv4: not do cache for local delivery if bc_forwarding is enabled
  UPSTREAM: ipv4: Update exception handling for multipath routes via same device
  UPSTREAM: ipv4: Move exception bucket to nh_common
  UPSTREAM: ipv4: Move cached routes to fib_nh_common
  UPSTREAM: net: Use common nexthop init and release helpers
  BACKPORT: ipv4: Create cleanup helper for fib_nh
  UPSTREAM: ipv4: Add fib_nh_common to fib_result
  Revert "ipv4: not do cache for local delivery if bc_forwarding is enabled"
  Revert "ipv4: Update exception handling for multipath routes via same device"
  UPSTREAM: ipv4: Update fib_table_lookup tracepoint to take common nexthop
  UPSTREAM: net: Add fib_nh_common and update fib_nh and fib6_nh
  BACKPORT: ipv4: Create init helper for fib_nh
  UPSTREAM: ipv4: Define fib_get_nhs when CONFIG_IP_ROUTE_MULTIPATH is disabled
  BACKPORT: ipv4: Move IN_DEV_IGNORE_ROUTES_WITH_LINKDOWN to helper
  UPSTREAM: ipv6: Rename fib6_nh entries
  UPSTREAM: net: netlink: rename NETLINK_DUMP_STRICT_CHK -> NETLINK_GET_STRICT_CHK
  UPSTREAM: net/ipv6: Plumb support for filtering route dumps
  UPSTREAM: net: Add struct for fib dump filter
  UPSTREAM: net/mpls: Implement handler for strict data checking on dumps
  UPSTREAM: rtnetlink: Update fib dumps for strict data checking
  UPSTREAM: netlink: Add new socket option to enable strict checking on dumps
  UPSTREAM: netlink: Pass extack to dump handlers
  UPSTREAM: ipv6: Change rt6_add_nexthop and rt6_nexthop_info to take fib6_nh
  UPSTREAM: ipv6: Refactor fib6_ignore_linkdown
  BACKPORT: ipv6: Move gateway checks to a fib6_nh setting
  Revert "UPSTREAM: bpf: Fix bpf socket lookup from tc/xdp to respect socket VRF bindings"
  BACKPORT: sched: consistently handle layer3 header accesses in the presence of VLANs
  UPSTREAM: sch_cake: Take advantage of skb->hash where appropriate
  UPSTREAM: net: sched: em_ipt: match only on ip/ipv6 traffic
  UPSTREAM: tunnel: Propagate ECT(1) when decapsulating as recommended by RFC6040
  UPSTREAM: inet: Refactor INET_ECN_decapsulate()
  fixup! BACKPORT: treewide: Use fallthrough pseudo-keyword
  Revert "UPSTREAM: net, sctp, filter: remap copy_from_user failure error"
  UPSTREAM: bpf: Check flow_dissector ctx accesses are aligned
  UPSTREAM: ipv6: Add fib6_nh_init and release to stubs
  UPSTREAM: ipv6: Create cleanup helper for fib6_nh
  UPSTREAM: ipv6: Create init helper for fib6_nh
  UPSTREAM: net/ipv6: Do not reset nl_net in ip6_route_info_create
  UPSTREAM: ipv6: Change addrconf_f6i_alloc to use ip6_route_info_create
  UPSTREAM: net: Add extack argument to ip_fib_metrics_init
  UPSTREAM: net: common metrics init helper for FIB entries
  UPSTREAM: ipv6: Move setting default metric for routes
  UPSTREAM: net: rtmsg_to_fib6_config() - use new style struct initializer instead of memset
  UPSTREAM: net: remove VLAN_TAG_PRESENT
  UPSTREAM: net/bpf_jit: SPARC: split VLAN_PRESENT bit handling from VLAN_TCI
  UPSTREAM: net/bpf_jit: PPC: split VLAN_PRESENT bit handling from VLAN_TCI
  UPSTREAM: net/bpf_jit: MIPS: split VLAN_PRESENT bit handling from VLAN_TCI
  UPSTREAM: net/vlan: introduce __vlan_hwaccel_copy_tag() helper
  UPSTREAM: net/vlan: introduce __vlan_hwaccel_clear_tag() helper
  UPSTREAM: net/bpf: split VLAN_PRESENT bit handling from VLAN_TCI
  UPSTREAM: net/skbuff: add macros for VLAN_PRESENT bit
  UPSTREAM: bpf: Explicitly check accesses to bpf_sock_addr
  ipv6: Correct file formatting
  UPSTREAM: lwt: Fix return values of BPF xmit ops
  UPSTREAM: bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook
  UPSTREAM: lwt_bpf: Replace preempt_disable() with migrate_disable()
  UPSTREAM: bpf: lwtunnel: Fix reroute supplying invalid dst
  UPSTREAM: net: fix GSO in bpf_lwt_push_ip_encap
  UPSTREAM: net: fix double-free in bpf_lwt_xmit_reroute
  UPSTREAM: bpf: fix memory leak in bpf_lwt_xmit_reroute
  UPSTREAM: bpf: add handling of BPF_LWT_REROUTE to lwt_bpf.c
  UPSTREAM: bpf: handle GSO in bpf_lwt_push_encap
  ANDROID: add kabi padding for bpf_verifier structure
  UPSTREAM: bpfilter: Specify the log level for the kmsg message
  UPSTREAM: net/bpfilter: Initialize pos in __bpfilter_process_sockopt
  UPSTREAM: bpfilter: switch bpfilter_ip_set_sockopt to sockptr_t
  UPSTREAM: bpfilter: reject kernel addresses
  UPSTREAM: net/bpfilter: split __bpfilter_process_sockopt
  UPSTREAM: bpfilter: fix up a sparse annotation
  UPSTREAM: bpfilter: Allow to build bpfilter_umh as a module without static library
  UPSTREAM: bpfilter: Initialize pos variable
  UPSTREAM: bpfilter: switch to kernel_write
  UPSTREAM: bpfilter: Take advantage of the facilities of struct pid
  UPSTREAM: bpfilter: Move bpfilter_umh back into init data
  UPSTREAM: bpfilter: document build requirements for bpfilter_umh
  UPSTREAM: bpfilter: use 'userprogs' syntax to build bpfilter_umh
  UPSTREAM: bpfilter: check if $(CC) can link static libc in Kconfig
  BACKPORT: bpfilter: match bit size of bpfilter_umh to that of the kernel
  UPSTREAM: net/bpfilter: remove superfluous testing message
  arm64: configs: vendor: Disable CONFIG_BPF_PRELOAD
  UPSTREAM: exit: Factor thread_group_exited out of pidfd_poll
  UPSTREAM: net/bpfilter: fix dprintf usage for /dev/kmsg
  UPSTREAM: net: bpfilter: print umh messages to /dev/kmsg
  UPSTREAM: init/Kconfig: add CONFIG_CC_CAN_LINK
  BACKPORT: treewide: prefix header search paths with $(srctree)/
  UPSTREAM: bpfilter: re-add header search paths to tools include to fix build error
  UPSTREAM: bpfilter: remove extra header search paths for bpfilter_umh
  UPSTREAM: net: bpfilter: change section name of bpfilter UMH blob.
  ANDROID: add kabi padding for bpf structures
  UPSTREAM: bpf: Fix WARN() in get_bpf_raw_tp_regs
  UPSTREAM: bpf: Fix passing zero to PTR_ERR() in bpf_btf_printf_prepare
  UPSTREAM: bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers
  UPSTREAM: bpf: Disable preemption in bpf_event_output
  UPSTREAM: bpf: Support 'X' in bpf_seq_printf() helper
  UPSTREAM: bpf: Allow %pB in bpf_seq_printf() and bpf_trace_printk()
  BACKPORT: bpf: Remove inline from bpf_do_trace_printk
  UPSTREAM: lib/strncpy_from_user.c: Mask out bytes after NUL terminator.
  fixup! bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks
  BACKPORT: bpf: Add lockdown check for probe_write_user helper
  UPSTREAM: bpf: Unbreak BPF_PROG_TYPE_KPROBE when kprobe is called via do_int3
  UPSTREAM: bpf/trace: Remove redundant preempt_disable from trace_call_bpf()
  UPSTREAM: bpf: Add extra path pointer check to d_path helper
  UPSTREAM: bpf: Remove config check to enable bpf support for branch records
  UPSTREAM: bpf: Fix bpf_prog_test_run_tracing for !CONFIG_NET
  UPSTREAM: bpf: Fix build failure for kernel/trace/bpf_trace.c with CONFIG_NET=n
  UPSTREAM: bpf: fix compiler warning with CONFIG_MODULES=n
  BACKPORT: net: sk_msg: Simplify sk_psock initialization
  UPSTREAM: bpf: sockmap: Add UDP support
  UPSTREAM: bpf: sockmap: Simplify sock_map_init_proto
  fixup! bpf: sockmap: Move generic sockmap hooks from BPF TCP
  BACKPORT: bpf: skmsg, fix psock create on existing kcm/tls port
  UPSTREAM: bpf, tcp: Make tcp_bpf_recvmsg static
  UPSTREAM: bpf: tcp_bpf_recvmsg should return EAGAIN when nonblocking and no data
  UPSTREAM: bpf/sockmap: Read psock ingress_msg before sk_receive_queue
  UPSTREAM: bpf, tcp: correctly handle DONT_WAIT flags and timeo == 0
  UPSTREAM: bpf: Clean up sockmap related Kconfigs
  UPSTREAM: bpf, tcp: Fix unused function warnings
  UPSTREAM: bpf: sk_msg, fix socket data_ready events
  UPSTREAM: bpf: skmsg, fix potential psock NULL pointer dereference
  UPSTREAM: bpf, sockmap: RCU splat with redirect and strparser error or TLS
  UPSTREAM: bpf: sockmap, only stop/flush strp if it was enabled at some point
  UPSTREAM: bpf: Stop the psock parser before canceling its work
  UPSTREAM: sk_msg: Always cancel strp work before freeing the psock
  BACKPORT: treewide: replace '---help---' in Kconfig files with 'help'
  BACKPORT: net: Fix Kconfig indentation, continued
  UPSTREAM: bpf: Add sockmap hooks for UDP sockets
  UPSTREAM: bpf, sockmap: Allow skipping sk_skb parser program
  drivers: nfc: nq-nci: Retry I2C writes on failures
  CIP: Bump version suffix to -cip128 after merge from cip/linux-4.19.y-st tree
  Update localversion-st, tree is up-to-date with 5.10.248.
  NFSv4: ensure the open stateid seqid doesn't go backwards
  libceph: make calc_target() set t->paused, not just clear it
  crypto: af_alg - zero initialize memory allocated via sock_kmalloc
  jbd2: fix the inconsistency between checksum and data in memory for journal sb
  f2fs: fix to detect recoverable inode during dryrun of find_fsync_dnodes()
  NFS: add barriers when testing for NFS_FSDATA_BLOCKED
  NFS: unlink/rmdir shouldn't call d_delete() twice on ENOENT
  efi/cper: Fix cper_bits_to_str buffer handling and return value
  iommu/omap: fix device leaks on probe_device()
  crypto: seqiv - Do not use req->iv after crypto_aead_encrypt
  f2fs: fix return value of f2fs_recover_fsync_data()
  ext4: improve integrity checking in __mb_check_buddy by enhancing order-0 validation
  ext4: remove unused return value of __mb_check_buddy
  clk: renesas: r9a06g032: Fix memory leak in error path
  nbd: defer config put in recv_work
  jbd2: avoid bug_on in jbd2_journal_get_create_access() when file system corrupted
  scsi: sg: Fix occasional bogus elapsed time that exceeds timeout
  powercap: fix sscanf() error return value handling
  powercap: fix race condition in register_control_type()
  arp: do not assume dev_hard_header() does not change skb->head
  net: usb: pegasus: fix memory leak in update_eth_regs_async()
  HID: quirks: work around VID/PID conflict for appledisplay
  netdev: preserve NETIF_F_ALL_FOR_ALL across TSO updates
  net: sock: fix hardened usercopy panic in sock_recv_errqueue
  inet: ping: Fix icmp out counting
  netfilter: nf_conncount: update last_gc only when GC has been performed
  ARM: dts: imx6q-ba16: fix RTC interrupt level
  scsi: ipr: Enable/disable IRQD_NO_BALANCING during reset
  alpha: don't reference obsolete termio struct for TC* constants
  ARM: 9461/1: Disable HIGHPTE on PREEMPT_RT kernels
  ext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all()
  ext4: introduce ITAIL helper
  libceph: make free_choose_arg_map() resilient to partial allocation
  libceph: replace overzealous BUG_ON in osdmap_apply_incremental()
  wifi: avoid kernel-infoleak from struct iw_point
  drm/pl111: Fix error handling in pl111_amba_probe
  net: 3com: 3c59x: fix possible null dereference in vortex_probe1()
  atm: Fix dma_free_coherent() size
  Revert "iommu/amd: Skip enabling command/event buffers for kdump"
  pwm: stm32: Always program polarity
  bus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove()
  scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress
  scsi: iscsi: Move pool freeing
  wifi: mac80211: Discard Beacon frames to non-broadcast address
  media: samsung: exynos4-is: fix potential ABBA deadlock on init
  media: vpif_capture: fix section mismatch
  media: renesas: rcar_drif: fix device node reference leak in rcar_drif_bond_enabled
  SUNRPC: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf
  NFSD: Clear SECLABEL in the suppattr_exclcreat bitmap
  usb: ohci-nxp: fix device leak on probe failure
  usb: ohci-nxp: Use helper function devm_clk_get_enabled()
  f2fs: fix to avoid updating zero-sized extent in extent cache
  ext4: fix string copying in parse_apply_sb_mount_options()
  ALSA: wavefront: Fix integer overflow in sample size validation
  ALSA: wavefront: Clear substream pointers on close
  usb: gadget: udc: fix use-after-free in usb_gadget_state_work
  HID: core: Harden s32ton() against conversion to 0 bits
  ipv4: Fix uninit-value access in __ip_make_skb()
  ipv6: Fix potential uninit-value access in __ip6_make_skb()
  virtio_console: fix order of fields cols and rows
  drm/nouveau/dispnv50: Don't call drm_atomic_get_crtc_state() in prepare_fb
  net: nfc: fix deadlock between nfc_unregister_device and rfkill_fop_write
  net: usb: sr9700: fix incorrect command used to write single register
  fjes: Add missing iounmap in fjes_hw_init()
  e1000: fix OOB in e1000_tbi_should_accept()
  RDMA/core: Check for the presence of LS_NLA_TYPE_DGID correctly
  media: i2c: adv7842: Remove redundant cancel_delayed_work in probe
  media: i2c: ADV7604: Remove redundant cancel_delayed_work in probe
  media: TDA1997x: Remove redundant cancel_delayed_work in probe
  media: msp3400: Avoid possible out-of-bounds array accesses in msp3400c_thread()
  media: cec: Fix debugfs leak on bus_register() failure
  fbdev: tcx.c fix mem_map to correct smem_start offset
  fbdev: pxafb: Fix multiple clamped values in pxafb_adjust_timing
  fbdev: gbefb: fix to use physical address instead of dma address
  media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()
  parisc: entry: set W bit for !compat tasks in syscall_restore_rfi()
  parisc: entry.S: fix space adjustment on interruption for 64-bit userspace
  media: rc: st_rc: Fix reset control resource leak
  PCI/PM: Reinstate clearing state_saved in legacy and !PM codepaths
  iommu/exynos: fix device leak on of_xlate()
  ASoC: qcom: qdsp6: q6asm-dai: set 10 ms period and buffer alignment.
  ASoC: qcom: q6adm: the the copp device only during last instance
  ASoC: qcom: q6asm-dai: perform correct state check before closing
  selftests/ftrace: traceonoff_triggers: strip off names
  RDMA/bnxt_re: fix dma_free_coherent() pointer
  net: rose: fix invalid array index in rose_kill_by_device()
  ipv4: Fix reference count leak when using error routes with nexthop objects
  ipv6: BUG() in pskb_expand_head() as part of calipso_skbuff_setattr()
  net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group struct
  net: dsa: b53: skip multicast entries for fdb_dump()
  firewire: nosy: Fix dma_free_coherent() size
  firewire: nosy: switch from 'pci_' to 'dma_' API
  genalloc.h: fix htmldocs warning
  net: usb: rtl8150: fix memory leak on usb_submit_urb() failure
  team: fix check for port enabled in team_queue_override_port_prio_changed()
  platform/x86: ibm_rtl: fix EBDA signature search pointer arithmetic
  platform/x86: msi-laptop: add missing sysfs_remove_group()
  ip6_gre: make ip6gre_header() robust
  i40e: fix scheduling in set_rx_mode
  hwmon: (w83l786ng) Convert macros to functions to avoid TOCTOU
  hwmon: (w83791d) Convert macros to functions to avoid TOCTOU
  rpmsg: glink: fix rpmsg device leak
  amba: tegra-ahb: Fix device leak on SMMU enable
  nfsd: Mark variable __maybe_unused to avoid W=1 build break
  PM: runtime: Do not clear needs_force_resume with enabled runtime PM
  tracing: Do not register unsupported perf events
  KVM: x86: Fix VM hard lockup after prolonged inactivity with periodic HV timer
  KVM: x86: Explicitly set new periodic hrtimer expiration in apic_timer_fn()
  KVM: x86: WARN if hrtimer callback for periodic APIC timer fires with period=0
  libceph: make decode_pool() more resilient against corrupted osdmaps
  parisc: Do not reprogram affinitiy on ASP chip
  ocfs2: fix kernel BUG in ocfs2_find_victim_chain
  tools/testing/nvdimm: Use per-DIMM device handle
  f2fs: invalidate dentry cache on failed whiteout creation
  scsi: target: Reset t_task_cdb pointer in error case
  NFSD: use correct reservation type in nfsd4_scsi_fence_client
  scsi: aic94xx: fix use-after-free in device removal path
  cpufreq: nforce2: fix reference count leak in nforce2
  char: applicom: fix NULL pointer dereference in ac_ioctl
  usb: renesas_usbhs: Fix a resource leak in usbhs_pipe_malloc()
  media: pvrusb2: Fix incorrect variable used in trace message
  media: dvb-usb: dtv5100: fix out-of-bounds in dtv5100_i2c_msg()
  usb: usb-storage: Maintain minimal modifications to the bcdDevice range.
  media: v4l2-mem2mem: Fix outdated documentation
  jbd2: use a weaker annotation in journal handling
  ext4: fix incorrect group number assertion in mb_check_buddy
  ext4: xattr: fix null pointer deref in ext4_raw_inode()
  ktest.pl: Fix uninitialized var in config-bisect.pl
  floppy: fix for PAGE_SIZE != 4KB
  usb: usb-storage: No additional quirks need to be added to the EL-R12 optical drive.
  usb: xhci: limit run_graceperiod for only usb 3.0 devices
  usb: typec: ucsi: Handle incorrect num_connectors capability
  via_wdt: fix critical boot hang due to unnamed resource allocation
  scsi: qla2xxx: Use reinit_completion on mbx_intr_comp
  powerpc/addnote: Fix overflow on 32-bit builds
  clk: mvebu: cp110 add CLK_IGNORE_UNUSED to pcie_x10, pcie_x11 & pcie_x4
  ipmi: Fix __scan_channels() failing to rescan channels
  ipmi: Fix the race between __scan_channels() and deliver_response()
  ALSA: usb-mixer: us16x08: validate meter packet indices
  ALSA: pcmcia: Fix resource leak in snd_pdacf_probe error path
  ALSA: vxpocket: Fix resource leak in vxpocket_probe error path
  spi: fsl-cpm: Check length parity before switching to 16 bit mode
  Input: ti_am335x_tsc - fix off-by-one error in wire_order validation
  MIPS: Fix a reference leak bug in ip22_check_gio()
  hwmon: (ibmpex) fix use-after-free in high/low store
  net/mlx5: fw_tracer, Handle escaped percent properly
  net/mlx5: fw_tracer, Validate format string parameters
  net/mlx5: fw_tracer, Add support for unrecognized string
  nfc: pn533: Fix error code in pn533_acr122_poweron_rdr()
  caif: fix integer underflow in cffrml_receive()
  ipvs: fix ipv4 null-ptr-deref in route error path
  netfilter: nf_conncount: fix leaked ct in error paths
  broadcom: b44: prevent uninitialized value usage
  net: openvswitch: fix middle attribute validation in push_nsh() action
  mlxsw: spectrum_router: Fix neighbour use-after-free
  ipvlan: Ignore PACKET_LOOPBACK in handle_mode_l2()
  netrom: Fix memory leak in nr_sendmsg()
  btrfs: scrub: always update btrfs_scrub_progress::last_physical
  hfsplus: fix volume corruption issue for generic/073
  hfsplus: Verify inode mode when loading from disk
  hfsplus: fix missing hfs_bnode_get() in __hfs_bnode_create
  hfsplus: fix volume corruption issue for generic/070
  cpufreq: s5pv210: fix refcount leak
  ACPI: property: Use ACPI functions in acpi_graph_get_next_endpoint() only
  ACPICA: Avoid walking the Namespace if start_node is NULL
  netfilter: nft_connlimit: memleak if nf_ct_netns_get() fails
  netfilter: nf_conncount: garbage collection is not skipped when jiffies wrap around
  NFS: Fix missing unlock in nfs_unlink()
  ALSA: dice: fix buffer overflow in detect_stream_formats()
  usb: phy: Initialize struct usb_phy list_head
  ocfs2: fix memory leak in ocfs2_merge_rec_left()
  efi/cper: Adjust infopfx size to accept an extra space
  efi/cper: Add a new helper function to print bitmasks
  dm log-writes: Add missing set_freezable() for freezable kthread
  dm-raid: fix possible NULL dereference with undefined raid type
  ARM: 9464/1: fix input-only operand modification in load_unaligned_zeropad()
  ALSA: uapi: Fix typo in asound.h comment
  fs/nls: Fix inconsistency between utf8_to_utf32() and utf32_to_utf8()
  NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid
  fs/nls: Fix utf16 to utf8 conversion
  NFS: don't unhash dentry during unlink/rename
  NFS: Label the dentry with a verifier in nfs_rmdir() and nfs_unlink()
  fbdev: ssd1307fb: fix potential page leak in ssd1307fb_probe()
  pinctrl: single: Fix incorrect type for error return variable
  pinctrl: single: Fix PIN_CONFIG_BIAS_DISABLE handling
  perf tools: Fix split kallsyms DSO counting
  net/sched: sch_cake: Fix incorrect qlen reduction in cake_drop
  mtd: lpddr_cmds: fix signed shifts in lpddr_cmds
  netfilter: nft_connlimit: update the count if add was skipped
  netfilter: nf_conncount: rework API to use sk_buff directly
  netfilter: nf_conncount: reduce unnecessary GC
  netfilter: nft_connlimit: move stateful fields out of expression data
  regulator: core: Protect regulator_supply_alias_list with regulator_list_mutex
  virtio: fix virtqueue_set_affinity() docs
  ACPI: processor_core: fix map_x2apic_id for amd-pstate on am4
  backlight: lp855x: Fix lp855x.h kernel-doc warnings
  staging: fbtft: core: fix potential memory leak in fbtft_probe_common()
  usb: dwc2: fix hang during shutdown if set as peripheral
  usb: dwc2: disable platform lowlevel hw resources during shutdown
  usb: chaoskey: fix locking for O_NONBLOCK
  wifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()
  powerpc/64s/ptdump: Fix kernel_hash_pagetable dump for ISA v3.00 HPTE format
  NFSD/blocklayout: Fix minlength check in proc_layoutget
  scsi: sim710: Fix resource leak by adding missing ioport_unmap() calls
  ACPI: property: Fix fwnode refcount leak in acpi_fwnode_graph_parse_endpoint()
  ocfs2: relax BUG() to ocfs2_error() in __ocfs2_move_extent()
  nbd: defer config unlock in nbd_genl_connect
  wifi: cw1200: Fix potential memory leak in cw1200_bh_rx_helper()
  macintosh/mac_hid: fix race condition in mac_hid_toggle_emumouse
  scsi: stex: Fix reboot_notifier leak in probe error path
  perf/x86/intel: Correct large PEBS flag check
  ext4: correct the checking of quota files before moving extents
  ext4: minor defrag code improvements
  mfd: da9055: Fix missing regmap_del_irq_chip() in error path
  scsi: target: Do not write NUL characters into ASCII configfs output
  power: supply: apm_power: only unset own apm_get_power_status
  power: supply: wm831x: Check wm831x_set_bits() return value
  kmsan: introduce __no_sanitize_memory and __no_kmsan_checks
  compiler-gcc.h: Define __SANITIZE_ADDRESS__ under hwaddress sanitizer
  s390/smp: Fix fallback CPU detection
  crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id
  inet: Avoid ehash lookup race in inet_ehash_insert()
  rculist: Add hlist_nulls_replace_rcu() and hlist_nulls_replace_init_rcu()
  irqchip/qcom-irq-combiner: Fix section mismatch
  USB: Fix descriptor count when handling invalid MBIM extended descriptor
  drm/vgem-fence: Fix potential deadlock on release
  smack: fix bug: unprivileged task can create labels
  staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing
  comedi: multiq3: sanitize config options in multiq3_attach()
  comedi: c6xdigio: Fix invalid PNP driver unregistration
  platform/x86: acer-wmi: Ignore backlight event
  bfs: Reconstruct file type when loading from disk
  spi: imx: keep dma request disabled before dma transfer setup
  spi: xilinx: increase number of retries before declaring stall
  USB: serial: kobil_sct: fix TIOCMBIS and TIOCMBIC
  USB: serial: belkin_sa: fix TIOCMBIS and TIOCMBIC
  serial: add support of CPCI cards
  USB: serial: ftdi_sio: match on interface number for jtag
  USB: serial: option: move Telit 0x10c7 composition in the right place
  USB: serial: option: add Telit Cinterion FE910C04 new compositions
  USB: serial: option: add Foxconn T99W760
  ext4: add i_data_sem protection in ext4_destroy_inline_data_nolock()
  locking/spinlock/debug: Fix data-race in do_raw_write_lock
  ext4: refresh inline data size before write operations
  xfrm: flush all states in xfrm_state_fini
  xfrm: also call xfrm_state_delete_tunnel at destroy time for states that were never added
  Revert "xfrm: destroy xfrm_state synchronously on net exit path"
  xfrm: delete x->tunnel as we delete x

Change-Id: Ifc0c8698d67b09e1ae3513af91260c7ffa66a0a2
2026-02-06 18:25:21 +02:00
213e6fb3db BACKPORT: treewide: replace '---help---' in Kconfig files with 'help'
Since commit 84af7a6194 ("checkpatch: kconfig: prefer 'help' over
'---help---'"), the number of '---help---' has been gradually
decreasing, but there are still more than 2400 instances.

This commit finishes the conversion. While I touched the lines,
I also fixed the indentation.

There are a variety of indentation styles found.

  a) 4 spaces + '---help---'
  b) 7 spaces + '---help---'
  c) 8 spaces + '---help---'
  d) 1 space + 1 tab + '---help---'
  e) 1 tab + '---help---'    (correct indentation)
  f) 1 tab + 1 space + '---help---'
  g) 1 tab + 2 spaces + '---help---'

In order to convert all of them to 1 tab + 'help', I ran the
following commend:

  $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'

Change-Id: I12e529786e66b62eaaede154b7264c67a0d37bf9
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2026-02-02 18:01:33 -05:00
bbf567ae16 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  arm64: configs: vendor: Disable module signing support
  techpack: rmnet: Fix compilation errors
  netfilter: conntrack: Make nf_ct_protos store const l4proto pointers
  UPSTREAM: netfilter: Avoid assigning 'const' pointer to non-const pointer
  UPSTREAM: kbuild: Disable -Wdefault-const-init-unsafe
  UPSTREAM: READ_ONCE: Simplify implementations of {READ,WRITE}_ONCE()
  ANDROID: sign-file: Fix warning when OPENSSL_NO_ENGINE is set
  FROMLIST: sign-file: Use OpenSSL provided define to compile out deprecated APIs
  ANDROID: remove more stale variables from build.config files
  ANDROID: extract-cert: omit PKCS#11 support if building against BoringSSL
  BACKPORT: scripts/Makefile.clang: default to LLVM_IAS=1
  Documentation/llvm: Fix clang target examples
  Documentation: add minimum clang/llvm version
  Documentation/llvm: Improve formatting of commands, variables, and arguments
  BACKPORT: Makefile: infer --target from ARCH for CC=clang
  UPSTREAM: Makefile: Only specify '--prefix=' when building with clang + GNU as
  UPSTREAM: Makefile: Remove '--gcc-toolchain' flag
  UPSTREAM: kbuild: remove ld-version macro
  UPSTREAM: Makefile: Remove # characters from compiler string
  UPSTREAM: Makefile: reuse CC_VERSION_TEXT
  UPSTREAM: kbuild: replace cc-name test with CONFIG_CC_IS_CLANG
  UPSTREAM: kbuild: remove cc-name variable
  ANDROID: remove stale variables from build.config files
  UPSTREAM: kbuild: remove unused AS assignment
  UPSTREAM: arm64: Turn "broken gas inst" into real config option
  UPSTREAM: arm64: Move the LSE gas support detection to Kconfig
  UPSTREAM: arm64: lse: Fix LSE atomics with LLVM
  UPSTREAM: arm64: lse: fix LSE atomics with LLVM's integrated assembler
  UPSTREAM: arm64: atomics: Use K constraint when toolchain appears to support it
  UPSTREAM: arm64: atomics: Undefine internal macros after use
  UPSTREAM: arm64: lse: Make ARM64_LSE_ATOMICS depend on JUMP_LABEL
  UPSTREAM: arm64: asm: Kill 'asm/atomic_arch.h'
  UPSTREAM: arm64: lse: Remove unused 'alt_lse' assembly macro
  UPSTREAM: arm64: atomics: Remove atomic_ll_sc compilation unit
  UPSTREAM: arm64: avoid using hard-coded registers for LSE atomics
  Revert "ANDROID: arm64: add atomic_ll_sc.o to obj-y if using lld"
  UPSTREAM: arm64: atomics: avoid out-of-line ll/sc atomics
  UPSTREAM: arm64: Use correct ll/sc atomic constraints
  UPSTREAM: locking/atomic, arm64: Use s64 for atomic64
  UPSTREAM: arm64: cmpxchg: Use "K" instead of "L" for ll/sc immediate constraint
  UPSTREAM: arm64: Avoid masking "old" for LSE cmpxchg() implementation
  UPSTREAM: arm64: Avoid redundant type conversions in xchg() and cmpxchg()
  UPSTREAM: arm64, locking/atomics: Use instrumented atomics
  Revert "ANDROID: arm64: lse: fix LSE atomics with LTO"
  Revert "BACKPORT: arm64: lse: Fix LSE atomics with LLVM"
  Revert "arm64: lse: fix LSE atomics with LLVM's integrated assembler"
  Revert "arm64: lse: Fix LSE atomics with LLVM"
  Reapply "ANDROID: arm64: lse: fix LSE atomics with LTO"
  Revert "arm64: Avoid redundant type conversions in xchg() and cmpxchg()"
  Revert "arm64: cmpxchg: Use "K" instead of "L" for ll/sc immediate constraint"
  Revert "arm64: Use correct ll/sc atomic constraints"
  Reapply "arm64: Avoid redundant type conversions in xchg() and cmpxchg()"
  Revert "arm64: cmpxchg_double*: hazard against entire exchange variable"
  ANDROID: enable LLVM_IAS=1 for clang's integrated assembler for arm
  FROMLIST: ARM: kprobes: rewrite test-arm.c in UAL
  FROMLIST: ARM: kprobes: fix UNPREDICTABLE warnings
  BACKPORT: ARM: 8991/1: use VFP assembler mnemonics if available
  ARM: 8989/1: use .fpu assembler directives instead of assembler arguments
  ARM: 9030/1: entry: omit FP emulation for UND exceptions taken in kernel mode
  UPSTREAM: kbuild: Add support for 'as-instr' to be used in Kconfig files
  UPSTREAM: kconfig: introduce m32-flag and m64-flag
  UPSTREAM: kbuild: Fail if gold linker is detected
  UPSTREAM: kbuild: terminate Kconfig when $(CC) or $(LD) is missing
  UPSTREAM: kbuild: clean up scripts/gcc-version.sh
  FROMLIST: x86/boot: allow a relocatable kernel to be linked with lld
  UPSTREAM: kbuild: remove redundant target cleaning on failure

Change-Id: I88de0da8986ffc620da5c7200798454156be45d0
2026-01-30 00:05:58 -05:00
cd2176343a techpack: rmnet: Fix compilation errors
Based on newer qcom kernels, change rmnet_shs_assign and
rmnet_perf_core_deaggregate from void to int.
Add missing argument to rmnet_perf_deag_entry.

Required after "READ_ONCE: Simplify implementations of {READ,WRITE}_ONCE()"

Change-Id: Idc4e844212148f26fb81a5f2287a133bff4c71b5
2026-01-24 09:43:39 +02:00
af7187ce78 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  disp: msm: sde: fix typo in trace message
  disp: msm: dp: avoid dp sw reset on disconnect path
  disp: msm: sde: add mutex lock to handle ppdone timeout usecases
  disp: msm: dsi: Reset irq_stat_mask in _dsi_ctrl_destroy_isr
  msm: Check irq,Restore msm irq.
  power: smb139{0,8}: Cast 'cp_role' to smaller integer type
  qcom: qpnp-pq: Fix -Wpointer-to-int-cast
  msm: cvp: Fix -Wvoid-pointer-to-int-cast
  Revert "kbuild: Globally disable (void-)pointer-to-int-cast warnings for Clang"

Change-Id: I4d9a9275385a1763d5ae4652fc68db94a751571a
2026-01-05 13:28:01 -05:00
94a728093f disp: msm: sde: fix typo in trace message
This change fix trace message in sde trace.

Change-Id: I73a873984564f995f84e0c08f9e49164cb67063a
Signed-off-by: Narendra Muppalla <quic_nmuppall@quicinc.com>
2026-01-05 00:33:25 +02:00
1b0507b695 disp: msm: dp: avoid dp sw reset on disconnect path
In an effort to reset the DP controller states on a disconnect, the
driver is issuing a SW reset to the controller. But SW reset on
the controller doesn't necessarily restore the controller to its
full reset state. It only resets part of the logic. So if for some
reason the MST streams were not disabled properly, ie. the slot
allocations were not reset properly in the controller, then a SW
reset would result in the DP controller raising state interrupts.
Since this SW reset is issued in the tail end of the disconnect
processing, the driver turns off all the clocks and also
removes the irq handler. This results in an interrupt storm at
the MDSS top level.

This change removes the SW reset on the disconnect path and
relies on the SW reset that already exists in the connect path
to restore controller state.

Change-Id: Ie7115e17d3c50c46c83c6f0e333da5cb534b8227
Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com>
Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
2026-01-04 21:13:13 +02:00
2e944be10e disp: msm: sde: add mutex lock to handle ppdone timeout usecases
The irq register and unregister calls in ppdone timeout
path can result in race condition which can lead to
scenarios where irqs will be enabled with no
callback registered. Add vblank mutex lock to avoid
such scenarios.

Change-Id: I02b07b773d6b9a28c3af431eb3d8314292769f12
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
2026-01-04 21:01:17 +02:00
e0ba35e805 disp: msm: dsi: Reset irq_stat_mask in _dsi_ctrl_destroy_isr
Change-Id: Icd1cc37170342fae5b5ed16cc0285acb2191efd6
2026-01-04 21:01:15 +02:00
df0f2dc567 msm: Check irq,Restore msm irq.
If there is unbalanced refcount for any interrupt, irq_stat_mask
does not get clear during suspend. On resume, enable irq is not
called leading to ctrl ISR permanently disabled. This is a defensive
check to recover from such scenario.

Change-Id: If78a1be5286f9b6e7ca5241cb5c980e60da00a48
Signed-off-by: daiss1 <daiss1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2088247
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2026-01-04 20:59:50 +02:00
7dcc9cbc52 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  UPSTREAM: ftrace: Return the first found result in lookup_rec()
  UPSTREAM: ftrace: Separate out functionality from ftrace_location_range()
  fixup! UPSTREAM: LSM: Rename .security_initcall section to .lsm_info
  GKI: ARM: dts: msm: disable coresight for khaje/lagoon
  UPSTREAM: bpf: Fix L4 csum update on IPv6 in CHECKSUM_COMPLETE
  UPSTREAM: net: Fix checksum update for ILA adj-transport
  fixup! BACKPORT: bpf: Switch most helper return values from 32-bit int to 64-bit long
  UPSTREAM: bpf: Add PROG_TEST_RUN support for sk_lookup programs
  BACKPORT: treewide: Use sizeof_field() macro
  UPSTREAM: bpf: Fix stackmap overflow check on 32-bit arches
  UPSTREAM: mmap locking API: add mmap_read_trylock_non_owner()
  BACKPORT: locking/lockdep: Remove unused @nested argument from lock_release()
  UPSTREAM: tty/ldsem: Convert to regular lockdep annotations
  BACKPORT: mm: introduce include/linux/pgtable.h
  ANDROID: syscall_check: add vendor hook for bpf syscall
  ANDROID: syscall_check: add vendor hook for open syscall
  ANDROID: syscall_check: add vendor hook for mmap syscall
  BACKPORT: mmap locking API: use coccinelle to convert mmap_sem rwsem call sites
  UPSTREAM: mmap locking API: initial implementation as rwsem wrappers
  BACKPORT: objtool: Rename frame.h -> objtool.h
  ANDROID: Revert "ANDROID: bpf: validate bpf_func when BPF_JIT is enabled with CFI"
  UPSTREAM: bpf: Fix -Wshadow warnings
  UPSTREAM: bpf: Replace cant_sleep() with cant_migrate()
  UPSTREAM: sched: Provide cant_migrate()
  ANDROID: Revert "ANDROID: arm64: bpf: implement arch_bpf_jit_check_func"
  UPSTREAM: x86/ibt,ftrace: Search for __fentry__ location
  UPSTREAM: ftrace: Add a helper function to modify_ftrace_direct() to allow arch optimization
  UPSTREAM: ftrace: Return ENOTSUPP when DYNAMIC_FTRACE_WITH_DIRECT_CALLS is not configured
  UPSTREAM: ftrace: Add ftrace_find_direct_func()
  UPSTREAM: ftrace: Add helper find_direct_entry() to consolidate code
  ANDROID: bpf: Add vendor hook
  arm64: configs: vendor: Enable CONFIG_ANDROID_VENDOR_HOOKS
  ANDROID: fix copyright notice
  ANDROID: GKI: add android_vendor.h
  ANDROID: add support for vendor hooks
  UPSTREAM: NFS: Move mount parameterisation bits into their own file
  UPSTREAM: NFS: Make "port=" mount option optional for RDMA mounts
  UPSTREAM: NFS: remove unneeded semicolon
  UPSTREAM: NFS: Add a mount option "softerr" to allow clients to see ETIMEDOUT errors
  UPSTREAM: NFS: Move internal constants out of uapi/linux/nfs_mount.h
  UPSTREAM: NFS: Add a mount option to specify number of TCP connections to use
  UPSTREAM: NFS: Create a root NFS directory in /sys/fs/nfs
  UPSTREAM: gfs2: Convert gfs2 to fs_context
  UPSTREAM: gfs2: kthread and remount improvements
  BACKPORT: afs: Provide mount-time configurable byte-range file locking emulation
  UPSTREAM: afs: Add file locking tracepoints
  UPSTREAM: afs: Calculate lock extend timer from set/extend reply reception
  UPSTREAM: afs: Implement YFS support in the fs client
  UPSTREAM: afs: Fix FS.FetchStatus delivery from updating wrong vnode
  UPSTREAM: afs: Implement the YFS cache manager service
  UPSTREAM: afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS
  UPSTREAM: afs: Use fs_context to pass parameters over automount
  UPSTREAM: afs: Add a couple of tracepoints to log I/O errors
  UPSTREAM: afs: Better tracing of protocol errors
  UPSTREAM: afs: Add fs_context support
  CIP: Bump version suffix to -cip124 after merge from cip/linux-4.19.y-st tree
  Update localversion-st, tree is up-to-date with 5.4.298.
  f2fs: fix to do sanity check on ino and xnid
  squashfs: fix memory leak in squashfs_fill_super
  pNFS: Handle RPC size limit for layoutcommits
  wifi: iwlwifi: fw: Fix possible memory leak in iwl_fw_dbg_collect
  usb: core: usb_submit_urb: downgrade type check
  udf: Verify partition map count
  f2fs: fix to avoid panic in f2fs_evict_inode
  usb: hub: Fix flushing and scheduling of delayed work that tunes runtime pm
  Revert "drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS"
  net: usb: qmi_wwan: add Telit Cinterion LE910C4-WWX new compositions
  HID: hid-ntrig: fix unable to handle page fault in ntrig_report_version()
  HID: asus: fix UAF via HID_CLAIMED_INPUT validation
  efivarfs: Fix slab-out-of-bounds in efivarfs_d_compare
  sctp: initialize more fields in sctp_v6_from_sk()
  net: stmmac: xgmac: Do not enable RX FIFO Overflow interrupts
  net/mlx5e: Set local Xoff after FW update
  net: dlink: fix multicast stats being counted incorrectly
  atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control().
  net/atm: remove the atmdev_ops {get, set}sockopt methods
  Bluetooth: hci_event: Detect if HCI_EV_NUM_COMP_PKTS is unbalanced
  powerpc/kvm: Fix ifdef to remove build warning
  net: ipv4: fix regression in local-broadcast routes
  vhost/net: Protect ubufs with rcu read lock in vhost_net_ubuf_put()
  scsi: core: sysfs: Correct sysfs attributes access rights
  ftrace: Fix potential warning in trace_printk_seq during ftrace_dump
  alloc_fdtable(): change calling conventions.
  ALSA: usb-audio: Use correct sub-type for UAC3 feature unit validation
  net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit
  ipv6: sr: validate HMAC algorithm ID in seg6_hmac_info_add
  ALSA: usb-audio: Fix size validation in convert_chmap_v3()
  scsi: qla4xxx: Prevent a potential error pointer dereference
  usb: xhci: Fix slot_id resource race conflict
  nfs: fix UAF in direct writes
  NFS: Fix up commit deadlocks
  Bluetooth: fix use-after-free in device_for_each_child()
  selftests: forwarding: tc_actions.sh: add matchall mirror test
  codel: remove sch->q.qlen check before qdisc_tree_reduce_backlog()
  sch_qfq: make qfq_qlen_notify() idempotent
  sch_hfsc: make hfsc_qlen_notify() idempotent
  sch_drr: make drr_qlen_notify() idempotent
  btrfs: populate otime when logging an inode item
  media: venus: hfi: explicitly release IRQ during teardown
  f2fs: fix to avoid out-of-boundary access in dnode page
  media: venus: protect against spurious interrupts during probe
  media: venus: vdec: Clamp param smaller than 1fps and bigger than 240.
  drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS
  media: rainshadow-cec: fix TOCTOU race condition in rain_interrupt()
  media: v4l2-ctrls: Don't reset handler's error in v4l2_ctrl_handler_free()
  ata: Fix SATA_MOBILE_LPM_POLICY description in Kconfig
  usb: musb: omap2430: fix device leak at unbind
  NFS: Fix the setting of capabilities when automounting a new filesystem
  NFS: Fix up handling of outstanding layoutcommit in nfs_update_inode()
  NFSv4: Fix nfs4_bitmap_copy_adjust()
  usb: typec: fusb302: cache PD RX state
  cdc-acm: fix race between initial clearing halt and open
  USB: cdc-acm: do not log successful probe on later errors
  nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()
  tracing: Add down_write(trace_event_sem) when adding trace event
  usb: hub: Don't try to recover devices lost during warm reset.
  usb: hub: avoid warm port reset during USB3 disconnect
  x86/mce/amd: Add default names for MCA banks and blocks
  iio: hid-sensor-prox: Fix incorrect OFFSET calculation
  mm/zsmalloc: do not pass __GFP_MOVABLE if CONFIG_COMPACTION=n
  mm/zsmalloc.c: convert to use kmem_cache_zalloc in cache_alloc_zspage()
  net: usbnet: Fix the wrong netif_carrier_on() call
  net: usbnet: Avoid potential RCU stall on LINK_CHANGE event
  PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports
  ACPI: processor: idle: Check acpi_fetch_acpi_dev() return value
  kbuild: Add KBUILD_CPPFLAGS to as-option invocation
  kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS
  kbuild: Add CLANG_FLAGS to as-instr
  mips: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation
  kbuild: Update assembler calls to use proper flags and language target
  ARM: 9448/1: Use an absolute path to unified.h in KBUILD_AFLAGS
  usb: dwc3: Ignore late xferNotReady event to prevent halt timeout
  USB: storage: Ignore driver CD mode for Realtek multi-mode Wi-Fi dongles
  usb: storage: realtek_cr: Use correct byte order for bcs->Residue
  USB: storage: Add unusual-devs entry for Novatek NTK96550-based camera
  usb: quirks: Add DELAY_INIT quick for another SanDisk 3.2Gen1 Flash Drive
  iio: proximity: isl29501: fix buffered read on big-endian systems
  ftrace: Also allocate and copy hash for reading of filter files
  fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable()
  fs/buffer: fix use-after-free when call bh_read() helper
  drm/amd/display: Fix fractional fb divider in set_pixel_clock_v3
  media: venus: Add a check for packet size after reading from shared memory
  media: ov2659: Fix memory leaks in ov2659_probe()
  media: usbtv: Lock resolution while streaming
  media: gspca: Add bounds checking to firmware parser
  jbd2: prevent softlockup in jbd2_log_do_checkpoint()
  PCI: endpoint: Fix configfs group removal on driver teardown
  PCI: endpoint: Fix configfs group list head handling
  mtd: rawnand: fsmc: Add missing check after DMA map
  wifi: brcmsmac: Remove const from tbl_ptr parameter in wlc_lcnphy_common_read_table()
  zynq_fpga: use sgtable-based scatterlist wrappers
  ata: libata-scsi: Fix ata_to_sense_error() status handling
  ext4: fix reserved gdt blocks handling in fsmap
  ext4: fix fsmap end of range reporting with bigalloc
  ext4: check fast symlink for ea_inode correctly
  Revert "vgacon: Add check for vc_origin address range in vgacon_scroll()"
  vt: defkeymap: Map keycodes above 127 to K_HOLE
  usb: gadget: udc: renesas_usb3: fix device leak at unbind
  usb: atm: cxacru: Merge cxacru_upload_firmware() into cxacru_heavy_init()
  m68k: Fix lost column on framebuffer debug console
  serial: 8250: fix panic due to PSLVERR
  media: uvcvideo: Do not mark valid metadata as invalid
  media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()
  btrfs: fix log tree replay failure due to file with 0 links and extents
  thunderbolt: Fix copy+paste error in match_service_id()
  misc: rtsx: usb: Ensure mmc child device is active when card is present
  scsi: lpfc: Remove redundant assignment to avoid memory leak
  rtc: ds1307: remove clear of oscillator stop flag (OSF) in probe
  pNFS: Fix uninited ptr deref in block/scsi layout
  pNFS: Fix disk addr range check in block/scsi layout
  pNFS: Fix stripe mapping in block/scsi layout
  ipmi: Fix strcpy source and destination the same
  kconfig: lxdialog: fix 'space' to (de)select options
  kconfig: gconf: fix potential memory leak in renderer_edited()
  kconfig: gconf: avoid hardcoding model2 in on_treeview2_cursor_changed()
  scsi: aacraid: Stop using PCI_IRQ_AFFINITY
  scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans
  kconfig: nconf: Ensure null termination where strncpy is used
  kconfig: lxdialog: replace strcpy() with strncpy() in inputbox.c
  PCI: pnv_php: Work around switches with broken presence detection
  media: uvcvideo: Fix bandwidth issue for Alcor camera
  media: dvb-frontends: w7090p: fix null-ptr-deref in w7090p_tuner_write_serpar and w7090p_tuner_read_serpar
  media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb()
  media: usb: hdpvr: disable zero-length read messages
  media: tc358743: Increase FIFO trigger level to 374
  media: tc358743: Return an appropriate colorspace from tc358743_set_fmt
  media: tc358743: Check I2C succeeded during probe
  pinctrl: stm32: Manage irq affinity settings
  scsi: mpt3sas: Correctly handle ATA device errors
  RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()
  MIPS: Don't crash in stack_top() for tasks without ABI or vDSO
  jfs: upper bound check of tree index in dbAllocAG
  jfs: Regular file corruption check
  jfs: truncate good inode pages when hard link is 0
  scsi: bfa: Double-free fix
  MIPS: vpe-mt: add missing prototypes for vpe_{alloc,start,stop,free}
  watchdog: dw_wdt: Fix default timeout
  fs/orangefs: use snprintf() instead of sprintf()
  scsi: libiscsi: Initialize iscsi_conn->dd_data only if memory is allocated
  ext4: do not BUG when INLINE_DATA_FL lacks system.data xattr
  vhost: fail early when __vhost_add_used() fails
  uapi: in6: restore visibility of most IPv6 socket options
  net: ncsi: Fix buffer overflow in fetching version id
  net: dsa: b53: fix b53_imp_vlan_setup for BCM5325
  net: vlan: Replace BUG() with WARN_ON_ONCE() in vlan_dev_* stubs
  wifi: iwlegacy: Check rate_idx range after addition
  netmem: fix skb_frag_address_safe with unreadable skbs
  wifi: rtlwifi: fix possible skb memory leak in `_rtl_pci_rx_interrupt()`.
  wifi: iwlwifi: dvm: fix potential overflow in rs_fill_link_cmd()
  net: fec: allow disable coalescing
  (powerpc/512) Fix possible `dma_unmap_single()` on uninitialized pointer
  s390/stp: Remove udelay from stp_sync_clock()
  wifi: iwlwifi: mvm: fix scan request validation
  net: thunderx: Fix format-truncation warning in bgx_acpi_match_id()
  net: ipv4: fix incorrect MTU in broadcast routes
  wifi: cfg80211: Fix interface type validation
  et131x: Add missing check after DMA map
  be2net: Use correct byte order and format string for TCP seq and ack_seq
  s390/time: Use monotonic clock in get_cycles()
  wifi: cfg80211: reject HTC bit for management frames
  ktest.pl: Prevent recursion of default variable options
  ASoC: codecs: rt5640: Retry DEVICE_ID verification
  ALSA: usb-audio: Avoid precedence issues in mixer_quirks macros
  ALSA: hda/ca0132: Fix buffer overflow in add_tuning_control
  platform/x86: thinkpad_acpi: Handle KCOV __init vs inline mismatches
  pm: cpupower: Fix the snapshot-order of tsc,mperf, clock in mperf_stop()
  ALSA: intel8x0: Fix incorrect codec index usage in mixer for ICH4
  ASoC: hdac_hdmi: Rate limit logging on connection and disconnection
  mmc: rtsx_usb_sdmmc: Fix error-path in sd_set_power_mode()
  ACPI: processor: fix acpi_object initialization
  PM: sleep: console: Fix the black screen issue
  thermal: sysfs: Return ENODATA instead of EAGAIN for reads
  selftests: tracing: Use mutex_unlock for testing glob filter
  ARM: tegra: Use I/O memcpy to write to IRAM
  gpio: tps65912: check the return value of regmap_update_bits()
  ASoC: soc-dapm: set bias_level if snd_soc_dapm_set_bias_level() was successed
  cpufreq: Exit governor when failed to start old governor
  usb: xhci: Avoid showing errors during surprise removal
  usb: xhci: Set avg_trb_len = 8 for EP0 during Address Device Command
  usb: xhci: Avoid showing warnings for dying controller
  selftests/futex: Define SYS_futex on 32-bit architectures with 64-bit time_t
  usb: xhci: print xhci->xhc_state when queue_command failed
  securityfs: don't pin dentries twice, once is enough...
  hfs: fix not erasing deleted b-tree node issue
  drbd: add missing kref_get in handle_write_conflicts
  arm64: Handle KCOV __init vs inline mismatches
  hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()
  hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc()
  hfsplus: fix slab-out-of-bounds in hfsplus_bnode_read()
  hfs: fix slab-out-of-bounds in hfs_bnode_read()
  sctp: linearize cloned gso packets in sctp_rcv
  netfilter: ctnetlink: fix refcount leak on table dump
  udp: also consider secpath when evaluating ipsec use for checksumming
  fs: Prevent file descriptor table allocations exceeding INT_MAX
  sunvdc: Balance device refcount in vdc_port_mpgroup_check
  NFSD: detect mismatch of file handle and delegation stateid in OPEN op
  net: dpaa: fix device leak when querying time stamp info
  net: gianfar: fix device leak when querying time stamp info
  netlink: avoid infinite retry looping in netlink_unicast()
  ALSA: usb-audio: Validate UAC3 cluster segment descriptors
  ALSA: usb-audio: Validate UAC3 power domain descriptors, too
  usb: gadget : fix use-after-free in composite_dev_cleanup()
  MIPS: mm: tlb-r4k: Uniquify TLB entries on init
  USB: serial: option: add Foxconn T99W709
  vsock: Do not allow binding to VMADDR_PORT_ANY
  net/packet: fix a race in packet_set_ring() and packet_notifier()
  perf/core: Prevent VMA split of buffer mappings
  perf/core: Exit early on perf_mmap() fail
  perf/core: Don't leak AUX buffer refcount on allocation failure
  pptp: fix pptp_xmit() error path
  smb: client: let recv_done() cleanup before notifying the callers.
  benet: fix BUG when creating VFs
  ipv6: reject malicious packets in ipv6_gso_segment()
  pptp: ensure minimal skb length in pptp_xmit()
  netpoll: prevent hanging NAPI when netcons gets enabled
  NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()
  pci/hotplug/pnv-php: Wrap warnings in macro
  pci/hotplug/pnv-php: Improve error msg on power state change failure
  usb: chipidea: udc: fix sleeping function called from invalid context
  f2fs: fix to avoid out-of-boundary access in devs.path
  f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
  rtc: pcf8563: fix incorrect maximum clock rate handling
  rtc: hym8563: fix incorrect maximum clock rate handling
  rtc: ds1307: fix incorrect maximum clock rate handling
  mtd: rawnand: atmel: set pmecc data setup time
  mtd: rawnand: atmel: Fix dma_mapping_error() address
  jfs: fix metapage reference count leak in dbAllocCtl
  fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref
  crypto: qat - fix seq_file position update in adf_ring_next()
  dmaengine: nbpfaxi: Add missing check after DMA map
  dmaengine: mv_xor: Fix missing check after DMA map and missing unmap
  fs/orangefs: Allow 2 more characters in do_c_string()
  crypto: img-hash - Fix dma_unmap_sg() nents value
  scsi: isci: Fix dma_unmap_sg() nents value
  scsi: mvsas: Fix dma_unmap_sg() nents value
  scsi: ibmvscsi_tgt: Fix dma_unmap_sg() nents value
  perf tests bp_account: Fix leaked file descriptor
  crypto: ccp - Fix crash when rebind ccp device for ccp.ko
  pinctrl: sunxi: Fix memory leak on krealloc failure
  power: supply: max14577: Handle NULL pdata when CONFIG_OF is not set
  clk: davinci: Add NULL check in davinci_lpsc_clk_register()
  mtd: fix possible integer overflow in erase_xfer()
  crypto: marvell/cesa - Fix engine load inaccuracy
  PCI: rockchip-host: Fix "Unexpected Completion" log message
  vrf: Drop existing dst reference in vrf_ip6_input_dst
  netfilter: xt_nfacct: don't assume acct name is null-terminated
  can: kvaser_usb: Assign netdev.dev_port based on device channel index
  wifi: brcmfmac: fix P2P discovery failure in P2P peer due to missing P2P IE
  Reapply "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()"
  mwl8k: Add missing check after DMA map
  wifi: rtl8xxxu: Fix RX skb size for aggregation disabled
  net/sched: Restrict conditions for adding duplicating netems to qdisc tree
  arch: powerpc: defconfig: Drop obsolete CONFIG_NET_CLS_TCINDEX
  netfilter: nf_tables: adjust lockdep assertions handling
  drm/amd/pm/powerplay/hwmgr/smu_helper: fix order of mask and value
  m68k: Don't unregister boot console needlessly
  tcp: fix tcp_ofo_queue() to avoid including too much DUP SACK range
  iwlwifi: Add missing check for alloc_ordered_workqueue
  wifi: iwlwifi: Fix memory leak in iwl_mvm_init()
  wifi: rtl818x: Kill URBs before clearing tx status queue
  caif: reduce stack size, again
  staging: nvec: Fix incorrect null termination of battery manufacturer
  samples: mei: Fix building on musl libc
  usb: early: xhci-dbc: Fix early_ioremap leak
  Revert "vmci: Prevent the dispatching of uninitialized payloads"
  pps: fix poll support
  vmci: Prevent the dispatching of uninitialized payloads
  staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()
  ARM: dts: vfxxx: Correctly use two tuples for timer address
  ASoC: ops: dynamically allocate struct snd_ctl_elem_value
  hfsplus: remove mutex_lock check in hfsplus_free_extents
  ASoC: Intel: fix SND_SOC_SOF dependencies
  ethernet: intel: fix building with large NR_CPUS
  usb: phy: mxs: disconnect line when USB charger is attached
  usb: chipidea: udc: protect usb interrupt enable
  usb: chipidea: udc: add new API ci_hdrc_gadget_connect
  comedi: comedi_test: Fix possible deletion of uninitialized timers
  nilfs2: reject invalid file types when reading inodes
  i2c: qup: jump out of the loop in case of timeout
  net/sched: sch_qfq: Avoid triggering might_sleep in atomic context in qfq_delete_class
  net: appletalk: Fix use-after-free in AARP proxy probe
  net: appletalk: fix kerneldoc warnings
  RDMA/core: Rate limit GID cache warning messages
  usb: hub: fix detection of high tier USB3 devices behind suspended hubs
  net_sched: sch_sfq: reject invalid perturb period
  net_sched: sch_sfq: move the limit validation
  net_sched: sch_sfq: use a temporary work area for validating configuration
  net_sched: sch_sfq: don't allow 1 packet limit
  net_sched: sch_sfq: handle bigger packets
  net_sched: sch_sfq: annotate data-races around q->perturb_period
  power: supply: bq24190_charger: Fix runtime PM imbalance on error
  xhci: Disable stream for xHC controller with XHCI_BROKEN_STREAMS
  virtio-net: ensure the received length does not exceed allocated size
  usb: dwc3: qcom: Don't leave BCR asserted
  usb: musb: fix gadget state on disconnect
  net/sched: Return NULL when htb_lookup_leaf encounters an empty rbtree
  net: vlan: fix VLAN 0 refcount imbalance of toggling filtering during runtime
  Bluetooth: L2CAP: Fix attempting to adjust outgoing MTU
  Bluetooth: SMP: Fix using HCI_ERROR_REMOTE_USER_TERM on timeout
  Bluetooth: SMP: If an unallowed command is received consider it a failure
  Bluetooth: Fix null-ptr-deref in l2cap_sock_resume_cb()
  usb: net: sierra: check for no status endpoint
  net/sched: sch_qfq: Fix race condition on qfq_aggregate
  net: emaclite: Fix missing pointer increment in aligned_read()
  comedi: Fix use of uninitialized data in insn_rw_emulate_bits()
  comedi: Fix some signed shift left operations
  comedi: das6402: Fix bit shift out of bounds
  comedi: das16m1: Fix bit shift out of bounds
  comedi: aio_iiro_16: Fix bit shift out of bounds
  comedi: pcl812: Fix bit shift out of bounds
  iio: adc: max1363: Reorder mode_list[] entries
  iio: adc: max1363: Fix MAX1363_4X_CHANS/MAX1363_8X_CHANS[]
  soc: aspeed: lpc-snoop: Don't disable channels that aren't enabled
  soc: aspeed: lpc-snoop: Cleanup resources in stack-order
  mmc: sdhci-pci: Quirk for broken command queuing on Intel GLK-based Positivo models
  memstick: core: Zero initialize id_reg in h_memstick_read_dev_id()
  isofs: Verify inode mode when loading from disk
  dmaengine: nbpfaxi: Fix memory corruption in probe()
  af_packet: fix soft lockup issue caused by tpacket_snd()
  af_packet: fix the SO_SNDTIMEO constraint not effective on tpacked_snd()
  phonet/pep: Move call to pn_skb_get_dst_sockaddr() earlier in pep_sock_accept()
  HID: core: do not bypass hid_hw_raw_request
  HID: core: ensure __hid_request reserves the report ID as the first byte
  HID: core: ensure the allocated report buffer can contain the reserved report ID
  pch_uart: Fix dma_sync_sg_for_device() nents value
  Input: xpad - set correct controller type for Acer NGR200
  i2c: stm32: fix the device used for the DMA map
  usb: gadget: configfs: Fix OOB read on empty string write
  USB: serial: ftdi_sio: add support for NDI EMGUIDE GEMINI
  USB: serial: option: add Foxconn T99W640
  USB: serial: option: add Telit Cinterion FE910C04 (ECM) composition
  dma-mapping: add generic helpers for mapping sgtable objects
  usb: renesas_usbhs: Flush the notify_hotplug_work
  gpio: rcar: Use raw_spinlock to protect register access

Change-Id: Icff8ee5e3403ce26460233171bde46e97ebf96db
2025-10-08 17:20:04 -04:00
db41aa06f7 BACKPORT: treewide: Use sizeof_field() macro
Replace all the occurrences of FIELD_SIZEOF() with sizeof_field() except
at places where these are defined. Later patches will remove the unused
definition of FIELD_SIZEOF().

This patch is generated using following script:

EXCLUDE_FILES="include/linux/stddef.h|include/linux/kernel.h"

git grep -l -e "\bFIELD_SIZEOF\b" | while read file;
do

	if [[ "$file" =~ $EXCLUDE_FILES ]]; then
		continue
	fi
	sed -i  -e 's/\bFIELD_SIZEOF\b/sizeof_field/g' $file;
done

Change-Id: I24296633f28fea05d12618c8e47dc8acb8df18d8
Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Link: https://lore.kernel.org/r/20190924105839.110713-3-pankaj.laxminarayan.bharadiya@intel.com
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: David Miller <davem@davemloft.net> # for net
2025-09-30 21:35:04 +01:00
0562e4499d Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  msm: camera: Fix isp_vma_fault function signature
  msm: ipa2: Fix ipa_nat_vma_fault_remap function signature
  UPSTREAM: ipv4: Fix NULL pointer dereference in ipv4_neigh_lookup()
  UPSTREAM: ipv4: remove sparse error in ip_neigh_gw4()
  UPSTREAM: net: ipv4: Fix NULL pointer dereference in route lookup
  BACKPORT: gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
  UPSTREAM: net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
  UPSTREAM: bpf: Sockmap/tls, fix pop data with SK_DROP return code
  UPSTREAM: bpf: net: Set sk_bpf_storage back to NULL for cloned sk
  UPSTREAM: net: set SOCK_RCU_FREE before inserting socket into hashtable
  UPSTREAM: bpf: Fix bpf socket lookup from tc/xdp to respect socket VRF bindings
  UPSTREAM: udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().
  BACKPORT: apparmor: Use pointer to struct aa_label for lbs_cred
  BACKPORT: lockdown: Allow unprivileged users to see lockdown status
  BACKPORT: LSM: add SafeSetID module that gates setid calls
  UPSTREAM: LSM: fix return value check in safesetid_init_securityfs()
  UPSTREAM: security, lsm: dentry_init_security() Handle multi LSM registration
  BACKPORT: lsm: fix default return value of the socket_getpeersec_*() hooks
  BACKPORT: lsm: make security_socket_getpeersec_stream() sockptr_t safe
  UPSTREAM: lsm: fix default return value for vm_enough_memory
  UPSTREAM: LSM: Avoid warnings about potentially unused hook variables
  BACKPORT: lsm: fix the logic in security_inode_getsecctx()
  BACKPORT: lsm: fix default return value for inode_getsecctx
  BACKPORT: security: Fix hook iteration for secid_to_secctx
  BACKPORT: security: Fix the default value of secid_to_secctx hook
  BACKPORT: security: Fix hook iteration and default value for inode_copy_up_xattr
  UPSTREAM: perf, bpf: Consider events with attr.bpf_event as side-band events
  BACKPORT: net/sysctl: use cpumask_parse in flow_limit_cpu_sysctl
  UPSTREAM: cgroup: fix psi monitor for root cgroup
  UPSTERAM: cgroup: Trace event cgroup id fields should be u64
  UPSTREAM: cgroup: fix psi_show() crash on 32bit ino archs
  BACKPORT: mm, memcg: fix inconsistent oom event behavior
  BACKPORT: mm: memcontrol: handle div0 crash race condition in memory.low
  BACKPORT: mm: memcontrol: fix memory.low proportional distribution
  BACKPORT: bpf: cpumap: Implement XDP_REDIRECT for eBPF programs attached to map entries
  UPSTREAM: bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks
  BACKPORT: bpf: Restrict bpf when kernel lockdown is in confidentiality mode
  BACKPORT: bpf: Fix fexit trampoline.
  BACKPORT: ext4: convert fault handler to use vm_fault_t type
  UPSTREAM: mm: create the new vm_fault_t type
  UPSTREAM: signal/x86: Remove the pkey parameter from do_sigbus
  UPSTREAM: signal/x86: Move MCE error reporting out of force_sig_info_fault

Change-Id: I740ec5ae2f067dd1461512dbfeab1de01ac0f597
2025-09-15 14:39:41 -04:00
f3356fcc28 BACKPORT: ext4: convert fault handler to use vm_fault_t type
Return type of ext4_page_mkwrite and ext4_filemap_fault are
changed to use vm_fault_t type.

With this patch all the callers of block_page_mkwrite_return()
are changed to handle vm_fault_t. So converting the return type
of block_page_mkwrite_return() to vm_fault_t.

Add these changes for msm drivers as well.

Change-Id: I4a274cc17da41dfbe34f4eaefff22db4a1754329
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Matthew Wilcox <willy@infradead.org>
2025-09-08 01:34:41 -04:00
08ec8637f6 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  Revert "ANDROID: modpost: add an exception for CFI stubs"
  ANDROID: Update CFI patchset from android11-5.4
  ANDROID: adding __nocfi to cpuidle_enter_state
  ANDROID: arm64: Fix the address of ftrace_call compiled with CFI_CLANG
  ANDROID: arm64: add __va_function
  arm64: bpf: Don't use module memory for the BPF JIT CFI check.
  arm64/bpf: don't allocate BPF JIT programs in module memory
  bpf: add __weak hook for allocating executable memory
  clk/qcom/clk-alpha-pll: Fix pll post div mask when width is not set
  bpf: Use dedicated bpf_trace_printk event instead of trace_printk()
  BACKPORT: audio-kernel: Disable clock voting logs
  msm: kgsl: introduce CONFIG_CORESIGHT_ADRENO.

Change-Id: I075182f63d4cf9e2c7339928700eb20272d80f7c
2025-03-30 20:19:56 -04:00
1dfa39a8de BACKPORT: audio-kernel: Disable clock voting logs
trace_printk is recommended for debugging purpose as it
requires temporary memory to handle strings. If used
anywhere within the kernel, memory will be allocated to it.
Hence removed it to avoid any unnecessary memory allocation.

Change-Id: If7b0cada91c97b21987f91e0ff7b7a15ce2145e2
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
Signed-off-by: Hridaya Prajapati <info.hridayaprajapati@gmail.com>
2025-03-15 23:19:15 +05:45
8490143dd5 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  qcacld-5.0: Fix the possible OOB write in country IE unpack
  disp: msm: dsi: add null pointer check in dsi_display_dev_remove

Change-Id: I20f9e805b299f6cf3caa23cccb09327c7eea3848
2025-03-12 20:22:57 -04:00
388e2df8b9 disp: msm: dsi: add null pointer check in dsi_display_dev_remove
This change add display null pointer check in dsi_display_dev_remove.

Change-Id: Ib31756c3b22256d19cbcb508f60de4550e3834e1
Signed-off-by: Jinfeng Gu <quic_gjinfeng@quicinc.com>
2025-03-13 00:20:56 +00:00
38aef15bb8 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  ANDROID: android-verity: Prevent double-freeing metadata
  UPSTREAM: f2fs: fix UAF in f2fs_available_free_memory
  msm: ipa2: Add check to validate rule_cnt
  msm: eva: Copy back the validated size to avoid security issue
  msm: adsprpc: Avoid double free on map
  msm: npu: Fix use after free issue
  msm: npu: Fix use after free issue
  clk: qcom: lpasscc-scuba: Add Support for AON & AUDIO clock drivers
  dt-bindings: clk: lpasscc-scuba: Add support for LPASS AONCC and AUDIOCC
  msm: ipa: clean up netdev resources in AFTER_SHUTDOWN cb
  msm: camera: isp: Copy the userdata in kernel to avoid TOCTOU
  asoc: codec: avoid out of bound write to map array
  asoc: codec: avoid out of bound write to map array
  Slimbus: slim-msm-ngd: Avoid accessing deallocated stack
  dsp: q6voice: Changing data type from %d to %ld
  dsp: q6voice: Add buf size check for cvp cal data

Change-Id: I966b2e08afbc5490ea99f987ff3f5b642df0322b
2025-02-16 00:50:11 -05:00
0259431887 Merge tag 'LA.UM.9.12.1.r1-11000-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.1.r1-11000-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.1.r1-11000-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: isp: Copy the userdata in kernel to avoid TOCTOU

Change-Id: I668492b6e074ef57366828c941256bd12911d6e1
2025-02-14 04:13:23 +02:00
28c02c8f95 Merge tag 'LA.UM.9.15.2.r1-11100-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.15.2.r1-11100-KAMORTA.QSSI14.0"

* tag 'LA.UM.9.15.2.r1-11100-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  asoc: codec: avoid out of bound write to map array
  asoc: codec: avoid out of bound write to map array
  dsp: q6voice: Changing data type from %d to %ld
  dsp: q6voice: Add buf size check for cvp cal data

 Conflicts:
	techpack/audio/asoc/codecs/wcd938x/wcd938x.c

Change-Id: I7d1385928f2945ca39e10a6d5a8b7cc497ea9d26
2025-02-14 04:07:47 +02:00
a5ac6be793 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  msm: camera: sensor: TOCTOU error handling

Change-Id: I43eaedc41734899e9b2928a5bbc4937d48d007d9
2025-02-05 18:40:57 -05:00
423f14b6e6 msm: camera: sensor: TOCTOU error handling
- Change to dereference s_ctrl only after proper
  NULL Dereference Check.

CRs-Fixed: 3875406
Change-Id: I8e2c717b22efff2a7d6503d38c048e30eff230da
Signed-off-by: Swami Reddy Reddy <quic_swamired@quicinc.com>
2025-02-04 19:39:57 +02:00
345de7d236 Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  Revert "ANDROID: ALSA: jack: Update supported jack switch types"
  Revert "ALSA: jack: Add support to report second microphone"
  ASOC: Remove support for ANC headphones
  dsp: q6lsm: Check size of payload before access
  UPSTREAM: unicode: Don't special case ignorable code points
  msm: camera: sensor: handling condition for random read
  fw-api: CL 27148704 - update fw common interface files
  fw-api: CL 27145397 - update fw common interface files
  fw-api: CL 27121105 - update fw common interface files
  fw-api: Add marina E3 hal header files to fw-api project
  fw-api: CL 27039913 - update fw common interface files
  fw-api: CL 27020660 - update fw common interface files
  fw-api: CL 27007360 - update fw common interface files
  fw-api: CL 26997210 - update fw common interface files
  fw-api: CL 26979953 - update fw common interface files
  fw-api: CL 26967399 - update fw common interface files
  fw-api: CL 26957438 - update fw common interface files
  fw-api: CL 26944074 - update fw common interface files
  fw-api: CL 26941589 - update fw common interface files
  fw-api: CL 26938915 - update fw common interface files
  fw-api: CL 26931520 - update fw common interface files
  fw-api: CL 26931515 - update fw common interface files
  fw-api: Add hardware header files for QCC2072 Cologne
  msm: camera: memmgr: Remove the mutex lock for kref variable
  fw-api: CL 26908485 - update fw common interface files
  fw-api: CL 26901300 - update fw common interface files
  fw-api: CL 26870782 - update fw common interface files
  fw-api: CL 26859968 - update fw common interface files
  fw-api: CL 26859965 - update fw common interface files
  fw-api: CL 26851668 - update fw common interface files
  fw-api: CL 26851667 - update fw common interface files
  fw-api: CL 26849729 - update fw common interface files
  fw-api: CL 26832690 - update fw common interface files
  fw-api: CL 26800691 - update fw common interface files
  fw-api: CL 26790062 - update fw common interface files
  fw-api: CL 26789113 - update fw common interface files
  fw-api: CL 26775343 - update fw common interface files
  fw-api: CL 26772591 - update fw common interface files
  fw-api: CL 26716443 - update fw common interface files
  fw-api: CL 26705428 - update fw common interface files
  fw-api: CL 26692963 - update fw common interface files
  fw-api: CL 26690604 - update fw common interface files
  fw-api: CL 26684651 - update fw common interface files
  fw-api: CL 26682404 - update fw common interface files
  fw-api: CL 26661427 - update fw common interface files
  fw-api: CL 26642966 - update fw common interface files
  fw-api: CL 26614150 - update fw common interface files
  fw-api: CL 26587627 - update fw common interface files
  fw-api: CL 26534623 - update fw common interface files
  fw-api: CL 26517090 - update fw common interface files
  fw-api: CL 26515400 - update fw common interface files
  fw-api: CL 26515067 - update fw common interface files
  fw-api: CL 26511260 - update fw common interface files
  fw-api: CL 26496317 - update fw common interface files
  fw-api: CL 26403375 - update fw common interface files
  fw-api: CL 26392958 - update fw common interface files
  fw-api: CL 26384461 - update fw common interface files
  qcacmn: Fix out of bound read issue in ESP ie parse
  qcacmn: Update no. of DWORDs for htt_tx_msdu_desc_ext2_t

Change-Id: I607f8347ebb1fddf3574b670f5abee3386adc760
2024-11-08 14:39:09 -05:00
532750c881 Merge tag 'LA.UM.9.12.r1-18500-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
LA.UM.9.12.r1-18500-SMxx50.QSSI14.0

* tag 'LA.UM.9.12.r1-18500-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: handling condition for random read
  msm: camera: memmgr: Remove the mutex lock for kref variable

Change-Id: If9f25f4c833965e83ea19a60de3bbd515dc81144
2024-11-04 04:07:58 +02:00
eda293580e ASOC: Remove support for ANC headphones
ANC headphones are no longer supported, removed dead code related to the feature.

Change-Id: I3dd51b5b1d9f77fd870947608f8a14fc3f7aeed0
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2024-10-31 21:37:53 +00:00
8c20376ebb Merge remote-tracking branch 'sm8250/lineage-20' into HEAD
* sm8250/lineage-20:
  qcacmn: Update no. of DWORDs for htt_tx_msdu_desc_ext2_t
  ii2c: i2c-master-msm-geni: add null pointer check in event call back
  Linux 4.19.322
  Revert "parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367"
  netns: restore ops before calling ops_exit_list
  cx82310_eth: fix error return code in cx82310_bind()
  net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
  rtmutex: Drop rt_mutex::wait_lock before scheduling
  drm/i915/fence: Mark debug_fence_free() with __maybe_unused
  drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused
  ACPI: processor: Fix memory leaks in error paths of processor_add()
  ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()
  ila: call nf_unregister_net_hooks() sooner
  netns: add pre_exit method to struct pernet_operations
  nilfs2: protect references to superblock parameters exposed in sysfs
  nilfs2: replace snprintf in show functions with sysfs_emit
  tracing: Avoid possible softlockup in tracing_iter_reset()
  ring-buffer: Rename ring_buffer_read() to read_buffer_iter_advance()
  uprobes: Use kzalloc to allocate xol area
  clocksource/drivers/imx-tpm: Fix next event not taking effect sometime
  clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX
  VMCI: Fix use-after-free when removing resource in vmci_resource_remove()
  Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic
  uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
  nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc
  iio: fix scale application in iio_convert_raw_to_processed_unlocked
  iio: buffer-dmaengine: fix releasing dma channel on error
  ata: pata_macio: Use WARN instead of BUG
  of/irq: Prevent device address out-of-bounds read in interrupt map walk
  Squashfs: sanity check symbolic link size
  usbnet: ipheth: race between ipheth_close and error handling
  Input: uinput - reject requests with unreasonable number of slots
  HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup
  btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()
  PCI: Add missing bridge lock to pci_bus_lock()
  btrfs: clean up our handling of refs == 0 in snapshot delete
  btrfs: replace BUG_ON with ASSERT in walk_down_proc()
  smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()
  wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()
  hwmon: (w83627ehf) Fix underflows seen when writing limit attributes
  hwmon: (nct6775-core) Fix underflows seen when writing limit attributes
  hwmon: (lm95234) Fix underflows seen when writing limit attributes
  hwmon: (adc128d818) Fix underflows seen when writing limit attributes
  pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
  devres: Initialize an uninitialized struct member
  um: line: always fill *error_out in setup_one_line()
  cgroup: Protect css->cgroup write under css_set_lock
  iommu/vt-d: Handle volatile descriptor status read
  net: dsa: vsc73xx: fix possible subblocks range of CAPT block
  net: bridge: br_fdb_external_learn_add(): always set EXT_LEARN
  net: bridge: fdb: convert added_by_external_learn to use bitops
  net: bridge: fdb: convert added_by_user to bitops
  net: bridge: fdb: convert is_sticky to bitops
  net: bridge: fdb: convert is_static to bitops
  net: bridge: fdb: convert is_local to bitops
  bridge: switchdev: Allow clearing FDB entry offload indication
  net: bridge: add support for sticky fdb entries
  rfkill: fix spelling mistake contidion to condition
  usbnet: modern method to get random MAC
  net: usb: don't write directly to netdev->dev_addr
  drivers/net/usb: Remove all strcpy() uses
  cx82310_eth: re-enable ethernet mode after router reboot
  platform/x86: dell-smbios: Fix error path in dell_smbios_init()
  igb: Fix not clearing TimeSync interrupts for 82580
  can: bcm: Remove proc entry when dev is unregistered.
  pcmcia: Use resource_size function on resource object
  media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse
  wifi: brcmsmac: advertise MFP_CAPABLE to enable WPA3
  udf: Avoid excessive partition lengths
  netfilter: nf_conncount: fix wrong variable type
  af_unix: Remove put_pid()/put_cred() in copy_peercred().
  irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1
  smack: unix sockets: fix accept()ed socket label
  ALSA: hda: Add input value sanity checks to HDMI channel map controls
  nilfs2: fix state management in error path of log writing function
  nilfs2: fix missing cleanup on rollforward recovery error
  clk: qcom: clk-alpha-pll: Fix the pll post div mask
  fuse: use unsigned type for getxattr/listxattr size truncation
  mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K
  ata: libata: Fix memory leak for error path in ata_host_alloc()
  ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices
  sch/netem: fix use after free in netem_dequeue
  ALSA: usb-audio: Fix gpf in snd_usb_pipe_sanity_check
  ALSA: usb-audio: Sanity checks for each pipe and EP types
  udf: Limit file size to 4TB
  virtio_net: Fix napi_skb_cache_put warning
  block: initialize integrity buffer to zero before writing it to media
  media: uvcvideo: Enforce alignment of frame and interval
  smack: tcp: ipv4, fix incorrect labeling
  usbip: Don't submit special requests twice
  apparmor: fix possible NULL pointer dereference
  drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device
  drm/amdgpu: fix mc_data out-of-bounds read warning
  drm/amdgpu: fix ucode out-of-bounds read warning
  drm/amdgpu: fix overflowed array index read warning
  drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr
  usb: dwc3: st: add missing depopulate in probe error path
  usb: dwc3: st: Add of_node_put() before return in probe function
  net: usb: qmi_wwan: add MeiG Smart SRM825L
  BACKPORT: f2fs: fix to handle segment allocation failure correctly
  BACKPORT: f2fs: stop checkpoint when get a out-of-bounds segment
  msm-4.19: qseecom: Fix possible race condition
  adsprpc: Handle UAF scenario in put_args
  adsprpc: Handle UAF scenario in put_args
  securemsm-kernel: Decrement the server object ref count in mutex context
  qcedev: fix UAF in qcedev_smmu
  msm: camera: icp: io buf config num validation
  dsp: q6lsm: Check size of payload before access
  msm: kgsl: Fix error handling during drawctxt switch
  asoc: codecs: Fix for the SSR issue on qcm2150
  msm: ipa: Add additional cleanup in finish rt rule addition
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: sensor: TOCTOU error handling in eeprom
  vidc_3x: Fix cts failures
  msm: kgsl: Fix error handling during drawctxt switch
  msm: camera: memmgr: Remove the mutex lock for kref variable
  msm: eva: Adding kref count for cvp_get_inst_from_id
  msm: camera: memmgr: Remove the mutex lock for kref variable
  dsp: q6voice: Adds checks for an integer overflow
  msm: adsprpc: use-after-free (UAF) in global maps
  asoc: Fix out-of-bound write
  msm: adsprpc: use-after-free (UAF) in global maps
  dsp: q6voice: Adds checks for an integer overflow
  scsi: ufs: Add load voting for UFS's VCCQ2 parent regulator
  asoc: Fix out-of-bound write
  msm: adsprpc: use-after-free (UAF) in global maps
  pci: pci-msm-msi: Re-name irq chip name for the driver
  rpmsg: glink: Get reference of channel objects in rx path
  dsp: q6voice: Adds checks for an integer overflow
  dsp: q6voice: Adds checks for an integer overflow
  serial: msm_geni_serial: Make HW Flow off if CRSTCTS flag not set
  serial: msm_geni_serial: check ioctl_count with auto_suspend enabled
  serial: msm_geni_serial: Move UART Rx path errors to ipc logs
  serial: msm_geni_serial: Prevent excessive logging due to WARN_ON
  serial: msm_geni_serial: Check for wakeup byte after suspend
  serial: msm_geni_serial: Update wakeup byte handling mechanism
  serial: msm_geni_serial: Check if workqueue allocation fails
  serial: msm_geni_serial: Handle vote_clock_off when rx data is inflight
  serial: msm_geni_serial: Check if port is open in msm_geni_wakeup_work
  serial: msm_geni_serial: Change wakeup interrupt handling mechanism
  dsp: q6lsm: Check size of payload before access
  Fix for OOB access issue
  msm: vidc: Release cvp buffer lock in invalid buffer case
  Fix for OOB access issue
  msm: camera: sensor: Handling race condition in util api
  dsp: q6lsm: Check size of payload before access
  serial: msm_geni_serial: Handle delayed Rx cancel cmd interrupt
  msm: vidc: Fix possible UAF during buffer unregister call
  msm: camera: memmgr: Add refcount to track umd in use buffers
  msm: camera: memmgr: Add refcount to track umd in use buffers
  serial: msm_geni_serial: Handle Rx EOT & DMA_DONE after DMA Reset
  ARM: defconfig: Enable config for msm8937_32 and msm8937_32go
  fw-api: CL 26368984 - update fw common interface files
  fw-api: CL 26367617 - update fw common interface files
  fw-api: CL 26367611 - update fw common interface files
  fw-api: CL 26351133 - update fw common interface files
  fw-api: CL 26304529 - update fw common interface files
  fw-api: CL 26304560 - update fw common interface files
  fw-api: CL 26301574 - update fw common interface files
  ARM: defconfig: Enable config for msm8937
  msm: camera: sensor: Handling race condition in util api
  memshare: Prevent possible integer overflow
  fw-api: CL 26280447 - update fw common interface files
  fw-api: CL 26269344 - update fw common interface files
  fw-api: CL 26268167 - update fw common interface files
  fw-api: CL 26238739, 26268166 - update fw common interface file txmon_tlvs.h #3
  fw-api: CL 26242685 - update fw common interface files
  fw-api: CL 26241114 - update fw common interface files
  fw-api: CL 26238739 - update fw common interface files
  fw-api: CL 26238735 - update fw common interface files
  fw-api: CL 26228983 - update fw common interface files
  fw-api: CL 26228979 - update fw common interface files
  fw-api: CL 26220780 - update fw common interface files
  fw-api: CL 26206720 - update fw common interface files
  fw-api: CL 26206715 - update fw common interface files
  fw-api: CL 26205559 - update fw common interface files
  fw-api: CL 26197005 - update fw common interface files
  fw-api: CL 26180835 - update fw common interface files
  fw-api: CL 26150181 - update fw common interface files
  fw-api: CL 26149972 - update fw common interface files
  fw-api: CL 26129651 - update fw common interface files
  diag: Correct argument list for debug logs
  fw-api: add TLV struct for sigb details
  memshare: Prevent possible integer overflow
  fw-api: CL 26118792 - update fw common interface files
  fw-api: CL 26106643 - update fw common interface files
  fw-api: CL 26082151 - update fw common interface files
  fw-api: CL 26071804 - update fw common interface files
  fw-api: CL 26041862 - update fw common interface files
  fw-api: CL 26026870 - update fw common interface files
  fw-api: CL 26017002 - update fw common interface files
  fw-api: Incremental hw header file update for WCN7750
  soc: qcom: smem: Add boundary checks for partitions
  soc: qcom: smem: Add boundary checks for partitions
  msm: camera: common: Fix possible OOB reads and writes operations
  fw-api: CL 25999327 - update fw common interface files
  fw-api: CL 25995600 - update fw common interface files
  fw-api: CL 25993098 - update fw common interface files
  fw-api: CL 25976261 - update fw common interface files
  fw-api: CL 25939563 - update fw common interface files
  fw-api: CL 25939560 - update fw common interface files
  fw-api: CL 25930751 - update fw common interface files
  fw-api: CL 25920610 - update fw common interface files
  fw-api: CL 25914677 - update fw common interface files
  fw-api: CL 25907622 - update fw common interface files
  fw-api: CL 25904384 - update fw common interface files
  fw-api: CL 25886772 - update fw common interface files
  fw-api: CL 25886388 - update fw common interface files
  fw-api: CL 25873461 - update fw common interface files
  fw-api: Add hardware header files for WCN7750
  msm: kgsl: Fix upper bound check for iommu address
  Audio legacy: Integer overflow in msm_lsm_ioctl_compat during audio playback usecase. size = sizeof(p_info_32) + p_info_32.param_size; This overflow issue may result heap overflow during copying the data: memcpy(param_info_rsp, &p_info_32, sizeof(p_info_32));
  cnss2: Add support for configuring calibration duration
  UPSTREAM: loop: unset GENHD_FL_NO_PART_SCAN on LOOP_CONFIGURE
  loop: Select I/O scheduler 'none' from inside add_disk()
  BACKPORT: loop: Fix missing discard support when using LOOP_CONFIGURE
  loop: Check for overflow while configuring loop
  BACKPORT: loop: Set correct device size when using LOOP_CONFIGURE
  vidc: Return EBUSY if mbpf check fails
  block: delete part_round_stats and switch to less precise counting
  BACKPORT: media: venus: hfi: fix the check in session buffer requirement
  vidc: Skip unsupported session load in load calculation
  msm: kgsl: Limit the syncpoint count for AUX commands
  msm: kgsl: Prevent wrap around during user address mapping
  ASoC: Resolve use after free in listen sound client
  dsp: q6lsm: Add check for payload buffer
  ASoC: msm-pcm-voip: Avoid interger underflow
  msm: adsprpc: Handle UAF in fastrpc internal munmap
  msm: kgsl: Keep postamble packets in a privileged buffer
  soc: qcom: qsee_ipc_irq_bridge: Remove redundant cleanup
  misc: update nordic DFU function check
  msm: kgsl: Use dma_buf_get() to get dma_buf structure
  msm: camera: smmu: Use get_file to increase ref count
  msm: kgsl: Make sure that pool pages don't have any extra references
  cnss2: Validate maximum number of memory segments
  net: qrtr: fifo: Add bounds check on tx path
  icnss2: Add data length validation in cnss_wlfw_qdss_data_send_sync()
  net: qrtr: fifo: Add bounds check on tx path
  msm: camera: sensor: Using low priority queue for init setting
  cnss2: Unregister host driver during PCI remove
  msm: cvp: Resuming DSP if power collapse fails
  soc: swr-mstr: Store and compare dev_addr along with dev_num
  msm: camera: reqmgr: Increase V4L2 Queue depth
  msm: ADSPRPC: Restrict untrusted applications from attaching to GuestOS
  misc: updates to controller's driver
  defconfig: Enable KinecticsXR Nordic chip for SKU4
  misc: add makefile changes for Nordic chip
  msm: synx: fix copyright
  defconfig: Enable Novatek NT36xxx Touch for tron target
  cnss2: Update bound checks for sbl reg dumps to SRAM mem range

Change-Id: I4bdc5957c8070e19f36343c8e2068e7e4d499006
2024-10-10 22:56:22 -04:00
8fc1b264e3 Merge tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-4.19-kona
"LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm: vidc: Release cvp buffer lock in invalid buffer case
  msm: vidc: Fix possible UAF during buffer unregister call
  vidc: Return EBUSY if mbpf check fails
  vidc: Skip unsupported session load in load calculation

 Conflicts:
	techpack/video/msm/vidc/msm_vidc_common.c

Change-Id: I7dc1d60f51c11288c83f7ee4097b2b2f39d2655b
2024-10-10 14:26:14 +03:00
080219bb4f Merge tag 'LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0"

* tag 'LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: memmgr: Remove the mutex lock for kref variable
  msm: camera: memmgr: Add refcount to track umd in use buffers
  msm: camera: sensor: Handling race condition in util api
  msm: camera: common: Fix possible OOB reads and writes operations

Change-Id: Ic30b7c9d5683965ee182c28681387a9725a83b17
2024-10-10 14:16:48 +03:00
92fb1a2d0c Merge tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: icp: io buf config num validation
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: memmgr: Remove the mutex lock for kref variable
  msm: camera: sensor: Handling race condition in util api
  msm: camera: memmgr: Add refcount to track umd in use buffers
  msm: camera: smmu: Use get_file to increase ref count
  msm: camera: sensor: Using low priority queue for init setting
  msm: camera: reqmgr: Increase V4L2 Queue depth

Change-Id: I15be6929b7950eca0564c4cb76c407cb2d35261c
2024-10-10 14:14:05 +03:00
7df3d99789 Merge tag 'LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0"

* tag 'LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: q6lsm: Check size of payload before access
  asoc: codecs: Fix for the SSR issue on qcm2150
  dsp: q6voice: Adds checks for an integer overflow
  asoc: Fix out-of-bound write
  dsp: q6voice: Adds checks for an integer overflow
  Fix for OOB access issue
  dsp: q6lsm: Check size of payload before access

Change-Id: I708a0be36841731d8c5126b8135123b642a8a7d7
2024-10-10 14:13:12 +03:00
bcb290148a Merge tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: q6voice: Adds checks for an integer overflow
  asoc: Fix out-of-bound write
  dsp: q6voice: Adds checks for an integer overflow
  dsp: q6lsm: Check size of payload before access
  Fix for OOB access issue
  Audio legacy: Integer overflow in msm_lsm_ioctl_compat during audio playback usecase. size = sizeof(p_info_32) + p_info_32.param_size; This overflow issue may result heap overflow during copying the data: memcpy(param_info_rsp, &p_info_32, sizeof(p_info_32));
  ASoC: Resolve use after free in listen sound client
  dsp: q6lsm: Add check for payload buffer
  ASoC: msm-pcm-voip: Avoid interger underflow
  soc: swr-mstr: Store and compare dev_addr along with dev_num

 Conflicts:
	techpack/audio/asoc/msm-compress-q6-v2.c
	techpack/audio/asoc/msm-pcm-routing-v2.c

Change-Id: I76045565c18bea94657ac7bbb46a49058f108f8d
2024-10-10 14:09:06 +03:00
f036c9580a Merge remote-tracking branch 'sm8250/lineage-20' into lineage-21
* sm8250/lineage-20:
  arm64: cputype: Remove duplicate A77 definitions
  qcacld-3.0: Remove use-after-free of frame in tx mgmt send
  smcinvoke: Rename size_add to smci_size_add
  video: driver: Return proper error code
  video: driver: Return proper error code
  Linux 4.19.321
  drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
  ipc: remove memcg accounting for sops objects in do_semtimedop()
  scsi: aacraid: Fix double-free on probe failure
  usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes()
  usb: dwc3: st: fix probed platform device ref count on probe error path
  usb: dwc3: core: Prevent USB core invalid event buffer address access
  usb: dwc3: omap: add missing depopulate in probe error path
  USB: serial: option: add MeiG Smart SRM825L
  cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller
  net: busy-poll: use ktime_get_ns() instead of local_clock()
  gtp: fix a potential NULL pointer dereference
  soundwire: stream: fix programming slave ports for non-continous port maps
  net: prevent mss overflow in skb_segment()
  ida: Fix crash in ida_free when the bitmap is empty
  net:rds: Fix possible deadlock in rds_message_put
  fbmem: Check virtual screen sizes in fb_set_var()
  fbcon: Prevent that screen size is smaller than font size
  memcg: enable accounting of ipc resources
  cgroup/cpuset: Prevent UAF in proc_cpuset_show()
  ata: libata-core: Fix null pointer dereference on error
  media: uvcvideo: Fix integer overflow calculating timestamp
  filelock: Correct the filelock owner in fcntl_setlk/fcntl_setlk64
  scsi: mpt3sas: Avoid IOMMU page faults on REPORT ZONES
  dm suspend: return -ERESTARTSYS instead of -EINTR
  wifi: mwifiex: duplicate static structs used in driver instances
  pinctrl: single: fix potential NULL dereference in pcs_get_function()
  drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc
  tools: move alignment-related macros to new <linux/align.h>
  Input: MT - limit max slots
  Bluetooth: hci_ldisc: check HCI_UART_PROTO_READY flag in HCIUARTGETPROTO
  ALSA: timer: Relax start tick time check for slave timer elements
  mmc: dw_mmc: allow biu and ciu clocks to defer
  cxgb4: add forgotten u64 ivlan cast before shift
  HID: wacom: Defer calculation of resolution until resolution_code is known
  Bluetooth: MGMT: Add error handling to pair_device()
  mmc: mmc_test: Fix NULL dereference on allocation failure
  drm/msm/dpu: don't play tricks with debug macros
  drm/msm: use drm_debug_enabled() to check for debug categories
  net: xilinx: axienet: Always disable promiscuous mode
  ipv6: prevent UAF in ip6_send_skb()
  netfilter: nft_counter: Synchronize nft_counter_reset() against reader.
  kcm: Serialise kcm_sendmsg() for the same socket.
  Bluetooth: hci_core: Fix LE quote calculation
  Bluetooth: hci_core: Fix not handling link timeouts propertly
  Bluetooth: Make use of __check_timeout on hci_sched_le
  block: use "unsigned long" for blk_validate_block_size().
  gtp: pull network headers in gtp_dev_xmit()
  hrtimer: Prevent queuing of hrtimer without a function callback
  nvmet-rdma: fix possible bad dereference when freeing rsps
  ext4: set the type of max_zeroout to unsigned int to avoid overflow
  irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc
  usb: dwc3: core: Skip setting event buffers for host only controllers
  s390/iucv: fix receive buffer virtual vs physical address confusion
  openrisc: Call setup_memory() earlier in the init sequence
  NFS: avoid infinite loop in pnfs_update_layout.
  Bluetooth: bnep: Fix out-of-bound access
  usb: gadget: fsl: Increase size of name buffer for endpoints
  f2fs: fix to do sanity check in update_sit_entry
  btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_account_extent()
  btrfs: send: handle unexpected data in header buffer in begin_cmd()
  btrfs: handle invalid root reference found in may_destroy_subvol()
  btrfs: change BUG_ON to assertion when checking for delayed_node root
  powerpc/boot: Only free if realloc() succeeds
  powerpc/boot: Handle allocation failure in simple_realloc()
  parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367
  md: clean up invalid BUG_ON in md_ioctl
  net/sun3_82586: Avoid reading past buffer in debug output
  scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list()
  fs: binfmt_elf_efpic: don't use missing interpreter's properties
  media: pci: cx23885: check cx23885_vdev_init() return
  quota: Remove BUG_ON from dqget()
  ext4: do not trim the group with corrupted block bitmap
  powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu
  wifi: iwlwifi: abort scan when rfkill on but device enabled
  gfs2: setattr_chown: Add missing initialization
  scsi: spi: Fix sshdr use
  binfmt_misc: cleanup on filesystem umount
  staging: ks7010: disable bh on tx_dev_lock
  i2c: riic: avoid potential division by zero
  wifi: cw1200: Avoid processing an invalid TIM IE
  ssb: Fix division by zero issue in ssb_calc_clock_rate
  net: dsa: vsc73xx: pass value in phy_write operation
  atm: idt77252: prevent use after free in dequeue_rx()
  net/mlx5e: Correctly report errors for ethtool rx flows
  btrfs: rename bitmap_set_bits() -> btrfs_bitmap_set_bits()
  overflow: Implement size_t saturating arithmetic helpers
  overflow.h: Add flex_array_size() helper
  s390/cio: rename bitmap_size() -> idset_bitmap_size()
  memcg_write_event_control(): fix a user-triggerable oops
  drm/amdgpu: Actually check flags for all context ops.
  selinux: fix potential counting error in avc_add_xperms_decision()
  fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
  bitmap: introduce generic optimized bitmap_size()
  dm persistent data: fix memory allocation failure
  dm resume: don't return EINVAL when signalled
  arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE
  xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration
  ALSA: usb-audio: Support Yamaha P-125 quirk entry
  fuse: Initialize beyond-EOF page contents before setting uptodate
  Linux 4.19.320
  nvme/pci: Add APST quirk for Lenovo N60z laptop
  exec: Fix ToCToU between perm check and set-uid/gid usage
  drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
  media: uvcvideo: Use entity get_cur in uvc_ctrl_set
  arm64: cpufeature: Fix the visibility of compat hwcaps
  netfilter: nf_tables: prefer nft_chain_validate
  netfilter: nf_tables: use timestamp to check for set element timeout
  netfilter: nf_tables: set element extended ACK reporting support
  kbuild: Fix '-S -c' in x86 stack protector scripts
  drm/mgag200: Set DDC timeout in milliseconds
  drm/bridge: analogix_dp: properly handle zero sized AUX transactions
  x86/mtrr: Check if fixed MTRRs exist before saving them
  tracing: Fix overflow in get_free_elt()
  power: supply: axp288_charger: Round constant_charge_voltage writes down
  power: supply: axp288_charger: Fix constant_charge_voltage writes
  serial: core: check uartclk for zero to avoid divide by zero
  ntp: Safeguard against time_constant overflow
  driver core: Fix uevent_show() vs driver detach race
  ntp: Clamp maxerror and esterror to operating range
  tick/broadcast: Move per CPU pointer access into the atomic section
  scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic
  usb: gadget: core: Check for unset descriptor
  USB: serial: debug: do not echo input by default
  usb: vhci-hcd: Do not drop references before new references are gained
  ALSA: line6: Fix racy access to midibuf
  spi: spi-fsl-lpspi: Fix scldiv calculation
  spi: fsl-lpspi: remove unneeded array
  spi: lpspi: add the error info of transfer speed setting
  spi: lpspi: Add i.MX8 boards support for lpspi
  spi: lpspi: Let watermark change with send data length
  spi: lpspi: Add slave mode support
  spi: lpspi: Replace all "master" with "controller"
  bpf: kprobe: remove unused declaring of bpf_kprobe_override
  i2c: smbus: Send alert notifications to all devices if source not found
  i2c: smbus: Improve handling of stuck alerts
  i2c: smbus: Don't filter out duplicate alerts
  arm64: errata: Expand speculative SSBS workaround (again)
  arm64: cputype: Add Cortex-A725 definitions
  arm64: cputype: Add Cortex-X1C definitions
  arm64: errata: Expand speculative SSBS workaround
  arm64: errata: Unify speculative SSBS errata logic
  arm64: cputype: Add Cortex-X925 definitions
  arm64: cputype: Add Cortex-A720 definitions
  arm64: cputype: Add Cortex-X3 definitions
  arm64: errata: Add workaround for Arm errata 3194386 and 3312417
  arm64: cputype: Add Neoverse-V3 definitions
  arm64: cputype: Add Cortex-X4 definitions
  arm64: Add Neoverse-V2 part
  arm64: cpufeature: Force HWCAP to be based on the sysreg visible to user-space
  arm64: Add support for SB barrier and patch in over DSB; ISB sequences
  ext4: fix wrong unit use in ext4_mb_find_by_goal
  SUNRPC: Fix a race to wake a sync task
  s390/sclp: Prevent release of buffer in I/O
  jbd2: avoid memleak in jbd2_journal_write_metadata_buffer
  media: uvcvideo: Fix the bandwdith quirk on USB 3.x
  media: uvcvideo: Ignore empty TS packets
  btrfs: fix bitmap leak when loading free space cache on duplicate entry
  wifi: nl80211: don't give key data to userspace
  udf: prevent integer overflow in udf_bitmap_free_blocks()
  PCI: Add Edimax Vendor ID to pci_ids.h
  clocksource/drivers/sh_cmt: Address race condition for clock events
  md/raid5: avoid BUG_ON() while continue reshape after reassembling
  net: fec: Stop PPS on driver remove
  Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
  net: linkwatch: use system_unbound_wq
  net: usb: qmi_wwan: fix memory leak for not ip packets
  x86/mm: Fix pti_clone_pgtable() alignment assumption
  irqchip/mbigen: Fix mbigen node address layout
  net: usb: sr9700: fix uninitialized variable use in sr_mdio_read
  ALSA: usb-audio: Correct surround channels in UAC1 channel map
  protect the fetch of ->fd[fd] in do_dup2() from mispredictions
  ipv6: fix ndisc_is_useropt() handling for PIO
  net/iucv: fix use after free in iucv_sock_close()
  drm/vmwgfx: Fix overlay when using Screen Targets
  remoteproc: imx_rproc: Skip over memory region when node value is NULL
  remoteproc: imx_rproc: Fix ignoring mapping vdev regions
  remoteproc: imx_rproc: ignore mapping vdev regions
  perf/x86/intel/pt: Fix a topa_entry base address calculation
  perf/x86/intel/pt: Split ToPA metadata and page layout
  perf/x86/intel/pt: Use pointer arithmetics instead in ToPA entry calculation
  perf/x86/intel/pt: Use helpers to obtain ToPA entry size
  perf/x86/intel/pt: Export pt_cap_get()
  devres: Fix memory leakage caused by driver API devm_free_percpu()
  driver core: Cast to (void *) with __force for __percpu pointer
  dev/parport: fix the array out-of-bounds risk
  parport: Standardize use of printmode
  parport: Convert printk(KERN_<LEVEL> to pr_<level>(
  parport: parport_pc: Mark expected switch fall-through
  PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio
  PCI: rockchip: Make 'ep-gpios' DT property optional
  mm: avoid overflows in dirty throttling logic
  mISDN: Fix a use after free in hfcmulti_tx()
  tipc: Return non-zero value from tipc_udp_addr2str() on error
  net: bonding: correctly annotate RCU in bond_should_notify_peers()
  ipv4: Fix incorrect source address in Record Route option
  net: ip_rt_get_source() - use new style struct initializer instead of memset
  MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later
  dma: fix call order in dmam_free_coherent
  jfs: Fix array-index-out-of-bounds in diFree
  kdb: Use the passed prompt in kdb_position_cursor()
  kdb: address -Wformat-security warnings
  kdb: Fix bound check compiler warning
  nilfs2: handle inconsistent state in nilfs_btnode_create_block()
  selftests/sigaltstack: Fix ppc64 GCC build
  RDMA/iwcm: Fix a use-after-free related to destroying CM IDs
  platform: mips: cpu_hwmon: Disable driver on unsupported hardware
  watchdog/perf: properly initialize the turbo mode timestamp and rearm counter
  perf/x86/intel/pt: Fix topa_entry base length
  scsi: qla2xxx: validate nvme_local_port correctly
  scsi: qla2xxx: During vport delete send async logout explicitly
  rtc: cmos: Fix return value of nvmem callbacks
  kobject_uevent: Fix OOB access within zap_modalias_env()
  decompress_bunzip2: fix rare decompression failure
  ubi: eba: properly rollback inside self_check_eba
  clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use
  f2fs: fix to don't dirty inode for readonly filesystem
  scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds
  binder: fix hang of unregistered readers
  PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN
  hwrng: amd - Convert PCIBIOS_* return codes to errnos
  tools/memory-model: Fix bug in lock.cat
  leds: ss4200: Convert PCIBIOS_* return codes to errnos
  wifi: mwifiex: Fix interface type change
  ext4: make sure the first directory block is not a hole
  ext4: check dot and dotdot of dx_root before making dir indexed
  m68k: amiga: Turn off Warp1260 interrupts during boot
  drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
  drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes
  hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()
  media: venus: fix use after free in vdec_close
  char: tpm: Fix possible memory leak in tpm_bios_measurements_open()
  ipv6: take care of scope when choosing the src addr
  af_packet: Handle outgoing VLAN packets without hardware offloading
  net: netconsole: Disable target before netpoll cleanup
  tick/broadcast: Make takeover of broadcast hrtimer reliable
  nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro
  fs/nilfs2: remove some unused macros to tame gcc
  pinctrl: freescale: mxs: Fix refcount of child
  pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails
  pinctrl: ti: ti-iodelay: Drop if block with always false condition
  pinctrl: single: fix possible memory leak when pinctrl_enable() fails
  pinctrl: core: fix possible memory leak when pinctrl_enable() fails
  netfilter: ctnetlink: use helper function to calculate expect ID
  ice: Rework flex descriptor programming
  bnxt_re: Fix imm_data endianness
  macintosh/therm_windtunnel: fix module unload.
  powerpc/xmon: Fix disassembly CPU feature checks
  MIPS: Octeron: remove source file executable bit
  Input: elan_i2c - do not leave interrupt disabled on suspend failure
  mtd: make mtd_test.c a separate module
  RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs
  RDMA/mlx4: Fix truncated output warning in alias_GUID.c
  RDMA/mlx4: Fix truncated output warning in mad.c
  PCI: Fix resource double counting on remove & rescan
  PCI: Equalize hotplug memory and io for occupied and empty slots
  sparc64: Fix incorrect function signature and add prototype for prom_cif_init
  ext4: avoid writing unitialized memory to disk in EA inodes
  mfd: omap-usb-tll: Use struct_size to allocate tll
  drm/etnaviv: fix DMA direction handling for cached RW buffers
  perf report: Fix condition in sort__sym_cmp()
  leds: trigger: Unregister sysfs attributes before calling deactivate()
  media: renesas: vsp1: Store RPF partition configuration per RPF instance
  media: renesas: vsp1: Fix _irqsave and _irq mix
  media: uvcvideo: Override default flags
  media: uvcvideo: Allow entity-defined get_info and get_cur
  saa7134: Unchecked i2c_transfer function result fixed
  media: imon: Fix race getting ictx->lock
  selftests: forwarding: devlink_lib: Wait for udev events after reloading
  bna: adjust 'name' buf size of bna_tcb and bna_ccb structures
  perf: Prevent passing zero nr_pages to rb_alloc_aux()
  perf: Fix perf_aux_size() for greater-than 32-bit size
  ipvs: Avoid unnecessary calls to skb_is_gso_sctp
  net: fec: Fix FEC_ECR_EN1588 being cleared on link-down
  net: fec: Refactor: #define magic constants
  wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he()
  wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he()
  selftests/bpf: Check length of recv in test_sockmap
  net/smc: set rmb's SG_MAX_SINGLE_ALLOC limitation only when CONFIG_ARCH_NO_SG_CHAIN is defined
  net/smc: Allow SMC-D 1MB DMB allocations
  wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device
  m68k: cmpxchg: Fix return value for default case in __arch_xchg()
  x86/xen: Convert comma to semicolon
  m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages
  arm64: dts: rockchip: Increase VOP clk rate on RK3328
  hwmon: (max6697) Fix swapped temp{1,8} critical alarms
  hwmon: (max6697) Auto-convert to use SENSOR_DEVICE_ATTR_{RO, RW, WO}
  hwmon: Introduce SENSOR_DEVICE_ATTR_{RO, RW, WO} and variants
  hwmon: (max6697) Fix underflow when writing limit attributes
  pwm: stm32: Always do lazy disabling
  hwmon: (adt7475) Fix default duty on fan is disabled
  x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos
  x86/pci/xen: Fix PCIBIOS_* return code handling
  x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling
  x86/of: Return consistent error type from x86_of_pci_irq_enable()
  hfsplus: fix to avoid false alarm of circular locking
  platform/chrome: cros_ec_debugfs: fix wrong EC message version
  Revert "net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD()"
  Linux 4.19.319
  filelock: Fix fcntl/close race recovery compat path
  jfs: don't walk off the end of ealist
  ocfs2: add bounds checking to ocfs2_check_dir_entry()
  net: relax socket state check at accept time.
  ACPI: processor_idle: Fix invalid comparison with insertion sort for latency
  ARM: 9324/1: fix get_user() broken with veneer
  filelock: Remove locks reliably when fcntl/close race is detected
  hfsplus: fix uninit-value in copy_name
  selftests/vDSO: fix clang build errors and warnings
  spi: imx: Don't expect DMA for i.MX{25,35,50,51,53} cspi devices
  fs: better handle deep ancestor chains in is_subdir()
  Bluetooth: hci_core: cancel all works upon hci_unregister_dev()
  net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD()
  net: usb: qmi_wwan: add Telit FN912 compositions
  ALSA: dmaengine_pcm: terminate dmaengine before synchronize
  s390/sclp: Fix sclp_init() cleanup on failure
  can: kvaser_usb: fix return value for hif_usb_send_regout
  bytcr_rt5640 : inverse jack detect for Archos 101 cesium
  Input: elantech - fix touchpad state on resume for Lenovo N24
  wifi: cfg80211: wext: add extra SIOCSIWSCAN data check
  mei: demote client disconnect warning on suspend to debug
  fs/file: fix the check in find_next_fd()
  kconfig: remove wrong expr_trans_bool()
  kconfig: gconf: give a proper initial state to the Save button
  ila: block BH in ila_output()
  Input: silead - Always support 10 fingers
  wifi: mac80211: fix UBSAN noise in ieee80211_prep_hw_scan()
  wifi: mac80211: mesh: init nonpeer_pm to active by default in mesh sdata
  ACPI: EC: Avoid returning AE_OK on errors in address space handler
  ACPI: EC: Abort address space access upon error
  scsi: qedf: Set qed_slowpath_params to zero before use
  gcc-plugins: Rename last_stmt() for GCC 14+

Change-Id: I1217cbf8f6b28b0a00910beeb5cb7dfd29e09b6e
2024-10-09 12:45:35 -04:00
5889b586f3 video: driver: Return proper error code
Return correct error code when session
is not supported since remaining memory
is not sufficient to proceed current session

Bug: 273301608
Test: CtsMediaMiscTestCases:android.media.misc.cts.ResourceManagerTest#testAVCVideoCodecReclaimHighResolution
Change-Id: Ib989b7ad41606303f2ff3359768105b10cf9393d
2024-09-18 13:39:23 +03:00
29ea278cb8 video: driver: Return proper error code
Return correct error code when session
is not supported when max mbpf limit
is reached.

Bug: 273301608
Test: CtsMediaMiscTestCases android.media.misc.cts.ResourceManagerTest#testReclaimResourceMixVsNonsecureHighResolution
Change-Id: I50739758df36d534970101977a1f64a465ba3e77
2024-09-18 13:38:20 +03:00