public inbox for linux-sparse@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben.dooks@codethink.co.uk>
To: linux-sparse@vger.kernel.org
Cc: chriscli@google.com, pjw@kernel.org,
	Ben Dooks <ben.dooks@codethink.co.uk>
Subject: [PATCH] RISC-V: Ignore Zicfiss and Zicfilp for now
Date: Wed, 11 Mar 2026 10:02:33 +0000	[thread overview]
Message-ID: <20260311100233.384711-1-ben.dooks@codethink.co.uk> (raw)

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


                 reply	other threads:[~2026-03-11 10:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260311100233.384711-1-ben.dooks@codethink.co.uk \
    --to=ben.dooks@codethink.co.uk \
    --cc=chriscli@google.com \
    --cc=linux-sparse@vger.kernel.org \
    --cc=pjw@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox