Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp195698lqs; Thu, 13 Jun 2024 07:44:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJc3pdaUadTv3IVgTdGi5OcdMyXmEM5EeOEnZRrzY5srVa/IhQ8zMD6433EOnu3tWsJno62ntLNXjoz1jWEM1vaRIXYk+CS8l4ly7vbQ== X-Google-Smtp-Source: AGHT+IEkcGVdhs5UeGj5196SFnagiQn5ThcdLlnTk3ipotQdWXnwKU+lI++DbPpw6AmLaPfBaEX+ X-Received: by 2002:a05:620a:4016:b0:795:7abd:12e2 with SMTP id af79cd13be357-798d0242eb9mr5266285a.17.1718289876536; Thu, 13 Jun 2024 07:44:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718289876; cv=pass; d=google.com; s=arc-20160816; b=NHJ0UjUcoiZefevKWFWVwOkfbpEFUcEczB06fT3LPLDn4sa1sxYJlitr08/6wtBq3Q CGWmsC1r/7MVOMiwV1EZLjIrrugRb5fAj1XXnskqvSnGG3clqaCMSylVJbTKEwGmqjgE 36RXeU8Vt0LgY+m8oVSEN/ICMO02dx5ItZTqGDBb3gZYpC7uPWCQL+313UgoD4iaXmmW VNVKShCV1tucnuzvqKbQ1gLMrY3vnlNNwSuRSAngPcbxf+QX9HY3wkEbp2OebUGk9aCH iJAtcsXdYwi60XiwZHbT8Ss1RB5Bp0DNj7/lsfyqi3m7/ZdFYvrlMRT6qbcwUpW/s+8N OKeA== 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=yWSohq+9rzlktRl57vGSLSRf01m1OZRSVju2Mkb1OEI=; fh=KnuiNSS2zi42J3YOwldWtkbbwAnWXW/bDZGidA5+aJw=; b=bSEbfP2XGqe6Hs+7OowpSfjF6bX1VAmYAIGyKlItcVx/wEPrhALp5XNGbZ6jwThnmd kA4mGTNgqhfXiXIfKDFd/Py/2hR/A+qgTe9JpapEq66XADyfrQURP/c/p2VpE3Tlr2j1 h9ODLwxR347TXx0tO1guM/rL3lfuXdzwSL5jjJlrNA7yQbDFFzsis+dfYbWgRhXZXOBy 0BT6MxOvDMwrmsCx0tqmPcfDHsI6X5vFe4GQLMka1c7EpWrkDogPqNaee91WUvgVR0nT id00m/VYA6LQjS7ISdVBLFwiD5wXydujS2h6jZBpK5Co0sIJuh+ldsLpO6GwIW4NNZjK uGfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r976s8pP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213452-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213452-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-798abe5b6cdsi147979985a.630.2024.06.13.07.44.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:44:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213452-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r976s8pP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213452-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213452-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 08FC71C22B74 for ; Thu, 13 Jun 2024 14:44:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 895D0145FFD; Thu, 13 Jun 2024 14:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="r976s8pP" 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 B73D2399 for ; Thu, 13 Jun 2024 14:44:30 +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=1718289870; cv=none; b=jOqEZxsgXZwN9IUIn9SCnExpEqqAkL+f54PL4gZPczdCVcRMsYGGJxlShUacBlSaD4mHY4Oux2KTcYj7alVIU2F4ASoaJ7+S+0lPZKT6hN2+soyHGcUXg3vCyIiFH+HcuW9G48c418qsTFAygqqdsQIKbs+kJYs17z2uGeaTeKs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718289870; c=relaxed/simple; bh=yWSohq+9rzlktRl57vGSLSRf01m1OZRSVju2Mkb1OEI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=F727jwC+9JQgRJQPuWvHZ1WhSVzly0OgI1EAzpxU6lRfaU9D2E0MjaDoW5sd3sA1yqXiZrvtk95v+g1i3rtptKtfdA/F3rrbyj8cBlNUfOmfeo8I0nDm7r5wYWdR5nbXrEz7UvBI2C60VFwhWFWBg+nD8w6rY+IIM6ZB4+/yw7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=r976s8pP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A282C32786; Thu, 13 Jun 2024 14:44:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718289870; bh=yWSohq+9rzlktRl57vGSLSRf01m1OZRSVju2Mkb1OEI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r976s8pP9rjrr7ALu3lQ5TJkega+RsnW2+KqzXAeqDnaHB4R69lsHN3XC4Xq1nwhf MotP/XQVdSzxRtALOPdnvavj7wHt/z2r5q29SFY+80QMmhziwH+UUZmLHxf/fejIy/ BDcnBAGgwIii1kns9zAxsMdcyFofik0Y+ZfunmRb9EyNybwoSEVYeUtAOTZZ89JHpn PTOz6PSpQlsabiTx/xYD7vPIUYbTQsn3+aFNmKACNaZbqRwvGES0Ujkwd2kmjMQktn DjEhgvs/S2ZV46YLsMFaAjkQaDqOoASlFj9BvQjgeTd8nXEpMFlvc2f+bomhgM2cLe VL+Ffx0QlqWng== Date: Thu, 13 Jun 2024 15:44:26 +0100 From: Conor Dooley To: Charlie Jenkins Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Evan Green , Andy Chiu , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] riscv: Extend cpufeature.c to detect vendor extensions Message-ID: <20240613-award-dubiously-49252229b020@spud> References: <20240609-support_vendor_extensions-v2-0-9a43f1fdcbb9@rivosinc.com> <20240609-support_vendor_extensions-v2-1-9a43f1fdcbb9@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="m/3ptYUdWpWGnqQv" Content-Disposition: inline In-Reply-To: <20240609-support_vendor_extensions-v2-1-9a43f1fdcbb9@rivosinc.com> --m/3ptYUdWpWGnqQv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 09, 2024 at 09:34:14PM -0700, Charlie Jenkins wrote: > Instead of grouping all vendor extensions into the same riscv_isa_ext > that standard instructions use, create a struct > "riscv_isa_vendor_ext_data_list" that allows each vendor to maintain > their vendor extensions independently of the standard extensions. > xandespmu is currently the only vendor extension so that is the only > extension that is affected by this change. >=20 > An additional benefit of this is that the extensions of each vendor can > be conditionally enabled. A config RISCV_ISA_VENDOR_EXT_ANDES has been > added to allow for that. >=20 > Signed-off-by: Charlie Jenkins Reviewed-by: Conor Dooley --m/3ptYUdWpWGnqQv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZmsFygAKCRB4tDGHoIJi 0h5fAQDeYsSVtPQVBHXjvECQRibHazGog0hdC8ToeSy3Svxj+QEA+ANOFwkbAuZq Nz2CAa9yaR4rlEda/iWTRhGgXvTvKgQ= =NpFb -----END PGP SIGNATURE----- --m/3ptYUdWpWGnqQv--