I believe I am affected by the same bug with the Marvell 88SE9120 controller on an ASRock 990FX Extreme 4 motherboard.
Although there are no DMAR errors in dmesg, when AMD's IOMMU is enabled in the bios I get the following a couple of times, before it gives up
Once the controller's dev ID was added to drivers/pci/quirks.c everything worked as expected in kernel 4.1 from git.kernel.org (23b7776290b10297fe2cae0fb5f166a4f2c68121)
[ 1520.100391] ata9: hard resetting link
[ 1526.038156] ata9: SATA link up 3.0 Gbps (SStatus 123 SControl 330)
[ 1526.044554] ata9.00: ATA-7: SAMSUNG HD502IJ, 1AA01112, max UDMA7
[ 1526.044559] ata9.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
[ 1526.050996] ata9.00: configured for UDMA/133
[ 1526.051007] ata9: EH complete
I believe I am affected by the same bug with the Marvell 88SE9120 controller on an ASRock 990FX Extreme 4 motherboard.
Although there are no DMAR errors in dmesg, when AMD's IOMMU is enabled in the bios I get the following a couple of times, before it gives up
[ 117.616423] ata9: hard resetting link 0x0000000000020 440 flags=0x0070] 0x0000000000020 450 flags=0x0070] 0x0000000000020 000 flags=0x0050]
[ 117.632972] AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.1 domain=0x0000 address=
[ 117.632982] AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.1 domain=0x0000 address=
[ 118.340472] AMD-Vi: Event logged [IO_PAGE_FAULT device=02:00.1 domain=0x0000 address=
[ 122.616621] ata9: softreset failed (1st FIS failed)
[ 122.616632] ata9: reset failed, giving up
[ 122.616640] ata9: EH complete
Once the controller's dev ID was added to drivers/ pci/quirks. c everything worked as expected in kernel 4.1 from git.kernel.org (23b7776290b102 97fe2cae0fb5f16 6a4f2c68121)
[ 1520.100391] ata9: hard resetting link
[ 1526.038156] ata9: SATA link up 3.0 Gbps (SStatus 123 SControl 330)
[ 1526.044554] ata9.00: ATA-7: SAMSUNG HD502IJ, 1AA01112, max UDMA7
[ 1526.044559] ata9.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
[ 1526.050996] ata9.00: configured for UDMA/133
[ 1526.051007] ata9: EH complete
And here is the patch
--- a/drivers/ pci/quirks. c pci/quirks. c PCI_FIXUP_ HEADER( PCI_VENDOR_ ID_MARVELL_ EXT, 0x91a0, /bugzilla. kernel. org/show_ bug.cgi? id=42679# c49 */ PCI_FIXUP_ HEADER( PCI_VENDOR_ ID_MARVELL_ EXT, 0x9230, dma_func1_ alias); PCI_FIXUP_ HEADER( PCI_VENDOR_ ID_MARVELL_ EXT, 0x9120, func1_alias) ; PCI_FIXUP_ HEADER( PCI_VENDOR_ ID_TTI, 0x0642, dma_func1_ alias); /bugs.gentoo. org/show_ bug.cgi? id=497630 */
+++ b/drivers/
@@ -3589,6 +3589,8 @@ DECLARE_
/* https:/
DECLARE_
quirk_
+DECLARE_
+ quirk_dma_
DECLARE_
quirk_
/* https:/
Could this device id be added to the list of affected devices?