summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2024-06-14 17:45:51 +0300
committerOliver Upton <oliver.upton@linux.dev>2024-06-19 11:14:38 +0300
commit5d476ca57d7d1fb6a5a39e46747bb2034190ee4a (patch)
treec9b28edc0da8dfc52b0876fa93d31c703fa3ff9f /tools/perf/scripts/python
parent0cb8aae2267687a13e22cf906d1ee1e9840bbe27 (diff)
downloadlinux-5d476ca57d7d1fb6a5a39e46747bb2034190ee4a.tar.xz
KVM: arm64: nv: Add handling of range-based TLBI operations
We already support some form of range operation by handling FEAT_TTL, but so far the "arbitrary" range operations are unsupported. Let's fix that. For EL2 S1, this is simple enough: we just map both NSH, ISH and OSH instructions onto the ISH version for EL1. For TLBI instructions affecting EL1 S1, we use the same model as their non-range counterpart to invalidate in the context of the correct VMID. For TLBI instructions affecting S2, we interpret the data passed by the guest to compute the range and use that to tear-down part of the shadow S2 range and invalidate the TLBs. Finally, we advertise FEAT_TLBIRANGE if the host supports it. Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20240614144552.2773592-16-maz@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions