mirror of
https://gitlab.com/qemu-project/opensbi.git
synced 2025-11-10 05:37:55 +08:00
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 <cyan.yang@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Nick Hu <nick.hu@sifive.com> Link: https://lore.kernel.org/r/20251020-cache-upstream-v7-5-69a132447d8a@sifive.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user