OSDN Git Service

powerpc/pseries: Force 32 bit MSIs for devices that require it
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 3 May 2013 11:30:59 +0000 (11:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 5 May 2013 23:25:37 +0000 (09:25 +1000)
commite61133dda480062d221f09e4fc18f66763f8ecd0
treea18b4faf3b0126277173165565f3fa1be34f67bc
parentc2fd22df89365df9451d5b91da3b7bfd48122ecd
powerpc/pseries: Force 32 bit MSIs for devices that require it

The following patch implements a new PAPR change which allows
the OS to force the use of 32 bit MSIs, regardless of what
the PCI capabilities indicate. This is required for some
devices that advertise support for 64 bit MSIs but don't
actually support them.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/platforms/pseries/msi.c