diff options
author | Shuo Liu <shuo.liu@intel.com> | 2024-05-10 04:35:41 +0800 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-05-23 09:27:59 +0000 |
commit | 0f87730a9468b18e847983c70839bbb43e2531b0 (patch) | |
tree | 431ddf8f95b6f2a36a6b7a53f2f70d40a22d14d6 /src/soc/intel/xeon_sp/uncore.c | |
parent | a839eb116bde528ddfeec55f15033f71b2ae5806 (diff) |
soc/intel/xeon_sp: Move proximity domain setting up
Move proximity domain setting up to ahead of attach_iio_stacks()
so that proximity domain info could be ready before
attach_iio_stacks()/create_xeonsp_domains().
For example in SPR, is_iio_cxl_stack_res() refers to proximity
domain info, and it will be called in create_xeonsp_domains().
TEST=Build and boot on intel/archercity
No significant boot log difference except for proximity domain
dump info display are moved ahead (with correct contents).
Change-Id: I594f0ec0c23e3b62c3bdd917ebf6e45be6e4069e
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82267
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/xeon_sp/uncore.c')
-rw-r--r-- | src/soc/intel/xeon_sp/uncore.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/soc/intel/xeon_sp/uncore.c b/src/soc/intel/xeon_sp/uncore.c index efa61b7c16..4c226854aa 100644 --- a/src/soc/intel/xeon_sp/uncore.c +++ b/src/soc/intel/xeon_sp/uncore.c @@ -336,15 +336,6 @@ static void mmapvtd_read_resources(struct device *dev) { int index = 0; - static bool once; - if (!once) { - /* Construct NUMA data structure. This is needed for CXL. */ - fill_pds(); - fill_pd_distances(); - dump_pds(); - once = true; - } - /* Read standard PCI resources. */ pci_dev_read_resources(dev); |