summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2024-06-20 19:46:40 +0300
committerOliver Upton <oliver.upton@linux.dev>2024-06-20 22:01:20 +0300
commitb3d29a8230998b36afecf494b199211d26052785 (patch)
treeae515f6812ada34d266e31c1331933685ff4d8ba /tools/perf/scripts/python/export-to-postgresql.py
parent399debfc97493130167663336a2c3d0d16c2da79 (diff)
downloadlinux-b3d29a8230998b36afecf494b199211d26052785.tar.xz
KVM: arm64: nv: Handle ZCR_EL2 traps
Unlike other SVE-related registers, ZCR_EL2 takes a sysreg trap to EL2 when HCR_EL2.NV = 1. KVM still needs to honor the guest hypervisor's trap configuration, which expects an SVE trap (i.e. ESR_EL2.EC = 0x19) when CPTR traps are enabled for the vCPU's current context. Otherwise, if the guest hypervisor has traps disabled, emulate the access by mapping the requested VL into ZCR_EL1. Reviewed-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20240620164653.1130714-4-oliver.upton@linux.dev Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions