[PATCH] RISC-V: Ignore Zicfiss and Zicfilp for now
Ben Dooks <[email protected]> Wed, 11 Mar 2026 10:02:33 +0000
| Newsgroups | org.kernel.vger.linux-sparse |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- 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