Re: [PATCH 07/15] powerpc/powerpc: Add new PCIe functions for allocating cxl interrupts

2014-09-21 Thread Michael Neuling
> >+struct device_node *pnv_pci_to_phb_node(struct pci_dev *dev) > >+{ > >+struct device_node *np; > >+struct property *prop = NULL; > >+ > >+np = of_node_get(pci_device_to_OF_node(dev)); > >+ > >+/* Scan up the tree looking for the PHB node */ > >+while (np) { > >+

Re: [PATCH 07/15] powerpc/powerpc: Add new PCIe functions for allocating cxl interrupts

2014-09-19 Thread Gavin Shan
On Thu, Sep 18, 2014 at 06:26:52PM +1000, Michael Neuling wrote: >From: Ian Munsie > >This adds a number of functions for allocating IRQs under powernv PCIe for cxl. > >Signed-off-by: Ian Munsie >Signed-off-by: Michael Neuling >--- > arch/powerpc/include/asm/pnv-pci.h| 27 + > arch/p

[PATCH 07/15] powerpc/powerpc: Add new PCIe functions for allocating cxl interrupts

2014-09-18 Thread Michael Neuling
From: Ian Munsie This adds a number of functions for allocating IRQs under powernv PCIe for cxl. Signed-off-by: Ian Munsie Signed-off-by: Michael Neuling --- arch/powerpc/include/asm/pnv-pci.h| 27 + arch/powerpc/platforms/powernv/pci-ioda.c | 186 ++