coreboot/src
Maximilian Brune 0b617c9300 arch/riscv: Refactor SMP code
Currently only a fixed number of harts/cores can be detected.

This patch adds a Kconfig option which allows to detect the number of
harts at runtime if a SOC or mainboard has a scheme to do so.
As part of that patch SMP logic has been mostly moved to smp_resume,
since it is easier to debug issues at the time smp_resume is called
than it is at smp_pause, since the serial is usually not present at the
time of the first smp_pause call.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: Icc53185991fed4dbed032a52e51ff71d085ad587
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81082
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Alicja Michalska <ahplka19@gmail.com>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
2024-11-28 13:59:34 +00:00
..
acpi acpi_gic: Add helper for platform gicc 2024-10-08 08:58:34 +00:00
arch arch/riscv: Refactor SMP code 2024-11-28 13:59:34 +00:00
commonlib commonlib/bsd/mem_chip_info: Add mem_chip_info_entry_density_bytes 2024-11-27 07:41:35 +00:00
console console/i2c_smbus: Allow to send data w/o register offset 2024-07-11 00:06:22 +00:00
cpu cpu/via/c7: Compress ramstage with LZ4 by default 2024-11-21 09:26:17 +00:00
device device: Add const qualifier for input of dev_is_active_bridge 2024-11-20 04:32:02 +00:00
drivers drivers/pc80/pc: Clean up formatting of PS/2 related ASL code 2024-11-27 22:11:46 +00:00
ec ec/google/chromeec: Fix typo in google_chromeec_get_pd_chip_info 2024-11-06 22:42:52 +00:00
include drivers/wifi: Support Drive Strength BRI Rsp Table 2024-11-27 21:28:41 +00:00
lib tree: Fix cast an object of type 'nullptr_t' to 'uintptr_t' error 2024-10-29 01:41:41 +00:00
mainboard mb/google/rex/var/kanix: Set GPP_V14 to NC 2024-11-28 09:10:38 +00:00
northbridge nb/via/cx700/romstage: Include missing static.h header 2024-11-21 12:25:19 +00:00
sbom src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
security drivers/pc80/tpm: Remove flag TPM_RDRESP_NEED_DELAY 2024-10-14 15:26:11 +00:00
soc soc/mediatek: Eliminate redundant calls to get_pmif_controller() 2024-11-28 13:41:40 +00:00
southbridge tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00
superio superio/ite: Add support for IT8625E 2024-11-21 15:49:12 +00:00
vendorcode drivers/wifi: Support Drive Strength BRI Rsp Table 2024-11-27 21:28:41 +00:00
Kconfig Add initial experimental LTO support 2024-08-24 12:50:38 +00:00