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 AFFDBC77B7A for ; Thu, 1 Jun 2023 13:36:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232673AbjFANgF (ORCPT ); Thu, 1 Jun 2023 09:36:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232329AbjFANgF (ORCPT ); Thu, 1 Jun 2023 09:36:05 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42042138 for ; Thu, 1 Jun 2023 06:36:03 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-96f50e26b8bso123102966b.2 for ; Thu, 01 Jun 2023 06:36:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1685626561; x=1688218561; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=M0MHDOHZ+ksADoGSH1YMQnsp1jrJ4XOCHJuXFHrOLiU=; b=gqFVbs7CReL0J6SD8SJWJMuWtr04hsoW3vZ6RcZshjJAQfARPK7YoZNO84N5c/LgWu ZPC1ftLNuSHpMj9LUsUbN1oIwPmkzlZksKEWabriZOECSmdU04sPhnW+9BuhBPlcCjUd 4Vbkd5vKhlpSwvWkWa3uIv5I0kPX0xNGeL+UA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685626561; x=1688218561; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M0MHDOHZ+ksADoGSH1YMQnsp1jrJ4XOCHJuXFHrOLiU=; b=fR6hzoU/z1H1tJbNV/b2+LYDIRBd/O19c5kilfLJKruom5mA6ZrXoy67DTklkryMM7 WgVT2MAst1iuPC9n0leeHiMDIp3Ea8vTDCsgo9msmdtZPXdoWDbiHyXHvt1HYjnObcPH cP+0/ZJyk/BVDnz8NKWTw4uO0A6B4YsKaZ4PcOnygh2ZHcu5OuMb4LF5EFyBCNCe6GEN K/iY0TFzGULJ66sIxhKzvqqe19vTWeO3BELTDkJwa2QDZkoNgFyCzKvC/iNdxTubQAoy 2xUEyaeNzNfOj+PjI121Oav2ysEWVZzLS3xOrFAMRnGOFzpT/D9JuuL4W4v7OPY85RTF HTCQ== X-Gm-Message-State: AC+VfDxsk9mmMjLIb3KNVjN7mM95nlacxyVy3CBi05TyZib0I3nV+K0N 0HWRwGLT9HQvlp/9asTv+eKsHCdOUjc0MUzelgndt5Xn X-Google-Smtp-Source: ACHHUZ5ICzImwhPVp42iyEliMg2riYzZiSfYUSlzG7ARP9LHQhlepwBZSc/kpYZL8ToJFz6Ych1O4g== X-Received: by 2002:a17:907:a420:b0:967:3963:dab8 with SMTP id sg32-20020a170907a42000b009673963dab8mr8588145ejc.7.1685626561635; Thu, 01 Jun 2023 06:36:01 -0700 (PDT) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com. [209.85.128.48]) by smtp.gmail.com with ESMTPSA id a6-20020a1709063a4600b00973fac6065esm6492837ejf.223.2023.06.01.06.36.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Jun 2023 06:36:01 -0700 (PDT) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-3f6dfc4dffaso8714175e9.0 for ; Thu, 01 Jun 2023 06:36:01 -0700 (PDT) X-Received: by 2002:a17:907:2cc6:b0:973:fe5d:ef71 with SMTP id hg6-20020a1709072cc600b00973fe5def71mr4787778ejc.14.1685626175454; Thu, 01 Jun 2023 06:29:35 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <14c50e58-fecc-e96a-ee73-39ef4e4617c7@gmx.de> From: Linus Torvalds Date: Thu, 1 Jun 2023 09:29:18 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 07/12] parisc/percpu: Work around the lack of __SIZEOF_INT128__ To: Helge Deller , Masahiro Yamada Cc: Peter Zijlstra , 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, "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 , Sam James Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org On Thu, Jun 1, 2023 at 6:32=E2=80=AFAM Helge Deller wrote: > > 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. > > 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? This absolutely sounds like the right option. Let's simplify the problem space by just saying that parisc needs the newer compiler. Right now we have that "minimum gcc version" in a somewhat annoying place: it's in the ./scripts/min-tool-version.sh file as a shell script. I wonder if we could move the gcc minimum version check into the Kconfig file instead, and make it easier to let architectures override the minimum version. I don't quite know how to do that sanely, though. I don't think we have a sane way to error out at Kconfig time (except by forcing some syntax error inside an 'if' statement or something horrendously hacky like that). Added Masahiro to the (already overlong) participants list. Linus