[Skiboot] [PATCH v11 22/23] core/opal: Extend opal_pci_set_power_state()

Andrew Donnellan andrew.donnellan at au1.ibm.com
Wed Jun 8 17:59:44 AEST 2016

On 08/06/16 17:34, Stewart Smith wrote:
> I guess the reason that you want to offline then online rather than just
> rescan is that you may need to update what's on the card while it's
> offline? Except that the card will be offline... so not sure how that
> would work?
> Why not a RESCAN rather than OFFLINE/ONLINE pair?

Right now, I'd be quite happy with a RESCAN rather than OFFLINE/ONLINE - 
my current cxl driver code is switch-to-CAPI-mode -> OFFLINE -> ONLINE. 
I think this option was mentioned in our in-person discussions about how 
this should work. I can't personally think of a usecase where the 
OFFLINE/ONLINE pair is more useful, though Gavin may have other thoughts 


Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited

More information about the Skiboot mailing list