]> git.baikalelectronics.ru Git - kernel.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)
commit8317b3a77c8d4473be063727d5c4ed1c24caa7d6
tree781f37f1e4f8f4e7523b363d6e58194f831e381c
parent770407bf7f28b6a32c409067a0c6f94c462ff018
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