summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorSusheel Khiani <skhiani@codeaurora.org>2016-02-04 19:07:38 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:25:37 -0700
commit8b39a23e0cd12a64b2622232f873ddac58cc388d (patch)
tree3356f30016cdddea05eb509f00114df791668948 /include/uapi/linux
parenta6fba6085dd06a63edfaf0ed93acee72cbfabc60 (diff)
iommu/arm-smmu: Add explicit restore_sec_cfg call at SMMU probe
restore_sec_cfg call needs to be made to inform secure world that device have resumed from power collapse mode and security settings need to be relaxed. Accordingly we had a restore_sec_cfg call in arm_smmu_resume which would be called from regulator_notifier on regulator enable event. But during initial device probe also we need to read through SMMU global registers like IDR0, IDR1 to understand hardware configuration of SMMU and accordingly populate our data structures. We can't call arm_smmu_resume at this point as we are still to identify page size of SMMU register map which we get only through reading IDR1 register. So make an explicit restore_sec_cfg call at SMMU probe which would enable us to read through SMMU global registers. We need this call only for targets which have slave side protection mechanism. CRs-Fixed: 959535 Change-Id: If4e53966edbf4e76a3d03f3a8684563f0ceac13d Signed-off-by: Susheel Khiani <skhiani@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions