Re: [PATCH v5 1/2] PCI: Add pci_pr3_present() helper to check Power Resource for D3hot

2019-09-26 Thread Bjorn Helgaas
On Wed, Sep 25, 2019 at 07:43:53PM +0800, Kai-Heng Feng wrote: > Add pci_pr3_present() to check whether the platform supplies _PR3 to > tell us which power resources the device depends on when in D3hot. This > information is useful to let drivers choose different runtime suspend > behavior. A user

[PATCH v5 1/2] PCI: Add pci_pr3_present() helper to check Power Resource for D3hot

2019-09-25 Thread Kai-Heng Feng
Add pci_pr3_present() to check whether the platform supplies _PR3 to tell us which power resources the device depends on when in D3hot. This information is useful to let drivers choose different runtime suspend behavior. A user will be add in next patch. This is mostly the same as nouveau_pr3_pres