diff options
| author | Nick Hu <[email protected]> | 2025-10-20 14:34:07 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-10-28 11:27:55 +0530 |
| commit | 8752c809b34fed3378860258922c67df14236d11 (patch) | |
| tree | eabae052e292bffecd03de43134b62b7e82047f5 /include | |
| parent | ce4dc7649e5e1f7053d996f08c7da071b80b654f (diff) | |
lib: sbi: Add SiFive proprietary xsfcflushdlone
Using ISA string "xsfcflushdlone" to detect the support of the
SiFive L1D cache flush custom instruction.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h index 82b19dcf..fdcf400a 100644 --- a/include/sbi/sbi_hart.h +++ b/include/sbi/sbi_hart.h @@ -81,6 +81,8 @@ enum sbi_hart_extensions { SBI_HART_EXT_SSCTR, /** HART has Ssstateen extension **/ SBI_HART_EXT_SSSTATEEN, + /** Hart has Xsfcflushdlone extension */ + SBI_HART_EXT_XSIFIVE_CFLUSH_D_L1, /** Maximum index of Hart extension */ SBI_HART_EXT_MAX, |
