]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Sat, 6 Dec 2014 14:14:51 +0000 (15:14 +0100)
commit5545f8b0fca9fa9efe65d8084dbb536aebabdb61
tree011c6e3d8c39d499a0346a432afe56ba9b6b3899
parentc50db3a5b930ef107cf6df611e729032e69de350
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: Jiri Slaby <jslaby@suse.cz>
drivers/pci/msi.c
include/linux/pci.h