summaryrefslogtreecommitdiff
path: root/include/sbi_utils/cppc
diff options
context:
space:
mode:
authorBen Zong-You Xie <[email protected]>2026-07-28 16:10:37 +0800
committerAnup Patel <[email protected]>2026-09-01 10:46:23 +0530
commit733867c0c8f4941a78144eb49d8e0c5d086d8567 (patch)
treedbbfcb55e46817c7cf850e46c4d94b9b63009c74 /include/sbi_utils/cppc
parent4c5d9d9f93c77805dbc023cdef6a68c039b87970 (diff)
platform: generic/andes: pair non-retentive CSR save/restore with a flag
The restore was gated on sbi_init_count() and the current sleep type, which is only a proxy for "did this hart actually save its CSRs". Track it explicitly instead, so restore is self-guarding and the call site needs no conditions. Signed-off-by: Ben Zong-You Xie <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi_utils/cppc')
0 files changed, 0 insertions, 0 deletions