[PATCH 0/2] Restore platform specific CSRs when suspend

Xiang W wxjstz at 126.com
Thu Dec 4 06:58:50 PST 2025


When HART enters suspend mode, some platforms require specific CSRs
to be saved for recovery.

Xiang W (2):
  lib: sbi: restore platform CSR when suspend
  platform: thead: restore platform CSR when suspend

 include/sbi/sbi_platform.h                    | 60 +++++++++++++++++++
 lib/sbi/sbi_hsm.c                             | 12 +++-
 .../generic/include/thead/c9xx_encoding.h     |  1 +
 platform/generic/thead/thead-generic.c        | 53 ++++++++++++++++
 4 files changed, 125 insertions(+), 1 deletion(-)

-- 
2.47.3




More information about the opensbi mailing list