]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/pseries: Disable MSI using new interface if possible
authorNishanth Aravamudan <nacc@us.ibm.com>
Thu, 3 Mar 2011 15:41:02 +0000 (15:41 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Mar 2011 03:18:24 +0000 (14:18 +1100)
commit964a29962c278ddff8a199f23d7c9ef35152a0fe
treec9bcd5e09766ffb9ca043cea110a9e0ae5e735d7
parent17b9f9e2653a2eae3b7e1bb8a1f7f80f6edc3fe3
powerpc/pseries: Disable MSI using new interface if possible

On upcoming hardware, we have a PCI adapter with two functions, one of
which uses MSI and the other uses MSI-X. This adapter, when MSI is
disabled using the "old" firmware interface (RTAS_CHANGE_FN), still
signals an MSI-X interrupt and triggers an EEH. We are working with the
vendor to ensure that the hardware is not at fault, but if we use the
"new" interface (RTAS_CHANGE_MSI_FN) to disable MSI, we also
automatically disable MSI-X and the adapter does not appear to signal
any stray MSI-X interrupt.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Acked-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/msi.c