summaryrefslogtreecommitdiffstats
path: root/asm/head.S
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-04-24 05:02:35 -0500
committerStewart Smith <stewart@linux.ibm.com>2018-04-24 05:02:35 -0500
commitd32ddea94ba6299a28649a40ccff53c4a4176eb3 (patch)
tree0bca19b8afa760616a40948c1c2c2900aff902ef /asm/head.S
parent376b5e3b26e05f78ac4ed1a59c5b9f3d9e66716f (diff)
downloadtalos-skiboot-d32ddea94ba6299a28649a40ccff53c4a4176eb3.tar.gz
talos-skiboot-d32ddea94ba6299a28649a40ccff53c4a4176eb3.zip
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/head.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud