From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423290AbeCBMQc (ORCPT ); Fri, 2 Mar 2018 07:16:32 -0500 Received: from ozlabs.org ([103.22.144.67]:53005 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423042AbeCBMQ2 (ORCPT ); Fri, 2 Mar 2018 07:16:28 -0500 Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Rob Herring Cc: devicetree@vger.kernel.org, "linux-kernel\@vger.kernel.org" , Mark Rutland , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev Subject: Re: [PATCH] powerpc: dts: replace 'linux,stdout-path' with 'stdout-path' In-Reply-To: References: <20180228224406.7049-1-robh@kernel.org> <87606ga8bv.fsf@concordia.ellerman.id.au> Date: Fri, 02 Mar 2018 23:16:24 +1100 Message-ID: <87k1uuwu3r.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rob Herring writes: > On Wed, Feb 28, 2018 at 7:33 PM, Michael Ellerman wrote: >> Rob Herring writes: >> >>> 'linux,stdout-path' has been deprecated for some time in favor of >>> 'stdout-path'. Now dtc will warn on occurrences of 'linux,stdout-path'. >>> Search and replace all the of occurrences with 'stdout-path'. >> >> This patch looks OK. >> >> But please remember that not all device trees are generated with dtc, we >> still have machines in the wild that have firmware which use >> "linux,stdout-path" and may never be updated. > > Absolutely. The core code still supports both. Phew ;) It has prompted us to look at various firmware pieces and some we can update to start using the new property or both. It's still going to be many years before we can actually remove support for linux,stdout-path though. > The only scenario I could come up with is someone has an old > bootloader that only understands linux,stdout-path and modifies it and > they update the dtb. We may end up with both properties with > stdout-path taking preference. Yeah I think this is fairly safe, and in the unlikely case it does cause a problem we can always back the change out for an individual file. cheers