ACPI: Add code to create root port entry in DMAR table
commit21a5bff77b0b365187afeec793cf6d4233e709be
authorWerner Zeh <werner.zeh@siemens.com>
Wed, 27 Jul 2016 05:07:20 +0000 (27 07:07 +0200)
committerWerner Zeh <werner.zeh@siemens.com>
Wed, 3 Aug 2016 04:24:17 +0000 (3 06:24 +0200)
treea2aecbfdf334ef03c96efd59154cc679aae91065
parentd4d76959c0851b0e11fcd9732676c36caab61114
ACPI: Add code to create root port entry in DMAR table

PCI root ports with "Address Translation Service" capability can be
reported in DMAR table in the ATSR scope to let the OS know how to
handle these devices the right way when VT-d is used.
Add code to create an entry for a PCI root port using the type
"SCOPE_PCI_SUB".

Change-Id: Ie2c46db7292d9f1637ffe2e9cfaf6619372ddf13
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/15912
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/arch/x86/acpi.c
src/arch/x86/include/arch/acpi.h