From: "Cédric Le Goater" <clg@kaod.org>
To: linuxppc-dev@lists.ozlabs.org
Cc: "Paul Mackerras" <paulus@samba.org>,
"Cédric Le Goater" <clg@kaod.org>,
kvm-ppc@vger.kernel.org
Subject: [PATCH 0/2] KVM: PPC: Book3S HV: XIVE: Improve guest entries and exits
Date: Tue, 20 Jul 2021 13:42:07 +0000 [thread overview]
Message-ID: <20210720134209.256133-1-clg@kaod.org> (raw)
The XIVE interrupt controller on P10 can automatically save and
restore the state of the interrupt registers under the internal NVP
structure representing the VCPU. This saves a costly store/load in
guest entries and exits.
Thanks,
C.
Cédric Le Goater (2):
KVM: PPC: Book3S HV: XIVE: Add a 'flags' field
KVM: PPC: Book3S HV: XIVE: Add support for automatic save-restore
arch/powerpc/include/asm/xive-regs.h | 3 ++
arch/powerpc/include/asm/xive.h | 1 +
arch/powerpc/kvm/book3s_xive.h | 11 +++++-
arch/powerpc/kvm/book3s_xive.c | 53 +++++++++++++++++++++------
arch/powerpc/kvm/book3s_xive_native.c | 21 ++++++++---
arch/powerpc/sysdev/xive/native.c | 10 +++++
6 files changed, 82 insertions(+), 17 deletions(-)
--
2.31.1
next reply other threads:[~2021-07-20 13:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 13:42 Cédric Le Goater [this message]
2021-07-20 13:42 ` [PATCH 1/2] KVM: PPC: Book3S HV: XIVE: Add a 'flags' field Cédric Le Goater
2021-07-20 13:42 ` [PATCH 2/2] KVM: PPC: Book3S HV: XIVE: Add support for automatic save-restore Cédric Le Goater
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=20210720134209.256133-1-clg@kaod.org \
--to=clg@kaod.org \
--cc=kvm-ppc@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=paulus@samba.org \
/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