Commit Graph

1022265 Commits

Author SHA1 Message Date
qctecmdr
bf8534b6d0 Merge "msm-5.10: Expose TrustedCameraDriver headers to camera kernel" 2023-05-10 23:12:51 -07:00
qctecmdr
3ab6ea2fef Merge "drivers: qcom: cpufreq_stats_scmi: Use ioremap instead of devm_ioremap" 2023-05-10 21:08:55 -07:00
qctecmdr
365aa7f7be Merge "misc: hdcp: SmcInvoke support for hdcp driver" 2023-05-10 09:38:58 -07:00
qctecmdr
21de4f3e7b Merge "defconfig: anorak: enable CPU freq stats for Anorak" 2023-05-10 03:53:49 -07:00
qctecmdr
00d2a5a792 Merge "spi: spi-msm-geni: Allow force suspend during system suspend" 2023-05-10 03:53:48 -07:00
qctecmdr
e5b192854d Merge "soc: qcom: Add oem variant support for socinfo v17" 2023-05-10 03:53:48 -07:00
qctecmdr
026bbc0a15 Merge "dt-bindings: add iio channel definition for pm7325b" 2023-05-10 03:53:48 -07:00
Shivnandan Kumar
b74d399ef6 drivers: qcom: cpufreq_stats_scmi: Use ioremap instead of devm_ioremap
devm_ioremap uses scmi handle device, handle->dev.
Scmi handle device is common across all the scmi client
drivers. If due to any reason, probe of CPU freq stats scmi client
driver fails, it does not free handle->dev and so there will be
memory map leak on that case as iounmap will not happen.
So, use ioremap and iounmap explicitly (when CPU freq stats
probe fails).

Change-Id: I02d83c5738d304a07b5196bfed62e5e4f3929f2a
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2023-05-10 12:02:01 +05:30
Rohit Soneta
80b8e9d4ee msm-5.10: Expose TrustedCameraDriver headers to camera kernel
Expose a new TrustedCameraDriver interface to camera kernel
for lane protection and configuring camera h/w ports.

Change-Id: Ieeb6e3a4817e2db968f3ec812f03eb54f9b7c4c3
Signed-off-by: Rohit Soneta <quic_rsoneta@quicinc.com>
2023-05-09 22:09:25 +05:30
qctecmdr
a39fa066bf Merge "defconfig: neo: enable fbe modules" 2023-05-08 12:39:24 -07:00
Sheik Anwar Shabic Y
3f637ed5ce misc: hdcp: SmcInvoke support for hdcp driver
SmcInvoke support for hdcp driver on haliday.

Change-Id: I125fe031e09cdb9ad23005993ecde29ecf7276cd
Signed-off-by: Sheik Anwar Shabic Y <quic_sheikanw@quicinc.com>
2023-05-08 11:50:41 -07:00
qctecmdr
2d18505db7 Merge "modules: add fbe modules to first stage list" 2023-05-08 10:48:02 -07:00
Shivnandan Kumar
207132ceef defconfig: anorak: enable CPU freq stats for Anorak
Enable CPU and L3 freq stats for Anorak from CPUCP
firmware based on SCMI communication.

Change-Id: If79aee19a6805b7193698ab380193d4bfcb8cac0
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2023-05-08 16:15:20 +05:30
qctecmdr
34adf267e9 Merge "msm: kgsl: Reset HFI queues during slumber exit" 2023-05-08 03:22:44 -07:00
Seshu Madhavi Puppala
ed447f8959 defconfig: neo: enable fbe modules
Enable the following modules which enables
data encryption (FBE) using wrapped keys.
CONFIG_QTI_CRYPTO_COMMON
CONFIG_SCSI_UFS_CRYPTO_QTI
CONFIG_QTI_HW_KEY_MANAGER.

Change-Id: I7ad031850b981e9f76039f55aca6540a3e99d870
Signed-off-by: Seshu Madhavi Puppala <quic_spuppala@quicinc.com>
2023-05-08 01:29:54 -07:00
Seshu Madhavi Puppala
6520253110 modules: add fbe modules to first stage list
Add the list of modules required to exercise FBE
path during bootup. These include:
tmecom-intf.ko
hwkm.ko
crypto-qti-common.ko
crypto-qti-hwkm.ko.

Change-Id: Ibdcf13407216bc37744ceae34467be0d9ade32e1
Signed-off-by: Seshu Madhavi Puppala <quic_spuppala@quicinc.com>
2023-05-08 01:28:46 -07:00
qctecmdr
37299bf53a Merge "smcinvoke: change smci auto generated headers" 2023-05-07 12:03:45 -07:00
qctecmdr
1a49d2e1ea Merge "msm: kgsl: Dump SECVID registers through legacy path" 2023-05-07 12:03:44 -07:00
qctecmdr
ccdef37d27 Merge "Merge keystone/android12-5.10-keystone-qcom-release.160+ (d43233e) into msm-5.10" 2023-05-05 04:45:44 -07:00
Viken Dadhaniya
3c833f1de9 spi: spi-msm-geni: Allow force suspend during system suspend
Currently we are not allowing system suspend when PM is
active.
Remove redundant check and allow system froce suspend.

Change-Id: Ibeeb1d1a52d3acb1ce88c01cf024cfcb2ef0568b
Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
2023-05-04 23:00:35 -07:00
qctecmdr
871c31bd7e Merge "msm: adsprpc: Handle UAF in fastrpc internal munmap" 2023-05-04 23:00:09 -07:00
qctecmdr
9275430f67 Merge "iommu: arm-smmu: Modify error conditions for qtb debugchain read" 2023-05-04 23:00:07 -07:00
qctecmdr
5b3a653cf5 Merge "build.config: incorporation of le ramdisk for neo" 2023-05-04 03:45:00 -07:00
qctecmdr
21ebf290aa Merge "qcom: llcc_perfmon: Remove dependency to reserve cycle counter" 2023-05-04 03:45:00 -07:00
qctecmdr
e9b5c96fef Merge "msm: kgsl: Log per process GPU work events via tracepoints" 2023-05-04 03:44:57 -07:00
Naman Jain
a093242d98 soc: qcom: Add oem variant support for socinfo v17
Add APIs and support for additional field "oem variant"
introduced in socinfo v17.

Change-Id: Ic60d9749fe6efac82b702fe6cb67aec1fb4f9a47
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2023-05-04 15:07:30 +05:30
Papanaboyina Bala Narayana
142637aff7 smcinvoke: change smci auto generated headers
Change auto generated headers related to smcinvoke as per the kernel
coding and naming conventions.

Change-Id: I9fdc24db15e0472264245b957ac3e80b43e98558
Signed-off-by: Papanaboyina Bala Narayana <quic_papanabo@quicinc.com>
2023-05-04 14:09:08 +05:30
Abhinav Parihar
6528ab6777 msm: adsprpc: Handle UAF in fastrpc internal munmap
Added reference count for contex map indicate memory under used
in remote call. And, this memory would not removed in internal
unmap to avoid UAF.

Change-Id: Ieb4ff6b298ff9c48953bc5b3539fdfe19a14b442
Signed-off-by: Abhinav Parihar <quic_parihar@quicinc.com>
2023-05-04 12:45:46 +05:30
Pratyush Brahma
323e224e41 iommu: arm-smmu: Modify error conditions for qtb debugchain read
Currently, qtb probe would fail if debugchain base address is not
specified in devicetree which is required only for debug. Modify
the error checks to probe qtb even in the absence of debugchain
support enablement.

Change-Id: Id70f4b65a8be3248c21a96d9c736886b6128f5f0
Signed-off-by: Pratyush Brahma <quic_pbrahma@quicinc.com>
2023-05-04 10:51:16 +05:30
NISARG SHETH
8ea8ef257e msm: kgsl: Reset HFI queues during slumber exit
In order to make sure GMU doesn't write to the HFI queues after
the queues are cleared, reset the HFI queues during slumber exit.

Change-Id: Ic27e05390871d7653898c3f0556c1ca030b68c79
Signed-off-by: NISARG SHETH <quic_nsheth@quicinc.com>
2023-05-03 16:21:05 +05:30
qctecmdr
368a858613 Merge "cnss2: notify WLAN driver of system reboot" 2023-05-03 03:00:36 -07:00
Aman Kanwar
d08f1e5f4e qcom: llcc_perfmon: Remove dependency to reserve cycle counter
Add support to use last counter for profiling as well. Cycle counter
will only be used if configured counters are less than the available
counters. Also restructured BEAC event configuration code to comply
with removal functionality using REMOVE string.

Change-Id: I9d668b6de994e161e1bcb9ad9e895300696a99ac
Signed-off-by: Aman Kanwar <quic_akanwar@quicinc.com>
2023-05-03 11:27:15 +05:30
Pankaj Gupta
9cd7a4d9f2 msm: kgsl: Log per process GPU work events via tracepoints
Add support to log per process GPU work events via kernel
tracepoint. This will help to analyze the GPU utilization
of each process for specific time period.

Change-Id: I923289a83b5c2717faf7bda3547d67bcee90c409
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
Signed-off-by: Pankaj Gupta <quic_gpankaj@quicinc.com>
2023-05-03 10:44:09 +05:30
Pankaj Gupta
76c6117256 msm: kgsl: Log per command active time in cmdbatch retire trace
The per-command active time is computed by HW-SCHED. Handle the
updated F2H_MSG_TS_RETIRE packet and log active time in the traces.

Change-Id: Ie5557a4246ba1281a534d458c7a65a937293d9cc
Signed-off-by: Hareesh Gundu <quic_hareeshg@quicinc.com>
Signed-off-by: Pankaj Gupta <quic_gpankaj@quicinc.com>
2023-05-03 10:40:08 +05:30
qctecmdr
e90cd94a1c Merge "spi: spi-msm-geni: reduce spi bw votes" 2023-05-02 21:50:31 -07:00
qctecmdr
8f98cbcfb3 Merge "msm: msm-geni-se: vote ab_noc value same as ib" 2023-05-02 21:50:31 -07:00
qctecmdr
5bd3fda36b Merge "drivers: qcom: cpufreq_stats_scmi: Make appropriate error check" 2023-05-02 13:45:57 -07:00
qctecmdr
5a1faafbee Merge "cnss2: Print the bandwidth level voted to IPC log" 2023-05-02 01:10:38 -07:00
Shivnandan Kumar
9a39786cf1 drivers: qcom: cpufreq_stats_scmi: Make appropriate error check
devm_ioremap() functions return either a pointer to valid
iomem region or NULL, check for IS_ERR() is improper
and may result in oops on error path.

Change-Id: Ia8c65747daee820e4fc8da39987724c5e339cfc2
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2023-05-02 13:25:05 +05:30
Srinivasarao Pathipati
c32a2237ba Merge keystone/android12-5.10-keystone-qcom-release.160+ (d43233e) into msm-5.10
* refs/heads/tmp-d43233e:
  UPSTREAM: dm verity: stop using WQ_UNBOUND for verify_wq
  BACKPORT: dm verity: enable WQ_HIGHPRI on verify_wq
  UPSTREAM: dm verity: remove WQ_CPU_INTENSIVE flag since using WQ_UNBOUND
  ANDROID: Enable percpu high priority kthreads for erofs
  UPSTREAM: erofs: fix an error code in z_erofs_init_zip_subsystem()
  BACKPORT: erofs: add per-cpu threads for decompression as an option

Change-Id: I41673f07cc36892597ba08d297bf0a715251d4f1
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2023-05-02 11:21:06 +05:30
qctecmdr
05a332b987 Merge "i2c: i2c-msm-geni: update gsi error check" 2023-05-01 22:18:43 -07:00
Naman Padhiar
e2860638ae cnss2: notify WLAN driver of system reboot
Notify WLAN driver of system reboot to avoid state
mismatch between cnss driver and WLAN driver.

Change-Id: I03e867484ee450c796c0dfabac7ed550a1d0337c
Signed-off-by: Naman Padhiar <quic_npadhiar@quicinc.com>
2023-05-01 23:37:41 +05:30
qctecmdr
d17209655b Merge "msm: kgsl: Use reset_control_reset() API for freq limiter irq clear" 2023-05-01 06:49:35 -07:00
qctecmdr
01eedf31ed Merge "spi: spi-msm-geni: Correct logic for cmd_done" 2023-05-01 04:58:07 -07:00
NISARG SHETH
6c9694e552 msm: kgsl: Dump SECVID registers through legacy path
Since Crashdumper cannot access SECVID registers, dump those
registers using legacy path.

Change-Id: Ib4df35a8e55f9d15948358d2d5ee1e76eff0ad0c
Signed-off-by: NISARG SHETH <quic_nsheth@quicinc.com>
Signed-off-by: Deepak Kumar <quic_dkumar@quicinc.com>
2023-05-01 15:07:10 +05:30
qctecmdr
5420cc5ec1 Merge "soc: qcom: Add Upperbounds check for program header" 2023-05-01 00:59:55 -07:00
qctecmdr
a4cdec8505 Merge "platform: msm-geni-se: Propagate missing change from 5.4 to 5.10" 2023-04-30 11:53:45 -07:00
qctecmdr
44e4703487 Merge "clk: qcom: gcc-neo: Add CLK_DONT_HOLD_STATE flag for camera clocks" 2023-04-30 09:54:43 -07:00
qctecmdr
240000819e Merge "spi: spi-msm-geni: Use DMA mode for SPI responder requester" 2023-04-30 07:55:16 -07:00
qctecmdr
d0286601ed Merge "spi: spi-msm-geni: Set the mode1 for SPI slave" 2023-04-30 04:33:47 -07:00