Message ID | 5127C716.6050903@linux-ipv6.be (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On Sat, Feb 23, 2013 at 3:29 AM, Stijn Tintel <stijn@linux-ipv6.be> wrote: > On 19-12-12 11:58, Andrew Cooks wrote: >> This is my second attempt to make Marvell 88SE91xx SATA controllers work when IOMMU is enabled.[1][2] >> As suggested, it no longer tries to add support for phantom functions. >> >> What's missing: >> * No AMD support. I need some help with this. >> * Table of affected chip IDs is incomplete. I think 0x9123, 0x9125, 0x9128 are also affected. > This one is also affected: 08:00.0 0106: 1b4b:9130 (rev 11), this is in > dmesg: > > [ 1.914086] dmar: DMAR:[DMA Read] Request device [08:00.1] fault addr > fff00000 Handling specific chip revisions is another issue I'm not sure how to handle. We could use another bitmap field, but we need more vendor cooperation to know exactly which chip model and revision combinations are affected. >> >> Patch is against 3.7.1 >> >> Review and feedback would be appreciated. > I changed your patch to check for my chip ID, and it solves my problem: > no more hang during boot, and the HDD connected to this controller is > now detected with IOMMU enabled. > > Also see 1 minor comment inline. Thanks for the feedback! I'll include your PCI_VENDOR_ID change in the next iteration of the patch. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
commit 05183aa996b2971884a60041e995b470b8224574 Author: Stijn Tintel <stijn@linux-ipv6.be> Date: Sun Feb 10 01:01:16 2013 +0100 Move PCI_VENDOR_ID_MARVELL_2 to pci_ids.h Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> diff --git a/drivers/scsi/mvumi.h b/drivers/scsi/mvumi.h index e360135..41f1687 100644 --- a/drivers/scsi/mvumi.h +++ b/drivers/scsi/mvumi.h @@ -32,7 +32,6 @@ #define VER_BUILD 1500 #define MV_DRIVER_NAME "mvumi" -#define PCI_VENDOR_ID_MARVELL_2 0x1b4b #define PCI_DEVICE_ID_MARVELL_MV9143 0x9143 #define PCI_DEVICE_ID_MARVELL_MV9580 0x9580 diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 0eb6579..60c4ff4 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -1608,6 +1608,7 @@ #define PCI_DEVICE_ID_MARVELL_GT64260 0x6430 #define PCI_DEVICE_ID_MARVELL_MV64360 0x6460 #define PCI_DEVICE_ID_MARVELL_MV64460 0x6480 +#define PCI_VENDOR_ID_MARVELL_2 0x1b4b #define PCI_DEVICE_ID_MARVELL_88ALP01_NAND 0x4100 #define PCI_DEVICE_ID_MARVELL_88ALP01_SD 0x4101 #define PCI_DEVICE_ID_MARVELL_88ALP01_CCIC 0x4102