diff options
| author | Charles Perry <[email protected]> | 2026-06-22 12:43:07 -0700 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2026-07-26 19:39:22 -0700 |
| commit | b3b5b305e2c9f09440bda5fd3edf9e230c54d94f (patch) | |
| tree | 8d1bba7477df40bc5eb9461ca7305cf4b92509fd /doc/develop/bootstd | |
| parent | e1b16d3c0f53c2291b1583e8eee72a0d6581e2dd (diff) | |
riscv: remove log_debug() in enable_caches()
log_debug() cannot be used before log_init() has been called. Remove the
log_debug() statement in enable_caches() since it is called before
log_init() in initcall_run_r().
This fixes a bug where a RISC-V system which does not have the "zicbom"
extension (such as PIC64-HPSC/HX) would get lost in an infinite loop in
log_dispatch().
Fixes: 9e859849e2ca ("riscv: cache: Add CBO instructions")
Signed-off-by: Charles Perry <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions
