coreboot-kgpe-d16/src/soc/intel/xeon_sp
Arthur Heymans 36e6f9bc04 soc/intel/xeon_sp: Don't sort struct device cpus for numa
Currently the xeon_sp code reassigns struct devices apic_id so that srat
entries can be added in a certain order.

This is not a good idea as it breaks thread local storage which contains
a pointer to its struct device cpu.

This moves the sorting of the lapic_ids to the srat table generation
and adds the numa node id in each core init entry. Now it is done in
parallel too as a bonus.

Change-Id: I372bcea1932d28e9bf712cc712f19a76fe3199b1
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68912
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-04-14 10:50:44 +00:00
..
acpi soc/intel/xeon_sp/acpi: Fix _OSC method 2023-04-11 16:28:03 +00:00
cpx soc/intel/xeon_sp: Don't sort struct device cpus for numa 2023-04-14 10:50:44 +00:00
ebg soc/intel/xeon_sp: Add PM definition for SPR-SP 2023-03-07 22:14:35 +00:00
include/soc soc/intel/xeon_sp: Don't sort struct device cpus for numa 2023-04-14 10:50:44 +00:00
lbg soc/intel/xeon_sp: Add PM definition for SPR-SP 2023-03-07 22:14:35 +00:00
ras payloads,src: Replace ALIGN(x, a) by ALIGN_UP(x, a) for clarity 2022-10-13 19:14:57 +00:00
skx soc/intel/xeon_sp: Don't sort struct device cpus for numa 2023-04-14 10:50:44 +00:00
spr soc/intel/xeon_sp: Drop Kconfig MAX_SOCKET_UPD 2023-04-12 14:51:40 +00:00
acpi.c soc/intel/xeon_sp: Read ioapic configuration from hardware 2022-12-06 17:06:35 +00:00
bootblock.c soc/intel/xeon_sp: Report platform cpu info 2023-03-23 21:21:09 +00:00
chip_common.c soc/intel/xeon_sp/chip_common.c: Probe all buses in attach_iio_stacks() 2023-03-25 16:42:06 +00:00
finalize.c soc/intel/xeon_sp: rework lock_pam0123() to accomodate hidden SAD device 2023-03-09 21:40:23 +00:00
Kconfig soc/intel/xeon_sp: add Kconfig file for SPR-SP 2023-02-02 19:27:10 +00:00
lockdown.c soc/intel/xeon_sp: move PCH specific code into lbg directory 2023-02-17 12:34:27 +00:00
lpc.c
Makefile.inc soc/intel/xeon_sp/uncore_acpi.c: Add SPR-SP support 2023-03-25 16:33:36 +00:00
memmap.c soc/intel/xeon_sp: Use "if (!ptr)" in preference to "if (ptr == NULL)" 2022-09-15 13:03:28 +00:00
pch.c soc/intel/xeon_sp: Move codes to support new PCH 2022-12-22 19:05:13 +00:00
pmc.c soc/intel/xeon_sp: move PCH specific code into lbg directory 2023-02-17 12:34:27 +00:00
pmutil.c soc/intel/xeon_sp: Move codes to support new PCH 2022-12-22 19:05:13 +00:00
ramstage.c soc/intel/xeon_sp: Move SMBIOS type 4 override functions from mainboard 2022-11-10 19:06:41 +00:00
report_platform.c soc/intel/xeon_sp: Report platform cpu info 2023-03-23 21:21:09 +00:00
reset.c
romstage.c soc/intel/xeon_sp: Enable FSP_ERROR_INFO_HOB handling 2023-03-22 12:05:47 +00:00
smihandler.c soc/intel/xeon_sp/smihandler.c: enable support for spr-sp 2023-03-24 16:07:23 +00:00
smmrelocate.c soc/intel/xeon_sp: Set IA32_SMRR_PHYSMASK lock bit 2022-12-20 19:53:42 +00:00
spi.c
uncore.c soc/intel/xeon_sp: Fix very small total memory when CXL is enabled 2023-04-13 07:56:23 +00:00
uncore_acpi.c soc/intel/xeon_sp: Don't sort struct device cpus for numa 2023-04-14 10:50:44 +00:00
uncore_acpi_cxl.c soc/intel/xeon_sp/uncore_acpi.c: Add SPR-SP support 2023-03-25 16:33:36 +00:00
util.c soc/intel/xeon_sp: Don't sort struct device cpus for numa 2023-04-14 10:50:44 +00:00