On Wed, Oct 14, 2015 at 09:05:05AM -0700, G. Richard Bellamy wrote:
> When I have "iommu=1 iommu=pt amd_iommu_dump=1" on my Kernel command line, the
> messages spam the log so much neither dmesg nor the journal can keep up.

Hmm, the ACPI table looks good, which device(s) are you attaching to the
guest(s)?

Also, can you try if the attached patch changes anything?


Thanks,

        Joerg

diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
index f82060e7..6645f2f 100644
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -1975,7 +1975,7 @@ static void clear_dte_entry(u16 devid)
 {
 	/* remove entry from the device table seen by the hardware */
 	amd_iommu_dev_table[devid].data[0] = IOMMU_PTE_P | IOMMU_PTE_TV;
-	amd_iommu_dev_table[devid].data[1] = 0;
+	amd_iommu_dev_table[devid].data[1] &= (0x1ffUL << 32);
 
 	amd_iommu_apply_erratum_63(devid);
 }
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to