Files
Charles PerryandLeo Yu-Chi Liang b3b5b305e2 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: 9e859849e2 ("riscv: cache: Add CBO instructions")
Signed-off-by: Charles Perry <charles.perry@microchip.com>
Reviewed-by: Leo Yu-Chi Liang <leo.liang@sifive.com>
2026-07-26 19:39:22 -07:00
..
2026-03-18 13:17:34 -06:00
2025-12-08 12:10:55 +08:00
2025-12-08 12:10:55 +08:00
2025-12-08 12:10:55 +08:00