ppc/xive: Add support for PQ state bits offload
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v12 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ppc/xive: export PQ routineshw/ hw/ include/ | +11 | 0 replies | |
| 2/2 | ppc/xive: Add support for PQ state bits offloadhw/ hw/ hw/ +2 more | +94 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Greg Kurz |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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