diff options
author | Radim Krčmář <rkrcmar@ventanamicro.com> | 2025-04-29 16:25:47 +0200 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-04-30 10:14:26 +0530 |
commit | 8c814b5c9b03aac0d6bb2366e3c8fbce132ca4d9 (patch) | |
tree | a29074c3a5768f32f7368f34c5945905458c9e92 /lib/utils/cppc | |
parent | 6b877fb53b8da84c69f0832c7f2a343239ba609e (diff) | |
download | opensbi-8c814b5c9b03aac0d6bb2366e3c8fbce132ca4d9.zip opensbi-8c814b5c9b03aac0d6bb2366e3c8fbce132ca4d9.tar.gz opensbi-8c814b5c9b03aac0d6bb2366e3c8fbce132ca4d9.tar.bz2 |
lib: sbi_hart: fix sstateen emulation
The Sstateen extension defines 4 sstateen registers, but SBI currently
configures the execution environment to throw illegal instruction
exception when accessing sstateen1-3.
SBI should implement all sstateen registers, so delegate the
implementation to hardware by setting the SE bit.
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Radim Krčmář <rkrcmar@ventanamicro.com>
Link: https://lore.kernel.org/r/20250429142549.3673976-7-rkrcmar@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions