Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp778146rwd; Thu, 1 Jun 2023 06:31:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5zyoJC06RFmDAxqSKo10Pdl2IEcFpwazWx1v+m2sbj3asmRXZBNjIB8T7Mn0Qd6X81opQ/ X-Received: by 2002:a17:903:41c4:b0:1af:b977:1785 with SMTP id u4-20020a17090341c400b001afb9771785mr5970840ple.0.1685626287727; Thu, 01 Jun 2023 06:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685626287; cv=none; d=google.com; s=arc-20160816; b=ji7FalYAdriuO0zZOYLOBrJVPBQU9LTpS2uF+FDVMFETN28K942y21tdrtLYbwE004 nF19WCp8poQo5vZD3DyUcOMfkL6t1S1PP8vMjZtncreE+O0aMxvaCSNTdWOl9aJD+8Z8 bbdwkIeRC9wFQxKqlkQIW7ufdzioECrAwZ0acSWgF5NuZufTUqs8WvZQLShW1p71ZmBV EgfeVhwHMLTo9AbhxsYD9WunJcXVDzkJ3fuKMzBf2H5D8Vlh/1P0y57tROeiB+fDLX0X 3vEu5MSaXiBJTYskr7bO4FcAF+PrH7CO5XCuU8lO4b7omBFYadjcGsuJ1Zceh33V0hVB R8yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=M0MHDOHZ+ksADoGSH1YMQnsp1jrJ4XOCHJuXFHrOLiU=; b=DuhW9G166XKfuxiIuiXFp0U5h37H+DGRu7CtYyVI58b/OwywSE+8GBhpXP8XvcKeX8 vodqAbvskGVi4a6AFc21cKFmqhQSzCCWT95ecYLY/9lN7vyGBeIsQEag0bcolcZeiGhw t7KcKvQiBQsY/Rd7zOn11/4QNnBKPgSw8wTftfSZAZrelq1SzkAI3d0Ta49RZPJOZbEb ZVweEW1sh+8VYT6qtE98KVhivf7l9/ooVW8tkf24WuJroA0OmMTFuYTE636RvkJ/ryx9 nBavZ0khciMRSN2oV3uj3kpGTX3LAfMQxtnxuiybEO0SMPbnhuocuc2uW0lyLSuUPMVp Dw2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Wzrl9Ttn; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u18-20020a170902e81200b001b03eebfe25si2875899plg.465.2023.06.01.06.31.02; Thu, 01 Jun 2023 06:31:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Wzrl9Ttn; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234126AbjFANap (ORCPT + 99 others); Thu, 1 Jun 2023 09:30:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234145AbjFANaT (ORCPT ); Thu, 1 Jun 2023 09:30:19 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9725EE5C for ; Thu, 1 Jun 2023 06:30:01 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-96f50e26b8bso121993366b.2 for ; Thu, 01 Jun 2023 06:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1685626198; x=1688218198; 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=Wzrl9TtntucSwzWDByRAkxjCnSV+EgfqMh48dfQmaPumGsHnc/KjkNxIYEpzsZtrbE yTrJXb2D2OePNeDxgtLVBfiFOXCU4B/mT/iF6wGooOHsqF5zv2l0crtZfAD71X5MyYEm k8oR/59towjRKyvjc/GD2+AYunFzYiKcaePnc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685626198; x=1688218198; 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=F8VjEjK8S4GDh/GGI43wf/VY992BROR3uygh9Bw/knYqcLFKclbKSLaRvgRjPDo5+r V8CZuucJwcdFNRAQqE28k94yh105aa83/WDs6yaz/tj5ejmAdUDDy/XA7nfZiumntRTz NF56SwT5TkNDKZbCh91z+yXG8UisugyJFKlAJLczxEs8eVBkNUVC5bFMEWuERVm2hTA5 AfRwSX6O65/gp4a5wZPpcAbyZA4LDISLUXAtwEaXdFvuPTbK7/o9x7IUuionJZXEtSHj 5OXDvM5+9CnzvwyypiCpCKNvyL8oTM1NtKLTI/auuKE7jCC9A6lr/4VQT13biNo46KaH GAZg== X-Gm-Message-State: AC+VfDyUNmOENHrV/8rhpaaDDHI+Qg88t/tu65tb1N/h5Vt6JJWBSGka PYf9kS4gzuSpyvd06Exa88+upU7P2hT0UmQ8S/iA49wi X-Received: by 2002:a17:907:160d:b0:973:9494:4e5c with SMTP id hb13-20020a170907160d00b0097394944e5cmr6061982ejc.65.1685626197986; Thu, 01 Jun 2023 06:29:57 -0700 (PDT) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com. [209.85.128.45]) by smtp.gmail.com with ESMTPSA id lx6-20020a170906af0600b0096efa536229sm10759433ejb.149.2023.06.01.06.29.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Jun 2023 06:29:57 -0700 (PDT) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-3f603ff9c02so8462465e9.2 for ; Thu, 01 Jun 2023 06:29:56 -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 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@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