aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc
diff options
context:
space:
mode:
authorClément Léger <cleger@rivosinc.com>2025-01-10 14:15:55 +0100
committerAnup Patel <anup@brainfault.org>2025-01-30 10:42:27 +0530
commitecab71e19a951a0e42dbbb81b0e4d43840551f7e (patch)
tree387771ad74d85b56d63fc86365767878120c78b3 /lib/utils/cppc
parent93f7d819fdeb3c5e82d5d761968c325f1407d517 (diff)
downloadopensbi-ecab71e19a951a0e42dbbb81b0e4d43840551f7e.zip
opensbi-ecab71e19a951a0e42dbbb81b0e4d43840551f7e.tar.gz
opensbi-ecab71e19a951a0e42dbbb81b0e4d43840551f7e.tar.bz2
lib: sbi: sse: return SBI_ENOTSUPP for unsupported events
If a standard event was not found in the list of events that are handled by harts but belongs to the standard event list defined by the specification, return SBI_ENOTSUPP. Without that, we can not distinguish a non implemented standard event from a non valid one. Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions