qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ppc/xive: Add support for PQ state bits offload
@ 2020-04-01 16:46 Cédric Le Goater
  2020-04-01 16:46 ` [PATCH v2 1/2] ppc/xive: export PQ routines Cédric Le Goater
  2020-04-01 16:46 ` [PATCH v2 2/2] ppc/xive: Add support for PQ state bits offload Cédric Le Goater
  0 siblings, 2 replies; 5+ messages in thread
From: Cédric Le Goater @ 2020-04-01 16:46 UTC (permalink / raw)
  To: David Gibson; +Cc: Cédric Le Goater, qemu-ppc, Greg Kurz, qemu-devel

Hello,

When the XIVE router unit receives a trigger message coming from a HW
source, it contains a special bit informing the XIVE interrupt
controller that the PQ bits have been checked at the source or
not. Depending on the value, the IC can perform the check and the
state transition locally using its own PQ state bits.

The following changes add new accessors to the XiveRouter required to
query and update the PQ state bits. This is only applies to the
PowerNV machine, sPAPR is not concerned by such complex configuration.
We will use it for upcoming features offloading event coalescing on
the interrupt controller.

Thanks,

C.

Cédric Le Goater (2):
  ppc/xive: export PQ routines
  ppc/xive: Add support for PQ state bits offload

 include/hw/ppc/xive.h    | 12 +++++++--
 hw/intc/pnv_xive.c       | 37 ++++++++++++++++++++++++---
 hw/intc/spapr_xive_kvm.c |  8 +++---
 hw/intc/xive.c           | 54 ++++++++++++++++++++++++++++++++--------
 hw/pci-host/pnv_phb4.c   |  9 +++++--
 hw/ppc/pnv_psi.c         |  8 ++++--
 6 files changed, 105 insertions(+), 23 deletions(-)

-- 
2.21.1



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

end of thread, other threads:[~2020-05-25 10:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-01 16:46 [PATCH v2 0/2] ppc/xive: Add support for PQ state bits offload Cédric Le Goater
2020-04-01 16:46 ` [PATCH v2 1/2] ppc/xive: export PQ routines Cédric Le Goater
2020-04-01 16:46 ` [PATCH v2 2/2] ppc/xive: Add support for PQ state bits offload Cédric Le Goater
2020-04-02 10:51   ` Greg Kurz
2020-05-25 10:04     ` Cédric Le Goater

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