Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp61922pxm; Fri, 25 Feb 2022 04:03:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxix0JBaYlK2v5PoGTuMDCj6RY6F66Qx6fgx66If0tqFA5NCZXVLjXj9KaRmSebEwVWmf2/ X-Received: by 2002:a63:2c87:0:b0:373:6dda:e4cc with SMTP id s129-20020a632c87000000b003736ddae4ccmr5847289pgs.153.1645790626028; Fri, 25 Feb 2022 04:03:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645790626; cv=none; d=google.com; s=arc-20160816; b=FVE8u2NbO0hLAn4l87txHgCPYeU/0dwg2v3UVIRhBJwNl24FzP+9uPgsLsCsqwlUkn yZrLiqOJW2hOgXfgcTJ/Y3YwQfdwlRQgGF8OMcF+R8bZnQpV8tFKSodmYFfkrrh2GTAR mspfG+BvATOR2EoVE0kLRV//ZoxrsnNeybYm12BnWqohTKmOx0jeRyh8z7CQeRLV9vhO BT6bc42Otj4hp+gwru6BWLA3UVeEed61uTcdNvwomFraNGismBvFJgnlxVLBvr2xB35a cXidT99b5oeVuftVUg01PxuucOkTAEc1jXCurvD6qI8NJ4sFJSWacXhpAMWZ/D7bsH7o GRcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id :mime-version:in-reply-to:references:cc:to:subject:from:date :dkim-signature; bh=WNAX63/c99XOFkeIMCeWIytIe0Oh9CQliGpSjMLfo3Q=; b=QpQiEQqeEDMcFv3JGCB02LVVU5e5Zw1Io+K4fSsoEbOEr+HAgwYmAHAXQEbJFXdu8u w33MmiZgiW/UYtDdKMY2eitGPHqIJF56rz2YwlGWZjZ4ea+CxfjyhISdjWIN3hyaulrU CILkmDyemgMlIUjWVuutv4UQJppTfVHsC8X7WdrI/FHByNpBProJrYweJqUxGFGuz5xd zH6IjpYXKENeUXB+30K4AtF47P/IcmMxL3f6CyvmKALpB8tHAPPD1/HhrP4ePrEOVomF TTVv48DQYg1NlnBRgko6yHN5c/scm7Pw5eygurQ0yXeaJ3935fIQnCnZs75XVCdzwJhW xUgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h1p+uPkq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t21-20020a632255000000b00367ac3189c0si1663909pgm.769.2022.02.25.04.03.30; Fri, 25 Feb 2022 04:03:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20210112 header.b=h1p+uPkq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234567AbiBYAXp (ORCPT + 99 others); Thu, 24 Feb 2022 19:23:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231464AbiBYAXo (ORCPT ); Thu, 24 Feb 2022 19:23:44 -0500 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D9AB1B3A52; Thu, 24 Feb 2022 16:23:14 -0800 (PST) Received: by mail-pf1-x42a.google.com with SMTP id u16so3273009pfg.12; Thu, 24 Feb 2022 16:23:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:subject:to:cc:references:in-reply-to:mime-version :message-id:content-transfer-encoding; bh=WNAX63/c99XOFkeIMCeWIytIe0Oh9CQliGpSjMLfo3Q=; b=h1p+uPkqcxvYE7x/Gfa8GpqEMj4C9gcpysZ6Fb53cs1JgFb/EVxyJGzvWFnhrdhOyp Pu0iIfffTCWQwNdEhPkG5awMACtbndp4X1M3A4+EFp6YaMMyTuNAqNZRlX/zeFrietnw ygoBuzggj6hn8c0MeDdKuCV4YLuxPoO3/RocYqK8vlprzOzWiHyauUmM2z6e+iv7GABi pcXXLVwad2bFlYs1QfNAO+wSaK191EdX/K6DvFUVIZht7tnOIZUYj+t5UbiFZfPWUG6C Q1spvP7hiXgiW5CdXPCbo9fh36YOB8CGcKX6qS2eXOx8XNX+954o+Cn/up+0mBc9KXq7 HzfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:subject:to:cc:references:in-reply-to :mime-version:message-id:content-transfer-encoding; bh=WNAX63/c99XOFkeIMCeWIytIe0Oh9CQliGpSjMLfo3Q=; b=JSXE9qkqGcPLRujBn2jMq4r43TXrb2lV1/XXiwZ37zbS0tez36wLbQALaXPh87oSrZ D7B9Xy5i6OQIpot3DT5npf6a43xkqKYONCfFgOf90DllkIekispNC5iz93kltYHj24Qs fy6cuCf9JrdyWrbdinL5maWVIZBkO8MJ1B0YkjNx4xSjQYtxioFXaF4cRW59u+fEJarK 6X0+5gy7ORZNju9WkoDG3jf1mwSmPmB5cbrNnZQO3QYZhte01tqU8CGYV9bxWBsb3Xxi pOk8oLdKOLIUlvXObgELTllczgW9TG2LQxqKByZ+ijT6mNVqIyoYJAYBlaEyrX7HFT4A O4PQ== X-Gm-Message-State: AOAM53191tv7tiJ/Z9KPmW9ACBVmKOb2iuuUfqP8ewQj3HH43luu3dGk whxB4s+b9QwKtiFHIvjPJ+jm6sMJ/wk= X-Received: by 2002:aa7:8d08:0:b0:4e1:5fb5:b15 with SMTP id j8-20020aa78d08000000b004e15fb50b15mr4989729pfe.70.1645748593544; Thu, 24 Feb 2022 16:23:13 -0800 (PST) Received: from localhost (115-64-212-59.static.tpgi.com.au. [115.64.212.59]) by smtp.gmail.com with ESMTPSA id j2-20020a655582000000b00372b2b5467asm637228pgs.10.2022.02.24.16.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 16:23:13 -0800 (PST) Date: Fri, 25 Feb 2022 10:23:07 +1000 From: Nicholas Piggin Subject: Re: [PATCH 2/3] powerpc: fix build errors To: Segher Boessenkool Cc: Anders Roxell , Arnd Bergmann , Linux Kernel Mailing List , linuxppc-dev , "# 3.4.x" References: <20220223135820.2252470-1-anders.roxell@linaro.org> <20220223135820.2252470-2-anders.roxell@linaro.org> <1645670923.t0z533n7uu.astroid@bobo.none> <1645678884.dsm10mudmp.astroid@bobo.none> <1645694174.z03tip9set.astroid@bobo.none> <1645700767.qxyu8a9wl9.astroid@bobo.none> <20220224172948.GN614@gate.crashing.org> In-Reply-To: <20220224172948.GN614@gate.crashing.org> MIME-Version: 1.0 Message-Id: <1645748553.sa2ewgy7dr.astroid@bobo.none> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-kernel@vger.kernel.org Excerpts from Segher Boessenkool's message of February 25, 2022 3:29 am: > On Thu, Feb 24, 2022 at 09:13:25PM +1000, Nicholas Piggin wrote: >> Excerpts from Arnd Bergmann's message of February 24, 2022 8:20 pm: >> > Again, there should be a minimum number of those .machine directives >> > in inline asm as well, which tends to work out fine as long as the >> > entire kernel is built with the correct -march=3D option for the minim= um >> > supported CPU, and stays away from inline asm that requires a higher >> > CPU level. >>=20 >> There's really no advantage to them, and they're ugly and annoying >> and if we applied the concept consistently for all asm they would grow=20 >> to a very large number. >=20 > The advantage is that you get machine code that *works*. There are > quite a few mnemonics that translate to different instructions with > different machine options! We like to get the intended instructions > instead of something that depends on what assembler options the user > has passed behind our backs. >=20 >> The idea they'll give you good static checking just doesn't really >> pan out. >=20 > That never was a goal of this at all. >=20 > -many was very problematical for GCC itself. We no longer use it. You have the wrong context. We're not talking about -many vs .machine here. Thanks, Nick