Re: [PATCH 5/7] powerpc/pci: Add pci_find_hose_for_domain()

2019-02-08 Thread Oliver
On Fri, Feb 8, 2019 at 8:57 PM Michael Ellerman wrote: > > Oliver O'Halloran writes: > > diff --git a/arch/powerpc/include/asm/pci-bridge.h > > b/arch/powerpc/include/asm/pci-bridge.h > > index aee4fcc24990..149053b7f481 100644 > > --- a/arch/powerpc/include/asm/pci-bridge.h > > +++

Re: [PATCH 5/7] powerpc/pci: Add pci_find_hose_for_domain()

2019-02-08 Thread Michael Ellerman
Oliver O'Halloran writes: > diff --git a/arch/powerpc/include/asm/pci-bridge.h > b/arch/powerpc/include/asm/pci-bridge.h > index aee4fcc24990..149053b7f481 100644 > --- a/arch/powerpc/include/asm/pci-bridge.h > +++ b/arch/powerpc/include/asm/pci-bridge.h > @@ -274,6 +274,8 @@ extern int

[PATCH 5/7] powerpc/pci: Add pci_find_hose_for_domain()

2019-02-07 Thread Oliver O'Halloran
Add a helper to find the pci_controller structure based on the domain number / phb id. Signed-off-by: Oliver O'Halloran --- arch/powerpc/include/asm/pci-bridge.h | 2 ++ arch/powerpc/kernel/pci-common.c | 11 +++ 2 files changed, 13 insertions(+) diff --git