Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp196367lqs; Thu, 13 Jun 2024 07:45:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJ2UWjthujg8fSXBIb/9Mu84YQAcjuwnMY2V2i4PhSLeayycDJw/tk7u20XrdXtoNy9l+kJe8cr/8Otrq/OGHEtk1f0CH4KtEhGlDO+g== X-Google-Smtp-Source: AGHT+IF6caOot5IFAIC9xHcscKi4rbz0oASUeLVI2C6AF8+ULAK3+Qf9dPAK39KOT6VgaU6xrJnN X-Received: by 2002:a05:6e02:1385:b0:375:8fd0:c92c with SMTP id e9e14a558f8ab-375cd140dd0mr57031505ab.8.1718289944100; Thu, 13 Jun 2024 07:45:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718289944; cv=pass; d=google.com; s=arc-20160816; b=DBrOBSOXl7s41RMwN3beo65WDDnwrSJLRBtwO6kZ1DfwOMvnyNBRqZZzSIP/Z8AEty vnqKNm+W4+NVWf5KgqkoexBeOkaGasxqoqsAAvQXPhxRl4wL1doWqxzJbe+jlCrPH7d5 olnCUbt04b+RCjsXL7oaw4KCIHUvcZLymhpdwewOiB4j/32bnwZUPwgO8iQxFXTMxAf/ MIujKDpMWLsy9teWSrBCE/gz+MKYQjQWO0vGS0yEJJcPKAP29TtKidj4ADTyJWI2lN4R 77FWIqjd7gjiTvw/cmhxn0iw989KXsZBxy54mwUEd/tqYt0GJynnRmx5OBu/Y5bHdtzo EhGQ== 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=InMkkQqrp6LohnfMJCBwnWlQ6oAWATxmLwHmBrNPrGg=; fh=KnuiNSS2zi42J3YOwldWtkbbwAnWXW/bDZGidA5+aJw=; b=ABt1RyFOTVR8tm6Py0VSl0kgs6u42F/E9rYSmsUKD8AulJ/X5L17d8tZtrs9YvrTT7 sKCO9YZfOC7QT4SaJMByy7RWzz/xkb8pKzqDgQmzfJMgCIkYyRcWN6/uobLzos5ddP3U Hw95DJ6fZ2/aVxRG8SggS77e3+UABiE0+nI0sTEFqdGF8wkjboQvgT3ijZraoKIJ3v67 wWQf42jzUVX3PEFgr/CIvSIUQACrCAP0BDK/ZTkSpn3kN4cOL13f9UloWxeSr2CBinGE YrDmLNxfM257iwMQ/h0Je6gge7zi2ZWuFgCBXZ/IaKmLXPtQtzLGSonjx/PeXolXhbcf wdxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gTLGRq+m; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213453-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213453-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 41be03b00d2f7-6fee67ba4fdsi1474108a12.882.2024.06.13.07.45.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213453-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=gTLGRq+m; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-213453-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213453-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 6DD792818EE for ; Thu, 13 Jun 2024 14:45:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1250384D11; Thu, 13 Jun 2024 14:45:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gTLGRq+m" 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 3FDF1B664 for ; Thu, 13 Jun 2024 14:45:37 +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=1718289938; cv=none; b=sWWlFV3S8nkwq+kAzQ025zRiJD0sRKCJPehOa6eF8LZE4qmQNpSQGNZeVRue0fwRB4nYwz4ovgccAWSgHHsM81qbteJHnmpPOCeNv3jY37q0c2BlMDno2wwzAu8RINCydN2GyNWIAoRzyvY4W8tZUm0md1uk8+sUnXDfLCjB7mM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718289938; c=relaxed/simple; bh=InMkkQqrp6LohnfMJCBwnWlQ6oAWATxmLwHmBrNPrGg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tye4m9r/EXEZQJiXP7mjTTXP+6cuR5UD6VhQ/49zAU7v7hY+H5oC6cYy4Mp3NhRGu0Ndi8JRp/U2REwoIsVsXgqOBHgt2orJOmhh+jemNa2TL0fcziysHlT6rQIC+RaGWU4Vknbln6X/Ks/QX+RR1N3M9EhJ8O0fm470Dgw/jdE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gTLGRq+m; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA901C2BBFC; Thu, 13 Jun 2024 14:45:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718289937; bh=InMkkQqrp6LohnfMJCBwnWlQ6oAWATxmLwHmBrNPrGg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gTLGRq+msZPdiljWIIbChj7j0CTeKCfawgg6iDL6MqP+rFNN2aVjWpy0CmJVOAgKy g6Kxc2TC8WMraFODKBYKhl8xXxsYE0OPT4Tv3T6MMsHj4u1AsnXyrCTTIKsnJx/OCA EO/2gCT546u3YMbHbMIl8k4emxuNzqPS9oaOX8V47ftb7y4jMt3hmwV/9mupn94ozr 23giyNwjsiASb5BhFIpfiyLCKc9dvUqATFYa7z1vKRiyIw2Bkee0Q8VKnOjUNQ5Dy/ xRgPWZrxRYHts2EkCOyjvn+Zr827udCCaeOTbY9NLNEDlKAyJv2VkbfgJ8SVerevQO tSZKfByHAP+sQ== Date: Thu, 13 Jun 2024 15:45:33 +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 0/4] riscv: Separate vendor extensions from standard extensions Message-ID: <20240613-deepness-refried-c6dea811f6f6@spud> References: <20240609-support_vendor_extensions-v2-0-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="ICFdcertGdMCTx5g" Content-Disposition: inline In-Reply-To: <20240609-support_vendor_extensions-v2-0-9a43f1fdcbb9@rivosinc.com> --ICFdcertGdMCTx5g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 09, 2024 at 09:34:13PM -0700, Charlie Jenkins wrote: > All extensions, both standard and vendor, live in one struct > "riscv_isa_ext". There is currently one vendor extension, xandespmu, but > it is likely that more vendor extensions will be added to the kernel in > the future. As more vendor extensions (and standard extensions) are > added, riscv_isa_ext will become more bloated with a mix of vendor and > standard extensions. >=20 > This also allows each vendor to be conditionally enabled through > Kconfig. >=20 > --- > This has been split out from the previous series that contained the > addition of xtheadvector due to lack of reviews. The xtheadvector > support will be posted again separately from this. I think that's a good call. > The reviewed-bys on "riscv: Extend cpufeature.c to detect vendor extensio= ns" > and "riscv: Introduce vendor variants of extension helpers" have been > dropped in this series. The majority of the code is the same in these > patches, but thead-specific code is swapped out with andes-specific > code. The changes are minimal, but I decided to drop the reviews in case > I inadvertently introduced issues. Actually, you only completely did that on the first of the two patches you mention, but I don't mind. --ICFdcertGdMCTx5g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZmsGDQAKCRB4tDGHoIJi 0pYSAP9rvZJvNB06EdO0fsFWf+ZcA3sSaIFnn6FuW9XS1h/5IgEAzSlVcU4SmJ4X iE60uHO4zub2um02J5KOxOg+yrHU8Q0= =sR76 -----END PGP SIGNATURE----- --ICFdcertGdMCTx5g--