[Skiboot] [PATCH v2 00/17] xive: new interfaces, fixes and cleanups

Cédric Le Goater clg at kaod.org
Fri Sep 13 03:22:01 AEST 2019


Hello,

This series defines the high level XIVE interface for other drivers
using interrupts in OPAL : PHBs, PSI, NPU, and an operation backend to
prepare ground for the new processors and drivers (P10). The first use
of this backend is for the current P9 driver. Follows cleanups and
fixes.

The P10 driver is based on top of these new interfaces.

Thanks,

C.

Changes since v1:

 - rebased on top of Oliver's fixes for P9P
 - did not introduce a new driver for P9
 - removed the XICS emulation removal

Cédric Le Goater (17):
  xive/p9: introduce header files for the registers
  xive/p9: minor cleanup of the interface
  xive/p9: use MMIO access for VC_EQC_CONFIG
  xive/p9: introduce an operation backend for current and new drivers
  xive/p9: remove code not using indirect mode
  xive/p9: remove code not using block group mode
  xive/p9: remove dead code
  xive/p9: obsolete OPAL_XIVE_IRQ_*_VIA_FW flags
  xive/p9: obsolete OPAL_XIVE_IRQ_SHIFT_BUG flags
  xive/p9: fix EQ bitmap assignment when allocation fails
  xive/p9: fix silent escalation EQ setup
  xive/p9: cleanup all EQs when a VP block is freed.
  xive/p9: remove ACK# setting in the NVT
  xive/p9: introduce NVT_SHIFT
  xive/p9: remove XIVE_INT_SAFETY_GAP
  xive/p9: use predefined bitmasks to manipulate EQ addresses
  xive/p9: introduce the ESB magic MMIO offsets

 include/interrupts.h   |   1 -
 include/opal-api.h     |   6 +-
 include/skiboot.h      |   1 -
 include/xive-p9-regs.h | 399 ++++++++++++++++++++++++++++++
 include/xive-regs.h    | 115 +++++++++
 include/xive.h         | 489 +++---------------------------------
 core/fast-reboot.c     |   2 +-
 hw/phb4.c              |   1 +
 hw/slw.c               |   1 +
 hw/xive.c              | 547 ++++++++++++-----------------------------
 10 files changed, 713 insertions(+), 849 deletions(-)
 create mode 100644 include/xive-p9-regs.h
 create mode 100644 include/xive-regs.h

-- 
2.21.0



More information about the Skiboot mailing list