109 Commits

Author SHA1 Message Date
lotan rm
e05f3d14f6 techpack: audio: Add _3LE formats to msm-dai-fe.c for munch
Fixes distortion problems on munch

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/7470
Change-Id: Idba02e864dfe954e967b92fcb65ff8a1ac3feb95
2025-04-28 17:04:59 +02:00
Sebastiano Barezzi
fcedce48bf Merge remote-tracking branch 'qcom_sm8250/lineage-20' into lineage-22.2
Change-Id: I41d3b2e791439f1ef1d34ced81a40912461bb3b0
2025-04-02 13:37:55 +02:00
Faiz Nabi Kuchay
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
Jinfeng Gu
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
Michael Bestas
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
Michael Bestas
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
Swami Reddy Reddy
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
althafvly
bac62ca790 Merge branch 'lineage-20' of https://github.com/LineageOS/android_kernel_qcom_sm8250 into lineage-22.1
Change-Id: Ib5c234d95e3f41cfa458ac48d666fbab920b0b6e
2025-01-05 09:32:08 +05:30
Michael Bestas
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
Akhil Karuturi
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
Michael Bestas
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
Michael Bestas
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
Michael Bestas
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
Michael Bestas
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
Michael Bestas
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
Jerry Huang
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
Jerry Huang
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
althafvly
8431e60de2 techpack: display: Fix misleading indentation
Change-Id: I6e5924323d8d4047c1740e8b1eeaf78c4a8f7821
2024-08-24 09:48:54 +05:30
Sebastiano Barezzi
b8aeeeba56 Merge remote-tracking branch 'qcom_sm8250/lineage-20' into lineage-21
Change-Id: I3159ae2c81329a81f9f6d4feba3fd1324a86b4f6
2024-08-21 19:34:30 +02:00
Alexander Winkowski
fd4f634bbc techpack: audio: Fix indentation in wsa881x_visense_adc_ctrl()
Cross-checked with msm-4.14 and msm-5.15 tags. The change does not exist
as a separate commit and is squashed into the initial import.

Change-Id: Ib3defedf0fbd5b7cdccdfba26383313ff05b4ef0
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2024-08-19 12:58:31 +03:00
Alexander Winkowski
2b7f56236b techpack: camera-bengal: Add missing braces in cam_ope_mgr_create_kmd_buf()
Cross-checked with msm-5.15 tag. The change does not exist as a separate
commit and is squashed into the initial import.

Change-Id: Ie922c512d7ea24661d3179cfd156ab8eb6fcc363
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2024-08-19 12:44:44 +03:00
Prashant Singh
aab8bf69cb msm/sde: prevent double register of input handler
During Dynamic mode switch case, input_register_handler
is called even after it is registered leading to
list double add warnings and panic.

Change-Id: I312112deb08c998af516252f2117bc629eb13b37
2024-06-11 19:47:29 +03:00
Sebastiano Barezzi
d444b6a698 Merge remote-tracking branch 'qcom_sm8250/lineage-20' into lineage-20
Change-Id: I9bb5e8c56e01150638996fecd9dfed2bd7c428c6
2024-03-25 15:37:28 +01:00
Michael Bestas
7b3f40eb03 Merge tag 'LA.UM.9.15.2.r1-09500-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-09500-KAMORTA.QSSI14.0"

* tag 'LA.UM.9.15.2.r1-09500-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: Proper handling of race condition in util api

Change-Id: Ic4e59c08cd32cc5a1083a5f8073cc48509ca9edc
2024-03-23 01:13:20 +02:00
Michael Bestas
b106341455 Merge tag 'LA.UM.9.12.r1-18200-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-18200-SMxx50.QSSI14.0"

* tag 'LA.UM.9.12.r1-18200-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: Proper handling of race condition in util api

Change-Id: I4559d7bbab1e2ad7fd5a5ddaad0165273b6927a6
2024-03-23 01:12:11 +02:00
ChaptSand
93beac83d7 techpack: camera-xiaomi-cas: Import xiaomi changes from psyche-r-oss
Change-Id: Ib49a8aa3117154ebb04dd2fa3ee9b5d02aab5d0c
2024-03-17 00:02:44 +01:00
Sebastiano Barezzi
f6840cb9c8 techpack: camera-xiaomi*: Fix warnings
Change-Id: I3d81000b784ce2df594a05dc97856e9ca99a86e6
2024-03-16 22:09:48 +01:00
Sebastiano Barezzi
25975eb79d Merge remote-tracking branch 'qcom_sm8250/lineage-20' into lineage-20
Change-Id: I8d0a8bc8101febe5e93dc2952f736080c5ee54c4
2024-02-19 18:41:48 +01:00
Sebastiano Barezzi
0c13f6583a Merge remote-tracking branch 'qcom_sm8250/lineage-20' into lineage-20
Change-Id: Ic572f479a072cb0252d5682f6cd56c3499fe3286
2024-02-13 00:46:27 +01:00
Michael Bestas
7883946a13 Merge tag 'LA.UM.9.15.2.r1-09400-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-09400-KAMORTA.QSSI14.0"

* tag 'LA.UM.9.15.2.r1-09400-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  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));

Change-Id: I8869b37a4cc5223d37ec0169efb6eb2965916dd6
2024-02-10 19:51:37 +02:00
Michael Bestas
e0e8181c9f Merge tag 'LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-4.19-kona
"LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0"

* tag 'LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  vidc: Return EBUSY if mbpf check fails

Change-Id: I228810cf48b6b9d2e107e82c6fc13e56e0216859
2024-01-04 12:45:33 +02:00
Michael Bestas
d1ca8a57e6 Merge tag 'LA.UM.9.12.r1-17900.03-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-17900.03-SMxx50.QSSI14.0"

* tag 'LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: Unmap DMA buffers to end access from kernel

Change-Id: I9ec2dbaa6c2a1ce2e5599cfeaeea9c1958c50ca2
2024-01-04 12:41:12 +02:00
Michael Bestas
ee723b03a5 Merge tag 'LA.UM.9.15.2.r1-09300-KAMORTA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.15.2.r1-09300-KAMORTA.QSSI12.0"

* tag 'LA.UM.9.15.2.r1-09300-KAMORTA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: bolero: Add check for CMPDR switch
  ASoC: wcd937x: Add flag to decide RX_MUTE for HPHL and EAR
  ASoC: msm-audio-effects-q6-v2: Add BPF order check
  dsp: q6afe: Add check for fbsp state
  dsp: q6asm: Add check for ADSP payload size
  ASoC: msm-pcm-host-voice: Check validity of session idx
  dsp: q6lsm: Address use after free for mmap handle
  ASoC: Resolve use after free in listen sound client
  dsp: q6lsm: Add check for payload buffer
  ASoC: msm-pcm-host-voice: Check validity of session idx
  dsp: q6lsm: Address use after free for mmap handle
  dsp: q6lsm: Add check for payload buffer
  ASoC: Resolve use after free in listen sound client
  ASoC: msm-lsm-client: Integer overflow check
  ASoC: dsp: q6core: Avoid use after free
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  asoc: changes to fix KW errors.

Change-Id: I1f9e980140a7e5941e16650781b61e6b5fde7c8b
2024-01-04 12:40:10 +02:00
ziqic
ede19bd3c1 msm: vidc: fix error during debugfs init
When CONFIG_DEBUG_FS is disabled, the call to
debugfs_create_dir will result in an error.

Add a check of the config to avoid the error.

Change-Id: I7a79dbc5c4c5e1e3192a11d55ad9b7994788f30f
Signed-off-by: ziqic <quic_ziqic_01@quicinc.com>
2023-12-14 13:15:39 +02:00
Michael Bestas
58a190757c Merge tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-4.19-kona
"LA.UM.9.12.r1-17400-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm : Cap framerate for all Intra setting
  msm : Cap framerate for all Intra setting
  video: driver: Return proper error code
  video: driver: Return proper error code

Change-Id: I6a750e08cd103f054a993ff8cc3eb147f2beafa6
2023-11-09 14:50:39 +02:00
Michael Bestas
562179ef39 Merge tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-17400-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: q6asm: Add check for ADSP payload size
  ASoC: msm-audio-effects-q6-v2: Add BPF order check
  dsp: q6afe: Add check for fbsp state
  ASoC: msm-lsm-client: Integer overflow check
  dsp: Correct copyright info

 Conflicts:
	techpack/audio/dsp/msm_audio_ion.c

Change-Id: If36269f6078703b3da8486049b07b993d190ccc3
2023-11-09 14:46:03 +02:00
lucaswei
2f041349d1 techpack: video: hfi_iris2: Fix -Wpointer-to-int-cast
msm/vidc/hfi_iris2.c:170:3: error: cast to smaller integer type 'u32' (aka 'unsigned int') from 'u8 *' (aka 'unsigned char *') [-Werror,-Wpointer-to-int-cast]
                (u32)device->iface_q_table.align_virtual_addr, sid);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Casting `device->iface_q_table.align_virtual_addr` to uintptr_t first, then
cast to u32 to avoid pointer-to-int-cast errors.

Bug: 171827315
Signed-off-by: lucaswei <lucaswei@google.com>
Change-Id: I687af3df978841d4cba8ea658176187d1fb56837
2023-11-07 19:15:45 +05:45
LuK1337
735887edbc msm: camera: Fix strict-prototypes error
Change-Id: Iaad4cda7407ea12558a2d4a0f4acb4586bed5d0a
2023-10-20 09:40:19 +02:00
LuK1337
29759cf58d drivers: rmnet_perf: Fix strict-prototypes error
Change-Id: I3e67da3d767f8d1198bca1c81e561c1ad2fe7363
2023-10-20 09:40:19 +02:00
Michael Bestas
ac474f9f13 Merge tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-16200-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: cci: Optimize the processing of CCI timeout

Change-Id: I58d4791205c4b86e8847a511227987388773c65f
2023-10-16 15:14:13 +03:00
Michael Bestas
be221a6ae1 Merge tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-16200-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: add lock in ion free to avoid use after free
  ASoC: Resolve use after free in listen sound client

 Conflicts:
	techpack/audio/dsp/msm_audio_ion.c

Change-Id: I44bcbc386cbfa2f6e3d1eef9b8bd1109d0df9b8c
2023-10-16 15:12:19 +03:00
Soumya Managoli
13d3be4ddf dsp: q6adm: Resolve mem corruption in adm cb
Conversion of negative "num_modules" var value
will result in max possible unsigned int value
and hence can cause mem corruption when accessed.

Resolve this by assigning the same data type
to "num_modules" var as used in the calling fn.

Change-Id: I4c9d7215b9c7345637e1eb3a1992a41fef71c5cb
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
2023-10-02 20:49:14 +03:00
Michael Bestas
49a49fb864 Merge tag 'LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0"

* tag 'LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: mem_mgr: release buffers after usage
  msm: camera: sensor: Add changes to prevent unmap buffers
  msm: camera: mem_mgr: Add refcount to track in use buffers
  msm: camera: core: validation of session/device/link handle

Change-Id: I67d08de0f2d7d3855c5d0cebccb5a8c0a05e49ec
2023-08-25 12:05:33 +03:00
Michael Bestas
4b455c21d5 Merge tag 'LA.UM.9.12.r1-15600-SMxx50.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15600-SMxx50.0"

* tag 'LA.UM.9.12.r1-15600-SMxx50.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: mem_mgr: release buffers after usage
  msm: camera: sensor: Add changes to prevent unmap buffers
  msm: camera: mem_mgr: Add refcount to track in use buffers
  msm: camera: core: validation of session/device/link handle
  msm: camera: cci: Fix some cci stability issues
  msm: camera: cci: Move load report cmd in lock context
  msm: camera: cci: Add report id in report command for CCI I2C queue

Change-Id: If0a91190c9d87eeca85d6d4c5572d57c17ce333d
2023-08-25 12:04:44 +03:00
Michael Bestas
0bdb488b23 Merge tag 'LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0"

* tag 'LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: Added fix to resolve compilation error
  dsp: q6voice: added fix to resolve Lookahead error
  ASoC: msm-pcm-host-voice: Handle OOB access in hpcm_start
  dsp: q6core: Avoid OOB access in q6core
  dsp: q6voice: Add buf size check for cvs cal data
  dsp: afe: Add check for num_channels
  dsp: afe: Add check for sidetone iir config copy size
  ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm copy
  ASoC: msm-pcm-voip: Avoid interger underflow
  dsp: asm: validate payload size before access
  dsp: q6core: validate payload size before access for AVCS
  dsp:  afe: check for param size before copying
  asoc: Compilation fix for SDLLVM toolchain 16.0
  asoc: routing: add PRI_TDM path as echo reference data
  dsp: add lock in ion free to avoid use after free

 Conflicts:
	techpack/audio/dsp/q6afe.c
	techpack/audio/dsp/q6asm.c
	techpack/audio/dsp/q6core.c
	techpack/audio/dsp/q6voice.c

Change-Id: I3aab264a7be180846833043a3c3a8ce889b85d12
2023-08-25 12:03:18 +03:00
Michael Bestas
3f9414c007 Merge tag 'LA.UM.9.12.r1-15600-SMxx50.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15600-SMxx50.0"

* tag 'LA.UM.9.12.r1-15600-SMxx50.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: msm-pcm-host-voice: Check validity of session idx
  dsp: q6lsm: Address use after free for mmap handle
  dsp: q6lsm: Add check for payload buffer
  ASoC: Resolve use after free in listen sound client
  ASoC: dsp: q6core: Avoid use after free
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  ASoC: dsp: q6core: Avoid use after free
  ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm copy
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  dsp: q6core: Avoid OOB access in q6core
  ASoC: msm-pcm-host-voice: Handle OOB access in hpcm_start
  dsp: afe: Add check for num_channels
  dsp: asm: validate payload size before access
  dsp: afe: Add check for sidetone iir config copy size
  dsp: q6voice: Add buf size check for cvs cal data
  ASoC: msm-pcm-voip: Avoid interger underflow
  dsp: afe: check for param size before copying
  dsp: q6core: validate payload size before access for AVCS

Change-Id: I586bec33dde9200927e0d6226237aa932a5f7531
2023-08-25 12:02:12 +03:00
Michael Bestas
1988c1a1a4 Merge tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-4.19-kona
"LA.UM.9.12.r1-15500-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: clear platform device drvdata on msm_drm bind fail
  disp: msm: add support to parse HDMI VSDB block

Change-Id: I5a5d2b4e8d529e9a4356fb472a7c59d4a7902395
2023-07-11 15:20:12 +03:00
Michael Bestas
3087c412d8 Merge tag 'LA.UM.9.15.r1-07400-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.15.r1-07400-KAMORTA.QSSI13.0"

* tag 'LA.UM.9.15.r1-07400-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: smmu: Use get_file to increase ref count

Change-Id: Ie6f243e0a0dfc1ff927d4b4b3594ee3b357661ce
2023-07-11 15:18:00 +03:00
Michael Bestas
08a5b230eb Merge tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15500-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: isp: Handle deferred bufdone and bubble cases

Change-Id: Ia422cdedfa74c095bd75aa507d2b86f366111950
2023-07-11 15:13:00 +03:00
Michael Bestas
78c145b6e1 Merge tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15500-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: msm-pcm-voip: Avoid interger underflow
  dsp: afe: check for param size before copying
  dsp: q6core: validate payload size before access for AVCS

 Conflicts:
	techpack/audio/dsp/q6afe.c
	techpack/audio/dsp/q6core.c

Change-Id: I652a534f1fc03ebb9f912a9400eed83bc2abf49a
2023-07-11 15:10:50 +03:00