diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2018-04-24 05:02:35 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-24 05:02:35 -0500 |
commit | d32ddea94ba6299a28649a40ccff53c4a4176eb3 (patch) | |
tree | 0bca19b8afa760616a40948c1c2c2900aff902ef /asm | |
parent | 376b5e3b26e05f78ac4ed1a59c5b9f3d9e66716f (diff) | |
download | skiboot-d32ddea94ba6299a28649a40ccff53c4a4176eb3.zip skiboot-d32ddea94ba6299a28649a40ccff53c4a4176eb3.tar.gz skiboot-d32ddea94ba6299a28649a40ccff53c4a4176eb3.tar.bz2 |
p9dsu: detect p9dsu variant even when hostboot doesn't tell us
The SuperMicro BMC can tell us what riser type we have, which dictates
the PCI slot tables. Usually, in an environment that a customer would
experience, Hostboot will do the query with an SMC specific patch
(not upstream as there's no platform specific code in hostboot)
and skiboot knows what variant it is based on the compatible string.
However, if you're using upstream hostboot, you only get the bare
'p9dsu' compatible type. We can work around this by asking the BMC
ourselves and setting the slot table appropriately. We do this
syncronously in platform init so that we don't start probing
PCI before we setup the slot table.
This adds a bit of funky logic in the p9dsu platform file, but on
the whole makes things simpler.
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'asm')
0 files changed, 0 insertions, 0 deletions