Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACE19C433FE for ; Tue, 14 Dec 2021 10:39:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233109AbhLNKjl (ORCPT ); Tue, 14 Dec 2021 05:39:41 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:33722 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233092AbhLNKjk (ORCPT ); Tue, 14 Dec 2021 05:39:40 -0500 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 9CD63B81876; Tue, 14 Dec 2021 10:39:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50A2BC34601; Tue, 14 Dec 2021 10:39:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639478378; bh=CuR0WsrAKe4xFIouUMDiV6pFsJRveX5Kp1MoGEq8lUs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OWjSy5l1n3IUF4eAuzjEUm+inWDUPm+im3k8ruHPxVP88hPZkzvicD/h+2hRVv3Uk e2QC5WaLK8rfBe7NdDpRMkApz1Uuf1xCZRN8z7vMNej9PB441ZcjtpR5e5VWYF1ywZ CRu2cR5YQX6iIHwqkQgfDP5qeHLZmk4P7lH/oe4EUCg9s9Au2IIpkk1DgVyxxCFZ++ 72oqsmkQyS9vicoJ/W1f1wo09au/+iDDLoeNJbfaoZtsvZdQz8gE1CPIBOW+XCaVJG vKqRsc5nbICQIHjdNFMV0zeY6Xwto/aGDnG1yUu74G9oXrMDekqq1NfEokyhzMEzMQ uOjDfw/abcTfw== Received: from cfbb000407.r.cam.camfibre.uk ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mx5Dc-00C1Ob-96; Tue, 14 Dec 2021 10:39:36 +0000 Date: Tue, 14 Dec 2021 10:39:35 +0000 Message-ID: <87a6h3jwrc.wl-maz@kernel.org> From: Marc Zyngier To: Vladimir Oltean Cc: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Rob Herring , Shawn Guo , Leo Li , Biwen Li , "Z.Q. Hou" , Kurt Kanzenbach , Rasmus Villemoes Subject: Re: [RFC PATCH devicetree 00/10] Do something about ls-extirq interrupt-map breakage In-Reply-To: <20211214103025.wnzkfxr5xxeuhpln@skbuf> References: <20211214013800.2703568-1-vladimir.oltean@nxp.com> <87ilvrk1r0.wl-maz@kernel.org> <20211214095853.4emzycaxkuqr4tun@skbuf> <87czlzjxmz.wl-maz@kernel.org> <20211214103025.wnzkfxr5xxeuhpln@skbuf> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: vladimir.oltean@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, shawnguo@kernel.org, leoyang.li@nxp.com, biwen.li@nxp.com, zhiqiang.hou@nxp.com, kurt@linutronix.de, linux@rasmusvillemoes.dk X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Dec 2021 10:30:26 +0000, Vladimir Oltean wrote: > > On Tue, Dec 14, 2021 at 10:20:36AM +0000, Marc Zyngier wrote: > > On Tue, 14 Dec 2021 09:58:54 +0000, > > Vladimir Oltean wrote: > > > > > > Hi Marc (with a c), > > > > > > I wish the firmware for these SoCs was smart enough to be compatible > > > with the bindings that are in the kernel and provide a blob that the > > > kernel could actually use. Some work has been started there and this is > > > work in progress. True, I don't know what other OF-based firmware some > > > other customers may use, but I trust it isn't a lot more advanced than > > > what U-Boot currently has :) > > > > > > Also, the machines may have been in the wild for years, but the > > > ls-extirq driver was added in November 2019. So not with the > > > introduction of the SoC device trees themselves. That isn't so long ago. > > > > > > As for compatibility between old kernel and new DT: I guess you'll hear > > > various opinions on this one. > > > https://www.spinics.net/lists/linux-mips/msg07778.html > > > > > > | > Are we okay with the new device tree blobs breaking the old kernel? > > > | > > > | From my point of view, newer device trees are not required to work on > > > | older kernel, this would impose an unreasonable limitation and the use > > > | case is very limited. > > > > My views are on the opposite side. DT is an ABI, full stop. If you > > change something, you *must* guarantee forward *and* backward > > compatibility. That's because: > > > > - you don't control how updatable the firmware is > > > > - people may need to revert to other versions of the kernel because > > the new one is broken > > > > - there are plenty of DT users beyond Linux, and we are not creating > > bindings for Linux only. > > > > You may disagree with this, but for the subsystems I maintain, this is > > the rule I intent to stick to. > > That's an honorable set of guiding principles, but how do you apply them > here? Reverting Rob's change won't fix the past, and updating the code > to account for one format will break the other. As for trying one > format, and if there's an error try the other, there may be situations > in which you accept invalid input as valid. maz@hot-poop:~/arm-platforms$ git describe --contains 869f0ec048dc --match=v\* v5.16-rc1~125^2~19^2~16 This patch landed in -rc1, and isn't part of any release. Just revert it, and no damage is done. M. -- Without deviation from the norm, progress is not possible.