]> git.baikalelectronics.ru Git - kernel.git/commit
gpu/radeon: Set flag to indicate broken 64-bit MSI
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 3 Oct 2014 05:18:59 +0000 (15:18 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 24 Nov 2014 03:12:56 +0000 (14:12 +1100)
commit205beba0de04e4506656c434ea11f375884d1ce6
tree3162b6a352f30e157dc10ce5fd0ad98775cc1608
parent09ea11452a590f9d29e504e0630036ff35a2074c
gpu/radeon: Set flag to indicate broken 64-bit MSI

Some radeon ASICs don't support all 64 address bits of MSIs despite
advertising support for 64-bit MSIs in their configuration space.

This breaks on systems such as IBM POWER7/8, where 64-bit MSIs can
be assigned with some of the high address bits set.

This makes use of the newly introduced "no_64bit_msi" flag in structure
pci_dev to allow the MSI allocation code to fallback to 32-bit MSIs
on those adapters.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
CC: <stable@vger.kernel.org>
---

Adding Alex's review tag. Patch to the driver is identical to the
reviewed one, I dropped the arch/powerpc hunk rewrote the subject
and cset comment.
drivers/gpu/drm/radeon/radeon_irq_kms.c