Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/84109?usp=email )
Change subject: soc/intel/common/systemagent: read sa resources only from domain 0 ......................................................................
soc/intel/common/systemagent: read sa resources only from domain 0
Change-Id: Ida4461de6275bdd314f5cba441d3ff631d570305 Signed-off-by: Yuchi Chen yuchi.chen@intel.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/84109 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Shuo Liu shuo.liu@intel.com --- M src/soc/intel/common/block/systemagent/systemagent.c 1 file changed, 6 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Shuo Liu: Looks good to me, approved
diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c index bca442b..e8d7432 100644 --- a/src/soc/intel/common/block/systemagent/systemagent.c +++ b/src/soc/intel/common/block/systemagent/systemagent.c @@ -273,6 +273,12 @@ { int index = 0;
+ /** + * If SoC has multiple PCIe domains, only reading resources from the first one. + */ + if (!is_dev_on_domain0(dev)) + return; + /* Read standard PCI resources. */ pci_dev_read_resources(dev);