linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: PPC: Book3S HV: XIVE: Improve guest entries and exits
@ 2021-07-20 13:42 Cédric Le Goater
  2021-07-20 13:42 ` [PATCH 1/2] KVM: PPC: Book3S HV: XIVE: Add a 'flags' field Cédric Le Goater
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Cédric Le Goater @ 2021-07-20 13:42 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Paul Mackerras, Cédric Le Goater, kvm-ppc

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-18 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 13:42 [PATCH 0/2] KVM: PPC: Book3S HV: XIVE: Improve guest entries and exits Cédric Le Goater
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
2021-08-18 13:38 ` [PATCH 0/2] KVM: PPC: Book3S HV: XIVE: Improve guest entries and exits Michael Ellerman

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).