Bug 199733

Summary: I/O errors prevent disks on Marvel 88SE9230 to be attached when IOMMU is enabled
Product: IO/Storage Reporter: Signor Rossi (k8wtaylnuuz7)
Component: Serial ATAAssignee: Tejun Heo (tj)
Status: NEW ---    
Severity: normal CC: alex.williamson, bjorn, forestix, site_34j56, Theoretically.x64
Priority: P1    
Hardware: All   
OS: Linux   
See Also: https://bugzilla.kernel.org/show_bug.cgi?id=42679
Kernel Version: 4.16.8 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output with IOMMU in BIOS enabled
lspci -kvvn (with IOMMU disabled)
dmesg output with IOMMU in BIOS disabled
lspci -kvvn (with IOMMU enabled)

Description Signor Rossi 2018-05-15 13:42:50 UTC
Created attachment 275985 [details]
dmesg output with IOMMU in BIOS enabled

This is a direct follow-up of Bug ID 42679: https://bugzilla.kernel.org/show_bug.cgi?id=42679]42679

SATA devices fail to be attached with IOMMU enabled in BIOS:

[    6.453544] ata2.00: qc timeout (cmd 0xec)
[    6.666834] ata3.00: qc timeout (cmd 0xec)
[    6.880054] ata4.00: qc timeout (cmd 0xec)
[    6.953572] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[    7.093495] ata5.00: qc timeout (cmd 0xec)
[    7.093510] ata5.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[    7.167388] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[    7.380054] ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)

System: HPE ProLiant MicroServer Gen10 (X3216)
https://www.hpe.com/us/en/product-catalog/servers/proliant-servers/pip.hpe-proliant-microserver-gen10.1009955118.html

SATA Controller: Marvel 88SE9230
https://www.marvell.com/storage/system-solutions/
Comment 1 Signor Rossi 2018-05-15 13:44:30 UTC
Created attachment 275987 [details]
lspci -kvvn (with IOMMU disabled)
Comment 2 Signor Rossi 2018-05-15 13:45:44 UTC
Created attachment 275989 [details]
dmesg output with IOMMU in BIOS disabled
Comment 3 Signor Rossi 2018-05-15 13:46:36 UTC
Created attachment 275991 [details]
lspci -kvvn (with IOMMU enabled)