[Skiboot] [PATCH v4 0/9] hwprobe patches

Nicholas Piggin npiggin at gmail.com
Fri Dec 17 13:36:38 AEDT 2021


Since v1:
- Rebased on upstream

Since v2:
- Fixed bug in deps traversal code that could cause some modules
  to not be probed.
- Tested and boots with little-endian patch on a P9.

Since v3:
- Rebased on upstream
- "Remove support for POWER8 DD1" was merged so it is gone from this
  series.
- Added Dan's R-B which I forgot to add from v1.

Thanks,
Nick

Nicholas Piggin (1):
  hw/slw: Move P8 bits behind CONFIG_P8

Stewart Smith (8):
  Introduce hwprobe facility to avoid hard-coding probe functions
  hwprobe: convert PHB, NPU, PAU subsystems to hwprobe
  Add CONFIG_P8 with PHB3 behind it
  hwprobe: convert vas_init(), nx_init()
  npu: move npu_set_fence_state() to phb_ops
  npu: Move npu.o and npu-hw-procedules.o under CONIFG_P8
  platforms: put P8 platforms behind CONFIG_P8
  npu: Add CONFIG_NPU to optionally skip NPU code

 Makefile                       |   4 +
 Makefile.main                  |  19 +++-
 core/Makefile.inc              |   1 +
 core/cpu.c                     |  11 ++-
 core/fast-reboot.c             |   2 +
 core/hmi.c                     |  12 ++-
 core/hwprobe.c                 |  70 +++++++++++++
 core/init.c                    |  20 +---
 core/platform.c                |   1 -
 hw/Makefile.inc                |  24 ++++-
 hw/npu.c                       |  11 ++-
 hw/npu2-common.c               |   7 +-
 hw/npu2.c                      |   1 +
 hw/nx.c                        |   2 +
 hw/pau.c                       |   3 +-
 hw/phb3.c                      |   4 +-
 hw/phb4.c                      |   4 +-
 hw/slw.c                       | 176 +++++++++++++++++----------------
 hw/vas.c                       |   2 +
 include/npu.h                  |   1 -
 include/npu2.h                 |   8 +-
 include/pci.h                  |   6 ++
 include/skiboot.h              |  44 +++++++--
 libpore/Makefile.inc           |   8 +-
 platforms/astbmc/Makefile.inc  |  23 +++--
 platforms/ibm-fsp/Makefile.inc |   7 +-
 skiboot.lds.S                  |   6 ++
 27 files changed, 338 insertions(+), 139 deletions(-)
 create mode 100644 core/hwprobe.c

-- 
2.23.0



More information about the Skiboot mailing list