Re: [PATCH 1/1] AMD Family15h Model10-1Fh erratum 746 Workaround

From: Suravee Suthikulpanit
Date: Wed Jan 23 2013 - 10:07:18 EST


On 1/23/2013 1:06 AM, Joerg Roedel wrote:

On Tue, Jan 22, 2013 at 05:19:10PM -0600, Suthikulpanit, Suravee wrote:
From: Suravee Suthikulpanit <suravee.suthikulpanit@xxxxxxx>
@@ -1171,6 +1195,8 @@ static int iommu_init_pci(struct amd_iommu *iommu)
for (i = 0; i < 0x83; i++)
iommu->stored_l2[i] = iommu_read_l2(iommu, i);
}
+
+ amd_iommu_apply_erratum_746(iommu);
This will also be applied to RD890 IOMMUs, right? This workaround should
be limited to Trinity IOMMUs.

Inside the function, it checks the family and model number. Only Trinitiy is affected.

Suravee


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/