From 64904e5d5c99dbb067c0a82d450e2ebf15d48f33 Mon Sep 17 00:00:00 2001 From: Nick Hu Date: Mon, 20 Oct 2025 14:34:08 +0800 Subject: lib: sbi: Add SiFive proprietary xsfcease Using ISA string "xsfcease" to detect the support of the custom instruction "CEASE". Reviewed-by: Cyan Yang Reviewed-by: Anup Patel Signed-off-by: Nick Hu Link: https://lore.kernel.org/r/20251020-cache-upstream-v7-6-69a132447d8a@sifive.com Signed-off-by: Anup Patel --- include/sbi/sbi_hart.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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, -- cgit v1.3.1