ppc/pnv: Extend the powernv10 machin
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest18 patches 5 repliesIn review
- v318 patches 16 repliesSuperseded
- v220 patches 4 repliesApplied
Changes in v4 from the cover letter
- rebased on upstream
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | ppc/xive2: Introduce a XIVE2 core frameworkhw/ hw/ include/ +1 more | +944 | 2 replies | |
| 2/18 | ppc/xive2: Introduce a presenter matching routinehw/ include/ | +91 | 0 replies | |
| 3/18 | ppc/pnv: Add a XIVE2 controller to the POWER10 chiphw/ hw/ hw/ +4 more | +2635 | 0 replies | |
| 4/18 | ppc/pnv: Add a OCC model for POWER10hw/ hw/ include/ +2 more | +32 | 0 replies | |
| 5/18 | ppc/pnv: Add POWER10 quadshw/ include/ | +43 | 0 replies | |
| 6/18 | ppc/pnv: Add model for POWER10 PHB5 PCIe Host bridgehw/ hw/ hw/ +3 more | +145 | 1 reply | |
| 7/18 | ppc/pnv: Add a HOMER model to POWER10hw/ hw/ include/ +2 more | +100 | 2 replies | |
| 8/18 | ppc/psi: Add support for StoreEOI and 64k ESB pages (POWER10)hw/ hw/ | +30 | 0 replies | |
| 9/18 | ppc/xive2: Add support for notification injection on ESB pageshw/ hw/ include/ | +20 | 0 replies | |
| 10/18 | ppc/xive: Add support for PQ state bits offloadhw/ hw/ hw/ +6 more | +199 | 0 replies | |
| 11/18 | ppc/pnv: Add support for PQ offload on PHB5hw/ hw/ include/ +1 more | +32 | 0 replies | |
| 12/18 | ppc/pnv: Add support for PHB5 "Address-based trigger" modehw/ hw/ include/ | +71 | 0 replies | |
| 13/18 | pnv/xive2: Introduce new capability bitshw/ hw/ | +7 | 0 replies | |
| 14/18 | ppc/pnv: add XIVE Gen2 TIMA supporthw/ hw/ include/ | +128 | 0 replies | |
| 15/18 | pnv/xive2: Add support XIVE2 P9-compat mode (or Gen1)hw/ hw/ | +23 | 0 replies | |
| 16/18 | xive2: Add a get_config() handler for the router configurationhw/ hw/ include/ | +28 | 0 replies | |
| 17/18 | pnv/xive2: Add support for automatic save&restorehw/ hw/ hw/ +2 more | +154 | 0 replies | |
| 18/18 | pnv/xive2: Add support for 8bits thread idhw/ hw/ include/ | +8 | 0 replies |
Reviews trailers per patch
17 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Henrique Barboza | David Gibson |
|---|---|---|
| 1/18 | R-b | |
| 2/18 | R-b | |
| 3/18 | R-b | |
| 4/18 | R-b | |
| 5/18 | ||
| 6/18 | R-b | |
| 7/18 | R-b | |
| 8/18 | R-b | |
| 9/18 | R-b | |
| 10/18 | R-b | |
| 11/18 | R-b | |
| 12/18 | R-b | |
| 13/18 | R-b | |
| 14/18 | R-b | |
| 15/18 | R-b | |
| 16/18 | R-b | |
| 17/18 | R-b | |
| 18/18 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/18] ppc/pnv: Extend the powernv10 machin
Hi,
The skiboot merged in QEMU already has POWER10 support. This series adds a minimum set of models (XIVE2, PHB5) to boot a baremetal POWER10 machine using the OpenPOWER firmware images.
The major change is the support for the interrupt controller of the POWER10 processor. XIVE2 is very much like XIVE on POWER9 but the register interface, the different MMIO regions, the XIVE internal descriptors have gone through a major cleanup. It was easier to duplicate the models then to try to adapt the current models.
XIVE2 adds new features. Only some are modeled :
- Address-based trigger (AB5) mode. Activated by default on the PHB5. When using ABT [1], the PHB5 offloads [2] all interrupt management on the IC, this to improve latency.
- P9 compat mode. XIVE2 can be configured to provide a strict P9 interface for the TIMA.
- Automatic save & restore of thread context registers. Used in
KVM [3].
- 8bits thread id. Mostly to validate the model.
Thanks,
C.
[1] https://github.com/open-power/skiboot/commit/2a7e3d203496a016cc90ce91eeb2c4e680ebd1d2
[2] https://github.com/open-power/skiboot/commit/5b2d7c79a2049c1bedfaa8a9dfa19880f980b2ef
[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5af0a978776
Changes in v4:
- rebased on upstream
Changes in v3:
- rebased on upstream
Changes in v2:
- Most comments on v1 have been addressed independently and merged
Cédric Le Goater (18):
ppc/xive2: Introduce a XIVE2 core framework ppc/xive2: Introduce a presenter matching routine ppc/pnv: Add a XIVE2 controller to the POWER10 chip ppc/pnv: Add a OCC model for POWER10
ppc/pnv: Add POWER10 quads
ppc/pnv: Add model for POWER10 PHB5 PCIe Host bridge ppc/pnv: Add a HOMER model to POWER10
ppc/psi: Add support for StoreEOI and 64k ESB pages (POWER10) ppc/xive2: Add support for notification injection on ESB pages ppc/xive: Add support for PQ state bits offload ppc/pnv: Add support for PQ offload on PHB5
ppc/pnv: Add support for PHB5 "Address-based trigger" mode pnv/xive2: Introduce new capability bits
ppc/pnv: add XIVE Gen2 TIMA support
pnv/xive2: Add support XIVE2 P9-compat mode (or Gen1)
xive2: Add a get_config() handler for the router configuration pnv/xive2: Add support for automatic save&restore pnv/xive2: Add support for 8bits thread id
hw/intc/pnv_xive2_regs.h | 442 ++++++ include/hw/pci-host/pnv_phb4.h | 12 + include/hw/pci-host/pnv_phb4_regs.h | 3 + include/hw/ppc/pnv.h | 39 + include/hw/ppc/pnv_homer.h | 3 + include/hw/ppc/pnv_occ.h | 2 + include/hw/ppc/pnv_xive.h | 71 + include/hw/ppc/pnv_xscom.h | 15 + include/hw/ppc/xive.h | 10 +- include/hw/ppc/xive2.h | 109 ++ include/hw/ppc/xive2_regs.h | 210 +++ hw/intc/pnv_xive.c | 37 +- hw/intc/pnv_xive2.c | 2128 +++++++++++++++++++++++++++ hw/intc/spapr_xive.c | 25 + hw/intc/xive.c | 77 +- hw/intc/xive2.c | 1018 +++++++++++++ hw/pci-host/pnv_phb4.c | 107 +- hw/pci-host/pnv_phb4_pec.c | 53 + hw/ppc/pnv.c | 222 ++- hw/ppc/pnv_homer.c | 64 + hw/ppc/pnv_occ.c | 16 + hw/ppc/pnv_psi.c | 38 +- hw/intc/meson.build | 4 +- hw/pci-host/trace-events | 2 + 24 files changed, 4666 insertions(+), 41 deletions(-) create mode 100644 hw/intc/pnv_xive2_regs.h create mode 100644 include/hw/ppc/xive2.h create mode 100644 include/hw/ppc/xive2_regs.h create mode 100644 hw/intc/pnv_xive2.c create mode 100644 hw/intc/xive2.c
Signature · 1 line
2.34.1