From: Dominik Dingel <dingel@linux.vnet.ibm.com>
To: Gleb Natapov <gleb@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Xiantao Zhang <xiantao.zhang@intel.com>,
Alexander Graf <agraf@suse.de>,
Christoffer Dall <christoffer.dall@linaro.org>,
Marc Zyngier <marc.zyngier@arm.com>,
Ralf Baechle <ralf@linux-mips.org>,
kvm@vger.kernel.org, linux-s390@vger.kernel.org,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Dominik Dingel <dingel@linux.vnet.ibm.com>
Subject: [RFC PATCH v2 0/4] Enable async page faults on s390
Date: Fri, 5 Jul 2013 22:55:50 +0200 [thread overview]
Message-ID: <1373057754-59225-1-git-send-email-dingel@linux.vnet.ibm.com> (raw)
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/kvm@vger.kernel.org/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.
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: Move architecture specifics to the backends
PF: Provide additional direct page notification
PF: Async page fault support on s390
Documentation/s390/kvm.txt | 24 ++++++++
arch/arm/include/asm/kvm_host.h | 8 +++
arch/ia64/include/asm/kvm_host.h | 3 +
arch/mips/include/asm/kvm_host.h | 6 ++
arch/powerpc/include/asm/kvm_host.h | 8 +++
arch/s390/include/asm/kvm_host.h | 34 +++++++++++
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 | 57 ++++++++++++++++++
arch/s390/kvm/interrupt.c | 38 +++++++++---
arch/s390/kvm/kvm-s390.c | 111 ++++++++++++++++++++++++++++++++++++
arch/s390/kvm/kvm-s390.h | 4 ++
arch/s390/kvm/sigp.c | 2 +
arch/s390/mm/fault.c | 26 +++++++--
arch/x86/include/asm/kvm_host.h | 8 +++
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 ++++++-
23 files changed, 361 insertions(+), 25 deletions(-)
--
1.8.2.2
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2013-07-05 20:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-05 20:55 Dominik Dingel [this message]
2013-07-05 20:55 ` [PATCH 1/4] PF: Add FAULT_FLAG_RETRY_NOWAIT for guest fault Dominik Dingel
2013-07-05 20:55 ` [PATCH 2/4] PF: Move architecture specifics to the backends Dominik Dingel
2013-07-07 9:20 ` Gleb Natapov
2013-07-05 20:55 ` [PATCH 3/4] PF: Provide additional direct page notification Dominik Dingel
2013-07-07 9:28 ` Gleb Natapov
2013-07-05 20:55 ` [PATCH 4/4] PF: Async page fault support on s390 Dominik Dingel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1373057754-59225-1-git-send-email-dingel@linux.vnet.ibm.com \
--to=dingel@linux.vnet.ibm.com \
--cc=agraf@suse.de \
--cc=borntraeger@de.ibm.com \
--cc=christoffer.dall@linaro.org \
--cc=gleb@redhat.com \
--cc=heiko.carstens@de.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-s390@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=pbonzini@redhat.com \
--cc=ralf@linux-mips.org \
--cc=schwidefsky@de.ibm.com \
--cc=xiantao.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).