Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - R index
The Linux kernel configuration item CONFIG_RISCV_BOOT_SPINWAIT
:
( CONFIG_SMP ) && ( CONFIG_RISCV_SBI_V01 || CONFIG_RISCV_M_MODE )
This enables support for booting Linux via spinwait method. In the spinwait method, all cores randomly jump to Linux. One of the cores gets chosen via lottery and all other keep spinning on a percpu variable. This method cannot support CPU hotplug and sparse hartid scheme. It should be only enabled for M-mode Linux or platforms relying on older firmware without SBI HSM extension. All other platforms should rely on ordered booting via SBI HSM extension which gets chosen dynamically at runtime if the firmware supports it.
Since spinwait is incompatible with sparse hart IDs, it requires NR_CPUS be large enough to contain the physical hart ID of the first hart to enter Linux.
If unsure what to do here, say N.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - R index
Automatically generated (in year 2024). See also LKDDb sources on GitLab