u-boot/cmd/riscv
Heinrich Schuchardt 1806fed0ce cmd: add rdcycle test to RISC-V exception command
Some versions of KVM don't allow access to the cycle CSR.

Provide a command 'exception rdcycle' for testing.

If the cycle CSR is accessible, we get an output like:

    => exception rdcycle
    cycle = 0x41f7563de

If the cycle CSR is not accessible, we get an output like:

    => exception rdcycle
    Unhandled exception: Illegal instruction

Put subcommands into alphabetical order in long help.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2024-09-10 10:10:43 +08:00
..
exception.c cmd: add rdcycle test to RISC-V exception command 2024-09-10 10:10:43 +08:00
Makefile cmd: provide command sbi 2020-08-25 09:34:47 +08:00
sbi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00