Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp719701imw; Fri, 8 Jul 2022 10:25:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1snk0RU9BHPbPe5mcmCJzV9leBIixVFdmVbRZcjj5Ub9iLLVFp8R257d7fwhX+kTcLAcYH9 X-Received: by 2002:a63:6c81:0:b0:3fd:4be3:8ee9 with SMTP id h123-20020a636c81000000b003fd4be38ee9mr4040730pgc.188.1657301139818; Fri, 08 Jul 2022 10:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657301139; cv=none; d=google.com; s=arc-20160816; b=SCIlbUk4pT9cfIG4+nE28Sg9SK4w2VIxNE74IEkUDBTJCfZ0lmAk124TUIUx5litxR fnCXkgDmjGh7pKCSZwIdwnPu6USofhqR24xxQRIa6XudQ/m/9DIDt0v0ebJVWbelaMMr ZWDfylOJxaeY4PugMhVLrBnzclCCt/uHnfL/3lwIvOXJ875Tvv3zf0FLQi1yT6ufhmzf QpOkJbE0ssJkYYSb/2n7vNxg5OunH5md6AaxlLkltOffDvLwX0Y52pM6kbN/+Q8vUD2O fuK0vmfV9BwcZnex4LSrWSFBlCuEWA+locLT7fRjG4Lbx1IVfJJPM1WZagwIGa1WjymF F30Q== 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=O6Q6M2EHjDPy9F1b2YXJzezZlGwZw2twj3dLmD9DjaI=; b=p8X82SL+9RjTFPJKx81ujb2dTUjNfBUv1l8ykts8p42ZgVvkvibZHsueaRFOBPKOWN uPqT9cPsGEzrd1DN3L1H5sTir09+q9ljMOvzdBbSKfPQbwoztwGTyIXobukl79YYDUKP j4Fi0HNy8Ys4UJJPhgxCzWPc0jcIUiFY/qcxUM8HHs73z0fNvFutn7IiebxmfGiDi6fF +wtpNro0x/AUyGyaCMS2PFfDu7cCaZFHZhm0CgYcGax/2tSA2kFE9YUCZ5Yp6pf9a7XL pfvuRlA5Eq84ZHIFMlUxSD3RsxJpeAVKr+bBv9BosBPpwvcMmY0BUBR8vghTVtJddzci X0Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ThWQzWOP; 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 v62-20020a638941000000b00415c63a1c22si653719pgd.402.2022.07.08.10.25.26; Fri, 08 Jul 2022 10:25:39 -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=ThWQzWOP; 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 S238232AbiGHRMf (ORCPT + 99 others); Fri, 8 Jul 2022 13:12:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238493AbiGHRMd (ORCPT ); Fri, 8 Jul 2022 13:12:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C12DC2CCB7 for ; Fri, 8 Jul 2022 10:12:31 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 59FBD6237B for ; Fri, 8 Jul 2022 17:12:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C652C341C0; Fri, 8 Jul 2022 17:12:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657300350; bh=v8cAq7/Gzi8ptaUAj35finBpJ4sd0O5IcACMWgZqGEw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ThWQzWOPM3uHWo0maxJeaD2y/kfNNAPVJMfEeQ/6+K+oAOIp6ojjrL7zX1HTXWAv9 mWcrcxpwhBKw0CZa5Br7ILK2RqMhRdn6w/o6NDXFemTI1sj9E3wQFuawE+hdCl8Uzf UASo2gu7jj9G654QCamb31v5pXoI40ic2DWPMbWR1iFJ9tBWTZz+OWp9/WUeQZ6vTT rBz2rqWMMnMT/4Mh8qpppuzMW77d7Axyff1EBTIrgOMvwLssu1WDEkCGQcGyUIlDLs cuWBm4M3Jp7XwLvFVhTPR+yE+l93VtWXFNP/QlKO0wIyCBSFqIH24xNPVZhShBVUO3 gwXqL2QRGLUGg== Received: by pali.im (Postfix) id 62F297D1; Fri, 8 Jul 2022 19:12:27 +0200 (CEST) Date: Fri, 8 Jul 2022 19:12:27 +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: <20220708171227.74nbcgsk63y4bdna@pali> References: <20220524093939.30927-1-pali@kernel.org> <20220702094405.tp7eo4df7fjvn2ng@pali> <8D562851-304F-4153-9194-426CC22B7FF2@ellerman.id.au> <20220704103951.nm4m4kpgnus3ucqo@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 14:07:10 Arnd Bergmann wrote: > Another problem I see is that a kernel that is built for both E500 and E500MC > uses -mcpu=e500mc and may not actually work on the older ones either > (even with your patch). Such configuration is not supported, see arch/powerpc/platforms/Kconfig.cputype: config PPC_E500MC bool "e500mc Support" select PPC_FPU select COMMON_CLK depends on E500 help This must be enabled for running on e500mc (and derivatives such as e5500/e6500), and must be disabled for running on e500v1 or e500v2. Based on this option you can enable either support for e500v1/e500v2 or for e500mc. But not both.