coreboot/src/mainboard
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
..
a-trend UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
aaeon UPSTREAM: AMD boards: Fix romstage main() declaration 2016-06-21 17:13:32 -07:00
abit UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
adi UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
adlink
advansus UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
amd UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
aopen UPSTREAM: aopen/dxplplusu: Switch to 2MiB flash 2017-01-13 18:41:57 -08:00
apple UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
artecgroup UPSTREAM: mainboard/artecgroup/dbe61/mainboard.c: Use tab for indents 2016-12-01 03:34:35 -08:00
asrock UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
asus UPSTREAM: asus/f2a85-m_le: Activate IOMMU support 2017-02-03 17:52:17 -08:00
avalue UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
azza UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
bachmann UPSTREAM: mainboard: Clean up boot_option/reboot_bits in cmos.layout 2016-08-17 12:49:03 -07:00
bap UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
bcom UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
bifferos
biostar UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
broadcom UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
compaq UPSTREAM: src/mainboard/a-trend - emulation: Add space around operators 2016-09-22 08:54:57 -07:00
cubietech UPSTREAM: Remove non-ascii & unprintable characters 2016-08-05 11:45:20 -07:00
digitallogic UPSTREAM: mainboard/digitallogic/msm800sev: Use tabs for indents 2016-10-04 00:31:54 -07:00
dmp UPSTREAM: dmp/vortex86ex: Drop excessive include 2016-06-21 17:13:29 -07:00
ecs UPSTREAM: mainboard/*/*/irq_tables.c: Use tabs for indents 2016-09-26 16:52:44 -07:00
elmex UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
emulation UPSTREAM: riscv/spike: Remove obsolete DRAM_SIZE_MB setting 2017-01-19 06:10:54 -08:00
esd UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
getac UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
gigabyte UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
gizmosphere UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
google UPSTREAM: Add Baytrail ChromeOS devices using variant scheme 2017-02-03 17:52:17 -08:00
hp UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
ibase UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
iei UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
intel UPSTREAM: chromeec: Chrome EC firmware source selection for EC and PD firmwares 2017-01-30 16:48:41 -08:00
iwave UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
iwill UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
jetway UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
kontron UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
lanner UPSTREAM: mainboard/lanner/em8510: Use tabs for indents 2016-09-30 18:03:19 -07:00
lenovo UPSTREAM: mainboard/lenovo: Add new port L520 2017-01-27 07:48:58 -08:00
linutop
lippert UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
lowrisc UPSTREAM: mb/lowrisc/nexys4ddr: Read RAM information from the config string 2016-12-08 12:31:00 -08:00
mitac UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
msi UPSTREAM: src/amd: Add common definition of AMD ACPI MMIO address 2017-01-09 23:46:41 -08:00
nec UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
nokia UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
nvidia UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
packardbell UPSTREAM: intel/nehalem: Use romstage_handoff for S3 2016-12-13 17:49:12 -08:00
pcengines UPSTREAM: pcengines/apu2: Add serial number in SMBIOS 2017-01-22 05:03:21 -08:00
purism
rca UPSTREAM: mainboard/rca/rm4100: transition away from device_t 2016-11-10 18:32:33 -08:00
roda UPSTREAM: sb/ich7: Use common/gpio.h to set up GPIOs 2017-01-09 23:46:48 -08:00
samsung UPSTREAM: cpu/x86/msr.h: Drop excessive includes 2016-12-08 12:31:26 -08:00
siemens UPSTREAM: siemens/mc_apl1: Add new mainboard 2017-02-03 09:08:54 -08:00
soyo UPSTREAM: intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-22 10:40:45 -07:00
sunw UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
supermicro UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
technexion UPSTREAM: amd-based mainboards: Fix whitespace in _PTS comments 2017-01-05 11:00:11 -08:00
thomson UPSTREAM: mainboard/thomson/ip1000: transition away from device_t 2016-11-10 18:32:44 -08:00
ti UPSTREAM: beaglebone: Update bootblock.c to use new structs/code 2016-06-22 10:40:52 -07:00
traverse UPSTREAM: mainboard: Clean up boot_option/reboot_bits in cmos.layout 2016-08-17 12:49:03 -07:00
tyan UPSTREAM: amdfam10: Perform major include ".c" cleanup 2017-01-05 11:01:40 -08:00
via UPSTREAM: mainboard/via/vt8454c: transition away from device_t 2016-11-16 07:08:07 -08:00
winent UPSTREAM: Kconfig: Update default hex values to start with 0x 2016-10-04 00:32:40 -07:00
wyse UPSTREAM: mainboard/*/*/irq_tables.c: Use tabs for indents 2016-09-26 16:52:44 -07:00
Kconfig UPSTREAM: Kconfig: Remind users to delete .config when switching boards 2017-01-13 15:21:43 -08:00