Compare commits

...

2 Commits

Author SHA1 Message Date
Gerwin Klein
6b204b3fe4 Merge branch 'master' into lsf37/riscv-clock-test 2024-12-20 11:32:19 +11:00
Gerwin Klein
69aec5c642 hifive: reflect lower TIMER_PRECISION in config
Reflect the slow timer read on this platform by increasing the value
for TIMER_PRECISION.

MCS+SMP+debug tests have been failing the clock sync boot test (see
also issue #1053). The proposed fix, which was to make reading the
timer faster, only works for certain OpenSBI versions and is not
enabled by default.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
2024-12-19 10:43:27 +11:00

View File

@@ -20,6 +20,7 @@ if(KernelPlatformHifive)
TIMER_FREQUENCY 1000000
MAX_IRQ 53
INTERRUPT_CONTROLLER drivers/irq/riscv_plic0.h
TIMER_PRECISION 3u
)
else()
unset(KernelPlatformFirstHartID CACHE)