Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp350893lqo; Fri, 10 May 2024 01:36:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXNrtd8lqcPS/uVT8RngvN0uKCfYhrgfB0aA1Q3evX6hxAPtVbThVLloEzq/L3Out1fGH8GBTxM2sh5WK3eMpiOgdNivFNDfyToL5zLGw== X-Google-Smtp-Source: AGHT+IG7yR2+dbk06aW54kOBENjC0qnbOmIJQQnuA2VcOcbWVVBGfyma9RVWbSK4+K9mZbudiM1m X-Received: by 2002:a17:907:7748:b0:a59:cf38:5343 with SMTP id a640c23a62f3a-a5a2d5724dfmr172305866b.27.1715330161831; Fri, 10 May 2024 01:36:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715330161; cv=pass; d=google.com; s=arc-20160816; b=UREPqR5e+2c3qM1hVJrKzF4DBH2dhsNzibyWoMUanwUhyrM7PyEdNeTc/Psqgo9Nt1 uxOlNaxvTqIvqwDfkYzOGCd0cwXPLiJln6Rn0YtVu/A2JWnSgB11JfsaLU53v8p//U/i n7Bug8qlzu8Kc8OxTOkKOXIWMydhpiiI5BlKjw/dz7SCegKAilWkwlQ2+f+A3btYY8PB dpZwqTmh7QC99RFB4PPl7qxrGpyT2i/lvhSjFtWZBd12VJNlVmOePUt+5laLQ7Erd73o /SQGVMU/dB5cYchkJuOg23yOkYJ/oUm+0gkNDEOYIRRSYK3cdo9KV2yRpjPfDgUeimBg uU+A== 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=CQ60Q4+NgXsh8F6HlVj6l58HkFtjQQJ5uRtYcKoUhLo=; fh=YK0DbD1Eux+qhp/O6uJNwSOGw6Btc46H7fNChXkugo4=; b=xUk0FaHy9GLnNxHx1YPPK3WgaDieWANSXxWinlF3X590iYmnBNuIlz6Wf+wblGr4kf tPS+73l+/+xNLz24Al04S9imo0UgJTT+x/E7cRSk54ALKtCKcd62YcaLydRY9vwW5tCn PI2d1Yut87VNryvYViiEWGilvBuHyPu3rWB+Yxsg97aI5rOG0HivB+FxcVNDG9cn9IvM FmKYJqluTXvYCd+zwhBNHhW/zWhLkSDffGflrv7vCUZQ1mTGgD/LqMeDeADhPaOqnAsR ah+Q3d+CTMAg+Br2vN/GPwVr5dFaRT2OX1pfm9Pb02ISvHbOtOet2CCE1khvCPoo1qmO TVmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tOnJNe+0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175446-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175446-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba56d2si171532166b.588.2024.05.10.01.36.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 01:36:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175446-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tOnJNe+0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175446-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175446-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8CABF1F223F2 for ; Fri, 10 May 2024 08:36:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16B797D08F; Fri, 10 May 2024 08:35:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tOnJNe+0" 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 427714C8E for ; Fri, 10 May 2024 08:35:53 +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=1715330154; cv=none; b=jqzxAfgC76Higu5lNNqFQDoF8s5jhuFohxaltqLGo2ie5Wa9iJcdQCfryqLi3IXzXSJ8jMG+o36G9V3fnfd73/ul2mFgsOUySGA/apadLqmPYURUv1SlUQpmJs7dYBpnTWglq+a2fN938CGZKkSgY9yAE8ibZJLqLnaCqQ80Z6A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715330154; c=relaxed/simple; bh=CQ60Q4+NgXsh8F6HlVj6l58HkFtjQQJ5uRtYcKoUhLo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OTyb0adDiWg0/ZtxxBGKqqIHx/PdLj4h27kNvDTJCll5wUvxLVNg28QANvaHhgK9kOaud7PxFJJG7I5Y4viMnj0shCxr9BIm8uggazvJhTesMO+9qn53WqsSwNLHoSzDQNXObUxFHfraEPQj8FB9dVStkOTRV4dzqkTt6G5v9tc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tOnJNe+0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4180DC113CC; Fri, 10 May 2024 08:35:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715330153; bh=CQ60Q4+NgXsh8F6HlVj6l58HkFtjQQJ5uRtYcKoUhLo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tOnJNe+0a9PC2UHNB65Y0lB8bnNYsAJrSTeqU3X/gv4dNDkuw4BralKeV4WeuapPD wDrX716S4bEjeRTUxz4FYYAtNu8IUgmsDc5zcBpr5bBy2mEYgzuILg12LZJKz1JMWV wOF7V0VUaAfBsWKazgbRFEXf88llJY05OOXNGRATfoSBSbyb8LkNh08PG8J2pnmcaN nAXbmSCgrZR/fKk12n7pbA23w3xiNuxwNvGi13QhDUvh/0GTATIpXhtVxmRgnLSNAU 9tvC7WE2lg2XmD2hIOPOlUmnYGqb5HY2AN94Fiv+IemOXFThs1Sy4wR5OjayIEaSxo OixRso8w9lBrQ== Date: Fri, 10 May 2024 09:35:49 +0100 From: Conor Dooley To: Charlie Jenkins Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Song Liu , Xi Wang , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= , Jessica Clarke , Andy Chiu , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/8] riscv: Support compiling the kernel with more extensions Message-ID: <20240510-pesky-tackling-1b715c4bce35@spud> References: <20240507-compile_kernel_with_extensions-v2-0-722c21c328c6@rivosinc.com> <20240509-uptown-aging-5bdec4730d70@spud> <20240509-google-passing-3e7577235c44@spud> <20240510-okay-trade-8826cb134979@spud> 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="ai3o+TcwKEPcPexK" Content-Disposition: inline In-Reply-To: <20240510-okay-trade-8826cb134979@spud> --ai3o+TcwKEPcPexK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 10, 2024 at 09:25:37AM +0100, Conor Dooley wrote: > > > see why this particular optimisation was worth maintaining 3 code pat= hs > >=20 > > I interpreted the "3 code paths" as with Zbb + 64 bit, with Zbb + 32 > > bit, and without Zbb. I directly responded to that by saying that we > > could eliminate all of the code paths that are not Zbb + 64 bit could be > > eliminated. Argh, forgot to say that that was what I meant by the 3 paths, but I didn't take | We could just say we don't care about performance if you are running | 32-bit linux or don't have Zbb, but we would be making that decision | because we don't feel like maintaining the code. The code was written, | tested, reviewed, and it provided large performance gains. I fail to | understand why this is a burden to maintain. as seriously suggesting that we should remove anything, it read like a defence of the current code! --ai3o+TcwKEPcPexK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZj3cZQAKCRB4tDGHoIJi 0uIxAP9yoDBxvfeCk961aMZIxkvg+qNdxvB+OMYZaxr8gJAuZQEAravVoFAZw7S5 NSUTstQ+I3BTHjimBeFNG+4vsE+A5wg= =+hIz -----END PGP SIGNATURE----- --ai3o+TcwKEPcPexK--