[PW_SID:1139447] riscv: KVM: Flush VS-stage stale entries - #2403
[PW_SID:1139447] riscv: KVM: Flush VS-stage stale entries#2403linux-riscv-bot wants to merge 2 commits into
Conversation
When a vCPU migrates to a different host CPU, the new CPU may retain stale VS-stage TLB entries (GVA → GPA) left by a previous run of the same guest. Issue an HFENCE.VVMA (all ASIDs, all addresses) inside kvm_riscv_mmu_update_hgatp() whenever the vCPU is loaded on a CPU different from the one it last exited on. Signed-off-by: Guo Ren (Alibaba DAMO Academy) <guoren@kernel.org> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
|
Patch 1: "riscv: KVM: Flush VS-stage stale entries" |
abf8962 to
9fa746d
Compare
PR for series 1139447 applied to workflow__riscv__fixes
Name: riscv: KVM: Flush VS-stage stale entries
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1139447
Version: 1