diff options
author | Suzuki K Poulose <[email protected]> | 2024-10-17 14:14:27 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2024-10-23 10:19:32 +0100 |
commit | 371589437616fbb03590d8ff505f8a4c95c8a031 (patch) | |
tree | 38a3175d507392760e11ac40e22f13bd69f421aa /tools/perf/scripts/python/check-perf-trace.py | |
parent | 399306954996be58ac20b4b29f6334e3d55a2ce7 (diff) |
arm64: rsi: Add support for checking whether an MMIO is protected
On Arm CCA, with RMM-v1.0, all MMIO regions are shared. However, in
the future, an Arm CCA-v1.0 compliant guest may be run in a lesser
privileged partition in the Realm World (with Arm CCA-v1.1 Planes
feature). In this case, some of the MMIO regions may be emulated
by a higher privileged component in the Realm world, i.e, protected.
Thus the guest must decide today, whether a given MMIO region is shared
vs Protected and create the stage1 mapping accordingly. On Arm CCA, this
detection is based on the "IPA State" (RIPAS == RIPAS_IO). Provide a
helper to run this check on a given range of MMIO.
Also, provide a arm64 helper which may be hooked in by other solutions.
Reviewed-by: Catalin Marinas <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Steven Price <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions