Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp55423lqb; Tue, 16 Apr 2024 08:40:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSmROTCHxLZmdxyslEd8YWbMFQcEiKnCq4ZBgW2pm46sgSJcvAIp30JSBlDiwOMLTIo3TaHF28d69X2+LNdG/MGd06zteSPbgC28r7hg== X-Google-Smtp-Source: AGHT+IEXDy3ZPcVtuhJXoKXHHf7eyHVG1RIu0lf9/K7caOeKl59OnF6F7oTpziPaJVB1bTfIRyPY X-Received: by 2002:ac8:5ac4:0:b0:436:b95e:72ea with SMTP id d4-20020ac85ac4000000b00436b95e72eamr4596652qtd.17.1713282014329; Tue, 16 Apr 2024 08:40:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713282014; cv=pass; d=google.com; s=arc-20160816; b=YvSUi4KZ9am5gp7GSlsmfQLCpC8JMUi85qhoX48npsA1R9zAdyFXudzKj4nQMlaxiO hfGh9pOHI7eZWG/KfM7aBqxLiyJoevUCw3nsyRooaHvHbawiGGuqSNiFFxxQvv3AjILg S5wmkwq3p3Whof71EynxH77IAkuKBnthya65CJ7ihAGF34XifNyNN/aXUsdthetpy1ZM rWjQNkKE0OlJoywSrZvIB6FtOlXdwN3+47j5s9+7oCLkpQLYNx+0qE7wsYTYZL+rtQfa +n45g9f0oUE/1Tv+B0ZIvOgm2wRBGffGVzkTVoBLDEK9VxWk0a/OEyR8IJdcYGpaQMCL Y0nQ== 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=jbRtirvE+eOpMsIMLSFO7BrnqXmqdwetFM4iR3366zU=; fh=x1bF/X0BOhw51TPsIGgzlgJL/tBnyscoZFi37ipUhNw=; b=bS/ODJsn6kyfuZymguw+g776No9LsW8dHKzwb0AThZoYT8gfEOBEcmVdPEunk3aM1j Krrp7XcC3pk6i2rgzNDiCFb8MQoEAXKlCWUyyzePPHafHnbKB8+f28NdIOpPEhrCWOp2 xq8iOIEyzbpOrj1YRPwRLv4HJqrCa8L8QEYgFk5kFIdupgrJwyai6YI6FhjxKKHQN9zu sPP4Lc16TWZHIQ+cW7Qi+kPovVFkCmJbnaQ86Q4T/91IRgNFqkDm8x2t97CZ8IaVN5ZX opRxDMrPS8mMpiw2uXpsPzhKm8rnCeGl5pdG897a0aEZd7bZMkhAis0PvqojUO/oYrdo ovVA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ujZk1EHT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-147140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147140-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 o19-20020a05622a139300b00435ecc53c4csi12723654qtk.531.2024.04.16.08.40.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 08:40:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147140-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=ujZk1EHT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-147140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147140-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 C66971C208C7 for ; Tue, 16 Apr 2024 15:40:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DA7713172B; Tue, 16 Apr 2024 15:39:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ujZk1EHT" 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 90DF2130E55; Tue, 16 Apr 2024 15:39: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=1713281974; cv=none; b=QSfYZxlvMgPb/wsB1RMlclQZYB/uJ+cyBy3KUHQhLdOG79VdOeowFVmvydHL1rEjmAjRSDAGs5R5VDg4DB6SN9RY7bb6ou5NWxq5KFGFyLHl4UjZ2xQZgjX6e4JHNQMHcZsgAfajfZbkV/gmdpZ4zxEcE8iDqJXHsC08qukHx58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713281974; c=relaxed/simple; bh=KJDi6z6/U9cziW9yQDAhSzhquj/YiV34HJLdtVilEJM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pNzEuQpRIu3+1ujur7fgx9uPVMVnxEBu2Fmg+ZsaRlk3g/q9L/9NdEoXZJLWrcB611UYOeS95S1KqzQKC3DjV9HCoo5FypvspxbyyxBAkn1SGc80YEiqzhBbvnRLo7qvn3p/TwE8P+gnvCD6T+Bjei4R5Xj/WVKxzzBXFkmzjpg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ujZk1EHT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F4CAC2BD10; Tue, 16 Apr 2024 15:39:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713281974; bh=KJDi6z6/U9cziW9yQDAhSzhquj/YiV34HJLdtVilEJM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ujZk1EHTMYG6e3LIKsVhqs298UOQP1HsHzdkcfICrpHwZ3YUadJ4RC2OobgfiPNHI lAtOcI+YXVprYmBTkU2ebh69W4CDs8tLl+aB19+l8f7FcutfSctw0Aa6boskTtBI+D AWFlkLNLrnMUx2/zFkx8yQ/J+g9wO6I5/R6lR+a0vv2CHU7SZWJSu9Xkxk5xEeQbXx 37RokpQuCiFj6tviL8/Ae8K84VyLdbTd2ubOoeeJ5Pmw0VdDAPXE/RJDHPB8NigPsR aL1UjrRjQT6wIjr9mDMEuT0mlNfdfCKuFi14iFBvH8AGKKx3s1z0luTqJLt7Mdembq IJwgP4grIJdvA== Date: Tue, 16 Apr 2024 16:39:27 +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, Heiko Stuebner Subject: Re: [PATCH v2 00/17] riscv: Support vendor extensions and xtheadvector Message-ID: <20240416-hurry-garbage-c5b43241dbe0@spud> References: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-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="MtdbaA8z8FH3b/rB" Content-Disposition: inline In-Reply-To: <20240415-dev-charlie-support_thead_vector_6_9-v2-0-c7d68c603268@rivosinc.com> --MtdbaA8z8FH3b/rB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 15, 2024 at 09:11:57PM -0700, Charlie Jenkins wrote: > Changes in v2: > - Added commit hash to xtheadvector > - Simplified riscv,isa vector removal fix to not mess with the DT > riscv,vendorid > - Moved riscv,vendorid parsing into a different patch and cache the > value to be used by alternative patching > - Reduce riscv,vendorid missing severity to "info" > - Separate vendor extension list to vendor files > - xtheadvector no longer puts v in the elf_hwcap > - Only patch vendor extension if all harts are associated with the same > vendor. This is the best chance the kernel has for working properly if > there are multiple vendors. I don't agree with this lack of trust in what firmware is telling us. I'm not really gonna review this v2 until discussion has finished in v1 about some things, I fundamentally disagree with handling the same extension differently for different CPU vendors and I don't wanna fracture that conversation further. > - Split hwprobe vendor keys out into vendor file > - Add attribution for Heiko's patches > - Link to v1: https://lore.kernel.org/r/20240411-dev-charlie-support_thead_vector_6_9-v1-0-4af9815ec746@rivosinc.com --MtdbaA8z8FH3b/rB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZh6brwAKCRB4tDGHoIJi 0mfRAQDv3w5+C9suCRRRiwfjjVWoUxMRKczJo1O3djhERhZohQEA3PKM7ixcBZ/+ gCDOCf12p1w6L8bmXsvYZ36xQsLl6g0= =ZdJE -----END PGP SIGNATURE----- --MtdbaA8z8FH3b/rB--