diff options
author | Anup Patel <[email protected]> | 2022-05-09 10:44:11 +0530 |
---|---|---|
committer | Anup Patel <[email protected]> | 2022-05-20 09:09:18 +0530 |
commit | 92e450507d5612d399d0abee8447305a43a412cc (patch) | |
tree | 61378ba67bac1ee1f7483ed51213f409f2322bd4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 13acfec2dbccfafff3331a3810cd7dde2fb16891 (diff) |
RISC-V: KVM: Cleanup stale TLB entries when host CPU changes
On RISC-V platforms with hardware VMID support, we share same
VMID for all VCPUs of a particular Guest/VM. This means we might
have stale G-stage TLB entries on the current Host CPU due to
some other VCPU of the same Guest which ran previously on the
current Host CPU.
To cleanup stale TLB entries, we simply flush all G-stage TLB
entries by VMID whenever underlying Host CPU changes for a VCPU.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions