A660 has a new register to check whether clamps were asserted
when toggling the gx rail.
Change-Id: Ie63853b79e386fdff0e0a5ab4c4fac62ba3a2b3f
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
A single page buffer allocated via dma_alloc_attrs comes
from the system memory instead of contiguous space now.
That page can have address larger than the default dma
mask of 32 bits.
Change-Id: I591f09362d67b2a80e335ba3e593bd5e4e2f08ea
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
This is needed for improving cp boot latency.
Change-Id: Ib2307f16d01278180c23c5abbe49dfd21bee3710
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
This change adds the core device structure for a660.
Change-Id: I17eb144585c08ed75eb55a2ebe29c26c0a301bc7
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
This change adds names for the clocks and dividers used
by DP and DSI PLL on 5nm architecture.
Change-Id: Ia6a49b765cbfbc517e4f2bc06c357c5f3109f912
Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
A possible deadlock could occur with the following flow:
arm_smmu_map_sg()
-->arm_smmu_secure_domain_lock()
-->ops->map_sg() //this returns an error with ret = 0
-->size_to_unmap = iova + size - __saved_iova_start;
-->goto out;
-->arm_smmu_assign_table()
-->arm_smmu_unmap()
---->arm_smmu_secure_domain_lock() //DEADLOCKed!!!!!
-------->mutex_lock()
The secure domain lock is needed to protect hyp assign and unassign.
Hence, its safe to call arm_smmu_secure_domain_unlock() after the
map and assign is done. Do this to avoid any runtime deadlocks.
Change-Id: I35effc170d8432d32c0cab3081be4897830d9212
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Commit fb3f251037 ("iommu/arm-smmu: Merge all IOMMU changes from msm-4.19
to msm-lahaina") added some enhanced selftest functions for io-pgtable-arm
and io-pgtable-fast but they still had older APIs for the IOMMU
operations.
Change-Id: Ic0dedbad3ce8339bc471afb83113b47cd169d5cc
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Commit fe5698e796 ("ion: Merge all ION related changes from msm-4.19 to
msm-lahaina") added the file dma-buf-ref.c but it was using an older
kernel API for the stack trace management. Fix up the API to work
with 5.4.
Change-Id: Ic0dedbad6f0603ace4c8dc92e6789e043e7fdfa9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
If both wakee and waker are in top-app,don't place wakee on waker
cpu, because most of this case waker is not going to sleep,this
will cause waker preempted and lead high runnable time,so let
scheduler to select the best cpu in this case.
Change-Id: If6eb3c0acb202197e9dd90205c581398ac049649
Signed-off-by: Biao Long <blong@codeaurora.org>
Enable qseecom driver to provide secure communication from HLOS
to TZ.
Change-Id: If27300c985536dbdad15afee74b007bf01cb87ae
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Update copy_prop to allow copy to a destination buffer of size greater
than or less the source buffer size. This is needed to correctly pass
gaming bin fuse value to user mode.
Change-Id: I1b651c79b9286c1259fbace815d58892462a7931
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Enable SPS driver for Lahaina. SPS (Smart Peripheral System)
enables the support of all BAMs in the system which provide DMA
functionality to various peripherals.
Change-Id: Icd393576a6c96240414c432e08b2bf2ae083dac9
Signed-off-by: Ajay Prathi <aprathi@codeaurora.org>
Client ep[i] entries are memset to 0 as a part of tearing down
uc offload pipes which results in a race condition, if there are already
some packets which have been sent to IPA, when the client notify callback
is called.
Change-Id: I998e5d1c09d82e72b80ff00d1dd96398a92adc75
Acked-By : Abhishek Choubey <abchoube@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Enable DCC driver in GKI config as the UART driver isn't available yet.
Change-Id: I0ded1b57e3cca66b00d87889d4c081c489ae850b
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Add new port types for SWR 1.6 feature to accommodate
unified SWR Tx port mapping.
Change-Id: Ib3ac905c12628ea90b24ca26d29fde24e8ba0309
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
These trace events are used to profile performance
of VR use cases.
Change-Id: Iba00ef71010a6a07809a23f631afba557c5dd822
Signed-off-by: rbandi <rohitbandi@codeaurora.org>
HID driver to handle sensor data from external device
and writes it in to shared memory. Sensor data includes
temperature, accelerometer, gyroscope, magnetometer data.
Change-Id: I06a897166a1106889c60bda0d8f8f84684032d0e
Signed-off-by: rbandi <rohitbandi@codeaurora.org>
Added two extra capabilities - HMX and Async FastRPC.
Async FastRPC checks the DSP for capability and
ANDs it with its own capability
which is then returned to the userspace.
Change-Id: I3310b76ccdafad664eff5f12493c9d3fc45cc4ca
Signed-off-by: Anirudh Raghavendra <araghave@codeaurora.org>
This change is for general scheduler improvement.
Change-Id: I7c3a073fa68d715dd3bdbed11e4f83e82046a3c0
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Fix the incorrect definitions for BCMs that have the wrong
ordering between keepalive and num_nodes.
Change-Id: I7ce368444c0a10eea223c391abbf1c1ea00d3d45
Signed-off-by: David Dai <daidavid1@codeaurora.org>
Add a high bandwidth vote for critical NoCs during boot up.
Change-Id: I739df67083e13f542c0021054b1ca4c1f2d9bd09
Signed-off-by: David Dai <daidavid1@codeaurora.org>
This is a snapshot of the crypto driver changes taken as of
msm-4.19 commit <Id3a3c379eb1>
("ANDROID: scsi: ufs: UFS crypto variant operations API").
Change-Id: I5a80c2ba9ccdbc5125e7e5507fbf49cd1dcfce66
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>