Enable async page faults on s390
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 5 repliesIn review
- v34 patches 13 repliesSuperseded
- v2 RFC4 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 4 patches | 1 reply | Superseded |
Changes in v4 from the cover letter
- Change "done" interrupts from local to floating
- Add a comment for clarification
- Change KVM_HAVE_ERR_BAD to move s390 implementation to s390 backend
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | PF: Add FAULT_FLAG_RETRY_NOWAIT for guest faultarch/ arch/ arch/ +1 more | +38 | 0 replies | |
| 2/4 | PF: Make KVM_HVA_ERR_BAD usable on s390arch/ include/ | +16 | 0 replies | |
| 3/4 | PF: Provide additional direct page notificationarch/ include/ virt/ +1 more | +25 | 0 replies | |
| 4/4 | PF: Async page fault support on s390Documentation/ arch/ arch/ +8 more | +276 | 5 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Christian Borntraeger |
|---|---|
| 1/4 | A-b |
| 2/4 | |
| 3/4 | A-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/4] Enable async page faults on s390
Gleb, Paolo,
based on the work from Martin and Carsten, this implementation enables async page faults. To the guest it will provide the pfault interface, but internally it uses the async page fault common code.
The inital submission and it's discussion can be followed on http://www.mail-archive.com/[email protected]/msg63359.html .
There is a slight modification for common code to move from a pull to a push based approch on s390. As s390 we don't want to wait till we leave the guest state to queue the notification interrupts.
To use this feature the controlling userspace hase to enable the capability. With that knob we can later on disable this feature for live migration.
v3 -> v4
- Change "done" interrupts from local to floating
- Add a comment for clarification
- Change KVM_HAVE_ERR_BAD to move s390 implementation to s390 backend
v2 -> v3
- Reworked the architecture specific parts, to only provide on addtional implementation
- Renamed function to kvm_async_page_present_(sync|async)
- Fixing KVM_HVA_ERR_BAD handling
v1 -> v2:
- Adding other architecture backends
- Adding documentation for the ioctl
- Improving the overall error handling
- Reducing the needed modifications on the common code
Dominik Dingel (4):
PF: Add FAULT_FLAG_RETRY_NOWAIT for guest fault
PF: Make KVM_HVA_ERR_BAD usable on s390
PF: Provide additional direct page notification
PF: Async page fault support on s390
Documentation/s390/kvm.txt | 24 ++++++++ arch/s390/include/asm/kvm_host.h | 30 ++++++++++ arch/s390/include/asm/pgtable.h | 2 + arch/s390/include/asm/processor.h | 1 + arch/s390/include/uapi/asm/kvm.h | 10 ++++ arch/s390/kvm/Kconfig | 2 + arch/s390/kvm/Makefile | 2 +- arch/s390/kvm/diag.c | 63 ++++++++++++++++++++ arch/s390/kvm/interrupt.c | 43 +++++++++++--- arch/s390/kvm/kvm-s390.c | 118 ++++++++++++++++++++++++++++++++++++++ arch/s390/kvm/kvm-s390.h | 4 ++ arch/s390/kvm/sigp.c | 6 ++ arch/s390/mm/fault.c | 26 +++++++-- arch/x86/kvm/mmu.c | 2 +- include/linux/kvm_host.h | 10 +++- include/uapi/linux/kvm.h | 2 + virt/kvm/Kconfig | 4 ++ virt/kvm/async_pf.c | 22 ++++++- 18 files changed, 354 insertions(+), 17 deletions(-)
Signature · 7 lines
1.8.2.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>