Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3603046pxp; Tue, 15 Mar 2022 02:11:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1BEVdH0Xpqfc7oUgPFtxhAEU8Vgn7qeslVvBsVuTzhnX9De/bLHbLdJ9a5QmDCK/h6dU1 X-Received: by 2002:a17:903:2283:b0:153:9f35:d673 with SMTP id b3-20020a170903228300b001539f35d673mr1211339plh.132.1647335505584; Tue, 15 Mar 2022 02:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647335505; cv=none; d=google.com; s=arc-20160816; b=G/qqwEoWHntwWqck3ET3/2jGeFjSH0INsQkG7rv9p250p96GL4HBG+/jyA0gjgxAaF 2ux5HkBHE+Kwwg8sUoia3CLwD35Ui1jVqzkspvJWhzHji5L2+rQ4oQeYLs+nhg7oW6Mz Xwml2my6eIFeJjhq6jvEIaEFLOQdeCdURNMj33WZOIVE2oX6PYlH+HaN+J7ZF7ptVnUD kZct3ssjhOizmbrPFWS5fyuCJs3os73LYqAWqikhaHD4iJzl1vmn2jRsB8QxitAqsoyv Nto1napOKnuYT1zP6Yo7jMScEON159N3KarD5fRxEvO9WKUIv1sHpkPtu6pV7d3TwZke KV1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=NaStxUwomDZ1PM/aQ00IExxHka/oXOlcYgPEVr/hdaQ=; b=Ul9uXTiQJgLbzThx0/9WrwraP4a5+kObfDEDDLx84X0PHfyD1lLkBvDwA1tciUBc1E XDUAHp1tJKa2jO2FsH8uul9GPRi5iNXaGltp81sGxPYB9wsJ679I0/tMRuNz4v+exKRe lzeD5huh3rUvVPrE0ZijynjoQlDkteY/G6BnkvWR/5Qh3rTIObnBfPpTtTwOQRJILsUc Wa/maudZhHaXp0tsMdmPBC6AGq1RnqFE4wB+fqIXiNDybVU/T8JNYpHbdFe+vnT79cci 4wYYpxjXzurZcwlcyK7rdnyPc/ChtTIC/aB2QVWjZX9mihMX6+tq9+x0V6Ns+Gj6x8Kf wRQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t73gaSIo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x9-20020a056a00188900b004f9fc695a3asi967953pfh.18.2022.03.15.02.11.33; Tue, 15 Mar 2022 02:11:45 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t73gaSIo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242540AbiCNPfr (ORCPT + 99 others); Mon, 14 Mar 2022 11:35:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242545AbiCNPfd (ORCPT ); Mon, 14 Mar 2022 11:35:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4693521267; Mon, 14 Mar 2022 08:34:22 -0700 (PDT) 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 8861E612B3; Mon, 14 Mar 2022 15:34:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E602CC340EE; Mon, 14 Mar 2022 15:34:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647272058; bh=Bnod0IaDodE5BPjyT8EujzYwnAusdu53AQQMt9y+ho0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=t73gaSIorFbG9uLRYGMqM/SKSnxBXcquakW7oZSLnr5fn/xbNlsCcEZUc3nUf5wEg h86fWkK9Mnr72d+gKXGBvnXJLii41dy44LTzrSUbwNdE3o2Di/+Ey50oC0PK5nmKvp BQprk6DEzypkv4Pt5ukLAnIKwDGPd50xPB0Yft5cKc+1BoZGEFv9Fv18e0onClDcSm jVP543t8JjYbhewEHMtmHfU0I5Mv+3Ih/lC5tCXtQAqChKb95MY2dI3jskRNa8di9z ah7gQD3sLQgiM8QaAZfYd4HbsGiIvglUI5BGm4rE6FlehO6CuYu43MIiUI/PwfGMUJ ayOONeHPot1Rw== Received: from sofa.misterjones.org ([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 1nTmi7-00EOSv-HQ; Mon, 14 Mar 2022 15:34:15 +0000 Date: Mon, 14 Mar 2022 15:34:15 +0000 Message-ID: <87k0cwzgy0.wl-maz@kernel.org> From: Marc Zyngier To: Rob Herring Cc: Vladimir Oltean , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-arm-kernel , Shawn Guo , Li Yang , Biwen Li , Zhiqiang Hou , Kurt Kanzenbach , Rasmus Villemoes , Arnd Bergmann Subject: Re: [PATCH v2 devicetree] Revert "arm64: dts: freescale: Fix 'interrupt-map' parent address cells" In-Reply-To: References: <20211214135852.2934670-1-vladimir.oltean@nxp.com> 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: robh+dt@kernel.org, vladimir.oltean@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shawnguo@kernel.org, leoyang.li@nxp.com, biwen.li@nxp.com, Zhiqiang.Hou@nxp.com, kurt@linutronix.de, linux@rasmusvillemoes.dk, arnd@arndb.de X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, 14 Mar 2022 15:15:15 +0000, Rob Herring wrote: > > On Tue, Dec 14, 2021 at 6:59 AM Vladimir Oltean wrote: > > Therefore, the premise of the patch being reverted here is invalid. > > It doesn't matter whether the driver, in its non-standard use of the > > property, complies to the standard format or not, since this property > > isn't expected to be used for interrupt translation by the core. > > I disagree. The non-standard part is that 'interrupt-map' translation > is not transparent. 'interrupt-map' that can't be parsed in the > standard way is just wrong, and I imagine was never the intention > here. We simply cannot have platforms defining their own format for > standard properties. That ship sailed a long while ago. We have a list of offenders, and we can make sure we don't get additional ones. > Reverting this will cause dtc warnings now (IIRC) and just kicks the > can down the road. Reverting is fine for now (I gave Arnd the okay on > IRC), but I think the parsing will need to be updated to honor > #address-cells and detect an old DT (probably by looking at the total > size of 'interrupt-map') and mark that change for stable. That would > only leave a new dt with an old kernel without stable updates broken. > Seems unlikely a device is getting firmware updates, but not OS > updates. Being able to rollback firmware and OS independently is important. The tooling can be taught about the broken instances, which should be enough. Adding to the parsing only makes things harder to maintain, for no real gain. M. -- Without deviation from the norm, progress is not possible.