Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3455161rwb; Fri, 16 Dec 2022 15:28:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf5AM+CVtWs2sN87QzL5HF0BE/ZBiM7QXlyPavJx3nCdlmQgKMso3gByOX4UQil/i/PUh5B3 X-Received: by 2002:a17:902:b708:b0:189:9dca:65e1 with SMTP id d8-20020a170902b70800b001899dca65e1mr31825497pls.21.1671233307046; Fri, 16 Dec 2022 15:28:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671233307; cv=none; d=google.com; s=arc-20160816; b=MeDfI+lsjEtCl2dSTro/U8vv/rqDMkQHMDN0w9eVb6ZRgPuu1cEJMVMuh8UcNip30U 6Nw1vEZa+hvEWDVMuMxOOejGYifemFe86sgxI0CxQJwOqrG2yRln+cpWuGWdMu+oZImw YvQS/Pgk+J4BhppmQ2ZSBTWmJPUST5ziQmw18emBRo+3kIV8yQGwUz9pbMnxdWmv+5/Q 5AGRp0gIsrMXPJHAiqu4BwpQvVV6L44Zd3Bb7yrJ6tXS23EWYQK6C5hXKFy9v5Rf8k0m LxdygxhDcXec6RKspOs6dygAjHMLlqTM5ay9YoHmVpj17Yb5utg+MDuSRJNPPXpU5FAP j24w== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ELjR6thxwRIjoiNk9foe8tAvRpCis2RTQxB/pcmrt/0=; b=Cxii1GwZu446aauzNU8kXOt9510HkPHWyqd4s6yMPLTuDQB7UwKYNGSzOpdZQ8gcH3 0SH3fGPy8WW65TiP8LHWOULKgux2AhMdYgXQiiBD+jjUOZuqxtQvCw33MkgSEpaU+Td/ Z/QJnrSfLXhsbwvEItMIuiLMlBJ1kEvDlyFLS0YI7AmS346DNRsmXg48Fib1K16cyEdB 2ypz8+OOTBndOYb6kb+P0X9ZDbarqtqEQFDyuGH15QX6JQanc3hb32UfPBb4ioQU1fAS oJur+zf78DXzx30N+W50esL1Vbc6DAEfWE4WemXiOcxSBX0P6Wb8cr3q9+YVgf61oPd6 GFQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VhId9RCw; 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 z4-20020a1709027e8400b001893627cc84si3521418pla.243.2022.12.16.15.28.17; Fri, 16 Dec 2022 15:28:27 -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=@kernel.org header.s=k20201202 header.b=VhId9RCw; 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 S229632AbiLPWYH (ORCPT + 68 others); Fri, 16 Dec 2022 17:24:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbiLPWYG (ORCPT ); Fri, 16 Dec 2022 17:24:06 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF1662A703 for ; Fri, 16 Dec 2022 14:24:05 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 5BFE1B81E2C for ; Fri, 16 Dec 2022 22:24:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2294C433F0; Fri, 16 Dec 2022 22:24:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671229442; bh=vWyTChF9TwDDk0WZDplapmkRwworn0IhwYAjtOOf+HI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VhId9RCwx0o6BIUUKNNpCYsiCZTXnrltQNzrTl/Ftd4Klkn+1bOBPosAosRsqzd7w SmJcY6ezwecIBtw8ne6L5Fnm1ARAEG4lPrrNVC1PFTd4RqUphMzqBKSB9S/GY4tOw5 8lix3BG86bHAwVQ05sdJdQi0s5aFewL9i8Hh+3KR8WCuRz8Du0d4SKnpWsn1SpXtL2 Hf4AVwPPIcKpNxB2krUNN5JUg7LjSaxQjaXO1M6GbdResGIN4TgA/JuwjHlwBm5MVD iH5ZT4tslMouVNxaqzaxAgNNgOVvhVLNXH7LbOD9hVuPBRmYNO98BqziSlJZaSQWXq j2upcgQjzkihA== Received: by pali.im (Postfix) id D741F711; Fri, 16 Dec 2022 23:23:59 +0100 (CET) Date: Fri, 16 Dec 2022 23:23:59 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Segher Boessenkool Cc: Christophe Leroy , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Nicholas Piggin Subject: Re: [PATCH v1] powerpc/64: Set default CPU in Kconfig Message-ID: <20221216222359.74i6otxszwanf76y@pali> References: <3fd60c2d8a28668a42b766b18362a526ef47e757.1670420281.git.christophe.leroy@csgroup.eu> <20221215204202.mbw2ij4ou7t2ttpv@pali> <20221216191543.GE25951@gate.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221216191543.GE25951@gate.crashing.org> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-7.1 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 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 Friday 16 December 2022 13:15:43 Segher Boessenkool wrote: > > Anyway, do you know what is e500mc64 core? I was trying to find some > > information about it, but it looks like some unreleased freescale core > > which predates e5500 core. > > It looks that way yes. It was submitted at > > and committed as . It looks as if > it was based on the e500mc core, while e5500 is a new core (or > significantly different anyway). Just a two old Freescale PDF files which I found and mention e500mc-64: https://web.archive.org/web/20121215191707/http://www.freescale.com/files/ftf_2010/Americas/FTF10_ENT_F0453.pdf https://web.archive.org/web/20120905164305/http://www.freescale.com/files/ftf_2010/Americas/FTF10_ENT_F0273.pdf On page 6 in both documents is described P5020 with e500mc-64 cores. But production version of P5020 contains e5500 cores. Some other documents are also on nxp.com website: https://www.google.com/search?q=%22e500mc-64%22+site%3Anxp.com https://www.nxp.com/files-static/training/doc/MULTICORE_MORE.pdf https://www.nxp.com/docs/en/supporting-information/WBNR_FTF10_NET_F0707.pdf https://www.nxp.com/docs/en/supporting-information/WBNR_FTF10_NET_F0704.pdf > > ISA (without extensions like altivec) seems > > to be same for e500mc64, e5500 and e6500 cores and difference is only > > pipeline definitions in gcc config files. So if my understanding is > > correct then kernel binary compiled with any of these -mcpu= flag should > > work on any of those cores. Just for mismatches core binary will not be > > optimized for speed. > > It appears the E500MC64 never made it outside of FSL, so it is best not > to use it at all, imo. Yes, it really makes sense to not use e500mc64 flag. Maybe gcc documentation could be updated to mention this fact?