Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - R index

CONFIG_RISCV_BOOT_SPINWAIT: Spinwait booting method

General informations

The Linux kernel configuration item CONFIG_RISCV_BOOT_SPINWAIT:

Help text

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.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - R index

Automatically generated (in year 2024). See also LKDDb sources on GitLab