171 Commits

Author SHA1 Message Date
Wiktor Rudzki
23c4b5c9eb Merge remote-tracking branch 'qcom_sm8350/lineage-20' into lineage-22.2
* qcom_sm8350/lineage-20:
  UPSTREAM: net: sched: Disallow replacing of child qdisc from one parent to another
  FROMGIT: media: venus: hfi: add a check to handle OOB in sfr region
  FROMGIT: media: venus: hfi: add check to handle incorrect queue size
  FROMGIT: media: venus: hfi_parser: refactor hfi packet parsing logic
  FROMGIT: media: venus: hfi_parser: add check to avoid out of bound access
  UPSTREAM: pfifo_tail_enqueue: Drop new packet when sch->limit == 0
  UPSTREAM: f2fs: compress: don't allow unaligned truncation on released compress inode
  UPSTREAM: net: core: reject skb_copy(_expand) for fraglist GSO skbs
  UPSTREAM: udp: prevent local UDP tunnel packets from being GROed
  UPSTREAM: udp: do not transition UDP GRO fraglist partial checksums to unnecessary
  UPSTREAM: udp: do not accept non-tunnel GSO skbs landing in a tunnel
  UPSTREAM: binder: Return EFAULT if we fail BINDER_ENABLE_ONEWAY_SPAM_DETECTION
  UPSTREAM: usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
  UPSTREAM: usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK
  UPSTREAM: usb: xhci: Add error handling in xhci_map_urb_for_dma
  UPSTREAM: usb: xhci: Use temporary buffer to consolidate SG
  UPSTREAM: usb: xhci: Set quirk for XHCI_SG_TRB_CACHE_SIZE_QUIRK
  defconfig: Enable RTL8152 ETH-USB driver
  ANDROID: ABI: Cuttlefish Symbol update
  fw-api: CL 28563606 - update fw common interface files
  fw-api: CL 28550964 - update fw common interface files
  fw-api: CL 28541501 - update fw common interface files
  msm: mhi_dev: Breaking memory for event request in smaller chunks
  fw-api: CL 28534399 - update fw common interface files
  fw-api: CL 28532052 - update fw common interface files
  fw-api: CL 28539558 - update fw common interface files
  fw-api: CL 28524940 - update fw common interface files
  Revert "net: net_namespace: Optimize the code"
  Revert "net: add exit_batch_rtnl() method"
  Revert "gtp: use exit_batch_rtnl() method"
  Revert "gtp: Use for_each_netdev_rcu() in gtp_genl_dump_pdp()."
  Revert "gtp: Destroy device along with udp socket's netns dismantle."
  disp: msm: sde: fix kms NULL pointer access in encoder IRQ control
  Linux 5.4.290
  Partial revert of xhci: use pm_ptr() instead #ifdef for CONFIG_PM conditionals
  xhci: use pm_ptr() instead of #ifdef for CONFIG_PM conditionals
  drm/v3d: Assign job pointer to NULL before signaling the fence
  Input: xpad - add support for wooting two he (arm)
  Input: xpad - add unofficial Xbox 360 wireless receiver clone
  Input: atkbd - map F23 key to support default copilot shortcut
  Revert "usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null"
  USB: serial: quatech2: fix null-ptr-deref in qt2_process_read_urb()
  ext4: fix slab-use-after-free in ext4_split_extent_at()
  ext4: avoid ext4_error()'s caused by ENOMEM in the truncate path
  vfio/platform: check the bounds of read/write syscalls
  net/xen-netback: prevent UAF in xenvif_flush_hash()
  net: xen-netback: hash.c: Use built-in RCU list checking
  signal/m68k: Use force_sigsegv(SIGSEGV) in fpsp040_die
  m68k: Add missing mmap_read_lock() to sys_cacheflush()
  m68k: Update ->thread.esp0 before calling syscall_trace() in ret_from_signal
  gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag
  irqchip/sunxi-nmi: Add missing SKIP_WAKE flag
  scsi: iscsi: Fix redundant response for ISCSI_UEVENT_GET_HOST_STATS request
  ASoC: wm8994: Add depends on MFD core
  net: fix data-races around sk->sk_forward_alloc
  scsi: sg: Fix slab-use-after-free read in sg_release()
  ipv6: avoid possible NULL deref in rt6_uncached_list_flush_dev()
  hrtimers: Handle CPU state correctly on hotplug
  irqchip/gic-v3: Handle CPU_PM_ENTER_FAILED correctly
  fs/proc: fix softlockup in __read_vmcore (part 2)
  net: ethernet: xgbe: re-add aneg to supported features in PHY quirks
  nvmet: propagate npwg topology
  poll_wait: add mb() to fix theoretical race between waitqueue_active() and .poll()
  kheaders: Ignore silly-rename files
  hfs: Sanity check the root record
  mac802154: check local interfaces before deleting sdata list
  i2c: mux: demux-pinctrl: check initial mux selection, too
  drm/v3d: Ensure job pointer is set to NULL after job completion
  nfp: bpf: prevent integer overflow in nfp_bpf_event_output()
  gtp: Destroy device along with udp socket's netns dismantle.
  gtp: Use for_each_netdev_rcu() in gtp_genl_dump_pdp().
  gtp: use exit_batch_rtnl() method
  net: add exit_batch_rtnl() method
  net: net_namespace: Optimize the code
  net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()
  sctp: sysctl: rto_min/max: avoid using current->nsproxy
  ocfs2: fix slab-use-after-free due to dangling pointer dqi_priv
  ocfs2: correct return value of ocfs2_local_free_info()
  phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy provider
  phy: core: fix code style in devm_of_phy_provider_unregister
  arm64: dts: rockchip: add hevc power domain clock to rk3328
  arm64: dts: rockchip: add #power-domain-cells to power domain nodes
  arm64: dts: rockchip: fix pd_tcpc0 and pd_tcpc1 node position on rk3399
  arm64: dts: rockchip: fix defines in pd_vio node for rk3399
  iio: inkern: call iio_device_put() only on mapped devices
  iio: adc: at91: call input_free_device() on allocated iio_dev
  iio: adc: ti-ads124s08: Use gpiod_set_value_cansleep()
  iio: gyro: fxas21002c: Fix missing data update in trigger handler
  iio: adc: ti-ads8688: fix information leak in triggered buffer
  iio: imu: kmx61: fix information leak in triggered buffer
  iio: light: vcnl4035: fix information leak in triggered buffer
  iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer
  iio: pressure: zpa2326: fix information leak in triggered buffer
  usb: gadget: f_fs: Remove WARN_ON in functionfs_bind
  usb: fix reference leak in usb_new_device()
  USB: core: Disable LPM only for non-suspended ports
  USB: usblp: return error when setting unsupported protocol
  usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null
  USB: serial: cp210x: add Phoenix Contact UPS Device
  usb-storage: Add max sectors quirk for Nokia 208
  staging: iio: ad9832: Correct phase range check
  staging: iio: ad9834: Correct phase range check
  USB: serial: option: add Neoway N723-EA support
  USB: serial: option: add MeiG Smart SRM815
  drm/amd/display: increase MAX_SURFACES to the value supported by hw
  ACPI: resource: Add Asus Vivobook X1504VAP to irq1_level_low_skip_override[]
  ACPI: resource: Add TongFang GM5HG0A to irq1_edge_low_force_override[]
  drm/amd/display: Add check for granularity in dml ceil/floor helpers
  sctp: sysctl: auth_enable: avoid using current->nsproxy
  sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy
  dm thin: make get_first_thin use rcu-safe list first function
  tls: Fix tls_sw_sendmsg error handling
  net_sched: cls_flow: validate TCA_FLOW_RSHIFT attribute
  tcp/dccp: allow a connection when sk_max_ack_backlog is zero
  tcp/dccp: complete lockless accesses to sk->sk_max_ack_backlog
  net: 802: LLC+SNAP OID:PID lookup on start of skb data
  ieee802154: ca8210: Add missing check for kfifo_alloc() in ca8210_probe()
  dm array: fix cursor index when skipping across block boundaries
  dm array: fix unreleased btree blocks on closing a faulty array cursor
  dm array: fix releasing a faulty array block twice in dm_array_cursor_end
  jbd2: flush filesystem device before updating tail sequence
  fw-api: CL 28481760 - update fw common interface files
  fw-api: CL 28447311 - update fw common interface files
  fw-api: CL 28444600 - update fw common interface files
  msm: eva: Validating the SFR buffer size before accessing
  msm: eva: Copy back the validated size to avoid security issue
  fw-api: CL 28429679 - update fw common interface files
  fw-api: CL 28361807 - update fw common interface files
  fw-api: CL 28373291 - update fw common interface files
  fw-api: CL 28388903 - update fw common interface files
  fw-api: CL 28373275 - update fw common interface files
  fw-api: CL 28354118 - update fw common interface files
  fw-api: CL 28343275 - update fw common interface files
  fw-api: CL 28339144 - update fw common interface files
  fw-api: CL 28338484 - update fw common interface files
  audio-kernel: avoid out of bound read while checking a bit
  Release 2.0.8.34Z
  qcacld-3.0: Update key management in original auth mode for WAPI

Change-Id: Ice0645074a7474efa16f2119f4128ce0e5797da6
2025-04-25 17:09:48 +02:00
Wiktor Rudzki
44540c0839 Merge remote-tracking branch 'qcom_sm8350/lineage-20' into HEAD
* qcom_sm8350/lineage-20:
  qcacmn: Fix OOB Read in util_gen_new_ie
  BACKPORT: dsp-kernel: Add attribute and flag checks during map creation
  BACKPORT: mm/mremap: hold the rmap lock in write mode when moving page table entries.
  UPSTREAM: mm/mremap.c: fix extent calculation
  UPSTREAM: x86: mremap speedup - Enable HAVE_MOVE_PUD
  UPSTREAM: arm64: mremap speedup - enable HAVE_MOVE_PUD
  BACKPORT: mm: speedup mremap on 1GB or larger regions
  UPSTREAM: arm64: mremap speedup - Enable HAVE_MOVE_PMD
  Revert "UPSTREAM: mm/mremap: hold the rmap lock in write mode when moving page table entries."
  ANDROID: GKI: Enable CONFIG_USERFAULTFD
  UPSTREAM: fs: anon_inodes: rephrase to appropriate kernel-doc
  UPSTREAM: userfaultfd: use secure anon inodes for userfaultfd
  BACKPORT: selinux: teach SELinux about anonymous inodes
  UPSTREAM: fs: add LSM-supporting anon-inode interface
  BACKPORT: security: add inode_init_security_anon() LSM hook
  UPSTREAM: userfaultfd: add user-mode only option to unprivileged_userfaultfd sysctl knob
  BACKPORT: userfaultfd: add UFFD_USER_MODE_ONLY
  userfaultd: Fix mismerge of ASB-2024-11-05_11-5.4
  ANDROID: GKI: Enable XFRM_MIGRATE
  Reapply "ANDROID: GKI: Enable CHACHA20POLY1305 and XCBC"
  Partially revert "msm: ipa: Check GSI status during deepsleep resume"
  msm: eva: Validating the SFR buffer size before accessing
  msm: eva: Copy back the validated size to avoid security issue
  msm: npu: Fix use after free issue
  USB: dwc3: gadget: Add stop transfer request for isoc transfers
  fw-api: CL 28313244 - update fw common interface files
  fw-api: CL 28312163 - update fw common interface files
  fw-api: CL 28311952 - update fw common interface files
  fw-api: CL 28298732 - update fw common interface files
  fw-api: CL 28298000 - update fw common interface files
  fw-api: CL 28214991 - update fw common interface files
  arm64: defconfig: Enable uvc for QCM6490 IOT target
  firmware: qcom_scm: do not clear dump mode from shutdown
  fw-api: CL 28142292 - update fw common interface files
  fw-api: CL 28121255 - update fw common interface files
  fw-api: CL 28111557 - update fw common interface files
  fw-api: CL 28109039 - update fw common interface files
  fw-api: CL 28108516 - update fw common interface files
  fw-api: CL 28092531 - update fw common interface files
  fw-api: CL 28087373 - update fw common interface files
  fw-api: CL 28063488 - update fw common interface files
  fw-api: CL 28063775 - update fw common interface files
  fw-api: CL 28053398 - update fw common interface files
  fw-api: CL 28043541 - update fw common interface files
  fw-api: CL 28034615 - update fw common interface files
  fw-api: CL 28021676 - update fw common interface files
  fw-api: CL 28002815 - update fw common interface files
  fw-api: CL 27995720 - update fw common interface files
  fw-api: CL 27993660 - update fw common interface files
  fw-api: CL 27983080 - update fw common interface files
  fw-api: CL 27964384 - update fw common interface files
  qcacld-3.0: Fix the possible OOB write in country IE unpack
  asoc: codec: avoid out of bound write to map array
  qcacld-3.0: Correcting the TSInfo structure size according to the Spec
  msm: camera: isp: Copy the userdata in kernel to avoid TOCTOU condition
  fw-api: CL 27942817 - update fw common interface files
  fw-api: CL 27940458 - update fw common interface files
  fw-api: CL 27931985 - update fw common interface files
  fw-api: CL 27929485 - update fw common interface files
  fw-api: CL 27920732 - update fw common interface files
  fw-api: CL 27912893 - update fw common interface files
  fw-api: CL 27902326 - update fw common interface files
  fw-api: CL 27885947 - update fw common interface files
  fw-api: CL 27875409 - update fw common interface files
  fw-api: CL 27869351 - update fw common interface files
  asoc: codec: avoid out of bound write to map array
  asoc: Fixed OOB issue in qcs405
  fw-api: Add REO2SW1 ring status address to peach and kiwi
  fw-api: CL 27854709 - update fw common interface files
  fw-api: CL 27833624 - update fw common interface files
  fw-api: CL 27833622 - update fw common interface files
  fw-api: CL 27829186 - update fw common interface files
  msm: virtio_npu: Fix use-after-free issue in unmap_buf
  msm: virtio_npu: Fix use-after-free issue in virt_npu_map_buf
  fw-api: CL 27814056 - update fw common interface files
  fw-api: CL 27796261 - update fw common interface files
  fw-api: CL 27786552 - update fw common interface files
  fw-api: CL 27773686 - update fw common interface files
  fw-api: CL 27771965 - update fw common interface files
  fw-api: CL 27741883 - update fw common interface files
  fw-api: CL 27739788 - update fw common interface files
  fw-api: CL 27733361 - update fw common interface files
  fw-api: CL 27708433 - update fw common interface files
  fw-api: CL 27688085 - update fw common interface files
  msm: camera: ois: Copy packet header in kernel
  Release 2.0.8.34Y
  qcacld-3.0: Correcting the TSInfo structure size according to the Spec
  Release 2.0.8.34X
  qcacld-3.0: Remove use-after-free of frame in tx mgmt send
  msm: ipa: Check GSI status during deepsleep resume
  Release 2.0.8.34W
  qcacld-3.0: Fix the possible OOB write in country IE unpack
  fw-api: CL 27676361 - update fw common interface files
  fw-api: CL 27676510 - update fw common interface files
  fw-api: CL 27676646 - update fw common interface files
  fw-api: CL 27667035 - update fw common interface files
  fw-api: CL 27656641 - update fw common interface files
  asoc: codec: wcd934x: enable auto recovery when port overflows
  disp: msm: dsi: add null pointer check in dsi_display_dev_remove
  qcacmn: Fix length check to parse non-inheritance list
  qcacmn: Fix issue about generating MBSSID frames
  i2c: i2c-master-msm-geni: add null pointer check in event call back
  msm: camera: sensor: TOCTOU error handling
  msm: ipa3: supporting hibernate & cleanup unused deepsleep API's
  firmware: qcom_scm: handle echo b > /proc/sysrq-trigger
  fw-api: CL 27618422 - update fw common interface files
  scripts: mod: replace with a safe function
  msm: ep_pcie: Disable hot reset and ignore linkdown
  coresight-tmc: Replace deprecated function
  fw-api: CL 27594770 - update fw common interface files
  fw-api: CL 27586781 - update fw common interface files
  fw-api: CL 27577821 - update fw common interface files
  fw-api: CL 27552754 - update fw common interface files
  qcacmn: Add macro to determine WPA3 AKM
  qcacmn: Correct RSNXE capability indexes
  Release 2.0.8.34V
  qcacld-3.0: Enhance the RSNXE inter-op logic
  fw-api: CL 27518685 - update fw common interface files
  fw-api: CL 27510301 - update fw common interface files
  fw-api: CL 27497193 - update fw common interface files
  fw-api: CL 27465688 - update fw common interface files
  fw-api: Add NAN file to host driver also
  Release 2.0.8.34U
  qcacld-3.0: Set sar safety req resp event before unsolited work stop
  fw-api: CL 27444604 - update fw common interface files
  fw-api: CL 27418163 - update fw common interface files
  fw-api: CL 27407027 - update fw common interface files
  fw-api: CL 27360144 - update fw common interface files
  fw-api: CL 27338232 - update fw common interface files
  fw-api: CL 27334210 - update fw common interface files
  fw-api: CL 27314804 - update fw common interface files
  msm: camera: common: Add missing put_cpu_buf calls
  fw-api: CL 27232968 - update fw common interface files
  fw-api: CL 27213127 - update fw common interface files
  fw-api: CL 27205261 - update fw common interface files
  fw-api: CL 27193005 - update fw common interface files
  fw-api: CL 27179058 - update fw common interface files
  qcacmn: Allow WAPI packet delivering if no valid peer
  Release 2.0.8.34T
  qcacld-3.0: Update connect request crypto parameters
  qcacld-3.0: Enable CFG80211_MULTI_AKM_CONNECT_SUPPORT from kernelv6.0
  qcacld-3.0: Update wiphy max_num_akms_connect variable
  USB: dwc3: gadget: Queue data for 16 micro frames ahead in future
  power: reset: Disable support of dynamic download mode (ramdump)

Change-Id: Idac4180a278f8f5703ab71203e452682ce62994b
2025-04-17 15:10:08 +02:00
Tommy Webb
91ab127ff9 Merge tag 'LA.UM.9.14.r1-26000-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
LA.UM.9.14.r1-26000-LAHAINA.QSSI15.0

# By Jayasri Sampath Kumaran
# Via Karthik Veeranki (1) and Linux Build Service Account (1)
* tag 'clo/display-drivers/LA.UM.9.14.r1-26000-LAHAINA.QSSI15.0':
  disp: msm: sde: fix kms NULL pointer access in encoder IRQ control

Change-Id: I52a1f3a27d8eed895e1db8a48f15c225d1c1c3ea
2025-04-12 09:35:58 +00:00
Tommy Webb
b483dce61a Merge tag 'LA.UM.9.14.r1-26000-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
LA.UM.9.14.r1-26000-LAHAINA.QSSI15.0

# By Ratna Deepthi Kudaravalli
# Via Linux Build Service Account (1) and Ratna Deepthi Kudaravalli (1)
* tag 'clo/audio-kernel/LA.UM.9.14.r1-26000-LAHAINA.QSSI15.0':
  audio-kernel: avoid out of bound read while checking a bit

Change-Id: I70a5aa2eb95361d9181d5e93a2bbbcce590ce7db
2025-04-12 09:34:41 +00:00
Nick Reuter
638599aca3 Partially revert "msm: ipa: Check GSI status during deepsleep resume"
This partially reverts commit 2e77a46f0d.

Reason for revert: ipa3_mdt_load_ipa_fws is not present in this kernel,
this is a bad cherrypick resolution by qcom.

Change-Id: I218978168a6c3fe9f6139a6688be1cb4c0f96b94
2025-02-14 13:41:01 +02:00
Michael Bestas
e82fabf302 Merge tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0"

* tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: dsi: add null pointer check in dsi_display_dev_remove

 Conflicts:
	techpack/display/msm/dsi/dsi_display.c

Change-Id: Ife03a5542c77ab531a902c5b7f6c07d6a867f9b6
2025-02-14 03:39:30 +02:00
Michael Bestas
d1d77077b6 Merge tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0"

* tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa: Check GSI status during deepsleep resume
  msm: ipa3: supporting hibernate & cleanup unused deepsleep API's

 Conflicts:
	techpack/dataipa/drivers/platform/msm/ipa/ipa_v3/ipa.c

Change-Id: I7a69389ca80dee1ecb236f14706965b1d2bf3adb
2025-02-14 03:34:01 +02:00
Michael Bestas
8efcbedd97 Merge tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0"

* tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: isp: Copy the userdata in kernel to avoid TOCTOU condition
  msm: camera: ois: Copy packet header in kernel
  msm: camera: sensor: TOCTOU error handling
  msm: camera: common: Add missing put_cpu_buf calls

Change-Id: Ic121b19c5d8911f3e223a11389208763f5ac2229
2025-02-14 03:31:00 +02:00
Michael Bestas
cd0212695a Merge tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0"

* tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.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
  asoc: Fixed OOB issue in qcs405
  asoc: codec: wcd934x: enable auto recovery when port overflows

Change-Id: I51a30fe905251b6f66e733bae43fdcd3b0a7e787
2025-02-14 03:28:21 +02:00
Wiktor Rudzki
ac36ed4433 Merge remote-tracking branch 'qcom_8350/lineage-20' into lineage-22.1
* qcom_8350/lineage-20:
  arm64: Only enable CC_HAVE_STACKPROTECTOR_SYSREG for GCC
  msm: camera: sensor: TOCTOU error handling
  ANDROID: gki - change networking configuration
  ANDROID: kernelci build-break for 64-bit riscv clang builds (5.4 only)
  Revert "BACKPORT: RISC-V: Stop relying on GCC's register allocator's hueristics"
  Revert "ANDROID: declare sp_in_global outside of CONFIG_FRAME_POINTER"
  Revert "usb: dwc3: dwc3-msm: Save dr_mode from DWC3 core node into mdwc"
  usb: dwc3: msm: Enforce usb_data_enabled by blocking role switches
  usb: dwc3: dwc3-msm-core: Reject incompatible role/mode request
  usb: dwc3: dwc3-msm: Save dr_mode from DWC3 core node into mdwc
  Revert "usb: dwc3: Handle charging behavior when usb data is disabled"
  ANDROID: GKI: add Trimble symbol list
  UPSTREAM: selinux: ignore unknown extended permissions
  ANDROID: ABI: Update allowed list for galaxy
  Revert "netfilter: Replace zero-length array with flexible-array member"
  Revert "tracing: Constify string literal data member in struct trace_event_call"
  Revert "skb_expand_head() adjust skb->truesize incorrectly"
  Linux 5.4.289
  ftrace: use preempt_enable/disable notrace macros to avoid double fault
  mm: vmscan: account for free pages to prevent infinite Loop in throttle_direct_reclaim()
  drm: adv7511: Drop dsi single lane support
  net/sctp: Prevent autoclose integer overflow in sctp_association_init()
  sky2: Add device ID 11ab:4373 for Marvell 88E8075
  pinctrl: mcp23s08: Fix sleeping in atomic context due to regmap locking
  RDMA/uverbs: Prevent integer overflow issue
  modpost: fix the missed iteration for the max bit in do_input()
  modpost: fix input MODULE_DEVICE_TABLE() built for 64-bit on 32-bit host
  ARC: build: Try to guess GCC variant of cross compiler
  irqchip/gic: Correct declaration of *percpu_base pointer in union gic_base
  net: usb: qmi_wwan: add Telit FE910C04 compositions
  bpf: fix potential error return
  sound: usb: format: don't warn that raw DSD is unsupported
  wifi: mac80211: wake the queues in case of failure in resume
  ila: serialize calls to nf_register_net_hooks()
  af_packet: fix vlan_get_protocol_dgram() vs MSG_PEEK
  af_packet: fix vlan_get_tci() vs MSG_PEEK
  ALSA: usb-audio: US16x08: Initialize array before use
  net: llc: reset skb->transport_header
  netfilter: nft_set_hash: unaligned atomic read on struct nft_set_ext
  netfilter: Replace zero-length array with flexible-array member
  netrom: check buffer length before accessing it
  drm/bridge: adv7511_audio: Update Audio InfoFrame properly
  drm: bridge: adv7511: Enable SPDIF DAI
  RDMA/bnxt_re: Fix max_qp_wrs reported
  RDMA/bnxt_re: Fix reporting hw_ver in query_device
  RDMA/bnxt_re: Add check for path mtu in modify_qp
  RDMA/mlx5: Enforce same type port association for multiport RoCE
  net/mlx5: Make API mlx5_core_is_ecpf accept const pointer
  IB/mlx5: Introduce and use mlx5_core_is_vf()
  Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet
  selinux: ignore unknown extended permissions
  ipv6: prevent possible UAF in ip6_xmit()
  skb_expand_head() adjust skb->truesize incorrectly
  btrfs: avoid monopolizing a core when activating a swap file
  tracing: Constify string literal data member in struct trace_event_call
  bpf: fix recursive lock when verdict program return SK_PASS
  ipv6: fix possible UAF in ip6_finish_output2()
  ipv6: use skb_expand_head in ip6_xmit
  ipv6: use skb_expand_head in ip6_finish_output2
  skbuff: introduce skb_expand_head()
  MIPS: Probe toolchain support of -msym32
  epoll: Add synchronous wakeup support for ep_poll_callback
  virtio-blk: don't keep queue frozen during system suspend
  scsi: mpt3sas: Diag-Reset when Doorbell-In-Use bit is set during driver load time
  platform/x86: asus-nb-wmi: Ignore unknown event 0xCF
  regmap: Use correct format specifier for logging range errors
  scsi: megaraid_sas: Fix for a potential deadlock
  scsi: qla1280: Fix hw revision numbering for ISP1020/1040
  tracing/kprobe: Make trace_kprobe's module callback called after jump_label update
  mtd: rawnand: fix double free in atmel_pmecc_create_user()
  dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset
  dmaengine: mv_xor: fix child node refcount handling in early exit
  phy: core: Fix that API devm_phy_destroy() fails to destroy the phy
  phy: core: Fix that API devm_phy_put() fails to release the phy
  phy: core: Fix an OF node refcount leakage in of_phy_provider_lookup()
  phy: core: Fix an OF node refcount leakage in _of_phy_get()
  mtd: diskonchip: Cast an operand to prevent potential overflow
  nfsd: restore callback functionality for NFSv4.0
  bpf: Check negative offsets in __bpf_skb_min_len()
  media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg
  of: Fix refcount leakage for OF node returned by __of_get_dma_parent()
  of: Fix error path in of_parse_phandle_with_args_map()
  udmabuf: also check for F_SEAL_FUTURE_WRITE
  nilfs2: prevent use of deleted inode
  of/irq: Fix using uninitialized variable @addr_len in API of_irq_parse_one()
  NFS/pnfs: Fix a live lock between recalled layouts and layoutget
  btrfs: tree-checker: reject inline extent items with 0 ref count
  zram: refuse to use zero sized block device as backing device
  sh: clk: Fix clk_enable() to return 0 on NULL clk
  USB: serial: option: add Telit FE910C04 rmnet compositions
  USB: serial: option: add MediaTek T7XX compositions
  USB: serial: option: add Netprisma LCUK54 modules for WWAN Ready
  USB: serial: option: add MeiG Smart SLM770A
  USB: serial: option: add TCL IK512 MBIM & ECM
  efivarfs: Fix error on non-existent file
  i2c: riic: Always round-up when calculating bus period
  chelsio/chtls: prevent potential integer overflow on 32bit
  mmc: sdhci-tegra: Remove SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC quirk
  netfilter: ipset: Fix for recursive locking warning
  net: ethernet: bgmac-platform: fix an OF node reference leak
  net: hinic: Fix cleanup in create_rxqs/txqs()
  ionic: use ee->offset when returning sprom data
  net/smc: check sndbuf_space again after NOSPACE flag is set in smc_poll
  erofs: fix incorrect symlink detection in fast symlink
  erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
  drm/i915: Fix memory leak by correcting cache object name in error handler
  i2c: pnx: Fix timeout in wait functions
  PCI: Add ACS quirk for Broadcom BCM5760X NIC
  ALSA: usb: Fix UBSAN warning in parse_audio_unit()
  PCI/AER: Disable AER service on suspend
  usb: dwc2: gadget: Don't write invalid mapped sg entries into dma_desc with iommu enabled
  net: sched: fix ordering of qlen adjustment
  Linux 5.4.288
  ALSA: usb-audio: Fix a DMA to stack memory bug
  xen/netfront: fix crash when removing device
  tracing/kprobes: Skip symbol counting logic for module symbols in create_local_trace_kprobe()
  KVM: arm64: Ignore PMCNTENSET_EL0 while checking for overflow status
  blk-iocost: Avoid using clamp() on inuse in __propagate_weights()
  blk-iocost: fix weight updates of inner active iocgs
  blk-iocost: clamp inuse and skip noops in __propagate_weights()
  ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired
  net/sched: netem: account for backlog updates from child qdisc
  qca_spi: Make driver probing reliable
  qca_spi: Fix clock speed for multiple QCA7000
  ACPI: resource: Fix memory resource type union access
  net: lapb: increase LAPB_HEADER_LEN
  tipc: fix NULL deref in cleanup_bearer()
  batman-adv: Do not let TT changes list grows indefinitely
  batman-adv: Remove uninitialized data in full table TT response
  batman-adv: Do not send uninitialized TT changes
  bpf, sockmap: Fix update element with same
  xfs: don't drop errno values when we fail to ficlone the entire range
  usb: gadget: u_serial: Fix the issue that gs_start_io crashed due to accessing null pointer
  usb: ehci-hcd: fix call balance of clocks handling routines
  usb: dwc2: hcd: Fix GetPortStatus & SetPortFeature
  ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys()
  usb: host: max3421-hcd: Correctly abort a USB request.
  Revert "cgroup: Make operations on the cgroup root_list RCU safe"
  Revert "cgroup: Move rcu_head up near the top of cgroup_root"
  Linux 5.4.287
  bpf, xdp: Update devmap comments to reflect napi/rcu usage
  ALSA: usb-audio: Fix out of bounds reads when finding clock sources
  PCI: rockchip-ep: Fix address translation unit programming
  Revert "drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()"
  modpost: Add .irqentry.text to OTHER_SECTIONS
  ocfs2: Revert "ocfs2: fix the la space leak when unmounting an ocfs2 volume"
  jffs2: Fix rtime decompressor
  jffs2: Prevent rtime decompress memory corruption
  KVM: arm64: vgic-its: Clear ITE when DISCARD frees an ITE
  KVM: arm64: vgic-its: Clear DTE when MAPD unmaps a device
  KVM: arm64: vgic-its: Add a data length check in vgic_its_save_*
  perf/x86/intel/pt: Fix buffer full but size is 0 case
  Revert "unicode: Don't special case ignorable code points"
  bpf: fix OOB devmap writes when deleting elements
  xdp: Simplify devmap cleanup
  misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle
  powerpc/prom_init: Fixup missing powermac #size-cells
  usb: chipidea: udc: handle USB Error Interrupt if IOC not set
  i3c: Use i3cdev->desc->info instead of calling i3c_device_get_info() to avoid deadlock
  PCI: Add ACS quirk for Wangxun FF5xxx NICs
  PCI: Add 'reset_subordinate' to reset hierarchy below bridge
  f2fs: fix f2fs_bug_on when uninstalling filesystem call f2fs_evict_inode.
  nvdimm: rectify the illogical code within nd_dax_probe()
  pinctrl: qcom-pmic-gpio: add support for PM8937
  scsi: st: Add MTIOCGET and MTLOAD to ioctls allowed after device reset
  scsi: st: Don't modify unknown block number in MTIOCGET
  leds: class: Protect brightness_show() with led_cdev->led_access mutex
  tracing: Use atomic64_inc_return() in trace_clock_counter()
  netpoll: Use rcu_access_pointer() in __netpoll_setup
  net/neighbor: clear error in case strict check is not set
  rocker: fix link status detection in rocker_carrier_init()
  ASoC: hdmi-codec: reorder channel allocation list
  Bluetooth: btusb: Add RTL8852BE device 0489:e123 to device tables
  wifi: brcmfmac: Fix oops due to NULL pointer dereference in brcmf_sdiod_sglist_rw()
  wifi: ipw2x00: libipw_rx_any(): fix bad alignment
  drm/amdgpu: set the right AMDGPU sg segment limitation
  jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
  jfs: fix array-index-out-of-bounds in jfs_readdir
  jfs: fix shift-out-of-bounds in dbSplit
  jfs: array-index-out-of-bounds fix in dtReadFirst
  wifi: ath5k: add PCI ID for Arcadyan devices
  wifi: ath5k: add PCI ID for SX76X
  net: inet6: do not leave a dangling sk pointer in inet6_create()
  net: inet: do not leave a dangling sk pointer in inet_create()
  net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
  net: af_can: do not leave a dangling sk pointer in can_create()
  Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
  af_packet: avoid erroring out after sock_init_data() in packet_create()
  net/sched: cbs: Fix integer overflow in cbs_set_port_rate()
  net: ethernet: fs_enet: Use %pa to format resource_size_t
  net: fec_mpc52xx_phy: Use %pa to format resource_size_t
  samples/bpf: Fix a resource leak
  drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()
  drm/mcde: Enable module autoloading
  drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
  media: cx231xx: Add support for Dexatek USB Video Grabber 1d19:6108
  media: uvcvideo: Add a quirk for the Kaiweets KTI-W02 infrared camera
  s390/cpum_sf: Handle CPU hotplug remove during sampling
  mmc: core: Further prevent card detect during shutdown
  regmap: detach regmap from dev on regmap_exit
  dma-buf: fix dma_fence_array_signaled v4
  bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again
  nilfs2: fix potential out-of-bounds memory access in nilfs_find_entry()
  scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt
  scsi: qla2xxx: Supported speed displayed incorrectly for VPorts
  scsi: qla2xxx: Fix NVMe and NPIV connect issue
  ocfs2: update seq_file index in ocfs2_dlm_seq_next
  tracing: Fix cmp_entries_dup() to respect sort() comparison rules
  HID: wacom: fix when get product name maybe null pointer
  bpf: Fix exact match conditions in trie_get_next_key()
  bpf: Handle BPF_EXIST and BPF_NOEXIST for LPM trie
  ocfs2: free inode when ocfs2_get_init_inode() fails
  spi: mpc52xx: Add cancel_work_sync before module remove
  tcp_bpf: Fix the sk_mem_uncharge logic in tcp_bpf_sendmsg
  drm/sti: Add __iomem for mixer_dbg_mxn's parameter
  gpio: grgpio: Add NULL check in grgpio_probe
  gpio: grgpio: use a helper variable to store the address of ofdev->dev
  crypto: x86/aegis128 - access 32-bit arguments as 32-bit
  x86/asm: Reorder early variables
  xen: Fix the issue of resource not being properly released in xenbus_dev_probe()
  xen/xenbus: fix locking
  xenbus/backend: Protect xenbus callback with lock
  xenbus/backend: Add memory pressure handler callback
  xen/xenbus: reference count registered modules
  netfilter: nft_set_hash: skip duplicated elements pending gc run
  netfilter: ipset: Hold module reference while requesting a module
  igb: Fix potential invalid memory access in igb_init_module()
  net/qed: allow old cards not supporting "num_images" to work
  tipc: Fix use-after-free of kernel socket in cleanup_bearer().
  tipc: add new AEAD key structure for user API
  tipc: enable creating a "preliminary" node
  tipc: add reference counter to bearer
  dccp: Fix memory leak in dccp_feat_change_recv
  net/ipv6: release expired exception dst cached in socket
  can: j1939: j1939_session_new(): fix skb reference counting
  net/sched: tbf: correct backlog statistic for GSO packets
  netfilter: x_tables: fix LED ID check in led_tg_check()
  ipvs: fix UB due to uninitialized stack access in ip_vs_protocol_init()
  can: sun4i_can: sun4i_can_err(): fix {rx,tx}_errors statistics
  can: sun4i_can: sun4i_can_err(): call can_change_state() even if cf is NULL
  watchdog: mediatek: Make sure system reset gets asserted in mtk_wdt_restart()
  iTCO_wdt: mask NMI_NOW bit for update_no_reboot_bit() call
  drm/etnaviv: flush shader L1 cache after user commandstream
  nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur
  nfsd: make sure exp active before svc_export_show
  dm thin: Add missing destroy_work_on_stack()
  i3c: master: Fix miss free init_dyn_addr at i3c_master_put_i3c_addrs()
  util_macros.h: fix/rework find_closest() macros
  ad7780: fix division by zero in ad7780_write_raw()
  clk: qcom: gcc-qcs404: fix initial rate of GPLL3
  ftrace: Fix regression with module command in stack_trace_filter
  ovl: Filter invalid inodes with missing lookup function
  media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
  media: gspca: ov534-ov772x: Fix off-by-one error in set_frame_rate()
  media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled
  media: ts2020: fix null-ptr-deref in ts2020_probe()
  media: i2c: tc358743: Fix crash in the probe error path when using polling
  btrfs: ref-verify: fix use-after-free after invalid ref action
  quota: flush quota_release_work upon quota writeback
  ASoC: fsl_micfil: fix the naming style for mask definition
  sh: intc: Fix use-after-free bug in register_intc_controller()
  sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
  SUNRPC: Replace internal use of SOCKWQ_ASYNC_NOSPACE
  SUNRPC: correct error code comment in xs_tcp_setup_socket()
  modpost: remove incorrect code in do_eisa_entry()
  rtc: ab-eoz9: don't fail temperature reads on undervoltage notification
  9p/xen: fix release of IRQ
  9p/xen: fix init sequence
  block: return unsigned int from bdev_io_min
  jffs2: fix use of uninitialized variable
  ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit
  ubi: fastmap: Fix duplicate slab cache names while attaching
  ubifs: Correct the total block count by deducting journal reservation
  rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
  rtc: abx80x: Fix WDT bit position of the status register
  rtc: st-lpc: Use IRQF_NO_AUTOEN flag in request_irq()
  NFSv4.0: Fix a use-after-free problem in the asynchronous open()
  um: Always dump trace for specified task in show_stack
  um: Clean up stacktrace dump
  um: add show_stack_loglvl()
  um/sysrq: remove needless variable sp
  um: Fix the return value of elf_core_copy_task_fpregs
  um: Fix potential integer overflow during physmem setup
  rpmsg: glink: Propagate TX failures in intentless mode as well
  SUNRPC: make sure cache entry active before cache_show
  NFSD: Prevent a potential integer overflow
  lib: string_helpers: silence snprintf() output truncation warning
  usb: dwc3: gadget: Fix checking for number of TRBs left
  ALSA: hda/realtek: Apply quirk for Medion E15433
  ALSA: hda/realtek: Fix Internal Speaker and Mic boost of Infinix Y4 Max
  ALSA: hda/realtek: Set PCBeep to default value for ALC274
  ALSA: hda/realtek: Update ALC225 depop procedure
  media: wl128x: Fix atomicity violation in fmc_send_cmd()
  HID: wacom: Interpret tilt data from Intuos Pro BT as signed values
  block: fix ordering between checking BLK_MQ_S_STOPPED request adding
  arm64: tls: Fix context-switching of tpidrro_el0 when kpti is enabled
  sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
  um: vector: Do not use drvdata in release
  serial: 8250: omap: Move pm_runtime_get_sync
  um: net: Do not use drvdata in release
  um: ubd: Do not use drvdata in release
  ubi: wl: Put source PEB into correct list if trying locking LEB failed
  spi: Fix acpi deferred irq probe
  netfilter: ipset: add missing range check in bitmap_ip_uadt
  Revert "serial: sh-sci: Clean sci_ports[0] after at earlycon exit"
  serial: sh-sci: Clean sci_ports[0] after at earlycon exit
  Revert "usb: gadget: composite: fix OS descriptors w_value logic"
  Bluetooth: Fix type of len in rfcomm_sock_getsockopt{,_old}()
  tty: ldsic: fix tty_ldisc_autoload sysctl's proc_handler
  comedi: Flush partial mappings in error case
  PCI: Fix use-after-free of slot->bus on hot remove
  ASoC: codecs: Fix atomicity violation in snd_soc_component_get_drvdata()
  jfs: xattr: check invalid xattr size more strictly
  ext4: fix FS_IOC_GETFSMAP handling
  ext4: supress data-race warnings in ext4_free_inodes_{count,set}()
  ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
  soc: qcom: socinfo: fix revision check in qcom_socinfo_probe()
  cgroup: Move rcu_head up near the top of cgroup_root
  cgroup: Make operations on the cgroup root_list RCU safe
  usb: ehci-spear: fix call balance of sehci clk handling routines
  apparmor: fix 'Do simple duplicate message elimination'
  staging: greybus: uart: clean up TIOCGSERIAL
  misc: apds990x: Fix missing pm_runtime_disable()
  USB: chaoskey: Fix possible deadlock chaoskey_list_lock
  USB: chaoskey: fail open after removal
  usb: yurex: make waiting on yurex_write interruptible
  usb: using mutex lock and supporting O_NONBLOCK flag in iowarrior_read()
  ipmr: fix tables suspicious RCU usage
  ipmr: convert /proc handlers to rcu_read_lock()
  net: stmmac: dwmac-socfpga: Set RX watchdog interrupt as broken
  marvell: pxa168_eth: fix call balance of pep->clk handling routines
  net: usb: lan78xx: Fix refcounting and autosuspend on invalid WoL configuration
  tg3: Set coherent DMA mask bits to 31 for BCM57766 chipsets
  net: usb: lan78xx: Fix memory leak on device unplug by freeing PHY device
  power: supply: core: Remove might_sleep() from power_supply_put()
  vfio/pci: Properly hide first-in-list PCIe extended capability
  NFSD: Fix nfsd4_shutdown_copy()
  NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()
  NFSD: Prevent NULL dereference in nfsd4_process_cb_update()
  rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length
  rpmsg: glink: Fix GLINK command prefix
  rpmsg: glink: Send READ_NOTIFY command in FIFO full case
  rpmsg: glink: Add TX_DATA_CONT command while sending
  perf trace: Avoid garbage when not printing a syscall's arguments
  perf trace: Do not lose last events in a race
  m68k: coldfire/device.c: only build FEC when HW macros are defined
  m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x
  PCI: cpqphp: Fix PCIBIOS_* return value confusion
  PCI: cpqphp: Use PCI_POSSIBLE_ERROR() to check config reads
  perf probe: Correct demangled symbols in C++ program
  perf cs-etm: Don't flush when packet_queue fills up
  clk: clk-axi-clkgen: make sure to enable the AXI bus clock
  clk: axi-clkgen: use devm_platform_ioremap_resource() short-hand
  dt-bindings: clock: axi-clkgen: include AXI clk
  dt-bindings: clock: adi,axi-clkgen: convert old binding to yaml format
  fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
  fbdev/sh7760fb: Alloc DMA memory from hardware device
  powerpc/sstep: make emulate_vsx_load and emulate_vsx_store static
  ocfs2: fix uninitialized value in ocfs2_file_read_iter()
  scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
  scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
  scsi: fusion: Remove unused variable 'rc'
  scsi: bfa: Fix use-after-free in bfad_im_module_exit()
  mfd: rt5033: Fix missing regmap_del_irq_chip()
  RDMA/bnxt_re: Check cqe flags to know imm_data vs inv_irkey
  mtd: rawnand: atmel: Fix possible memory leak
  cpufreq: loongson2: Unregister platform_driver on failure
  mfd: intel_soc_pmic_bxtwc: Use IRQ domain for PMIC devices
  mfd: intel_soc_pmic_bxtwc: Use IRQ domain for TMU device
  mfd: intel_soc_pmic_bxtwc: Use IRQ domain for USB Type-C device
  mfd: intel_soc_pmic_bxtwc: Use dev_err_probe()
  mfd: da9052-spi: Change read-mask to write-mask
  mfd: tps65010: Use IRQF_NO_AUTOEN flag in request_irq() to fix race
  powerpc/vdso: Flag VDSO64 entry points as functions
  trace/trace_event_perf: remove duplicate samples on the first tracepoint event
  netpoll: Use rcu_access_pointer() in netpoll_poll_lock
  ALSA: 6fire: Release resources at card release
  ALSA: caiaq: Use snd_card_free_when_closed() at disconnection
  ALSA: us122l: Use snd_card_free_when_closed() at disconnection
  net: rfkill: gpio: Add check for clk_enable()
  selftests: net: really check for bg process completion
  bpf, sockmap: Fix sk_msg_reset_curr
  bpf, sockmap: Several fixes to bpf_msg_pop_data
  bpf, sockmap: Several fixes to bpf_msg_push_data
  drm/etnaviv: hold GPU lock across perfmon sampling
  drm/etnaviv: fix power register offset on GC300
  drm/etnaviv: dump: fix sparse warnings
  drm/msm/adreno: Use IRQF_NO_AUTOEN flag in request_irq()
  drm/panfrost: Remove unused id_mask from struct panfrost_model
  wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_config_scan()
  bpf: Fix the xdp_adjust_tail sample prog issue
  ASoC: fsl_micfil: fix regmap_write_bits usage
  ASoC: fsl_micfil: use GENMASK to define register bit fields
  ASoC: fsl_micfil: do not define SHIFT/MASK for single bits
  ASoC: fsl_micfil: Drop unnecessary register read
  dt-bindings: vendor-prefixes: Add NeoFidelity, Inc
  drm/imx/ipuv3: Use IRQF_NO_AUTOEN flag in request_irq()
  wifi: mwifiex: Use IRQF_NO_AUTOEN flag in request_irq()
  wifi: p54: Use IRQF_NO_AUTOEN flag in request_irq()
  drm/omap: Fix locking in omap_gem_new_dmabuf()
  wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service()
  drm/mm: Mark drm_mm_interval_tree*() functions with __maybe_unused
  firmware: arm_scpi: Check the DVFS OPP count returned by the firmware
  regmap: irq: Set lockdep class for hierarchical IRQ domains
  ARM: dts: cubieboard4: Fix DCDC5 regulator constraints
  tpm: fix signed/unsigned bug when checking event logs
  efi/tpm: Pass correct address to memblock_reserve
  mmc: mmc_spi: drop buggy snprintf()
  soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
  soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq()
  time: Fix references to _msecs_to_jiffies() handling of values
  crypto: cavium - Fix an error handling path in cpt_ucode_load_fw()
  crypto: bcm - add error check in the ahash_hmac_init function
  crypto: cavium - Fix the if condition to exit loop after timeout
  crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY
  EDAC/fsl_ddr: Fix bad bit shift operations
  EDAC/bluefield: Fix potential integer overflow
  firmware: google: Unregister driver_info on failure
  firmware: google: Unregister driver_info on failure and exit in gsmi
  hfsplus: don't query the device logical block size multiple times
  s390/syscalls: Avoid creation of arch/arch/ directory
  acpi/arm64: Adjust error handling procedure in gtdt_parse_timer_block()
  m68k: mvme147: Reinstate early console
  m68k: mvme16x: Add and use "mvme16x.h"
  m68k: mvme147: Fix SCSI controller IRQ numbers
  nvme-pci: fix freeing of the HMB descriptor table
  initramfs: avoid filename buffer overrun
  mips: asm: fix warning when disabling MIPS_FP_SUPPORT
  x86/xen/pvh: Annotate indirect branch as safe
  nvme: fix metadata handling in nvme-passthrough
  NFSD: Force all NFSv4.2 COPY requests to be synchronous
  cifs: Fix buffer overflow when parsing NFS reparse points
  ipmr: Fix access to mfc_cache_list without lock held
  proc/softirqs: replace seq_printf with seq_put_decimal_ull_width
  ASoC: stm: Prevent potential division by zero in stm32_sai_get_clk_div()
  ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round_rate()
  regulator: rk808: Add apply_bit for BUCK3 on RK809
  soc: qcom: Add check devm_kasprintf() returned value
  net: usb: qmi_wwan: add Quectel RG650V
  x86/amd_nb: Fix compile-testing without CONFIG_AMD_NB
  ALSA: hda/realtek: Add subwoofer quirk for Infinix ZERO BOOK 13
  selftests/watchdog-test: Fix system accidentally reset after watchdog-test
  mac80211: fix user-power when emulating chanctx
  ASoC: Intel: bytcr_rt5640: Add DMI quirk for Vexia Edu Atla 10 tablet
  mm: revert "mm: shmem: fix data-race in shmem_getattr()"
  kbuild: Use uname for LINUX_COMPILE_HOST detection
  media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set
  Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K"
  nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint
  ocfs2: fix UBSAN warning in ocfs2_verify_volume()
  nilfs2: fix null-ptr-deref in block_touch_buffer tracepoint
  KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN
  ocfs2: uncache inode which has failed entering the group
  net/mlx5e: kTLS, Fix incorrect page refcounting
  net/mlx5: fs, lock FTE when checking if active
  netlink: terminate outstanding dump on socket close

Change-Id: Ic2d25f06fdad1b93fb421380a76d33f0b15c7b28
2025-02-11 17:48:45 +01:00
Swami Reddy Reddy
771c29041c msm: camera: sensor: TOCTOU error handling
- Proper Handling in case of invalid pinctrl index
- Removing dead code and unused variables
- 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 21:35:46 +02:00
Jake Weinstein
a1df06de62 modules: Allow Yupik and Shima to build without ARCH_LAHAINA
Change-Id: I965f994c83723709ae340ee8d4a4d4145b0f9a49
2025-01-22 19:25:36 +01:00
Juhyung Park
e91e9cce51 techpack: camera: built-in
Change-Id: Ief2bff603135bef91752de2fba69681c3160e6af
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2025-01-22 19:25:36 +01:00
Vishalcj17
90152f3528 techpack: camera: Fix crash if no GPIO is defined in DTS
Imported change from Nothing.

Change-Id: Iaa1260fe6c4a8652c1a0e668ff58d2e0c612a31f
2025-01-22 19:25:36 +01:00
Vaisakh Murali
3593cb4955 techpack/audio: reduce lsm-client wakelock to 500ms
This gets stuck with a whopping 2000ms timeout.

Change-Id: If3e7e15ba5c455d4fa77990a903b360af853c6aa
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2025-01-22 19:25:36 +01:00
Danny Lin
2edb023319 techpack: audio: tfa98xx: Remove build timestamps
These are causing parts of techpack/audio to get rebuilt on every build
for no reason.

Change-Id: I7277990029db410473265570914e312b08d71009
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2025-01-22 19:25:35 +01:00
Juhyung Park
2bb5b71c7e techpack: audio: Don't build wcd934x and wcd937x
Change-Id: Iea76a9e2abf901e15b9cec666b6aa6b317c4fc9e
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2025-01-22 19:25:35 +01:00
alk3pInjection
2224ed45f4 techpack: audio: Import tfa98xx codecs driver
Change-Id: Iced75257715b7ba48ed0083e0926b5c03116b2c7
Signed-off-by: x0x00044 <zlewchan@outlook.com>
2025-01-22 19:25:35 +01:00
x0x00044
17d1a1170a techpack: display: display -> dsi_display
Changed by upstream commit.

/home/x0x00044/ROM/LineageOS/kernel/nothing/sm7325/techpack/display/msm/sde/sde_connector.c:146:2: error: use of undeclared identifier 'display'
        display->panel->bl_config.real_bl_level = bl_lvl;
        ^
/home/x0x00044/ROM/LineageOS/kernel/nothing/sm7325/techpack/display/msm/sde/sde_connector.c:150:12: error: use of undeclared identifier 'display'
                bl_lvl = display->panel->bl_config.bl_hbm_level;

Change-Id: I4c181d62bfd7af8c562ee9fcb84719b664efb6e3
2025-01-22 19:25:35 +01:00
Gaurav LNU
142f6f272b disp: rotator: set priority for rotator threads
Set the rotator threads priority (commit and
done) to RT.

Change-Id: Ia2db4a86efe1d3ca990cade8424a5c72b3d4595b
Signed-off-by: Gaurav LNU <quic_glnu@quicinc.com>
2025-01-22 19:25:35 +01:00
Jayaprakash Madisetty
1525ed2b1b disp: msm: use vzalloc for large allocations
Large allocations using kzalloc can lead to timeouts. This updates
the allocation calls accordingly to use vzalloc to remove
requirements on contiguous memory.

Change-Id: Ica54483787509ed0e9283289fc9d523e8cde9238
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
Signed-off-by: Jayaprakash Madisetty <quic_jmadiset@quicinc.com>
2025-01-22 19:25:35 +01:00
Veera Sundaram Sankaran
95d937509f disp: msm: sde: move some frame_events from crtc commit to event thread
Move frame data stats collection/notification during frame-done and
retire fence sysfs notification to event thread. This will free up
some interrupt time.

Change-Id: I2648ac4287ce8712e9a059edd408a59753aa6d32
Signed-off-by: Veera Sundaram Sankaran <quic_veeras@quicinc.com>
Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2025-01-22 19:25:35 +01:00
Jayaprakash Madisetty
a0688be897 disp: msm: sde: add input handler unregister check before encoder wakeup
During PM suspend in dual display usecase, the power off commit to
turn off primary and secondary crtcs is done with only one
drm_atomic_state scheduled on primary crtc_commit thread. At the
same, touch events can happen on secondary panel, which will
run input_event_work and schedule the sde_enc->delayed_off_work
to turn off its enabled resources. There can be race between primary
crtc_commit thread which unregisters input_event, cancels
all the pending works before setting sde_enc->cur_master to NULL
and input_event_work_handler which schedules the delayed_off_work
without checking the input_event_handler state.
This change adds input handler unregister check before triggering
_sde_encoder_rc_early_wakeup.

Change-Id: I553843f81078810784f18e92347f918ab6e4a9fe
Signed-off-by: Jayaprakash Madisetty <quic_jmadiset@quicinc.com>
2025-01-22 19:25:35 +01:00
Yojana Juadi
240d5ba43f disp: msm: sde: update idle_pc_duration based on frame rate
This change updates the time required to enter idle_pc based
on frame rate instead of default time. In the current issue,
customer is facing janks where frame rate is 30fps and race
happens between sde_encoder_off_work and drm_atomic_commit
scheduled from userspace. It also sets max and min bound for
optimized performance.

Change-Id: I5e95e920a2f7b2142b5f63e8ce6b82cf1d482db1
Signed-off-by: Yojana Juadi <quic_yjuadi@quicinc.com>
2025-01-22 19:25:35 +01:00
Govinda Rao K S
c94c762a2f disp: msm: sde: shorter idle-pc duration in doze mode
Currently aggresive idle-pc entry is only enabled in
case of doze-suspend mode. Extend the support to doze
mode as well.

Change-Id: I8e9e0e116bb65a1aec0180bf9bc10bed99d4a137
Signed-off-by: Govinda Rao K S <quic_gkarikur@quicinc.com>
2025-01-22 19:25:35 +01:00
Mahadevan
bf7b613a07 disp: msm: sde: wait for pending vsync event on pm_suspend
Before pm_suspend is called when there is a vsync enable event
from sf and disabling is not done pm_suspend will fail.
Following are the commit states when a pm_suspend is called:

 1. Normal Active Commit - When an active commit is going on
    and pm_suspend is called then forcefully do a disable
    commit. This will make sure in encoder virt_disable
    wait for vsync disable is exited only after vsync is
    disabled.
 2. Suspend Commit - When suspend commit is going on
    the wait for vblank disable in encoder virt_disable will
    make sure the pending vsync event from sf is already
    triggered.
 3. Doze mode - When in doze mode in pm_suspend we will
    forcefully do a commit to change to doze suspend.
    In this case, we will make sure that the commit is
    completed and rc_idle is kicked in. There is a chance
    disabling of vblank irq is not done in this case.
 4. Doze Suspend mode- This is same as Doze Mode where
    vblank irq may not be disabled.

To resolve the issue in Case3 and 4 wait for a vblank irq is added
which will queue the vblank disable work to event_thread and make
sure the queued work is completed by doing a kthread_flush.

Change-Id: I8f9969c3865f7396d6e87819d65c7b16be73ad39
Signed-off-by: Mahadevan <quic_mahap@quicinc.com>
2025-01-22 19:25:35 +01:00
Kalyan Thota
359b9fa9ff disp: msm: reset thread priority work on every new run
Reinit thread priority work before queueing on multiple display
threads as the work stores the former worker thread. Also
flush work such the next init is serialized.

Change-Id: I51409d4d12d100be0cb30238f812a56ec064a339
Signed-off-by: Kalyan Thota <quic_kalyant@quicinc.com>
2025-01-22 19:25:35 +01:00
Dhaval Patel
043827fa2f disp: msm: move thread priority call from component bind
Move thread priority call to kernel worker thread because
component bind API may run from vendor_modeprobe process
context when all drivers probe succeed. Thread priority
update is not allowed from vendor_modeprobe process
context.

Change-Id: Iafac97ce02942d6a2134495232f3c395ba4a362f
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2025-01-22 19:25:35 +01:00
x0x00044
286b807c52 Revert "disp: msm: sde: validate plane mode and gem obj flags"
Seems to cause display corruption on our device.

This reverts commit 3c0f029ebb.

Change-Id: I9b0ea738f6cd611d2a7e7bef168202c77ceb45d9
2025-01-22 19:25:35 +01:00
Danny Lin
478b2d8d97 techpack: disp: msm: sde: Cache register values when performing clock control
Remote register I/O amounts to a measurably significant portion of CPU
time due to how frequently this function is used. Cache the value of
each register on-demand and use this value in future invocations to
mitigate the expensive I/O.

Co-authored-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
Signed-off-by: Divyanshu-Modi <divyan.m05@gmail.com>
Change-Id: Ibbc2f41969efca3dc5c2df9bd733c7f56fc5858a
2025-01-22 19:25:35 +01:00
Sultan Alsawaf
b8cbc800d2 techpack: disp: msm: sde: Remove unneeded PM QoS requests
These are blocking some CPUs in the LITTLE cluster from entering deep
idle because the driver assumes that display rendering work occurs on a
hardcoded set of CPUs, which is false. The scope of this is also quite
large, which increases power consumption.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Change-Id: I6d5d88f769a25952ad62cad2ee52670c51271292
2025-01-22 19:25:34 +01:00
Sultan Alsawaf
60362f61bc techpack: disp: msm: sde: Don't read and clear VBIF errors upon commit
Reading and clearing any errors from the VBIF error registers takes a
significant amount of time during kickoff, and is only used to produce
debug logs when errors are detected. Since we're not debugging hardware
issues in MDSS, remove the VBIF error clearing entirely to reduce
display rendering latency.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Change-Id: Ibe1bdecbec7d70c27d38f9879cdcffad5602018f
2025-01-22 19:25:34 +01:00
Sultan Alsawaf
f2c4a97612 techpack: disp: msm: sde: Skip heavy autorefresh checks when it's not enabled
These heavy checks for seeing if autorefresh is enabled are unneeded
when the autorefresh config is disabled. These checks are performed on
every display commit and show up as using a significant amount of CPU
time in perf top. Skip them when it's unnecessary in order to improve
display rendering performance.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Change-Id: I7e063738d3078ffbf29076c887b818f1d1b76c13
2025-01-22 19:25:34 +01:00
Danny Lin
70b09fa2ef drm/msm/sde: Remove register write debug logging
Writing to registers is frequent enough that there is a measurably
significant portion of CPU time spent on checking the debug mask for
whether to log. Remove the check and logging call altogether to
eliminate the overhead.

Change-Id: Iea73c5cd106edc96659fa1a1591be6bc8cb4bf88
2025-01-22 19:25:34 +01:00
Fabian Leutenegger
da82365a47 techpack: display: Wait for panel to be 120HZ for FOD UI
We did this initially in 2a7a66e68f46d03bd156436fc331270bd7d74687

Change-Id: Ifbcf2bd1cf97a56b2fcb2b6245a67665aa3b9061
2025-01-22 19:25:34 +01:00
Fabian Leutenegger
146c42fa3b techpack: display: Adapt Nothings FOD HBM from 1.5 to work with FOD UI
Partially reverts proprietary changes in 2cd5baaf55386936f1f6af7642d17da0fa73f3ee by removing the whole FINGER_FLAG logic and rework it to work with our current implementation by using sde_crtc_is_fod_enabled instead of relying on notthings display hal.

Change-Id: Iaf7bb02da945ad16da235252792ea133d2643ef6
2025-01-22 19:25:34 +01:00
Jake Weinstein
9f812c72bf techpack: display: Merge changes from Nothing OS 1.5
Change-Id: I4d818b7e7dec155f416bdba7affe076df80e2dbc
2025-01-22 19:25:34 +01:00
Park Ju Hyung
26e90dd3fc techpack: display: Add some bp hints to hot paths
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Change-Id: Ife3962a0ae501fc2148be351eb61f1322eb56470
2025-01-22 19:25:34 +01:00
Sultan Alsawaf
d429f1b5c0 adreno_tz: Fix GPU target frequency calculation for HFR
It seems that the black-box GPU frequency selection algorithm is unaware
of high refresh rates, and assumes a refresh rate of 60 Hz for its
target frequencies. This results in frequencies that are too low being
selected when a higher refresh rate, such as 90 Hz, is used.

To remedy this, multiply the GPU's busy time by a ratio of the current
refresh rate to 60 Hz. This makes msm-adreno-tz select the right
frequencies needed to avoid stuttering.

Change-Id: Id8b2f025ce9f74faa20ecbee42f27d69fd74f7de
[ghostrider-reborn: support dfps]
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2025-01-22 19:25:34 +01:00
Cosmin Tanislav
ace35293c8 Revert "disp: msm: sde: avoid CWB in power on commit"
* causes display to not wake up sometimes

This reverts commit 67ef82eb35.

Change-Id: I9b98a2cfe6d8b4fedae8886ee862335eb8dad9c4
2025-01-22 19:25:34 +01:00
Miguel de Dios
f5039c3d8e techpack: display: sde: Specify sync probe for sde_wb
Bug: 115776306
Bug: 77146523

Signed-off-by: Miguel de Dios <migueldedios@google.com>
Change-Id: I23af51e545377fcdffa42917625db8a07b48bb73
2025-01-22 19:25:34 +01:00
Miguel de Dios
e2405096ac techpack: display: Specify sync probe for msmdrm_smmu
Bug: 115776306
Bug: 77146523

Signed-off-by: Miguel de Dios <migueldedios@google.com>
Change-Id: Iff5a580c03e4733116f862ae26e2b67ceafb7e16
2025-01-22 19:25:34 +01:00
Vincent Palomares
aa524ab717 techpack: display: Async suspend/resume callbacks
Make rotator suspend/resume callbacks asynchronous, improving
suspend/resume latency.

Bug: 134703102
Change-Id: I79cea74a33620b8b00c24b5f031cf6969fe09aff
2025-01-22 19:25:34 +01:00
Rick Yiu
d05f2b6d3b techpack: display: Move msm_drm_register to async probe
To reduce boot time to first stage.

Bug: 129688998
Test: reboot 100 times, camera, wifi, basic operation
Signed-off-by: Rick Yiu <rickyiu@google.com>
Change-Id: I3f9d2a6de9c67a4c4743de89ac9edc44cee6e955
2025-01-22 19:25:34 +01:00
Vaisakh Murali
1ba4635080 display-drivers: Enforce ulps suspend
Similar to commit 0ab3bbb12587, this enable ulps for suspend, i.e.,
better power saving during display suspend.

Change-Id: I4856c943e9bf7a6c208f2ecd28c68560dac46bd1
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2025-01-22 19:25:34 +01:00
Vaisakh Murali
56f97926e5 techpack: display: dsi_panel: Enforce ulps by default
This will force enable ulps by default for all panels without checking
for the dts boolean.

Change-Id: I470587e56e3545cb3eff3a5e04bd5ce84064fc27
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2025-01-22 19:25:34 +01:00
Cosmin Tanislav
247d4ae926 techpack: display: use CSC for FOD dimming
Change-Id: I713646b79c6fafda14614ff9eca742f2724420e3
2025-01-22 19:25:34 +01:00
Cosmin Tanislav
9eacb78d51 techpack: display: dsi_panel: expose FOD dim alpha
Change-Id: I2c4431105df6082fcfbaacdbab9165f89720824b
2025-01-22 19:25:34 +01:00
Cosmin Tanislav
0bf945bf78 techpack: display: ignore CSC config on FOD layer
FOD performance decreases if the color of the icon is not
exactly white, which happens when night light is enabled.
Skip CSC for the FOD layer.

Change-Id: Icb202690ec58e807b612fffe479c8e7c5c3b5d03
2025-01-22 19:25:34 +01:00
Cosmin Tanislav
cc27410d5d techpack: display: translate PCC to CSC
PCC cannot be applied per-plane, but CSC can. Translate PCC to CSC
to allow skipping it for some planes.

Change-Id: I76fa04fed6bcc9426cf2a38c58c23e49e27b8750
2025-01-22 19:25:34 +01:00