From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from terminus.zytor.com (terminus.zytor.com [198.137.202.136]) (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 40CB4332EE for ; Fri, 2 Jun 2023 17:39:26 +0000 (UTC) Received: from [127.0.0.1] ([73.231.166.163]) (authenticated bits=0) by mail.zytor.com (8.17.1/8.17.1) with ESMTPSA id 352H0LaS2715581 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 2 Jun 2023 10:00:21 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 352H0LaS2715581 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2023051001; t=1685725229; bh=V6iJrWJJDLQYjecCwNtSmfh10OvdV8TAJ4Liut90hTM=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=uPFx05CyW1BpZXeT87CyY8RQtjp5NgyjdvmFkLaPOSkerjoOaX418Gxy0SEASWCfk 6OU5WS8qq7OF0xdgiwBE1NGx8DbNIrczc+xjAUYuh6Hn3pYdiFuRnciKBhciDyJOOI PtbPbK/C+duRWrZe/QHzvXYYGpqts981bZKHmO/brXOBPs6W8JhS+672AOxS9JQcC0 zfeYaYNkDjMGvk/RykG+GdjoUic+Ff92KZNfWXs887fhgkEFfZA1xodBxxkWZSynR4 Lmzyg3qOQXOtRftEt+BLjXMoM8h9EoUz38KTt9lCKS8N9e1BPlhydYYPwGe4NZYCBA Nj8HY1VstDhAA== Date: Fri, 02 Jun 2023 10:00:17 -0700 From: "H. Peter Anvin" To: Peter Zijlstra , Linus Torvalds CC: Helge Deller , Masahiro Yamada , Arnd Bergmann , Jonathan Corbet , Will Deacon , Boqun Feng , Mark Rutland , Catalin Marinas , dennis@kernel.org, Tejun Heo , Christoph Lameter , Heiko Carstens , gor@linux.ibm.com, Alexander Gordeev , borntraeger@linux.ibm.com, Sven Schnelle , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Joerg Roedel , suravee.suthikulpanit@amd.com, Robin Murphy , David Woodhouse , Baolu Lu , Herbert Xu , "David S . Miller" , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-s390@vger.kernel.org, iommu@lists.linux.dev, Linux-Arch , linux-crypto@vger.kernel.org, Stephen Rothwell , Michael Ellerman , "James E . J . Bottomley" , linux-parisc@vger.kernel.org, John David Anglin , Sam James Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_v2_07/12=5D_parisc/percpu=3A_Wo?= =?US-ASCII?Q?rk_around_the_lack_of_=5F=5FSIZEOF=5FINT128=5F=5F?= User-Agent: K-9 Mail for Android In-Reply-To: <20230602143912.GI620383@hirez.programming.kicks-ass.net> References: <20230531130833.635651916@infradead.org> <20230531132323.722039569@infradead.org> <70a69deb-7ad4-45b2-8e13-34955594a7ce@app.fastmail.com> <20230601101409.GS4253@hirez.programming.kicks-ass.net> <14c50e58-fecc-e96a-ee73-39ef4e4617c7@gmx.de> <20230602143912.GI620383@hirez.programming.kicks-ass.net> Message-ID: Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On June 2, 2023 7:39:12 AM PDT, Peter Zijlstra wro= te: >On Thu, Jun 01, 2023 at 09:29:18AM -0400, Linus Torvalds wrote: > >> Right now we have that "minimum gcc version" in a somewhat annoying >> place: it's in the =2E/scripts/min-tool-version=2Esh file as a shell >> script=2E > >Something like so then? > >--- >Subject: parisc: Raise minimal GCC version >From: Peter Zijlstra >Date: Fri Jun 2 16:33:54 CEST 2023 > >With 64bit builds depending on __SIZEOF_INT128__ raise the parisc >minimum compiler version to gcc-11=2E0=2E0=2E > >All other 64bit architectures provide this from GCC-5=2E1=2E0 (and >probably before), except hppa64 which only started advertising this >with GCC-11=2E > >Signed-off-by: Peter Zijlstra (Intel) >--- > scripts/min-tool-version=2Esh | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >--- a/scripts/min-tool-version=2Esh >+++ b/scripts/min-tool-version=2Esh >@@ -17,7 +17,11 @@ binutils) > echo 2=2E25=2E0 > ;; > gcc) >- echo 5=2E1=2E0 >+ if [ "$SRCARCH" =3D parisc ]; then >+ echo 11=2E0=2E0 >+ else >+ echo 5=2E1=2E0 >+ fi > ;; > llvm) > if [ "$SRCARCH" =3D s390 ]; then Dumb question: is this only about the cpp macro or is it about __int128 ex= isting at all?