zephyr/soc/riscv/riscv-privilege
Adam Jeliński 86ca5ff562 m2gl025_miv: Adjust frequencies and performance
The default frequency for this board in Renode is 66 MHz. This needs to
be even with `SYS_CLOCK_HW_CYCLES_PER_SEC` to avoid such problems as in
the #31726 issue.

Unfortunately, the difference in these values was helpful for some tests
that are failing with 66 MHz set in both places. It created artificial
boost in certain circumstances.

The frequencies in the default Renode platform description (`.repl`)
file for MI-V were overridden with 4 MHz value that seems to be better
tolerated based on testing. The `SYS_CLOCK_HW_CYCLES_PER_SEC` was
adjusted as well.

To solve the rest of the issues, `cpu PerformanceInMips` was set to 4.
It seems tests are completed faster with such a value.

This commit fixes #31726.

Signed-off-by: Adam Jeliński <ajelinski@antmicro.com>
2021-02-09 19:41:27 -05:00
..
common power: remove SYS_ and sys_ prefixes 2020-12-09 15:18:29 -05:00
miv m2gl025_miv: Adjust frequencies and performance 2021-02-09 19:41:27 -05:00
sifive-freedom device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
virt soc/riscv: support reboot for QEMU RISC-V VirtIO 2021-02-04 13:14:12 -05:00
CMakeLists.txt
Kconfig
Kconfig.defconfig
Kconfig.soc