From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B162A329E6A for ; Mon, 27 Apr 2026 15:12:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777302754; cv=none; b=tsb5iZ1uita+ATZwuNsiYE6FIH95LgrHnoV9vb688rsrYqUwEX9l61n9G2zjDHAAOrbS2HlLzC7wCyp42lKcjuuXGAwbrQvmWtH0tzuXdXc3RDU7oSfAb6z2IKgpfUGT92bLayIZjsz4eytMheumoNn09Lzuma+mNCrsMxtZvNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777302754; c=relaxed/simple; bh=/CqSskoGzdcsqttztytoVUlABn4AorHKr03Sns89Kr0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BdGKIu1Qk4VQsKIYX8/a8Ufzfago3WvzzyNlzjgLSM7VAUH4GI0YVDMYv8pzL/I77dQgjtA3oHebgjtXcnej3pYV70Wh96drC+jfPYfAoR9eD6sVA3TShf6OjVR8c5iYYLyVWxKIJJMX30S/F9FT2fYhMUopO0vCCPhcsz62dRg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XRuH0LPg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XRuH0LPg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 786ECC2BCB4; Mon, 27 Apr 2026 15:12:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777302754; bh=/CqSskoGzdcsqttztytoVUlABn4AorHKr03Sns89Kr0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XRuH0LPgJ19c6Dk93dvLfAp7sjAblitcu2mwBzb550aJCiazA9qEdnMg8/4sz1nm9 mIPpFXEkUOsKJ/B1+WLZI0c2nxk27o4wWb9rc0zTD5jS0po7WxHgmd6DpJsC3ktT10 bGDG260ZfAaWREBJ4WxiFgccHR2GHyeYtn2O+60jaNyu2nSow0z9cxv7j2+bZY2J+6 ub0sriAu0nZfYFw01jAZ/NmVWE02SRCZYE/P7CFk1RdQKxlJRWkWJOlW7vCZwpI7PT DEdJBghMb9UdnlHJFwfUMCX1EmuXfpxVLssNe9tWtPI36R6buDFs4JlxSKNzDyxBHy nKQK3JmmaZwEA== Date: Mon, 27 Apr 2026 16:12:30 +0100 From: Conor Dooley To: Yong-Xuan Wang Cc: Paul Walmsley , Samuel Holland , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, greentime.hu@sifive.com, vincent.chen@sifive.com, zong.li@sifive.com Subject: Re: [PATCH] riscv/sifive: remove warning in errata Message-ID: <20260427-landside-bush-45bf90908635@spud> References: <20260426-vendor-v1-1-041fbde8918f@sifive.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mIOY6PRxrGBBmvWp" Content-Disposition: inline In-Reply-To: <20260426-vendor-v1-1-041fbde8918f@sifive.com> --mIOY6PRxrGBBmvWp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Signed-off-by: Yong-Xuan Wang > --- > arch/riscv/errata/sifive/errata.c | 1 - > 1 file changed, 1 deletion(-) >=20 > 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 !=3D SIFIVE_VENDOR_ID) > continue; > if (alt->patch_id >=3D ERRATA_SIFIVE_NUMBER) { > - WARN(1, "This errata id:%d is not in kernel errata list", alt->patch_= id); > continue; > } > =20 >=20 > --- > base-commit: ddbf9c76c4020bf63a0799b00faad40caa3de6c2 > change-id: 20260426-vendor-4b4427e0b670 >=20 --mIOY6PRxrGBBmvWp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCae98xAAKCRB4tDGHoIJi 0nBOAPwJ/Rlq+xxj/X9mZX5vmvUYTXkRl/9tGXSZlakDusxxqgD9FZthxAHozeK7 zm/lGbFJ6mk/Nw/gXTEBxhUfAPiygwY= =SBCq -----END PGP SIGNATURE----- --mIOY6PRxrGBBmvWp--