]> git.baikalelectronics.ru Git - kernel.git/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)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 24 Nov 2014 03:11:34 +0000 (14:11 +1100)
commitfbda95ac5c01d9d298e38432e19bfa1298144e28
tree3316842ffde3ced8f221a04b288f5a9dfc9ab29a
parent64eff3e91bbd6a93aed3762900fce1cc872ab3f8
PCI/MSI: Add device flag indicating that 64-bit MSIs don't work

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>
CC: <stable@vger.kernel.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c
include/linux/pci.h