]> 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)
commit09ea11452a590f9d29e504e0630036ff35a2074c
tree3316842ffde3ced8f221a04b288f5a9dfc9ab29a
parentfc67b9fc5bcb2ce50dd82d5ca0130806dcd43160
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