diff options
author | Jonathan Zhang <jonzhang@meta.com> | 2023-01-30 11:17:25 -0800 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-03-22 12:07:03 +0000 |
commit | a5bd580b5f75bfd0685ecf8705557bdb45712461 (patch) | |
tree | 3ec4b83676e74bf00ebfd9a614f8304b9e36337e | |
parent | 09d2c93c72a80ba4480c62ab710000172348665e (diff) |
soc/intel/xeon_sp/uncore.c: skip configuring VTD dev
DPR should not be configured for VTD devices of other stacks for
SPR-SP. Such processor(s) would be configured with
SOC_INTEL_MMAPVTD_ONLY_FOR_DPR.
Change-Id: Ib33b1b62f59a10d362c6585b1403490d4a1aedeb
Signed-off-by: Jonathan Zhang <jonzhang@meta.com>
Signed-off-by: David Hendricks <ddaveh@amazon.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72616
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jon.zhixiong.zhang@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
-rw-r--r-- | src/soc/intel/xeon_sp/uncore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/uncore.c b/src/soc/intel/xeon_sp/uncore.c index 9507253c62..418736ed2e 100644 --- a/src/soc/intel/xeon_sp/uncore.c +++ b/src/soc/intel/xeon_sp/uncore.c @@ -307,6 +307,7 @@ static const struct pci_driver mmapvtd_driver __pci_driver = { .devices = mmapvtd_ids }; +#if !CONFIG(SOC_INTEL_MMAPVTD_ONLY_FOR_DPR) static void vtd_read_resources(struct device *dev) { pci_dev_read_resources(dev); @@ -327,6 +328,7 @@ static const struct pci_driver vtd_driver __pci_driver = { .vendor = PCI_VID_INTEL, .device = MMAP_VTD_STACK_CFG_REG_DEVID, }; +#endif static void dmi3_init(struct device *dev) { |