
17 Mar
2022
17 Mar
'22
1:32 a.m.
On Thu, Mar 17, 2022 at 4:21 AM Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
Version 1.0-rc3 of the RISC-V Supervisor Binary Interface Specification has added the Performance Monitoring Unit Extension.
The sbi command should be able to detect it.
Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
At this point it is not necessary to add the full interface descritption of the PMU extension in sbi.h. We can add it later if we ever have to make use of the extension.
arch/riscv/include/asm/sbi.h | 1 + cmd/riscv/sbi.c | 1 + 2 files changed, 2 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com