From a5bd580b5f75bfd0685ecf8705557bdb45712461 Mon Sep 17 00:00:00 2001 From: Jonathan Zhang Date: Mon, 30 Jan 2023 11:17:25 -0800 Subject: 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 Signed-off-by: David Hendricks Reviewed-on: https://review.coreboot.org/c/coreboot/+/72616 Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Zhang Reviewed-by: Angel Pons Reviewed-by: Lean Sheng Tan --- src/soc/intel/xeon_sp/uncore.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/soc/intel') 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) { -- cgit v1.2.3