Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3830168pxb; Mon, 8 Feb 2021 00:52:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVT1kfuNArqYxkd/MUmWbYMw8anqrBvXGLOWW8py5Bi0CrF4YJ23TbDtILtcY0hsFbCzak X-Received: by 2002:a17:906:3105:: with SMTP id 5mr16277903ejx.168.1612774364946; Mon, 08 Feb 2021 00:52:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612774364; cv=none; d=google.com; s=arc-20160816; b=e06s5O+nJEZUL3Kg0hfwRv29HR38wjZONAi1k8S8Q4s4J0Iuaftz1u/taBtCOEmZIH r6iITEIt9LXxFTAUy7UXYpfrwEZ4mFELWeLydafp56tBq/phyNN80UCQVi+383ZCWP8v uRYWZe9SX3DBGzeblQSUmSqUOdEeYOfZV0qRfq060jP5KkGNSlQskhi4vyxjnT4lznlU bAMzOMQQ8eMmk6wdirmq94791MNA/PC5HiPp3aF3VWxcmoazhCK777QjLysdAIBZWKAu Y0FZEoMDWxxcJ0iegZjZFejeXkSADJ/uk8TxaECUTFkd7MZVc9lMM53KFzoxNaFjzOAO kebA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=1BKQhWLm/tnYltgjdaJCuRKizjSFdVr3zeMjW7ufPoY=; b=R2LHG+raMRJ/77Bfojh48LfdkJL9udQvCcmIsdYOsabSRPQASNn5T7Fm1f4BWIktG3 M4vCZ/En7WxF1Macq4+F4zFC4laCbUcy1Tj2NVw5RM6XCBQenuuuJvN62fZuGyWJWbJ9 5UJb2rcnKCQDpdmTofGE3RfrjnqLUCbERzY+AO4hFuixavPnQyuHbhPGzq2v1yQjWEIz Js8xMWkycvDdmt3ixcPN3sEQ9AvnMe/T6UqLFB9iVg73diDWbbEF3gEnBvgekecb3kG0 udxoYOiaFZao4QGcpe1JFpIMEaEk9i5BWK/Ba38oYRt/6RccSK0A4GuayV6M2R3EmLrP 4RjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k9si9691967ejv.526.2021.02.08.00.52.20; Mon, 08 Feb 2021 00:52:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbhBHIut (ORCPT + 99 others); Mon, 8 Feb 2021 03:50:49 -0500 Received: from muru.com ([72.249.23.125]:58752 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230398AbhBHImE (ORCPT ); Mon, 8 Feb 2021 03:42:04 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id E962A80A3; Mon, 8 Feb 2021 08:40:45 +0000 (UTC) Date: Mon, 8 Feb 2021 10:40:26 +0200 From: Tony Lindgren To: Geert Uytterhoeven Cc: Arnd Bergmann , Krzysztof Kozlowski , Olof Johansson , Arnd Bergmann , arm-soc , SoC Team , Linux ARM , "moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES" , "linux-kernel@vger.kernel.org" , Marek Szyprowski , Sylwester Nawrocki , DTML , Frank Rowand , Rob Herring , Alexandre Belloni , Gregory Clement , Nicolas Ferre , Linus Walleij , Bjorn Andersson , Shawn Guo , Geert Uytterhoeven , Alexandre Torgue , Kevin Hilman , Maxime Ripard Subject: Re: [GIT PULL 2/3] ARM: dts: samsung: DTS for v5.12 Message-ID: References: <20210125191240.11278-1-krzk@kernel.org> <20210125191240.11278-3-krzk@kernel.org> <20210206134531.l5vpzlmev4v3f3uo@kozik-lap> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Geert Uytterhoeven [210206 19:48]: > On Sat, Feb 6, 2021 at 3:36 PM Arnd Bergmann wrote: > > What do others think about this? Should we generally assume > > that breaking old kernels with new dtbs is acceptable, or should > > we try to avoid it if possible, the same way we try to avoid > > breaking new kernels with old dtbs? Should this be a platform > > specific policy or should we try to handle all platforms the same > > way? > > For Renesas SoCs, we typically only consider compatibility of new > kernels with old DTBs, not the other way around. > However, most DTB updates are due to new hardware support, so using the > new DTB with an old kernel usually just means no newly documented > hardware, or new feature, is being used by the old kernel. > > In case there was a real issue fixed, and using the new DTB with the old > kernel would cause a regression, and we're aware of it, we do make sure > the DTS update is postponed until the corresponding driver update has > hit upstream. Yeah agreed. Adding new devicetree properties should not be a problem for device drivers. For renamed devicetree properties, the driver won't be aware of them if a newer dtb is used. The only thing the driver can possibly do at this point is maybe warn about some missing old property and bail out. Making sure the driver changes are in place first helps a bit.. But naturally fixing the driver in advance won't help booting kernels before the driver changes with a newer dtb :) What helps though is to make sure git bisect works for building and booting already at -rc1 kernel to make debugging the issue easy. As -rc1 is used typically as the merge base the problem causing branches can be tested separately that way. Regards, Tony