aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSricharan R <[email protected]>2018-12-04 11:52:09 +0530
committerWill Deacon <[email protected]>2018-12-10 14:55:59 +0000
commit96a299d24cfb6b9659304131b598fa09f4c9041e (patch)
treee7ccbd1b86bcb52fbb97cc06e51f69e9cd37734a /tools/perf/scripts/python/export-to-postgresql.py
parenta868e8530441286342f90c1fd9c5f24de3aa2880 (diff)
iommu/arm-smmu: Add pm_runtime/sleep ops
The smmu needs to be functional only when the respective master's using it are active. The device_link feature helps to track such functional dependencies, so that the iommu gets powered when the master device enables itself using pm_runtime. So by adapting the smmu driver for runtime pm, above said dependency can be addressed. This patch adds the pm runtime/sleep callbacks to the driver and the corresponding bulk clock handling for all the clocks needed by smmu. Also, while we enable the runtime pm, add a pm sleep suspend callback that pushes devices to low power state by turning the clocks off in a system sleep. Add corresponding clock enable path in resume callback as well. Signed-off-by: Sricharan R <[email protected]> Signed-off-by: Archit Taneja <[email protected]> [Thor: Rework to get clocks from device tree] Signed-off-by: Thor Thayer <[email protected]> [vivek: rework for clock and pm ops] Signed-off-by: Vivek Gautam <[email protected]> Reviewed-by: Tomasz Figa <[email protected]> Tested-by: Srinivas Kandagatla <[email protected]> Reviewed-by: Robin Murphy <[email protected]> Tested-by: Thor Thayer <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions