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>
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>
SmcInvoke support for hdcp driver on haliday.
Change-Id: I125fe031e09cdb9ad23005993ecde29ecf7276cd
Signed-off-by: Sheik Anwar Shabic Y <quic_sheikanw@quicinc.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
* 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>
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>