Skip to content

ppc/xive: Add support for PQ state bits offload

Cédric Le Goater qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ppc/xive: export PQ routineshw/intc/spapr_xive_kvm.c hw/intc/xive.c include/hw/ppc/xive.h+11 -70 replies
2/2ppc/xive: Add support for PQ state bits offloadhw/intc/pnv_xive.c hw/intc/xive.c hw/pci-host/pnv_phb4.c +2 more+94 -162 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchGreg Kurz
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] ppc/xive: Add support for PQ state bits offload

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(-)
Signature · 1 line
2.21.1