[coreboot-gerrit] Patch set updated for coreboot: asus/f2a85-m: Activate IOMMU support

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Mon Aug 10 16:30:12 CEST 2015


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3517

-gerrit

commit 9287f38d15781715dc858ef37b23b2127227f105
Author: Rudolf Marek <r.marek at assembler.cz>
Date:   Mon May 27 16:12:00 2013 +0200

    asus/f2a85-m: Activate IOMMU support
    
    Activate the IOMMU support for the Asus F2A85-M.
    
    Add the device to `devicetree.cb`.
    
        $ lspci -s 0.2
        […]
        00:00.2 IOMMU: Advanced Micro Devices [AMD] Family 15h (Models 10h-1fh) I/O Memory Management Unit
        $ dmesg
        […]
        [    0.000000] ACPI: IVRS 00000000bf144e10 00070 (v02  AMD   AMDIOMMU 00000001 AMD  00000000)
        [    0.000000] ACPI: SSDT 00000000bf144e80 0051F (v02    AMD     ALIB 00000001 MSFT 04000000)
        [    0.000000] ACPI: SSDT 00000000bf1453a0 006B2 (v01 AMD    POWERNOW 00000001 AMD  00000001)
        [    0.000000] ACPI: SSDT 00000000bf145a52 00045 (v02 CORE   COREBOOT 0000002A CORE 0000002A)
        […]
    
    Linux 3.10 reported several IO page faults, which could never be explained and
    which the vendor firmware did not.  These errors couldn’t be reproduced with
    Linux 4.1.
    
    Change-Id: I0aa530be17d31656e65db6113343f2ea7008b843
    Signed-off-by: Rudolf Marek <r.marek at assembler.cz>
---
 src/mainboard/asus/f2a85-m/buildOpts.c   | 2 +-
 src/mainboard/asus/f2a85-m/devicetree.cb | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/asus/f2a85-m/buildOpts.c b/src/mainboard/asus/f2a85-m/buildOpts.c
index b812cd5..3c9371c 100644
--- a/src/mainboard/asus/f2a85-m/buildOpts.c
+++ b/src/mainboard/asus/f2a85-m/buildOpts.c
@@ -181,7 +181,7 @@
 #define BLDCFG_UMA_ABOVE4G_SUPPORT                FALSE
 #endif
 
-#define BLDCFG_IOMMU_SUPPORT    FALSE
+#define BLDCFG_IOMMU_SUPPORT    TRUE
 
 #define BLDCFG_CFG_GNB_HD_AUDIO TRUE
 //#define BLDCFG_IGPU_SUBSYSTEM_ID            OEM_IGPU_SSID
diff --git a/src/mainboard/asus/f2a85-m/devicetree.cb b/src/mainboard/asus/f2a85-m/devicetree.cb
index 4562557..b501dc2 100644
--- a/src/mainboard/asus/f2a85-m/devicetree.cb
+++ b/src/mainboard/asus/f2a85-m/devicetree.cb
@@ -30,6 +30,7 @@ chip northbridge/amd/agesa/family15tn/root_complex
 
 			chip northbridge/amd/agesa/family15tn # PCI side of HT root complex
 				device pci 0.0 on  end # Root Complex
+				device pci 0.2 on  end # IOMMU
 				device pci 1.0 on  end # Internal Graphics P2P bridge 0x99XX
 				device pci 1.1 on  end # Internal Multimedia
 				device pci 2.0 on  end # PCIE SLOT0 x16 blue



More information about the coreboot-gerrit mailing list