diff options
author | Jesse Taube <jesse@rivosinc.com> | 2025-05-28 08:46:04 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-06-16 17:01:52 +0530 |
commit | 324021423d063702a5cb2d4207a3a9c4e999549f (patch) | |
tree | 661829a1c149a748f912383f8fa835063e36e419 /lib/utils/cppc | |
parent | 03f44e6b82a4debd0e5a3a67cf7f2da9f4a7dfca (diff) | |
download | opensbi-324021423d063702a5cb2d4207a3a9c4e999549f.zip opensbi-324021423d063702a5cb2d4207a3a9c4e999549f.tar.gz opensbi-324021423d063702a5cb2d4207a3a9c4e999549f.tar.bz2 |
lib: sbi: dbtr: Fix update_triggers to match SBI
OpenSBI implements sbi_dbtr_update_trig as
`sbi_dbtr_update_trig(unsigned long trig_idx_base,
unsigned long trig_idx_mask)`
yet SBI v3.0-rc7 Chapter 19. Debug Triggers Extension [0] declares it as
`sbi_debug_update_triggers(unsigned long trig_count)`
Change update_triggers to match SBI.
[0] https://github.com/riscv-non-isa/riscv-sbi-doc/tree/v3.0-rc7/src/ext-debug-triggers.adoc
Fixes: 97f234f15c96 ("lib: sbi: Introduce the SBI debug triggers extension support")
Signed-off-by: Jesse Taube <jesse@rivosinc.com>
Reviewed-by: Himanshu Chauhan <hchauhan@ventanamicro.com>
Tested-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Link: https://lore.kernel.org/r/20250528154604.571815-1-jesse@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions