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>
This commit is contained in:
zhaojohn 2023-04-03 17:03:52 -07:00 committed by Felix Held
parent 5ff0118a58
commit 0cca0176d5
1 changed files with 2 additions and 0 deletions

View File

@ -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_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_IGD, 0);
current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IPU, 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); acpi_dmar_satc_fixup(tmp, current);
return current; return current;