Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2414344imn; Tue, 2 Aug 2022 01:43:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uwcAmSfv8AG8Wz1IOxWlnwwDxF8DRgymn/UgKXLcCa/sd+/TYSmGLr2eZ2/Barvr3OhLcN X-Received: by 2002:a17:907:2887:b0:72b:68ce:2fff with SMTP id em7-20020a170907288700b0072b68ce2fffmr15351572ejc.423.1659429813800; Tue, 02 Aug 2022 01:43:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659429813; cv=none; d=google.com; s=arc-20160816; b=bfzo6VpdNo41Eno68FqTbud+9NmzSRaPyKvtuZL8bcMztaipdMVBoWajtVzIODh3ed FA/aelucsOAwosV6IlqpFwITE02/Yz5Os3ao8OuKiH2LmjQ05vQ//OTIMTpeHq2GEN6a sl2r2xE1wLCuHwzzOi4uLmjx26JTJrRGt5eV+7rZ1awSCIyKzy1cQbVZ6m7iEfS/zpvd 6LW7maJPERBXrBF1VFoENUIfjmDLYM2PdCgVQ2bmPJ+oElQ9NmM5rV7Tp+xNQEBBF6BR WmKKdKUkeu6WrIX80CRmYaX4RGjzCiLQQTGDlWpKHpPNi4K0evzX8+x49k6+4jwpp/t5 V6VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=wIqi+VzaIU+2sDl3id/mxyZRUixTOMn2h2P3vgI+OPY=; b=LHZSybd51HGl44fAobBKluJFe/MlF4VjAuE8teWRELaGl1pIsxLqGeu09RoNTn2VW+ JriqB0VhEkYly5TUSJDZuczpNXbkNMA5ECfkFKAns5hcgZsfyGN7miQczCWXUsaoAB4P HVb2bWwXsymP3LIy5/ixKuCrXTkzDeY3AT3sisXrfVzc9YVKXUbRvU/dHAABI2LEJyZd wXomqEbIq7kGcOlKBWlT1BCIWtps5JlKon7GuSQECCtDo0sDt60AyJGcaN03RtmKIXR5 v+Tuyz+YCmuVW9iy3akUGHIGm4AHylegCjj9BEn3DSZRF0VF1po3qMgnw2iCua/LCZdZ nbJA== 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 hw10-20020a170907a0ca00b006f3b5fbc9easi9613935ejc.904.2022.08.02.01.43.08; Tue, 02 Aug 2022 01:43:33 -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 S235865AbiHBI2u convert rfc822-to-8bit (ORCPT + 99 others); Tue, 2 Aug 2022 04:28:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232747AbiHBI2q (ORCPT ); Tue, 2 Aug 2022 04:28:46 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B17E6275F6 for ; Tue, 2 Aug 2022 01:28:45 -0700 (PDT) Received: from mail-ej1-f50.google.com ([209.85.218.50]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1Mdevh-1njjdC2tyj-00ZeiT for ; Tue, 02 Aug 2022 10:28:43 +0200 Received: by mail-ej1-f50.google.com with SMTP id i14so5922052ejg.6 for ; Tue, 02 Aug 2022 01:28:43 -0700 (PDT) X-Gm-Message-State: AJIora+JVZ2o+GRymj6UA2/eR+PzEveFae5lmwo/FNSFe+P+EhvMwRrJ dbLkV8rmFzTVtwv7MF7rAwnLMVXE2pUFuwsRo7Q= X-Received: by 2002:a17:906:dc89:b0:72f:1d4f:cea8 with SMTP id cs9-20020a170906dc8900b0072f1d4fcea8mr15821217ejc.654.1659428923342; Tue, 02 Aug 2022 01:28:43 -0700 (PDT) MIME-Version: 1.0 References: <20220722090929.mwhmxxdd7yioxqpz@pali> <6b227478-73b8-2a97-1c78-89570d928739@csgroup.eu> <20220723150702.jecerkhxhy65dgww@pali> <875yjld2oe.fsf@mpe.ellerman.id.au> <20220725125256.cg6su4d2ageylvp6@pali> <20220725201009.gwuchzswcqaxntrk@pali> <20220725215416.GV25951@gate.crashing.org> <20220726083406.tcjvny6d2di6q7ar@pali> <20220726134405.GX25951@gate.crashing.org> <7e7feffd-1f22-83bf-1c74-4ec48d973514@csgroup.eu> In-Reply-To: <7e7feffd-1f22-83bf-1c74-4ec48d973514@csgroup.eu> From: Arnd Bergmann Date: Tue, 2 Aug 2022 10:28:27 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Regression: Linux v5.15+ does not boot on Freescale P2020 To: Christophe Leroy Cc: Segher Boessenkool , Arnd Bergmann , "linuxppc-dev@lists.ozlabs.org" , =?UTF-8?Q?Pali_Roh=C3=A1r?= , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Provags-ID: V03:K1:qSgu8G8+TlTjN0+hOvpIF78yXmTc5lqXBs1ckY1eE3tw11Os0mO qOTrEKdEXsggcZ+Pj0vIzPMdMxQ62FsoxFGNZNxK8wgM/0P3TG2CHekcS8WJuDL9240zKaB FRU5iw2h/52rrJdIltJEK8nCTvHf2PJE835fdC5Z6DaEQO9fznU5vDogkYRpZhgAWX0VnW8 2cRlQ2d1YtxFQenboP6Rw== X-UI-Out-Filterresults: notjunk:1;V03:K0:4z4Jbkwx1u0=:65G5PUh18Zn0zCAlQXhsb8 t5xlaw8mCew9Zu90F4We56Arf52a95L14QVtj4mtWuHENYh7ABUD8kepC4Z6d7GvTBpSWPnVI JHbxeDZKFkHTkNMQPCLmqxNq4VIAnzvTuvojxuESRxD2+mok3JN+mzYpsBAmIpGLTmhuKSzIq SyhtMOy1uq39WNoDTZYOKof1VKXklixeLGtW8okXtJeM8pGrrxGbh/ETQo+JqS2k0EKPUK7mW ZQ7Cj3Me927OWGjHkqc5LF62WamFN3sRsmuNk87gQ62OpeiqPHnVHH40sOwYOh80JfUOtLhuq tcUxtP6GrfJ8KI7ZnGYlSIDmd2mJ5E/E0T7XPfALkF2NXFmCiDbLQsPS5QXeMTw7z8pT8hluj gi6YgJ428hkxN8HNd6Q0AXa0ItXdGU4NuAY4Mg96pxMv6O0JPSRi/gTYcEdFhChsWkMrBLUWJ tGY2XcSfsR2wUX22voGlelBV5pTRECax1bTapQ/+jH+7ccktAcVZcLi17/QimBxiemh5yT496 tCeaCvp0g/T/X6lGVjn8EgJoz0/VDl9JOuDw90GdHosiJTob2YtrWjeKtSVrXOxrWyzeooBR9 zoOS5SflCqHXUK5dQKP5pAO0T0IyIznJBh4tpJIAEeclRc2iDwaFEAMyodEVnYK3Q1Wd/L6SL tw9Df9CYbJjLPML1syPM6hi8qlEueyaYrRDLLWqo7ukzMpgNmIs4wGuSWG67ljwERyElF2ouY Tsbbjt0+GJRZfhCYwJpDvqW5zS5NMre0V1S1RWgz9xp3uqgiVXorYg1HIvLe2v6q0/iECKuEa pYAl7aetFbAMG7WSbZZbyZGp3awptVQJovRh4uyoUpRTJS14gw/WMxXlJSsH+BsEUvfMJgOBl TSmAreEv2tL7uvzyZYaA== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Tue, Aug 2, 2022 at 8:47 AM Christophe Leroy wrote: > Le 26/07/2022 à 15:44, Segher Boessenkool a écrit : > > Whoops :-) We need fixes for processor implementation bugs all the > > time of course, but this is a massive *design* bug. I'm surprised this > > CPU still works as well as it does! > > "Programming Environments Manual for 32-Bit Implementations of the > PowerPC™ Architecture" §4.1.2.2.2 says: "Invalid forms result when a bit > or operand is coded incorrectly, for example, or when a reserved bit > (shown as ‘0’) is coded as ‘1’." > > > > Also people using an SMP kernel on older cores should see the problem, > > no? Or is that patched out? Or does this use case never happen :-) It doesn't get patched out, I think it's just not a combination that anyone tests on. The few defconfig files for SMP 85xx tend to be e500mc (which is incompatible with the older cores). > Maybe unlike e500, older cores ignore the EH bit and don't mind when > it's set to 1 ? Pretty sure this is the case. My interpretation is that Freescale and IBM just interpreted the spec differently at the time and were not even aware of the difference until it was too late. Arnd