Re: [PATCH 3/8] powerpc/powernv: Export functions to retrieve slot status

2014-11-25 Thread Gavin Shan
On Wed, Nov 26, 2014 at 10:00:33AM +1100, Benjamin Herrenschmidt wrote: >On Tue, 2014-11-25 at 09:49 +1100, Gavin Shan wrote: >> The patch exports two functions, which base on corresponding OPAL >> APIs to retrieve PCI slot status: >> >>pnv_pci_get_power_status() opal_pci_get_power_status(

Re: [PATCH 3/8] powerpc/powernv: Export functions to retrieve slot status

2014-11-25 Thread Benjamin Herrenschmidt
On Tue, 2014-11-25 at 09:49 +1100, Gavin Shan wrote: > The patch exports two functions, which base on corresponding OPAL > APIs to retrieve PCI slot status: > >pnv_pci_get_power_status() opal_pci_get_power_status() >pnv_pci_get_presence_status() opal_pci_get_presence_status() > > Sig

[PATCH 3/8] powerpc/powernv: Export functions to retrieve slot status

2014-11-24 Thread Gavin Shan
The patch exports two functions, which base on corresponding OPAL APIs to retrieve PCI slot status: pnv_pci_get_power_status() opal_pci_get_power_status() pnv_pci_get_presence_status() opal_pci_get_presence_status() Signed-off-by: Gavin Shan --- arch/powerpc/include/asm/opal.h