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 7B908C433F5 for ; Tue, 14 Dec 2021 10:20:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232976AbhLNKUl (ORCPT ); Tue, 14 Dec 2021 05:20:41 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:35736 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbhLNKUj (ORCPT ); Tue, 14 Dec 2021 05:20:39 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 5D98161444; Tue, 14 Dec 2021 10:20:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC5BDC34600; Tue, 14 Dec 2021 10:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639477238; bh=gXDlyXCPmGIg3pQ+XQq1nSiP4XFFwOsh8JAjsjMMkNg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sT1P/SVv2s8BXa6JVtHZ9jsVbR4EfxsFBwrNCTIXqT+Ju8/gMKcmCifqwsf24hGrG bPgO/nyTQPE6GPFoIBTlQm2jq42HqseHT+yjjEkD4aUEA+MF4VaN8X6HopOh4QKbBc uHmw5ZQeg1GgaKntr06g/YcO7+jG7s8T14dd36PSsVQCMQJYpucA+hb1hWZp+/TAwk UyGmWRQvMedqCQ17bGOGVFy6WMepRGVCp+8PQgjmPKnLXBX/ypprAXoD8utNU8H4M6 P+VTXioPhXwzPyFKbwwwQhsjXmV2o4H/cx7uhx/pxwcySeL4AVFPlInxW1uVxVt0QT XP3q4esA6qVSg== 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 1mx4vE-00C1CJ-NM; Tue, 14 Dec 2021 10:20:36 +0000 Date: Tue, 14 Dec 2021 10:20:36 +0000 Message-ID: <87czlzjxmz.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: <20211214095853.4emzycaxkuqr4tun@skbuf> References: <20211214013800.2703568-1-vladimir.oltean@nxp.com> <87ilvrk1r0.wl-maz@kernel.org> <20211214095853.4emzycaxkuqr4tun@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 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. M. -- Without deviation from the norm, progress is not possible.