From 0cca0176d59073b592a26c56e494e9bc2a903e5b Mon Sep 17 00:00:00 2001 From: zhaojohn Date: Mon, 3 Apr 2023 17:03:52 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74221 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal --- src/soc/intel/meteorlake/acpi.c | 2 ++ 1 file changed, 2 insertions(+) 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;