
6 Sep
2023
6 Sep
'23
7:18 a.m.
This adds to support bootstage for risc-v. timer_get_boot_us function is required to record each boot stages with microsecond timestamp.
Changes from v2: - Add a Leo's RB tag of 1/3 patch - Add a description of the calculation formula - Correct the divisor value typo of 3/3 patch
Chanho Park (3): riscv: bootstage: correct bootstage_report guard riscv: timer: add timer_get_boot_us for BOOTSTAGE timer: riscv_aclint_timer: add timer_get_boot_us for BOOTSTAGE
arch/riscv/lib/bootm.c | 2 +- drivers/timer/riscv_aclint_timer.c | 23 +++++++++++++++++++++++ drivers/timer/riscv_timer.c | 22 ++++++++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-)
--
2.39.2