diff options
author | Marc Zyngier <[email protected]> | 2019-06-26 19:59:56 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2023-12-19 10:02:42 +0000 |
commit | d8bd48e3f0ee9e1fdba2a2e453155a5354e48a8d (patch) | |
tree | 5c78be6dc1ce2b44e5834ff16c668f97d5b177e0 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 9b9cce60be85e6807bdb0eaa2f520e78dbab0659 (diff) |
KVM: arm64: nv: Map VNCR-capable registers to a separate page
With ARMv8.4-NV, registers that can be directly accessed in memory
by the guest have to live at architected offsets in a special page.
Let's annotate the sysreg enum to reflect the offset at which they
are in this page, whith a little twist:
If running on HW that doesn't have the ARMv8.4-NV feature, or even
a VM that doesn't use NV, we store all the system registers in the
usual sys_regs array. The only difference with the pre-8.4
situation is that VNCR-capable registers are at a "similar" offset
as in the VNCR page (we can compute the actual offset at compile
time), and that the sys_regs array is both bigger and sparse.
Reviewed-by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions