diff options
author | Marc Zyngier <[email protected]> | 2024-06-14 15:45:43 +0100 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2024-06-19 08:14:37 +0000 |
commit | 8e236efa4cd2df8b270784a33d7e334933789f1a (patch) | |
tree | 2c90f19b82c0572125b11b23e6e177aa78358dab /tools/perf/util/trace-event-scripting.c | |
parent | 67fda56e76da4c4be9a8502d7211dbba024576d2 (diff) |
KVM: arm64: nv: Handle TLB invalidation targeting L2 stage-1
While dealing with TLB invalidation targeting the guest hypervisor's
own stage-1 was easy, doing the same thing for its own guests is
a bit more involved.
Since such an invalidation is scoped by VMID, it needs to apply to
all s2_mmu contexts that have been tagged by that VMID, irrespective
of the value of VTTBR_EL2.BADDR.
So for each s2_mmu context matching that VMID, we invalidate the
corresponding TLBs, each context having its own "physical" VMID.
Co-developed-by: Jintack Lim <[email protected]>
Co-developed-by: Christoffer Dall <[email protected]>
Signed-off-by: Jintack Lim <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions