Client can update secure vmid by setting attribute DOMAIN_ATTR_SECURE_VMID.
If this is done after domain attach, it causes a condition where TTBR pages
aren't mapped to secure VMID. This causes S2 translation fault. Disallow
secure vmid update if domain is attached.
While we are at it, restrict DOMAIN_ATTR_FAST update while domain is
attached.
Change-Id: I4246f1f90a11ed21dfafa360cc2f16ade2708d2b
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Add support for L3 voting in the devfreq icc driver.
This includes populating the device's OPP table with L3
frequencies from HW and voting in this same unit of Hz
as accepted by the L3 interconnect provider.
Change-Id: I877f41324b55b333f4e5ef9f34232563357712c8
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
A core-dev table is explicity defined in each memlat device
today. However, some devices may want to share the same core-dev
table so add support for parsing a shared core-dev table that
can be used across multiple memlat devices.
Change-Id: I5ee0d439c199a6414d2adaeed8328f3dc99b2a84
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
In register_common(), there's unnecessary code used to find
which device tree node has the core-dev property. Refactor
this to reduce complexity.
Change-Id: Ib3475272b25e898ad23f9f5a4412d90cd889a356
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
Add a snapshot of bcl soc driver from msm-4.19 to msm-5.4 as of 'commit
<db807a5da543262d5bd23419a8419f3421024e0d> (drivers: thermal: bcl_soc:
Skip thermal evaluation during zone register)'.
Change-Id: Ia357c290510eabb4a5d60f10274e26ad1c99f50d
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
This is a snapshot of the bcl driver from ms-4.19 to msm-5.4 as of
'commit <dfe3da00b56a86849ec49e085ea5a57d3fa7636f> (drivers: thermal:
bcl_pmic5: filter out BCL spurious interrupts)'.
Modify vbat to register directly as a sensor bypassing the of-thermal.
This will enable vbat sensor to read trip thresholds directly from
the peripheral.
Change-Id: I5bf07e05ac47f68d16fc40e859b16a1ce549ee5d
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
This is a snapshot of the qmi sensor driver from msm-4.19 to msm-5.4
as of 'commit <076ba8f024a882373ff8ed27780362c3733b21dc> (drivers:
thermal: qmi_sensor: Add support for new sensors)'.
Change-Id: Ib1e6359aba7a794cf64f07e888cef36b6c04f87c
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
This is a snapshot of the cpu isolate cooling device driver from
msm-4.19 to msm-5.4 as of 'commit
<5069a29e82b3c83577a2bde5739f603750db5e89> (drivers: thermal:
validate cdev sysfs cur_state request before using it)'.
Change-Id: I046d38f76bb8bcf5cfd0f2b03a166611fad955f0
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Camera requires new features supported in cvp driver but the existing
camera fence path framework in cvp driver is not scable.Redesign fench
path to enhance its scability by adding worker thread pool.
Change-Id: If8b31ddb082089463aca1f3d600a9fed1ed05996
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
Move the current code to support as per the upstream code and bring in
fixes required to support the EPSS driver. Fix em_register_perf_domain
as new API convention.
Change-Id: I267731a89a130d1fca5b1fb25aab95430a9099c7
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Add socinfo driver to expose various SoC information to the clients.
This information is useful to various clients in kernel and userspace
to know about the SoC information.
Change-Id: If8b025f19a8eb5bf736d1c88c180654d724bb45f
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
This config enables msm shared memory driver.
This driver allocates shared-memory to be used by the modem processor.
Change-Id: I622d032c1abb8884027f9cc4f4428dbf53ac7035
Signed-off-by: Richard Patrick <richardp@codeaurora.org>