coreboot/src
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
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: build system: mark sub-make invocations as parallelizable 2017-01-31 17:07:38 -08:00
commonlib UPSTREAM: buildsystem: Drop explicit (k)config.h includes 2016-12-09 03:29:54 -08:00
console UPSTREAM: console: Enable do_printk_va_list for VBOOT 2017-01-05 11:00:16 -08:00
cpu UPSTREAM: cpu/intel/model_6fx: Add Conroe-L to cpu_device_id list 2017-01-13 15:22:22 -08:00
device UPSTREAM: SPD_CACHE: Drop debug statement 2017-01-13 18:40:55 -08:00
drivers UPSTREAM: i2c/generic: Allow GPIOs to be put in _CRS and PowerResource in ACPI 2017-01-30 10:20:30 -08:00
ec UPSTREAM: chromeec: Chrome EC firmware source selection for EC and PD firmwares 2017-01-30 16:48:41 -08:00
include stdlib.h: drop DIV_ROUND_CLOSEST 2017-01-19 09:22:20 -08:00
lib UPSTREAM: src/lib: Update Makefile to keep build/spd.bin rule private 2017-01-31 17:07:37 -08:00
mainboard UPSTREAM: asus/f2a85-m_le: Activate IOMMU support 2017-02-03 17:52:17 -08:00
northbridge UPSTREAM: amd/amdht: Fix format security errors 2017-01-28 04:11:02 -08:00
soc UPSTREAM: soc/intel/skylake: Include I2C code in romstage 2017-01-23 02:03:25 -08:00
southbridge UPSTREAM: sb/nvidia/mcp55: Fix typo in nic.c 2017-01-13 18:41:43 -08:00
superio UPSTREAM: sio/ite/it8783ef: Return (0) in ACPI _PSC methods 2016-12-16 04:50:43 -08:00
vboot UPSTREAM: build system: mark sub-make invocations as parallelizable 2017-01-31 17:07:38 -08:00
vendorcode UPSTREAM: apollolake: Update UPD header files for FSP 1.3.0 2017-01-17 11:34:38 -08:00
Kconfig UPSTREAM: Hook up libhwbase in ramstage 2016-12-21 03:12:47 -08:00