diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-03-18 02:11:43 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-03-31 20:27:50 +0200 |
commit | cfafe260137418d0265d0df3bb18dc494af2b43e (patch) | |
tree | 50bde642415f253c2f4bf848fcb5441af43f2c79 /Kbuild | |
parent | RISC-V: Add SBI HSM extension definitions (diff) | |
download | linux-cfafe260137418d0265d0df3bb18dc494af2b43e.tar.xz linux-cfafe260137418d0265d0df3bb18dc494af2b43e.zip |
RISC-V: Add supported for ordered booting method using HSM
Currently, all harts have to jump Linux in RISC-V. This complicates the
multi-stage boot process as every transient stage also has to ensure all
harts enter to that stage and jump to Linux afterwards. It also obstructs
a clean Kexec implementation.
SBI HSM extension provides alternate solutions where only a single hart
need to boot and enter Linux. The booting hart can bring up secondary
harts one by one afterwards.
Add SBI HSM based cpu_ops that implements an ordered booting method in
RISC-V. This change is also backward compatible with older firmware not
implementing HSM extension. If a latest kernel is used with older
firmware, it will continue to use the default spinning booting method.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions