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>
This commit is contained in:
Jonathan Zhang 2023-01-30 11:17:25 -08:00 committed by Lean Sheng Tan
parent 09d2c93c72
commit a5bd580b5f
1 changed files with 2 additions and 0 deletions

View File

@ -307,6 +307,7 @@ static const struct pci_driver mmapvtd_driver __pci_driver = {
.devices = mmapvtd_ids .devices = mmapvtd_ids
}; };
#if !CONFIG(SOC_INTEL_MMAPVTD_ONLY_FOR_DPR)
static void vtd_read_resources(struct device *dev) static void vtd_read_resources(struct device *dev)
{ {
pci_dev_read_resources(dev); pci_dev_read_resources(dev);
@ -327,6 +328,7 @@ static const struct pci_driver vtd_driver __pci_driver = {
.vendor = PCI_VID_INTEL, .vendor = PCI_VID_INTEL,
.device = MMAP_VTD_STACK_CFG_REG_DEVID, .device = MMAP_VTD_STACK_CFG_REG_DEVID,
}; };
#endif
static void dmi3_init(struct device *dev) static void dmi3_init(struct device *dev)
{ {