]> git.hungrycats.org Git - linux/commit
PCI/MSI: Add device flag indicating that 64-bit MSIs don't work
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 3 Oct 2014 05:13:24 +0000 (15:13 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Dec 2014 23:57:18 +0000 (15:57 -0800)
commitb1abe707d14ef7d7557f9b671d9709941cd4810a
tree89a9cb53f8531b5586fec83cbfbf4d665b2e6dbe
parent10c05a2788c4ccf2ce9d208ef999bfe323027807
PCI/MSI: Add device flag indicating that 64-bit MSIs don't work

commit f144d1496b47e7450f41b767d0d91c724c2198bc upstream.

This can be set by quirks/drivers to be used by the architecture code
that assigns the MSI addresses.

We additionally add verification in the core MSI code that the values
assigned by the architecture do satisfy the limitation in order to fail
gracefully if they don't (ie. the arch hasn't been updated to deal with
that quirk yet).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/msi.c
include/linux/pci.h