From: Suravee Suthikulpanit Date: Thu, 24 Jan 2013 19:17:53 +0000 (-0600) Subject: IOMMU, AMD Family15h Model10-1Fh erratum 746 Workaround X-Git-Tag: v3.8-rc6~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=318fe782539c4150d1b8e4e6c9dc3a896512cb8a;p=pandora-kernel.git 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 Acked-by: Borislav Petkov Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed