mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] riscv/sifive: remove warning in errata
@ 2026-05-04  3:53 Yong-Xuan Wang
  2026-07-21  3:36 ` Paul Walmsley
  0 siblings, 1 reply; 2+ messages in thread
From: Yong-Xuan Wang @ 2026-05-04  3:53 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Samuel Holland, conor
  Cc: linux-riscv, linux-kernel, greentime.hu, vincent.chen, zong.li,
	Yong-Xuan Wang

The alternative patching of sifive vendor extensions also calls the
sifive_errata_patch_func(), but the patch_id of the vendor extension
(ext + RISCV_VENDOR_EXT_ALTERNATIVES_BASE) is always larger than
ERRATA_SIFIVE_NUMBER. Remove this unnecessary warning.

Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
---
v2: update the description (Conor)
---
 arch/riscv/errata/sifive/errata.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/errata/sifive/errata.c b/arch/riscv/errata/sifive/errata.c
index d0c61f86cba3..98edd9143321 100644
--- a/arch/riscv/errata/sifive/errata.c
+++ b/arch/riscv/errata/sifive/errata.c
@@ -94,7 +94,6 @@ void sifive_errata_patch_func(struct alt_entry *begin, struct alt_entry *end,
 		if (alt->vendor_id != SIFIVE_VENDOR_ID)
 			continue;
 		if (alt->patch_id >= ERRATA_SIFIVE_NUMBER) {
-			WARN(1, "This errata id:%d is not in kernel errata list", alt->patch_id);
 			continue;
 		}
 

---
base-commit: 9b3a2be84803cf18c4b4d1efc695991f0daa153c
change-id: 20260503-sifive_errata-3c8ae52ccdb3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] riscv/sifive: remove warning in errata
  2026-05-04  3:53 [PATCH v2] riscv/sifive: remove warning in errata Yong-Xuan Wang
@ 2026-07-21  3:36 ` Paul Walmsley
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Walmsley @ 2026-07-21  3:36 UTC (permalink / raw)
  To: Yong-Xuan Wang
  Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, Alexandre Ghiti,
	Samuel Holland, conor, linux-riscv, linux-kernel, greentime.hu,
	vincent.chen, zong.li

On Sun, 3 May 2026, Yong-Xuan Wang wrote:

> The alternative patching of sifive vendor extensions also calls the
> sifive_errata_patch_func(), but the patch_id of the vendor extension
> (ext + RISCV_VENDOR_EXT_ALTERNATIVES_BASE) is always larger than
> ERRATA_SIFIVE_NUMBER. Remove this unnecessary warning.
> 
> Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>

Thanks, queued for v7.2-rc.


- Paul

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-21  3:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-04  3:53 [PATCH v2] riscv/sifive: remove warning in errata Yong-Xuan Wang
2026-07-21  3:36 ` Paul Walmsley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®