AMD IOMMU: ignore detection of GART IOMMU
PATCH 1/1 AMD IOMMU: ignore detection of GART IOMMU
One of the last IOMMU updates covered a bug in the AMD IOMMU code. The early detection code does not succeed if the GART is already detected. This patch fixes this.
Cc Robert Richter <[email protected]>
Cc Bhavna Sarathy <[email protected]>
Signed-off-by Joerg Roedel <[email protected]>
--- arch/x86/kernel/amd_iommu_init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/amd_iommu_init.c +1 -1
@@ -828,7 +828,7 @@ static int __init early_amd_iommu_detect(struct acpi_table_header *table)void __init amd_iommu_detect (void ) { -if (swiotlb || no_iommu || iommu_detected) +if (swiotlb || no_iommu || (iommu_detected && !gart_iommu_aperture))return ;if (acpi_table_parse ("IVRS" , early_amd_iommu_detect) ==0 ) {
Signature · 1 line
1.5.3.7
Ingo Molnar
AppliedQuoted 3 lines · Joerg Roedel
One of the last IOMMU updates covered a bug in the AMD IOMMU code. The early detection code does not succeed if the GART is already detected. This patch fixes this.
applied to tip/x86/amd-iommu - thanks Joerg.
Ingo