]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Check PHB type in advance
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 12 Nov 2014 02:36:04 +0000 (13:36 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 14 Nov 2014 06:24:22 +0000 (17:24 +1100)
commit518c5dc2fc52af39631fd33c3c48cedc2eb5e712
treedf19f1e91e864ead25bb3ca3d275ad44c4d52c07
parentbb4837531354864370a38cbe285f251045818b19
powerpc/powernv: Check PHB type in advance

The patch checks PHB type a bit early to save a bit cycles
for P7 because we don't support M64 for P7IOC no matter what
OPAL firmware we have.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c