[Skiboot] [PATCH 0/7] Modularize hardware probing

Dan Horák dan at danny.cz
Mon Jan 25 20:03:33 AEDT 2021


On Sun, 24 Jan 2021 16:57:59 -0800
Stewart Smith <stewart at flamingspork.com> wrote:

> This patch set starts to make probing of hardware a bit more modular and
> configurable.
> 
> With all the new options enabled, this can save a further 61kb on top of
> what CONFIG_FSP=0 already gets you, which in total can now get a 114kb
> smaller skiboot.lid.xz (382kb vs 496kb).

no review yet, but I like it :-)


	Thanks,

		Dan
 
> Stewart Smith (7):
>   Add hwprobe: no longer hard code probe order
>   Add CONFIG_P8 with phb3 behind it
>   hwprobe: vas_init(), nx_init(), imc_init()
>   Move npu_set_fence_state() to phb_ops
>   Move npu.o and npu-hw-procedules.o under CONIFG_P8
>   platforms: put P8 platforms behind CONFIG_P8
>   Add CONFIG_NPU to optionally skip NPU code
> 
>  Makefile                      |  4 ++
>  Makefile.main                 | 11 +++++-
>  core/Makefile.inc             |  1 +
>  core/hmi.c                    |  4 +-
>  core/hwprobe.c                | 70 +++++++++++++++++++++++++++++++++++
>  core/init.c                   | 21 +----------
>  core/platform.c               |  1 -
>  hw/Makefile.inc               | 20 +++++++---
>  hw/imc.c                      |  6 +++
>  hw/npu.c                      | 15 +++++++-
>  hw/npu2-common.c              |  8 ++++
>  hw/npu2.c                     |  1 +
>  hw/npu3.c                     |  8 ++++
>  hw/nx.c                       |  8 ++++
>  hw/phb3.c                     |  6 ++-
>  hw/phb4.c                     |  6 +++
>  hw/vas.c                      |  6 +++
>  include/npu.h                 |  1 -
>  include/pci.h                 |  6 +++
>  include/skiboot.h             | 29 ++++++++++++++-
>  platforms/astbmc/Makefile.inc | 22 ++++++++---
>  skiboot.lds.S                 |  6 +++
>  22 files changed, 221 insertions(+), 39 deletions(-)
>  create mode 100644 core/hwprobe.c
> 
> -- 
> 2.29.2
> 
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot


More information about the Skiboot mailing list