]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IOMMU, AMD Family15h Model10-1Fh erratum 746 Workaround
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Thu, 24 Jan 2013 19:17:53 +0000 (13:17 -0600)
committerJoerg Roedel <joro@8bytes.org>
Mon, 28 Jan 2013 14:26:54 +0000 (15:26 +0100)
commit318fe782539c4150d1b8e4e6c9dc3a896512cb8a
tree781f37f1e4f8f4e7523b363d6e58194f831e381c
parent949db153b6466c6f7cad5a427ecea94985927311
IOMMU, AMD Family15h Model10-1Fh erratum 746 Workaround

The IOMMU may stop processing page translations due to a perceived lack
of credits for writing upstream peripheral page service request (PPR)
or event logs. If the L2B miscellaneous clock gating feature is enabled
the IOMMU does not properly register credits after the log request has
completed, leading to a potential system hang.

BIOSes are supposed to disable L2B micellaneous clock gating by setting
L2_L2B_CK_GATE_CONTROL[CKGateL2BMiscDisable](D0F2xF4_x90[2]) = 1b. This
patch corrects that for those which do not enable this workaround.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/amd_iommu_init.c