From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 7198C174CF for ; Wed, 31 May 2023 15:51:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=4GxduXFN1Frxd3BmJoEShjwinJpZCL7N8to1Qb9sjCw=; b=XOxb/pctyKIE67jtV9zOJA1O6h KDX8WU4s2pCeoH3/S3oVNO9lGRPtvcla5LTnh54RC2cXCFwfYm4zze5PmFsqZ8n9ROW6vuIohamCM I5cOzAkVg8e+9HrZf6Gi5/aNOQldGJZg8139qyB7pZdO2nQZvpj9q23kncsicmIElvd3VbneJhXw6 LQtBeo1KW9akFG0gJ2yExeig+oChWby5mWUnJY5OXRQdRjxA10WJUk9wzWMLoYvqxGxKodxIOTDTm Yath8FIN0fn0SlIocfc6kcgjKCtW/a160oZN7tmgfsOgSmBdAqBLt9TvMo0sCH23RFHC895Jan/+h vQqiknSg==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q4O5c-00FVIz-0y; Wed, 31 May 2023 15:50:21 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id DC8223002A9; Wed, 31 May 2023 17:50:15 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 93E9E2C1E85D3; Wed, 31 May 2023 17:50:15 +0200 (CEST) Date: Wed, 31 May 2023 17:50:15 +0200 From: Peter Zijlstra To: Arnd Bergmann Cc: 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" , Helge Deller , linux-parisc@vger.kernel.org Subject: Re: [PATCH 07/12] percpu: #ifndef __SIZEOF_INT128__ Message-ID: <20230531155015.GB428966@hirez.programming.kicks-ass.net> References: <20230531130833.635651916@infradead.org> <20230531132323.722039569@infradead.org> <70a69deb-7ad4-45b2-8e13-34955594a7ce@app.fastmail.com> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70a69deb-7ad4-45b2-8e13-34955594a7ce@app.fastmail.com> On Wed, May 31, 2023 at 04:21:22PM +0200, Arnd Bergmann wrote: > On Wed, May 31, 2023, at 15:08, Peter Zijlstra wrote: > > Some 64bit architectures do not advertise __SIZEOF_INT128__ on all > > supported compiler versions. Notably the HPPA64 only started doing > > with GCC-11. > > I checked the other compilers to be sure that anything else > we support (gcc-5.1 and up) across all 64-bit architectures > does support int128. Oh excellent -- I didn't have sufficient old cross compilers to verify, hence me not doing what you suggest below. If HPPA64 really is the only one so affected, then yes, I can move this hack into arch/parisc.