Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp284617imn; Fri, 29 Jul 2022 06:52:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vEOTeekxKqlg+XjfKrVGPw3LpFo9r6OV9xVkqE94Cv2KFoZRWJIvpAcoAbO/aXHt1ExwA8 X-Received: by 2002:a05:6402:17dc:b0:43d:a1e:67f4 with SMTP id s28-20020a05640217dc00b0043d0a1e67f4mr3703701edy.191.1659102746887; Fri, 29 Jul 2022 06:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659102746; cv=none; d=google.com; s=arc-20160816; b=GcH9Dsahj6p4G10jtpIgiJ3OIDgHm83350cQZWeDzmaml+X4BB2F2QR4qJo8qDpF0r aBlNPEdUPuNdGo9zvp3n9k6yWQJzqX+AEr7aAAimOSSqr1pXuPJSHslvUh2xwyW20ydl GvGYfVYiUMafyxCYCioPaWBIfQruSw0eSfRB6G8BvVYU3k2D7DQm3m6Lh5DQf4wlEyhK tX/1YpYEHkc3ubCY4o95QAxKjS2zN9hE0yjrWY5S7s+5bx5FfsizdxANy5DdQUl884dU 5+sH7061o3bjaWubDcbdMGKbJUgNhwLeXH7s4VtfIJvcjuWZEelQ9c3WmoXhg1zkFrJ8 crlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=4X2EWob8ArjCiPteL42mI1qTmWunMvxIhX5LxMBerEg=; b=DMKBdzWAE7Io1vju0Oxocl0w6gPmwJE5y8xkNM0Ex/4PUtsN7QPy2vU/h8JP7XtGD4 K7qnRqonXgHVqEmf1rNipFL2qznxgct3FAP9C0DKpkcTyObfk8WWFqfvUtmjjN9KKXYy /jwVRoKlhjjA8pco06gI9/PyutYseI5GwVZKPlBtiLDyD3ReiEX6XBMrpJG90ZqZ5gms AQzYSDuYYxFEBkgpsj5IOlOEbHnMflkgFYRUsnaSv0yKhMleaSECu2lzpfmVp5TaQ4Dg 9vSmpe4393PnRC89MW5CEDTMo2X7zZX8IrYpXRIOooYlXaUB/DxwkAReme6RSBf/HlIT 0s1A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a170906110900b0072afc158ff0si2642858eja.315.2022.07.29.06.52.01; Fri, 29 Jul 2022 06:52:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236473AbiG2NLo (ORCPT + 99 others); Fri, 29 Jul 2022 09:11:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236583AbiG2NKy (ORCPT ); Fri, 29 Jul 2022 09:10:54 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28D7F4198D for ; Fri, 29 Jul 2022 06:10:50 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4LvSZ056Wpz4xG4; Fri, 29 Jul 2022 23:10:48 +1000 (AEST) From: Michael Ellerman To: Christophe Leroy , Michael Ellerman , Nicholas Piggin Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <8abab4888da69ff78b73a56f64d9678a7bf684e9.1657549153.git.christophe.leroy@csgroup.eu> References: <8abab4888da69ff78b73a56f64d9678a7bf684e9.1657549153.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v1 1/5] powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32 Message-Id: <165909976455.253830.10900913181823665074.b4-ty@ellerman.id.au> Date: Fri, 29 Jul 2022 23:02:44 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,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 Mon, 11 Jul 2022 16:19:29 +0200, Christophe Leroy wrote: > Commit 0e00a8c9fd92 ("powerpc: Allow CPU selection also on PPC32") > enlarged the CPU selection logic to PPC32 by removing depend to > PPC64, and failed to restrict that depend to E5500_CPU and E6500_CPU. > Fortunately that got unnoticed because -mcpu=8540 will override the > -mcpu=e500mc64 or -mpcu=e6500 as they are ealier, but that's > fragile and may no be right in the future. > > [...] Applied to powerpc/next. [1/5] powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32 https://git.kernel.org/powerpc/c/9be013b2a9ecb29b5168e4b9db0e48ed53acf37c [2/5] powerpc/32: Don't always pass -mcpu=powerpc to the compiler https://git.kernel.org/powerpc/c/446cda1b21d9a6b3697fe399c6a3a00ff4a285f5 [3/5] powerpc/405: Fix build failure with GCC 12 (unrecognized opcode: `wrteei') https://git.kernel.org/powerpc/c/ff27d9200a98757efc7c2cdf198904fd79cf4ffd [4/5] powerpc/44x: Fix build failure with GCC 12 (unrecognized opcode: `wrteei') https://git.kernel.org/powerpc/c/2255411d1d0f0661d1e5acd5f6edf4e6652a345a [5/5] powerpc/64e: Fix build failure with GCC 12 (unrecognized opcode: `wrteei') https://git.kernel.org/powerpc/c/d6b551b8f90cc92c7d3c09cf38c748efe305ecb4 cheers