[kernel/f13/master] use old macros in ioat2-catch-and-recover-from-broken-vtd-configurations.patch

Kyle McMartin kyle at fedoraproject.org
Fri Dec 10 17:49:00 UTC 2010


commit 7dec002956a5a0df23273c0cc5774b733b45623b
Author: Kyle McMartin <kyle at redhat.com>
Date:   Fri Dec 10 12:48:32 2010 -0500

    use old macros in ioat2-catch-and-recover-from-broken-vtd-configurations.patch

 ...nd-recover-from-broken-vtd-configurations.patch |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/ioat2-catch-and-recover-from-broken-vtd-configurations.patch b/ioat2-catch-and-recover-from-broken-vtd-configurations.patch
index 1f395ed..cd37e71 100644
--- a/ioat2-catch-and-recover-from-broken-vtd-configurations.patch
+++ b/ioat2-catch-and-recover-from-broken-vtd-configurations.patch
@@ -127,7 +127,7 @@ diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c
 index 4173125..f4ba2e5 100644
 --- a/drivers/pci/intel-iommu.c
 +++ b/drivers/pci/intel-iommu.c
-@@ -3032,6 +3032,34 @@ static void __init iommu_exit_mempool(void)
+@@ -3032,6 +3032,33 @@ static void __init iommu_exit_mempool(void)
  
  }
  
@@ -152,8 +152,7 @@ index 4173125..f4ba2e5 100644
 +
 +	/* we know that the this iommu should be at offset 0xa000 from vtbar */
 +	drhd = dmar_find_matched_drhd_unit(pdev);
-+	if (WARN_TAINT_ONCE(!drhd || drhd->reg_base_addr - vtbar != 0xa000,
-+			    TAINT_FIRMWARE_WORKAROUND,
++	if (WARN_ONCE(!drhd || drhd->reg_base_addr - vtbar != 0xa000,
 +			    "BIOS assigned incorrect VT-d unit for Intel(R) QuickData Technology device\n"))
 +		pdev->dev.archdata.iommu = DUMMY_DEVICE_DOMAIN_INFO;
 +}


More information about the scm-commits mailing list