powerpc/powernv: Set correct configuration space size for opencapi devices
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Tue, 23 Jan 2018 11:31:37 +0000 (12:31 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Jan 2018 00:42:56 +0000 (11:42 +1100)
commit228c2f4103788ba2a8df636f383ec2df33b47b73
tree5916dc946302c635cc163849171398a150b1ebd2
parent7f2c39e91f61fcd2abed3b39c14e7037c060c6f1
powerpc/powernv: Set correct configuration space size for opencapi devices

The configuration space for opencapi devices doesn't have a PCI
Express capability, therefore confusing linux in thinking it's of an
old PCI type with a 256-byte configuration space size, instead of the
desired 4k. So add a PCI fixup to declare the correct size.

Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c