]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Fix early pci_controller_ops loading.
authorDaniel Axtens <dja@axtens.net>
Mon, 27 Apr 2015 02:33:51 +0000 (12:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Apr 2015 09:43:58 +0000 (19:43 +1000)
commite2b2107b9a7813e1fa71bbae3d99a86603571422
tree0db0b615b405a7405dff852d1d311025c1af2ea5
parent25f468ab2b684930227162c103e0166db73170db
powerpc/powernv: Fix early pci_controller_ops loading.

Load the PowerNV platform pci controller ops into pci controllers
after all the operations are loaded into the platform ops struct, not
before.

Otherwise we aren't actually setting the ops properly which can break
IO for some devices.

Fixes: ef4092e5c ("powerpc/powernv: Move controller ops from ppc_md to controller_ops")
Reported-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c