* [PATCH] RISC-V: Ignore Zicfiss and Zicfilp for now
@ 2026-03-11 10:02 Ben Dooks
0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2026-03-11 10:02 UTC (permalink / raw)
To: linux-sparse; +Cc: chriscli, pjw, Ben Dooks
These two are part of the CFI[1] and do not seem to need any
sort of special handling as yet. Just add these to list of
known extensions to stop annoying warnings from current
Linux kernel builds.
[1] (https://docs.riscv.org/reference/isa/priv/priv-cfi.html
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
target-riscv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target-riscv.c b/target-riscv.c
index cd6104b2..5b13202c 100644
--- a/target-riscv.c
+++ b/target-riscv.c
@@ -48,6 +48,8 @@ static void parse_march_riscv(const char *arg)
{ "_zacas", RISCV_ATOMIC_CAS },
{ "_zabha", RISCV_ATOMIC_BH },
{ "_zicsr", RISCV_ZICSR },
+ { "_zicfilp", 0 },
+ { "_zicfiss'", 0 },
{ "_zifencei", RISCV_ZIFENCEI },
{ "_zicbom", RISCV_ZICBOM },
{ "_zihintpause", RISCV_ZIHINTPAUSE },
--
2.37.2.352.g3c44437643
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-11 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 10:02 [PATCH] RISC-V: Ignore Zicfiss and Zicfilp for now Ben Dooks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox