diff options
author | zhaojohn <john.zhao@intel.com> | 2023-04-03 17:03:52 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-04-21 15:23:49 +0000 |
commit | 0cca0176d59073b592a26c56e494e9bc2a903e5b (patch) | |
tree | 6d8aa2f4b833638a922494da3e9cb7175c7dae1a /src/soc | |
parent | 5ff0118a58a6ff67f0e89920403738e77e302d74 (diff) |
soc/intel/meteorlake: Add VPU into the DMAR SATC table
This change adds the VPU into the DMAR SATC table in order to support
the VPU IO virtualization.
BUG=None
TEST=Enabled the VPU, booted to kernel and verified that DMAR SATC table
includeded the VPU entry.
Change-Id: I6d4af7c9844e33483a1e616eaee061a90d0be6fc
Signed-off-by: John Zhao <john.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74221
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/meteorlake/acpi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/meteorlake/acpi.c b/src/soc/intel/meteorlake/acpi.c index c679af321a..c6e7cab433 100644 --- a/src/soc/intel/meteorlake/acpi.c +++ b/src/soc/intel/meteorlake/acpi.c @@ -270,6 +270,8 @@ static unsigned long soc_fill_dmar(unsigned long current) current += acpi_create_dmar_satc(current, ATC_REQUIRED, 0); current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IGD, 0); current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IPU, 0); + if (is_devfn_enabled(PCI_DEVFN_VPU)) + current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_VPU, 0); acpi_dmar_satc_fixup(tmp, current); return current; |