* [PATCH] riscv/sifive: remove warning in errata
@ 2026-04-27 2:53 Yong-Xuan Wang
2026-04-27 15:12 ` Conor Dooley
0 siblings, 1 reply; 3+ messages in thread
From: Yong-Xuan Wang @ 2026-04-27 2:53 UTC (permalink / raw)
To: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Alexandre Ghiti
Cc: linux-riscv, linux-kernel, greentime.hu, vincent.chen, zong.li,
Yong-Xuan Wang
The patch_id of the availability checking for SiFive vendor extensions
will always larger than ERRATA_SIFIVE_NUMBER. Remove this unnecessary
warning.
Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
---
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: ddbf9c76c4020bf63a0799b00faad40caa3de6c2
change-id: 20260426-vendor-4b4427e0b670
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] riscv/sifive: remove warning in errata
2026-04-27 2:53 [PATCH] riscv/sifive: remove warning in errata Yong-Xuan Wang
@ 2026-04-27 15:12 ` Conor Dooley
2026-04-29 14:56 ` Yong-Xuan Wang
0 siblings, 1 reply; 3+ messages in thread
From: Conor Dooley @ 2026-04-27 15:12 UTC (permalink / raw)
To: Yong-Xuan Wang
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Alexandre Ghiti, linux-riscv, linux-kernel, greentime.hu,
vincent.chen, zong.li
[-- Attachment #1.1: Type: text/plain, Size: 1232 bytes --]
On Sun, Apr 26, 2026 at 07:53:46PM -0700, Yong-Xuan Wang wrote:
> The patch_id of the availability checking for SiFive vendor extensions
> will always larger than ERRATA_SIFIVE_NUMBER. Remove this unnecessary
> warning.
I'm sorry, I don't quite understand this commit message. Where is the
other warning that makes this one unneeded?
I think the commit message needs to point out where that is.
Cheers,
Conor.
>
> Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
> ---
> 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: ddbf9c76c4020bf63a0799b00faad40caa3de6c2
> change-id: 20260426-vendor-4b4427e0b670
>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] riscv/sifive: remove warning in errata
2026-04-27 15:12 ` Conor Dooley
@ 2026-04-29 14:56 ` Yong-Xuan Wang
0 siblings, 0 replies; 3+ messages in thread
From: Yong-Xuan Wang @ 2026-04-29 14:56 UTC (permalink / raw)
To: Conor Dooley
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Alexandre Ghiti, linux-riscv, linux-kernel, greentime.hu,
vincent.chen, zong.li
Hi Conor,
On Mon, Apr 27, 2026 at 11:12 PM Conor Dooley <conor@kernel.org> wrote:
>
> On Sun, Apr 26, 2026 at 07:53:46PM -0700, Yong-Xuan Wang wrote:
> > The patch_id of the availability checking for SiFive vendor extensions
> > will always larger than ERRATA_SIFIVE_NUMBER. Remove this unnecessary
> > warning.
>
> I'm sorry, I don't quite understand this commit message. Where is the
> other warning that makes this one unneeded?
> I think the commit message needs to point out where that is.
>
Sorry it's my fault. I will update the commit message in the next version.
Regards,
Yong-Xuan
> Cheers,
> Conor.
>
> >
> > Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
> > ---
> > 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: ddbf9c76c4020bf63a0799b00faad40caa3de6c2
> > change-id: 20260426-vendor-4b4427e0b670
> >
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-04-29 14:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27 2:53 [PATCH] riscv/sifive: remove warning in errata Yong-Xuan Wang
2026-04-27 15:12 ` Conor Dooley
2026-04-29 14:56 ` Yong-Xuan Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox