[Skiboot] [PATCH v3 00/10] hwprobe patches
Nicholas Piggin
npiggin at gmail.com
Wed Aug 11 15:46:51 AEST 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.
Nicholas Piggin (2):
Remove support for POWER8 DD1
hw/slw: Move P8 bits behind CONFIG_P8
Stewart Smith (8):
Introduce hwprobe facility to avoid hard-coding probe functions
hwprobe: convert PHB, NPU 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 | 30 +-
core/fast-reboot.c | 2 +
core/hmi.c | 12 +-
core/hwprobe.c | 70 +++++
core/init.c | 18 +-
core/platform.c | 1 -
hw/Makefile.inc | 20 +-
hw/npu.c | 9 +-
hw/npu2-common.c | 2 +
hw/npu2.c | 1 +
hw/npu3.c | 2 +
hw/nx.c | 2 +
hw/phb3.c | 2 +-
hw/phb4.c | 2 +
hw/slw.c | 491 ++++++---------------------------
hw/vas.c | 2 +
include/npu.h | 1 -
include/npu2.h | 6 +
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, 330 insertions(+), 461 deletions(-)
create mode 100644 core/hwprobe.c
--
2.23.0
More information about the Skiboot
mailing list