aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2021-09-27 17:10:08 +0530
committerAnup Patel <[email protected]>2021-10-04 16:01:04 +0530
commitfd7bb4a251dfc1da3496bf59a4793937c13e8c1f (patch)
treee973bf89d33068885ec7d4f4d9c91322a25fe66a /scripts/gdb/linux/clk.py
parent5a5d79acd7daebeb813a7c0654ca91c5ea7c228e (diff)
RISC-V: KVM: Implement VMID allocator
We implement a simple VMID allocator for Guests/VMs which: 1. Detects number of VMID bits at boot-time 2. Uses atomic number to track VMID version and increments VMID version whenever we run-out of VMIDs 3. Flushes Guest TLBs on all host CPUs whenever we run-out of VMIDs 4. Force updates HW Stage2 VMID for each Guest VCPU whenever VMID changes using VCPU request KVM_REQ_UPDATE_HGATP Signed-off-by: Anup Patel <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Reviewed-by: Alexander Graf <[email protected]> Acked-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions