diff options
| author | Michael Anderson <[email protected]> | 2019-08-22 00:48:35 -0300 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-08-30 09:40:15 +1000 |
| commit | 139a1d2842ec181cf017502a46bb8d947682a960 (patch) | |
| tree | 781844fa13a226d6e12b063e003fb678b6ebee7a /tools/perf/scripts/python/bin | |
| parent | bb04ffe85eebebd64d5e673a9434d968e80f3aa1 (diff) | |
powerpc/mm: Use UV_WRITE_PATE ucall to register a PATE
When Ultravisor (UV) is enabled, the partition table is stored in secure
memory and can only be accessed via the UV. The Hypervisor (HV) however
maintains a copy of the partition table in normal memory to allow Nest MMU
translations to occur (for normal VMs). The HV copy includes partition
table entries (PATE)s for secure VMs which would currently be unused
(Nest MMU translations cannot access secure memory) but they would be
needed as we add functionality.
This patch adds the UV_WRITE_PATE ucall which is used to update the PATE
for a VM (both normal and secure) when Ultravisor is enabled.
Signed-off-by: Michael Anderson <[email protected]>
Signed-off-by: Madhavan Srinivasan <[email protected]>
Signed-off-by: Ram Pai <[email protected]>
[ cclaudio: Write the PATE in HV's table before doing that in UV's ]
Signed-off-by: Claudio Carvalho <[email protected]>
Reviewed-by: Ryan Grimm <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions