[PATCH] powerpc/powernv: retrieve m64_bar_idx from device node

2015-10-21 Thread Wei Yang
Count of M64 BAR would differ with the evolution of hardware. This patch retieves this count from device node instead of a hard coded value. Signed-off-by: Wei Yang --- arch/powerpc/platforms/powernv/pci-ioda.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/power

Re: [PATCH] powerpc/powernv: retrieve m64_bar_idx from device node

2015-10-21 Thread Michael Ellerman
On Wed, 2015-10-21 at 15:17 +0800, Wei Yang wrote: > Count of M64 BAR would differ with the evolution of hardware. > > This patch retieves this count from device node instead of a hard coded > value. > > Signed-off-by: Wei Yang > --- > arch/powerpc/platforms/powernv/pci-ioda.c | 7 ++- > 1

Re: [PATCH] powerpc/powernv: retrieve m64_bar_idx from device node

2015-10-21 Thread Wei Yang
On Wed, Oct 21, 2015 at 06:52:51PM +1100, Michael Ellerman wrote: >On Wed, 2015-10-21 at 15:17 +0800, Wei Yang wrote: > >> Count of M64 BAR would differ with the evolution of hardware. >> >> This patch retieves this count from device node instead of a hard coded >> value. >> >> Signed-off-by: Wei