[Skiboot] [PATCH] BMC/PCI: Check slot tables against detected devices
Stewart Smith
stewart at linux.vnet.ibm.com
Tue Dec 13 16:35:21 AEDT 2016
Stewart Smith <stewart at linux.vnet.ibm.com> writes:
> On BMC machines, we have slot tables of built in PHBs, slots and devices
> that are physically present in the system (such as the BMC itself). We
> can use these tables to check what we *detected* against what *should*
> be in the system and throw an error if they differ.
>
> We have seen this occur a couple of times while still booting, giving the
> user just an empty petitboot screen and not much else to go on. This
> patch helps in that we get a skiboot error message, and at some point
> in the future when we pump them up to the OS we could get a big friendly
> error message telling you you're having a bad day.
>
> Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
> ---
> platforms/astbmc/astbmc.h | 1 +
> platforms/astbmc/firestone.c | 1 +
> platforms/astbmc/garrison.c | 1 +
> platforms/astbmc/habanero.c | 1 +
> platforms/astbmc/p8dtu.c | 2 +
> platforms/astbmc/slots.c | 87 ++++++++++++++++++++++++++++++++++++++++++++
> 6 files changed, 93 insertions(+)
Merged to master (with the addition of barreleye) as of 4a6d1a7.
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list