[PATCH v2 0/4] Some updates about sbi_timer

Xiang W wxjstz at 126.com
Tue May 27 22:53:49 PDT 2025


PATCH0-3 are some bug fixes and improvements
PATCH4 adds memory-mapped stimecmp support

The description of T-Head stimecmp can be found in the following document
https://occ-intl-prod.oss-ap-southeast-1.aliyuncs.com/resource/XuanTie-OpenC910-UserManual.pdf

Xiang W (4):
  lib: sbi: fix sbi_timer_event_start
  lib: sbi: Add error check for sbi_timer_waitms_until
  lib: utils: Simplify time_event_stop
  lib/utils: Add memory-mapped stimecmp support

 include/sbi_utils/fdt/fdt_helper.h      |  1 +
 include/sbi_utils/timer/aclint_mtimer.h |  2 ++
 lib/sbi/sbi_timer.c                     | 18 +++++++++++------
 lib/utils/fdt/fdt_helper.c              | 21 ++++++++++++++++++--
 lib/utils/ipi/fdt_ipi_mswi.c            |  2 +-
 lib/utils/timer/aclint_mtimer.c         | 26 ++++++++-----------------
 lib/utils/timer/andes_plmt.c            | 21 +++++---------------
 lib/utils/timer/fdt_timer_mtimer.c      |  8 ++++++--
 8 files changed, 54 insertions(+), 45 deletions(-)

-- 
2.47.2




More information about the opensbi mailing list