diff --git a/src/soc/intel/pantherlake/acpi.c b/src/soc/intel/pantherlake/acpi.c index 0252e1c503..bf769d952a 100644 --- a/src/soc/intel/pantherlake/acpi.c +++ b/src/soc/intel/pantherlake/acpi.c @@ -253,6 +253,7 @@ static unsigned long soc_fill_dmar(unsigned long current) bool is_dptf_enabled = is_devfn_enabled(PCI_DEVFN_DPTF); bool is_npu_enabled = is_devfn_enabled(PCI_DEVFN_NPU); bool is_iaa_enabled = is_devfn_enabled(PCI_DEVFN_IAA); + bool is_telemetry_enabled = is_devfn_enabled(PCI_DEVFN_TELEMETRY); printk(BIOS_DEBUG, "%s - gfxvtbar:0x%llx 0x%x\n", __func__, gfxvtbar, MCHBAR32(GFXVTBAR)); if (vtd_engine_enabled & GFXVT_ENABLED) { @@ -263,8 +264,8 @@ static unsigned long soc_fill_dmar(unsigned long current) acpi_dmar_drhd_fixup(tmp, current); } - if ((is_ipu_enabled || is_dptf_enabled || is_npu_enabled || is_iaa_enabled) && - (vtd_engine_enabled & NONGFXVT_ENABLED)) { + if ((is_ipu_enabled || is_dptf_enabled || is_telemetry_enabled || is_npu_enabled || + is_iaa_enabled) && (vtd_engine_enabled & NONGFXVT_ENABLED)) { const unsigned long tmp = current; current += acpi_create_dmar_drhd(current, 0, 0, (uint64_t)VTVC0_BASE_ADDRESS, VTVC0_BASE_SIZE); @@ -272,6 +273,8 @@ static unsigned long soc_fill_dmar(unsigned long current) current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IPU, 0); if (is_dptf_enabled) current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_DPTF, 0); + if (is_telemetry_enabled) + current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_TELEMETRY, 0); if (is_npu_enabled) current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_NPU, 0); if (is_iaa_enabled) @@ -302,12 +305,10 @@ static unsigned long soc_fill_dmar(unsigned long current) acpi_dmar_rmrr_fixup(tmp, current); } - if (is_ipu_enabled || is_dptf_enabled || is_npu_enabled || is_iaa_enabled) { + if (is_ipu_enabled || is_npu_enabled || is_iaa_enabled) { const unsigned long tmp = current; current += acpi_create_dmar_satc(current, ATC_REQUIRED, 0); current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IGD, 0); - if (is_dptf_enabled) - current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_DPTF, 0); if (is_ipu_enabled) current += acpi_create_dmar_ds_pci(current, 0, PCI_DEV_SLOT_IPU, 0); if (is_npu_enabled)