[Skiboot] [PATCH v10 16/17] core/opal: Use PCI slot and new APIs for slot states
stewart at linux.vnet.ibm.com
Thu May 12 16:13:58 AEST 2016
Alistair Popple <alistair at popple.id.au> writes:
>> + rc = slot->ops.set_power_status(slot, *power_state);
> As we discussed offline there needs to be much better separation of the
> platform specific parts and the generic parts of setting the power state.
> At the moment the calls to update device tree, etc. are all in the platform
> specific code but they should really appear here as it will apply to all platforms
> that eventually support hotplug. The platform specific code should only deal with
> platform dependent functions such as actually removing power from the slots which
> is completely different on say an FSP system versus a non-FSP system.
My thought that is for P9 (as we can change ABI to kernel there :) we
could *always* hotplug - detect nothing before starting linux, just hotplug
it all in at runtime.
OPAL Architect, IBM.
More information about the Skiboot