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/gnr | |
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/gnr')
-rw-r--r-- | src/soc/intel/xeon_sp/gnr/chip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/gnr/chip.c b/src/soc/intel/xeon_sp/gnr/chip.c index 23458944c7..aa9b37874b 100644 --- a/src/soc/intel/xeon_sp/gnr/chip.c +++ b/src/soc/intel/xeon_sp/gnr/chip.c @@ -4,6 +4,7 @@ #include <intelblocks/pmclib.h> #include <soc/pm.h> #include <soc/chip_common.h> +#include <soc/numa.h> #include <soc/ramstage.h> #include "chip.h" @@ -38,6 +39,7 @@ static void chip_init(void *data) printk(BIOS_DEBUG, "coreboot: calling fsp_silicon_init\n"); fsp_silicon_init(); + setup_pds(); attach_iio_stacks(); pch_enable_ioapic(); |