coreboot/src/mainboard/asus
Tobias Diedrich 176dfceff5 UPSTREAM: asus/f2a85-m_le: Activate IOMMU support
Activate the IOMMU for the ASUS F2A85-M LE board.

Enable the IOMMU in `devicetree.cb` and build AGESA IOMMU code by
enabling the option in `buildOpts.c`.

ACPI and MPTABLES interrupt routers are already present since they are
syminks to the F2A85-M version.

```
$ uname -a
Linux nukunuku 4.8.5 #35 SMP Sun Oct 30 19:34:55 CET 2016 x86_64 GNU/Linux
$ lspci -s 0.2
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) I/O Memory Management Unit
$ dmesg | grep -i IOMMU
ACPI: IVRS 0x00000000BFFAFF70 000070 (v02 AMD    AMDIOMMU 00000001 AMD  00000000)
AMD-Vi: Applying erratum 746 workaround for IOMMU at 0000:00:00.2
iommu: Adding device 0000:00:01.0 to group 0
[...]
iommu: Adding device 0000:00:18.5 to group 9
iommu: Adding device 0000:03:00.0 to group 8
AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
```

BUG=none
BRANCH=none
TEST=none

Change-Id: I3c758fb32becec6c5752a9e76af6345f37645078
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 31db6f5e17
Original-Change-Id: I6049fcfad53d16a99495d7a8fbc584c71e371d73
Original-Signed-off-by: Tobias Diedrich <ranma+coreboot@tdiedrich.de>
Original-Reviewed-on: https://review.coreboot.org/18259
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Original-Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://chromium-review.googlesource.com/437465
2017-02-03 17:52:17 -08:00
..
a8n_e UPSTREAM: cpu/amd/mtrr.h: Drop excessive includes 2016-12-08 12:31:29 -08:00
a8n_sli src/mainboard/*/*/board_info.txt: Added Release year for boards 2015-04-23 14:42:44 +02:00
a8v-e_deluxe UPSTREAM: Kconfig: Update default hex values to start with 0x 2016-10-04 00:32:40 -07:00
a8v-e_se UPSTREAM: Kconfig: Update default hex values to start with 0x 2016-10-04 00:32:40 -07:00
dsbf UPSTREAM: intel cache-as-ram: Move DCACHE_RAM_BASE 2016-12-19 09:55:24 -08:00
f2a85-m UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
f2a85-m_le UPSTREAM: asus/f2a85-m_le: Activate IOMMU support 2017-02-03 17:52:17 -08:00
k8v-x UPSTREAM: Kconfig: Update default hex values to start with 0x 2016-10-04 00:32:40 -07:00
kcma-d8 UPSTREAM: arch/x86: do not define type of SPIN_LOCK_UNLOCKED 2017-01-26 17:07:58 -08:00
kfsn4-dre UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
kfsn4-dre_k8 UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
kgpe-d16 UPSTREAM: arch/x86: do not define type of SPIN_LOCK_UNLOCKED 2017-01-26 17:07:58 -08:00
m2n-e UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
m2v UPSTREAM: asus/m2v,m2v-mx_se: Unify Kconfig 2017-01-31 17:07:38 -08:00
m2v-mx_se UPSTREAM: asus/m2v,m2v-mx_se: Unify Kconfig 2017-01-31 17:07:38 -08:00
m4a78-em UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
m4a785-m UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
m4a785t-m UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
m5a88-v UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
mew-am UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
mew-vm UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
p2b UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
p2b-d UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
p2b-ds UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
p2b-f UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
p2b-ls UPSTREAM: mainboard/*/*/irq_tables.c: Use tabs for indents 2016-09-26 16:52:44 -07:00
p3b-f UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
p5gc-mx UPSTREAM: mb/asus/p5gc-mx: Use common/gpio.h 2017-01-09 23:47:03 -08:00
Kconfig tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig.name kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00