From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Tue, 20 Jul 2021 13:42:07 +0000 Subject: [PATCH 0/2] KVM: PPC: Book3S HV: XIVE: Improve guest entries and exits Message-Id: <20210720134209.256133-1-clg@kaod.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linuxppc-dev@lists.ozlabs.org Cc: Paul Mackerras , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , kvm-ppc@vger.kernel.org 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.=20 C=C3=A9dric 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(-) --=20 2.31.1