diff options
author | Nick Hu <nick.hu@sifive.com> | 2024-11-15 15:33:08 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-11-28 12:13:38 +0530 |
commit | 23ef9c5f00b81cffbbf7ff6894f241fad07ee4b7 (patch) | |
tree | fcb104cf8fc457dff7c419fb70be2f9492d365fb /platform/generic/platform.c | |
parent | 111772353f4a334dfc4a94a17ebbec8e3edc0b5e (diff) | |
download | opensbi-23ef9c5f00b81cffbbf7ff6894f241fad07ee4b7.zip opensbi-23ef9c5f00b81cffbbf7ff6894f241fad07ee4b7.tar.gz opensbi-23ef9c5f00b81cffbbf7ff6894f241fad07ee4b7.tar.bz2 |
sbi: fwft: clear the config lock when warm boot
The hotplug cpu should clear the fwft config's SBI_FWFT_SET_FLAG_LOCK
in the warm boot flow otherwise the cpu can't set the menvcfg.sse by
SBI_EXT_FWFT_SET sbi call and cause the illegal instruction when
accessing the CSR_SSP in kernel.
Signed-off-by: Nick Hu <nick.hu@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/generic/platform.c')
0 files changed, 0 insertions, 0 deletions