19 Commits

Author SHA1 Message Date
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
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
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
Jake Weinstein
a1df06de62 modules: Allow Yupik and Shima to build without ARCH_LAHAINA
Change-Id: I965f994c83723709ae340ee8d4a4d4145b0f9a49
2025-01-22 19:25:36 +01:00
Michael Bestas
cf9c5fb631 Merge tag 'LA.UM.9.14.r1-24900-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-24900-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-24900-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa: Add additional cleanup in finish rt rule addition
  msm: ipa: Add additional cleanup in finish rt rule addition

Change-Id: Ic51c62ff63dc875fb537329316d09c52aee89197
2024-08-05 23:58:26 +03:00
Michael Bestas
48a7885440 Merge tag 'LA.UM.9.14.1.r1-14100-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.1.r1-14100-QCM6490.QSSI14.0"

* tag 'LA.UM.9.14.1.r1-14100-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: Adding changes to check pointer null or not

Change-Id: If597d4a2f9bda9e2da294cf40423a3688d00cc84
2024-06-22 17:50:31 +03:00
vantoman
21834caf71 ipa_v3: Fix enum conversion warnings
../techpack/dataipa/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c:510:41: warning: implicit conversion from enumeration type 'enum ipa_ip_type_enum_v01' to different enumeration type 'enum ipa_ip_type' [-Wenum-conversion]
        q6_ul_flt_rule_ptr->ip = flt_spec_ptr->ip_type;
                               ~ ~~~~~~~~~~~~~~^~~~~~~
../techpack/dataipa/drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c:511:45: warning: implicit conversion from enumeration type 'enum ipa_filter_action_enum_v01' to different enumeration type 'enum ipa_flt_action' [-Wenum-conversion]
        q6_ul_flt_rule_ptr->action = flt_spec_ptr->filter_action;
                                   ~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~

Change-Id: I0eb68d707151cd103676a30659ab81bf6fced131
2024-05-18 18:07:45 +00:00
Sultan Alsawaf
6c876cb48f msm: ipa3: Silence PM notifier log spam
We don't need to know that PM notifiers are working. Silence the entry/exit
log spam in ipa_pm_notify().

Change-Id: I9bae89fa5e27b8835683ec1423ecc751491ea13c
Signed-off-by: Sultan Alsawaf <sultan@osomprivacy.com>
2024-05-18 18:07:37 +00:00
Alexander Winkowski
0fd4ffe10a techpack: dataipa: Fix compilation without PCI
Change-Id: Ice4284ce6a9b710638c21add2bef5f5bb4e52b63
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2024-05-18 18:07:36 +00:00
Michael Bestas
edd5792efd Merge tag 'LA.UM.9.14.r1-24200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-24200-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-24200-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: reduce rx-wan pool and cmn page, temp pool sizes
  msm: ipa: allocate page recycling buffers only once
  msm: ipa: avoid OOM Killer for temp allocations
  msm: ipa3: Flush free page WQ only for page recyle replenish handler
  msm: ipa3: Fix to flush to workqueue during teardown pipe
  msm: ipa3: Fix to destory workqueue only if created
  msm: ipa3: Changes to enhance find free pages from list
  msm: ipa: page pool recycling enhancements
  msm: ipa: page pool recycling enhancements

Change-Id: I21c0f5974f08fc032605d2710858eb28e592d1f0
2024-03-23 17:41:41 +02:00
Michael Bestas
db38838ac7 Merge tag 'LA.UM.9.14.r1-23800-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-23800-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-23800-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa: Null terminated interface name string argument received from ioctl
  msm: ipa3: creating new ipc log file for IPA Clocks

Change-Id: I4135d434cb5e7dd1009ce2a66ce0f3d81bf3588a
2024-02-09 00:44:13 +02:00
Michael Bestas
33bb2244fd Merge tag 'LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-23300-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  mdm: dataipa: increase the size of prefetch buffer

Change-Id: Ie19ffc3277e452fe8d2d0112bbdc7a1f87b6fb2f
2023-12-11 20:39:56 +02:00
Michael Bestas
cbe5f00264 Merge tag 'LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-22400-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  ipa: Fix ioctl buffer allocation due to increased header size

Change-Id: I9e7ab01057fa4dd1fbb11329771048a1bf5681b1
2023-09-19 17:26:42 +03:00
Michael Bestas
ce16abb069 Merge tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: Adding changes to increase workqueue priority
  msm: ipa3: fix pointer arithmetic to avoid out-of-bound
  msm: ipa3: Removing assert in halt q6 channel failed cases.

Change-Id: I9e71c61d64302bbbe37297de84e616abd3fd6da1
2023-07-11 15:52:40 +03:00
Michael Bestas
fec2262229 Merge tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0"

* tag 'LA.UM.9.14.r1-21600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: Adding changes to remove dependency ipa3_ctx global variable
  msm: ipa3: Changes to fix memory leak issue
  msm: ipa3: reset skb header before passing it to NW stack
  msm: ipa3: add debug stats in case of pipe setup fail
  msm: ipa3: Update QMAP ID field in metadata field for GSB client
  msm: ipa3: add cleanup_rx if setup pipe failed.

Change-Id: I3a86ea1bfda1970c04029b6c42041949c3c946af
2023-06-08 11:45:47 +03:00
Michael Bestas
c594a5d1d7 Merge tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0"

* tag 'LA.UM.9.14.r1-21000-LAHAINA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: Adding changes to retry page allocation in WQ
  msm: ipa3: Adding check for odl stats

Change-Id: Ie55ccb4d0730d790b96abf245a2a850fa8427a84
2022-12-17 02:54:21 +02:00
Michael Bestas
e97a85da49 Merge tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android12-5.4-lahaina
"LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-20500.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: add check in odl pipe cleanup
  msm: ipa3: Added changes to check QMI pointer valid or not
  msm: ipa: fix to NULL terminate the pointer
  msm: ipahal: modify parameter from eq_bitfield[i] to i
  msm: ipa3: handling MISRA issue

Change-Id: I79939c82f4245f459dd320ffcd413815f2d18905
2022-10-02 01:48:17 +03:00
Michael Bestas
8da1d33744 Merge tag 'LA.UM.9.14.r1-19600.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android12-5.4-lahaina
"LA.UM.9.14.r1-19600.01-LAHAINA.QSSI12.0"

* tag 'LA.UM.9.14.r1-19600.01-LAHAINA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa3: Handle race condition to avoid NULL access
  msm: ipa3: Reduce the QMI timeout value to avoid race condition
  msm: ipa: Set the logbuf NULL after destroy
  msm: gsi: Fix the incorrect evt ring pointer
  msm: ipa3: In deep sleep scenario destroy/ reinitialize uC interrupts
  msm: ipa3: Changes to resume only suspend operation complete
  msm: ipa3: Disable gsi fifo and test bus registers
  msm: ipa3: Fix to validate the NAT table entries during NAT table init
  msm: ipa3: Fix to avoid the boot up crash in non smmu targets
  msm: ipa3: Disable of ODL offload checksum
  msm: ipa3: Deepsleep enable changes
  msm: ipa3: enable ipa register save when device is about to crash
  msm: ipa3: Changes not allow ODL pipe setup during SSR
  msm: ipa: use lower order pages
  msm: ipa3: fix to cleanup the dma allocation.
  msm: ipa: Get device pointers if smmu is disabled
  msm: gsi: Read 64-bit ring RP value from registers
  msm: ipa3: Retry to attach smmu nodes if fails
  msm: ipa: add skb recycle if dma fails during replenish
  msm: ipa: remove initing head again if dma mapping fails
  msm: ipa3: Retry to attach smmu nodes if fails
  msm: ipa3: Adding changes to support the deep sleep mode
  msm: ipa3: Fix to NULL terminate the header pointer in proc header table
  msm: ipa3: Pointer Check and Fix overflow in Header Deletion
  msm: ipa3: Queue nop desc again if it fails.
  msm: ipa3: increasing the uC interrupt timeout value
  msm: ipa3: Add wait queue for the adpl
  msm: ipa3: Add change to not reset HOLB timer
  msm: ipa3: Add retry attempts for subsystem loading
  msm: ipa: Fix to free up all pending EOB pages
  msm: ipa3: Fix null pointer dereference error
  msm: ipa3: Reduced excessive logs from ipa
  msm: ipa3: Configure HOLB for WLAN2 consumer pipe

Change-Id: I86cdd282a02be47a6653b009a1f400fe67160edc
2022-05-24 09:15:49 +03:00
Michael Bestas
2305407022 Add 'techpack/dataipa/' from tag 'LA.UM.9.14.r1-18300-LAHAINA.0'
git-subtree-dir: techpack/dataipa
git-subtree-mainline: 39f18e3259
git-subtree-split: f10f60d2e8
Change-Id: I788216ec6aeb0828e8e888d713c0b57e141bdd99
2022-05-19 00:03:28 +03:00