Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp735920imn; Tue, 26 Jul 2022 08:01:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sbRf4lNdT7zrpxf1cZxv8UEZYVYXaV7TN9v0tnBCSsr1JaWC80Cf39Jsyhr80E6uI7+KQB X-Received: by 2002:a65:6bca:0:b0:411:f92b:5e39 with SMTP id e10-20020a656bca000000b00411f92b5e39mr15710677pgw.259.1658847714583; Tue, 26 Jul 2022 08:01:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658847714; cv=none; d=google.com; s=arc-20160816; b=qRkVgrM1ROXs2dXokAA50coWa3bWeNNTmz0HfOQm4vI480OxHqv0OagKhfkIbby6qK bM+7lN/9wWF01Gd1FdknqTDgH3cwJXIubSBaYGNXATElIRxXxcl1zgthPxypzF//yyEx GKL5wY6y5i/ug6o2ZmIC/06cmFOdpPQquJu2UkaOHpwvO8OV7fFBaKOSLKpShDQLdKmO 01xeEvUwDuNaL486FtPFsfIkxLH65c/nr2yVMZQCfSoy5CypgFiEnh7KnG6/zNjC/v0x z2gG/s5BKe0/gKu54ktVIS0Dqh+zfoA/nw8b4bDA7IXEDnJKCwVlTaaue64S+fB17vTk ukHg== 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; bh=bIuVQ+9nztFiiS3H08/RECgxN4KImuNXzkB5Q00hQXI=; b=w1j9ibD+nrDlDFfAJ2JtjIZX8GT6dzPCD+gVpnwei7O4yMLALhk6VBvlmYi4L4NwZG wVaM1EmhIjiqcAyCkklKpgxSq31IOH4UlA9vGsVGE9A+FkrmfqHoTzL4uVpg08QD3OkP 74cIoog8gVZq6a2BoAtvv6cxRXYlBy1Ds51EW9giAOnTjA/eCMMG08uhwH0pIaBrbLzb sLxc18O2RwIMdF/C+QOjYp4jL+gZBlAlzISltqZeGaanmHNzk3+Ytbe85cdI2NTLtiY3 x9xMSPphKxUt95y7d/Qi6cLadKOPBRvKqxEQAnvWFqQrTbNwrS6lBwq7lQ5ye/ENAYtp 92wA== 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 t9-20020a170902e84900b0016d6e8f5c42si8160513plg.543.2022.07.26.08.01.38; Tue, 26 Jul 2022 08:01:54 -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 S236288AbiGZORT (ORCPT + 99 others); Tue, 26 Jul 2022 10:17:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233247AbiGZORP (ORCPT ); Tue, 26 Jul 2022 10:17:15 -0400 Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B535015FEE for ; Tue, 26 Jul 2022 07:17:12 -0700 (PDT) Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 26QEEwrC003781; Tue, 26 Jul 2022 09:14:59 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 26QEEwrK003780; Tue, 26 Jul 2022 09:14:58 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Tue, 26 Jul 2022 09:14:58 -0500 From: Segher Boessenkool To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Arnd Bergmann , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: Re: Regression: Linux v5.15+ does not boot on Freescale P2020 Message-ID: <20220726141458.GY25951@gate.crashing.org> References: <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> <20220726140100.cfucgnhhh3yniqni@pali> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220726140100.cfucgnhhh3yniqni@pali> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Tue, Jul 26, 2022 at 04:01:00PM +0200, Pali Roh?r wrote: > On Tuesday 26 July 2022 08:44:05 Segher Boessenkool wrote: > > And the architecture says > > Programming Note > > Warning: On some processors that comply with versions of the > > architecture that precede Version 2.00 > > But e500v2 is 2.03 and not older than 2.00... Yes. And it does not implement reserved fields in instructions (*any* reserved fields in instructions, apparently!) correctly at all. > > e500v1/v2 based chips will treat any reserved field being set in an > > opcode as illegal. > > > > while the architecture says > > > > Reserved fields in instructions are ignored by the processor. > > > > Whoops :-) We need fixes for processor implementation bugs all the > > time of course, but this is a massive *design* bug. > > I looked also in e500v2 and P2020 errata documents there is nothing > mentioned about eh flag. But it looks like a bug. The bug is if it does this for any reserved field (and it apparently does it for all even). > > Also people using an SMP kernel on older cores should see the problem, > > no? > > Probably yes. > > But most people on these machines are using stable LTS kernels and do > not upgrade too often. Yeah. > So you need to wait longer time to see people starting reporting such > bugs. Need to wait at least when v4.14 and v4.19 LTS versions stops > receiving updates. v4.19 is used in Debian 10 (oldstable) and v5.4 is > used by current OpenWRT. Both distributions are still supported, so > users have not migrated to new v5.15 problematic kernel yet. That's not a reasonable timeline for kernel development of course. We see the same thing with the compiler... Although GCC has a much slower release cadence (one new major version every year), it often takes two or three or more years before we get bug reports that something was broken. If stuff isn't tested, we cannot really support it at all. Segher