summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp
diff options
context:
space:
mode:
authorShuo Liu <shuo.liu@intel.com>2024-05-11 01:50:00 +0800
committerLean Sheng Tan <sheng.tan@9elements.com>2024-05-23 09:28:05 +0000
commit93791db23e475b3b5ab1175fc6d50418df937ad7 (patch)
tree37031e13fd6316aa0c3b6cc7ae6917b0ad031fe6 /src/soc/intel/xeon_sp
parent0f87730a9468b18e847983c70839bbb43e2531b0 (diff)
soc/intel/xeon_sp: Dump proximity domain info per types
Some proximity domain info are type specifics, e.g. base/size/dev are effective for PD_TYPE_GENERIC_INITIATOR, but not for PD_TYPE_PROCESSOR. Dump info per their type. TEST=Build and boot on intel/archercity Change-Id: I7e722a0577bba954efba3e91cc152c758c001d68 Signed-off-by: Shuo Liu <shuo.liu@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82292 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Diffstat (limited to 'src/soc/intel/xeon_sp')
-rw-r--r--src/soc/intel/xeon_sp/numa.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/soc/intel/xeon_sp/numa.c b/src/soc/intel/xeon_sp/numa.c
index 81331edb67..1f0b9a3f60 100644
--- a/src/soc/intel/xeon_sp/numa.c
+++ b/src/soc/intel/xeon_sp/numa.c
@@ -19,9 +19,12 @@ static void dump_pds(void)
printk(BIOS_DEBUG, "\tproximity domain %d:\n", i);
printk(BIOS_DEBUG, "\t\ttype:%d\n", pds.pds[i].pd_type);
printk(BIOS_DEBUG, "\t\tsocket_bitmap:0x%x\n", pds.pds[i].socket_bitmap);
- printk(BIOS_DEBUG, "\t\tdevice:%s\n", pds.pds[i].dev ? dev_path(pds.pds[i].dev) : "");
- printk(BIOS_DEBUG, "\t\tbase(64MB):0x%x\n", pds.pds[i].base);
- printk(BIOS_DEBUG, "\t\tsize(64MB):0x%x\n", pds.pds[i].size);
+ if (pds.pds[i].pd_type == PD_TYPE_GENERIC_INITIATOR) {
+ printk(BIOS_DEBUG, "\t\tdevice:%s\n",
+ pds.pds[i].dev ? dev_path(pds.pds[i].dev) : "");
+ printk(BIOS_DEBUG, "\t\tbase(64MB):0x%x\n", pds.pds[i].base);
+ printk(BIOS_DEBUG, "\t\tsize(64MB):0x%x\n", pds.pds[i].size);
+ }
}
}