RFC flush/invalidate on entry/exit
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | kvm: promote KVM_MEMSLOT_INCOHERENT to uapiarch/ include/ include/ | +8 | 0 replies | |
| 2/6 | KVM: Introduce incoherent cache maintenance APIinclude/ virt/ | +58 | 0 replies | |
| 3/6 | KVM: ARM: change __coherent_cache_guest_page interfacearch/ arch/ arch/ | +7 | 0 replies | |
| 4/6 | KVM: ARM: extend __coherent_cache_guest_pagearch/ arch/ arch/ | +11 | 0 replies | |
| 5/6 | KVM: ARM: implement kvm_*_incoherent_memory_regionsarch/ arch/ arch/ +1 more | +60 | 0 replies | |
| 6/6 | KVM: ARM: no need for kvm_arch_flush_incoherentarch/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/6] flush/invalidate on entry/exit
Userspace flags memory regions as incoherent and kvm flushes/ invalidates those regions on entry/exit from userspace.
Result before patch 6/6: restores coherency, waaaaay toooo sloooooow Result with patch 6/6: fast again - well, we removed the code...
Andrew Jones (6):
kvm: promote KVM_MEMSLOT_INCOHERENT to uapi
KVM: Introduce incoherent cache maintenance API
KVM: ARM: change __coherent_cache_guest_page interface
KVM: ARM: extend __coherent_cache_guest_page
KVM: ARM: implement kvm_*_incoherent_memory_regions
KVM: ARM: no need for kvm_arch_flush_incoherent
arch/arm/include/asm/kvm_mmu.h | 12 +++---- arch/arm/include/uapi/asm/kvm.h | 1 + arch/arm/kvm/arm.c | 4 +++ arch/arm/kvm/mmu.c | 72 +++++++++++++++++++++++++++++++++++++-- arch/arm64/include/asm/kvm_mmu.h | 12 ++++--- arch/arm64/include/uapi/asm/kvm.h | 1 + include/linux/kvm_host.h | 15 +++++++- include/uapi/linux/kvm.h | 1 + virt/kvm/kvm_main.c | 45 +++++++++++++++++++++++- 9 files changed, 147 insertions(+), 16 deletions(-)
Signature · 1 line
1.8.3.1