summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Hu <[email protected]>2025-10-20 14:34:08 +0800
committerAnup Patel <[email protected]>2025-10-28 11:27:57 +0530
commit64904e5d5c99dbb067c0a82d450e2ebf15d48f33 (patch)
tree43001beb40952c5106c0fe99ff89072ba14367db /include
parent8752c809b34fed3378860258922c67df14236d11 (diff)
lib: sbi: Add SiFive proprietary xsfcease
Using ISA string "xsfcease" to detect the support of the custom instruction "CEASE". Reviewed-by: Cyan Yang <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Nick Hu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_hart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h
index fdcf400a..ff682fb4 100644
--- a/include/sbi/sbi_hart.h
+++ b/include/sbi/sbi_hart.h
@@ -83,6 +83,8 @@ enum sbi_hart_extensions {
SBI_HART_EXT_SSSTATEEN,
/** Hart has Xsfcflushdlone extension */
SBI_HART_EXT_XSIFIVE_CFLUSH_D_L1,
+ /** Hart has Xsfcease extension */
+ SBI_HART_EXT_XSIFIVE_CEASE,
/** Maximum index of Hart extension */
SBI_HART_EXT_MAX,