From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3005C77B7E for ; Thu, 1 Jun 2023 21:09:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231373AbjFAVJf (ORCPT ); Thu, 1 Jun 2023 17:09:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjFAVJe (ORCPT ); Thu, 1 Jun 2023 17:09:34 -0400 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 086FFF2; Thu, 1 Jun 2023 14:09:32 -0700 (PDT) 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> <20230601105021.GU4253@hirez.programming.kicks-ass.net> User-agent: mu4e 1.10.3; emacs 29.0.91 From: Sam James To: Peter Zijlstra Cc: Helge Deller , Arnd Bergmann , Linus Torvalds , 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, "H. Peter Anvin" , 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 Subject: Re: [PATCH v2 07/12] parisc/percpu: Work around the lack of __SIZEOF_INT128__ Date: Thu, 01 Jun 2023 22:08:44 +0100 In-reply-to: <20230601105021.GU4253@hirez.programming.kicks-ass.net> Message-ID: <87jzwmvqin.fsf@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Peter Zijlstra writes: > On Thu, Jun 01, 2023 at 12:32:38PM +0200, Helge Deller wrote: >> On 6/1/23 12:14, Peter Zijlstra wrote: >> > On Wed, May 31, 2023 at 04:21:22PM +0200, Arnd Bergmann wrote: >> >=20 >> > > It would be nice to have the hack more localized to parisc >> > > and guarded with a CONFIG_GCC_VERSION check so we can kill >> > > it off in the future, once we drop either gcc-10 or parisc >> > > support. >> >=20 >> > I vote for dropping parisc -- it's the only 64bit arch that doesn't ha= ve >> > sane atomics. >>=20 >> Of course I'm against dropping parisc. > > :-) > >> > Anyway, the below seems to work -- build tested with GCC-10.1 >>=20 >> I don't think we need to care about gcc-10 on parisc. >> Debian and Gentoo are the only supported distributions, while Debian >> requires gcc-12 to build > 6.x kernels, and I assume Gentoo uses at least >> gcc-12 as well. >>=20 >> So raising the gcc limit for parisc only (at least temporarily for now) >> should be fine and your workaround below wouldn't be necessary, right? > > Correct, if you're willing to set minimum GCC version to 11 for parisc > all is well and this patch can go play in the bit bucket. It's fine for us in Gentoo, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZHkJAF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv by5vcmcACgkQc4QJ9SDfkZCxTgD8DvRqnel67WrRU5+HwB76oJ89eB+XZVKI63Ih mkFPKKIBAJQcSVIUwNsG7OzOuRH/3R6pDjmn/yKfCEUMjHqK3HEH =fJgU -----END PGP SIGNATURE----- --=-=-=--