Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp627190lqb; Wed, 17 Apr 2024 06:42:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQoSSsE7e+6vweYGBr0ZYfLNv7X17SnqKh6hQnfaVFJZu4cMhTqCJ7a45UOdY/6tz0MmHbLOjLuVtLQV6nFCQi2SDHEA4o+fzTlGTd4Q== X-Google-Smtp-Source: AGHT+IFfClG6Rqh4jy50Iat4rYDGA5HVi/XzLnoPd2+GJBi/qN4nZGXyR9ykoQOHTQR0p6NropL/ X-Received: by 2002:a05:6870:9a95:b0:22e:be64:9895 with SMTP id hp21-20020a0568709a9500b0022ebe649895mr19587219oab.46.1713361378756; Wed, 17 Apr 2024 06:42:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713361378; cv=pass; d=google.com; s=arc-20160816; b=H/Tdc348mTHpBTE70yqoPLPEjY7KOTouuT1D/JzYrVsNFiznRtAvXJI0UBM6SMhVSQ k3nxgvethKzcs1zvAv8BNEO7h5ZYppcpZcSlwvKDKzynrYME/6MEc4Hm2GPR591mQpN1 Hn5LFXw6Y0gvaIt8gbsh0remOeKh6oAOlFESL+s4MlOALAQiRgypX8DYLz0dTLDJ/z2F nLt0xz0L6tr67j44panrbg8xNNT0nmT92D0C6Nn3zBbwvTCenuXYG/mfpFY0PQYyH8XV veeDQRZ6ighixnp93DboypvEtpG34CJfWXUqZvk/PBTWmOsz3HMU+txadCqwuJedMXix 3B0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qSKalUHVy7m8EpzziR2PV/YoAzvSRX5xkI7I7hFDVxw=; fh=mBwwpQbay9vhzTgPULjjDn+LkmwbaBeNVRczdYQ/Av4=; b=0vfKsHJZb+kyig2I5nJp2ezOSnVZk9bz8VASC9lWc8dsMK0kY2B4sSKA0XnycpO0VP tD+acVDDtcpQ6mlUc3W2ckvKngJUgUGWNWlzG4XxHOwjrGJ8qrIVbmsF/3Jbm9g9yhXa hTYPoUu6fNueH//xqi7U0oRCFaSMzYiMAOrDuDbrzZlJHbVPyeRWQPRHwBmjgG1/ffaO qcl2byz7l2fcM7+JxCbNlJvw0DviAsi2DDU5xG6XKMlrl9FA0DsAsFo/GAeKpQJvlN2t E5ksY4taaDpj05ghyW4RV6K9qilvF4BYTnKiBq7WLD4dxgcl6+Or3ckSwbWNXQ0Sw/4K oM8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uxe+qeP1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148609-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w3-20020a636203000000b005e838a65639si11536403pgb.191.2024.04.17.06.42.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 06:42:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148609-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uxe+qeP1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148609-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 69A932828A2 for ; Wed, 17 Apr 2024 13:42:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9ACB13FD87; Wed, 17 Apr 2024 13:42:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uxe+qeP1" 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 0B63213F42D; Wed, 17 Apr 2024 13:42:48 +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=1713361369; cv=none; b=s1eVofJMpRFwv78YN4aOgmSyuOFrjRBvhNoo5F5G1BWtV6Q53aSkh5tr1KXr7ZDBk+8a/BiJ0W73yNLjOoqIGEo1OEoeFXy1XsM83vpKuM1NHUDzY5ms/kwIs5yIX3YaabiSibKrN7132JDB/0GEecku8ArOkijM4k1BgZbRrc0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713361369; c=relaxed/simple; bh=exPu4RcMsk/1+QRfafTnptMZ6ljl6Uz5WGS7JHUbSG0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=egP+pxChIbjkio5fh0Qp70ri3zC5f3//VplYa1aSJgOCWj2DWBFR0V4gP2y/nt/eEcVygegi7zFbvENH/T4mukcWaAUOYL172cD8mRcwcBi4h2zxWm9jcM3XPvqVLCbMfESFY+YEAUEkVsXXa2wYK+prjJadzekarrEkDHPlH9M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uxe+qeP1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D799C3277B; Wed, 17 Apr 2024 13:42:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713361368; bh=exPu4RcMsk/1+QRfafTnptMZ6ljl6Uz5WGS7JHUbSG0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uxe+qeP1yFDPT1hD9RgNKZpz03zbMYoYMhxqPRwisGF9SsPrzxEkUxX75wQv3zBhA BRx4qPfoMxWPdmJwOIK9wFA+qQYzEG1dHt/VODsEgTHspeEyo2FRzPdK/fhuAus2Q8 ylR0jMTstUpWiASwRHCg56D+AUdM2rw88Zawp5HQxNXB+vJajPhhiKr+NK9Y/hMrkH P5SN9ZALpHHXlYBftOidVumzDmLewTgO400T9jwqyCuXvtQ/odwwW1dahLq0xrtTMx KE+MFqbTrbccApemLfMPMIb0sr3ngW/lgmXlnzVM1lPk7ua6IcTNR3De9KsJ29aUhp 8KxeJSNxWvmBQ== Date: Wed, 17 Apr 2024 14:42:41 +0100 From: Conor Dooley To: Charlie Jenkins Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Guo Ren , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Conor Dooley , Evan Green , =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= , Jonathan Corbet , Shuah Khan , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Palmer Dabbelt , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 06/17] riscv: Extend cpufeature.c to detect vendor extensions Message-ID: <20240417-automaker-baton-bd816e1bd975@spud> References: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-c7d68c603268@rivosinc.com> <20240415-dev-charlie-support_thead_vector_6_9-v2-6-c7d68c603268@rivosinc.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-sha256; protocol="application/pgp-signature"; boundary="p0QSKblu8bR1+Anb" Content-Disposition: inline In-Reply-To: <20240415-dev-charlie-support_thead_vector_6_9-v2-6-c7d68c603268@rivosinc.com> --p0QSKblu8bR1+Anb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 15, 2024 at 09:12:03PM -0700, Charlie Jenkins wrote: > @@ -351,6 +343,14 @@ static void __init riscv_parse_isa_string(unsigned l= ong *this_hwcap, struct risc > bool ext_long =3D false, ext_err =3D false; > =20 > switch (*ext) { > + case 'x': > + case 'X': > + pr_warn("Vendor extensions are ignored in riscv,isa. Use riscv,isa-ex= tensions instead."); Was looking for something and noticed this - pr_warn_once() I think. > + /* > + * In canonical order, the remaining extensions in the > + * isa string will be vendor extensions so exit. > + */ > + break; > case 's': > /* > * Workaround for invalid single-letter 's' & 'u' (QEMU). --p0QSKblu8bR1+Anb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZh/R0QAKCRB4tDGHoIJi 0vzZAQCEhpBLtL/EDT9fUbss6os6B1Bq+MiUtQnftDZaXWVoyAD+LTrtP2tTsvuJ r6qruyvOjKVA6j/gDB5rHH3TKzICzwk= =MO+X -----END PGP SIGNATURE----- --p0QSKblu8bR1+Anb--