Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp134871imw; Mon, 4 Jul 2022 06:34:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uS4YkcMMK4s9t8eBNVDOUWafQQ/3IRD/unIp2Qq63694vMN+pTr2YjT7TlJIUOHhI4t/OQ X-Received: by 2002:a05:6402:1459:b0:437:9282:2076 with SMTP id d25-20020a056402145900b0043792822076mr38375800edx.6.1656941684121; Mon, 04 Jul 2022 06:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656941684; cv=none; d=google.com; s=arc-20160816; b=QctZyVP7W2bC2CH79bPINl1YujxzcwOWQ0qsLjmaogrQQ5GppfAfLDDzIQPXlEkfpq IwI9R9opmH89BTn+BVUJWj70q9taYCuAMWpUffcKlom0iF2WSpcSDVeDirmNRN0vSfnT 8ZExCLTwYNeXuGBxTkJL7LeiGdEvc3XylBy5M6qLSMkDJNLkSVANe/M5JWFKDTZtP1YA V7zUmNf4uDiLvl0bTo1piToZ1AVQ5u5Mwg3i59XcVAtUlvuVINeSA9BOdNR8eYFjP3y0 lf9UIgoJI+RIS8gsOog32wavfOb0TK5KSNR73reRwNi5VOrSKyzRuHSTtcB4PwbEIWp4 VOYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8tAw27FgNg+Q3VDq9JawE41VGP7+u398TWAI5BLkspI=; b=aK8Rnh1k8+5mL5Eontx7wIx7NLOlKmG0Q4no4h0dZBrakT6TL0aU/EXrLyoh3jl3Dd 1j1ZGO/XNjuZMuy176kdGj/YBGM4x/hvN+mhayPpTwa/hdbWsX0gtVyW9JgEce5iuu6l Cnkiuvp5MUCsVe6j+4jXn+pFz61o+bQqxN4oaPLDrPWDBzSR/WOMgg8BlrUPrdUsiT8q DimLQvf6m6BTveaXpQTE98diKuDP+rvryRJ95qBYuFbX+GznYrWA/GDeSc8mH61CNXE1 K5Xt49ypMAx9nCe/uNb8McTytBrd3PbH8ODfN0hidttOW2yZIKDf5b44prM0Y4/mfKk8 phxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iNI+7Qkp; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn18-20020a17090794d200b006f3976ed175si38593951ejc.938.2022.07.04.06.34.15; Mon, 04 Jul 2022 06:34:44 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=iNI+7Qkp; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234692AbiGDNcy (ORCPT + 99 others); Mon, 4 Jul 2022 09:32:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233618AbiGDNcI (ORCPT ); Mon, 4 Jul 2022 09:32:08 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05B9711C03 for ; Mon, 4 Jul 2022 06:29:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 565CFCE16AE for ; Mon, 4 Jul 2022 13:29:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67378C3411E; Mon, 4 Jul 2022 13:29:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656941347; bh=LxOgaJ9LSgEjVEuMAJUhVF/q8JAFuDeLHwegeV8kA+4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iNI+7QkpC3aLbGataolyMpLPtKEu8CKuclbUHURo1BxSe9EZvBggWafe9cc7MntHS EMXFp45e3B0esnlKzSsBiW3ed0jhCGDmo3KCthIzh61k9EzvgMF0OAu3TBirp9WDzv qKmmMeyZzkMcPqWemgD4B+BO3qIKEt7fKKtPENF+zmLJhQG4oGayeg93wrcaylA8Px 1s3SsNTho80QD/W9+MGqts9ub7DIDaBszIxuTfzX2IUDAKP3sRq6EzHdUwopwLOh7W HxtreIXlyRUprjsnBINdTS60JYEuFsXqpSybaqjCWyRVvTCba314q8tTWzLy4hES8w ZticA7DiamrvA== Received: by pali.im (Postfix) id BBEE46E8; Mon, 4 Jul 2022 15:29:04 +0200 (CEST) Date: Mon, 4 Jul 2022 15:29:04 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Arnd Bergmann Cc: Michael Ellerman , linuxppc-dev , Linux Kernel Mailing List Subject: Re: [PATCH] powerpc: e500: Fix compilation with gcc e500 compiler Message-ID: <20220704132904.irvs4xefu4esgw6c@pali> References: <20220524093939.30927-1-pali@kernel.org> <20220702094405.tp7eo4df7fjvn2ng@pali> <8D562851-304F-4153-9194-426CC22B7FF2@ellerman.id.au> <20220704103951.nm4m4kpgnus3ucqo@pali> <20220704131358.fy3z7tjcmk2m6pfh@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Monday 04 July 2022 15:22:03 Arnd Bergmann wrote: > On Mon, Jul 4, 2022 at 3:13 PM Pali Rohár wrote: > > On Monday 04 July 2022 14:07:10 Arnd Bergmann wrote: > > > > CFLAGS_CPU-$(CONFIG_PPC_BOOK3S_32) := -mcpu=powerpc > > > CFLAGS_CPU-$(CONFIG_PPC_85xx) := -mcpu=8540 > > > CFLAGS_CPU-$(CONFIG_PPC8xx) := -mcpu=860 > > > CFLAGS_CPU-$(CONFIG_PPC44x) := -mcpu=440 > > > CFLAGS_CPU-$(CONFIG_PPC40x) := -mcpu=405 > > > ifdef CONFIG_CPU_LITTLE_ENDIAN > > > CFLAGS_CPU-$(CONFIG_BOOK3S_64) := -mcpu=power8 > > > else > > > CFLAGS_CPU-$(CONFIG_BOOK3S_64) := -mcpu=power5 > > > endif > > > CFLAGS_CPU-$(CONFIG_BOOK3E_64) := -mcpu=powerpc64 > > > > Yes, this is something I would expect that in Makefile should be. > > > > But what to do with fallback value? > > Most of the fallback values can just be removed because we don't support > building with gcc versions older than 5.1.0 any more. The only one > that I think still needs a fallback is mtune=power9, which requires gcc-6.1 > or higher. CONFIG_POWER9_CPU could similarly use a > "depends on GCC_VERSION > 60100". > > Arnd And still what to do with 4bf4f42a2feb ("powerpc/kbuild: Set default generic machine type for 32-bit compile")? I'm somehow lost there...