[PATCH] powerpc: dts: replace 'linux, stdout-path' with 'stdout-path'
mpe at ellerman.id.au
Fri Mar 2 23:16:24 AEDT 2018
Rob Herring <robh at kernel.org> writes:
> On Wed, Feb 28, 2018 at 7:33 PM, Michael Ellerman <mpe at ellerman.id.au> wrote:
>> Rob Herring <robh at kernel.org> 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.
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
> 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.
More information about the Linuxppc-dev