[Skiboot] [PATCH v3 00/17] xive/p9: fixes and cleanups

Cédric Le Goater clg at kaod.org
Tue Oct 1 16:59:45 AEST 2019


Hello,

This series prepares ground for the P10 XIVE driver which has a
different HW interface. Follows cleanups and fixes.

Thanks,

C.

Changes since v2:

 - introduced definitions for well known priorities
 - dropped the backend framework. It did not seem necessary after a
   rework of the P10 driver

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: 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: introduce definitions for priorities
  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 | 391 ++++++++++++++++++++++++++++++++++
 include/xive-regs.h    | 108 ++++++++++
 include/xive.h         | 472 +----------------------------------------
 core/fast-reboot.c     |   2 +-
 hw/phb4.c              |   1 +
 hw/slw.c               |   1 +
 hw/xive.c              | 454 +++++++--------------------------------
 10 files changed, 588 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