Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1697147

Re: [PATCH 4/4] of/fdt: only store the device node basename in full_name

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 4/4] of/fdt: only store the device node basename in full_name
Date 2017-07-26 16:20 +0200
Message-ID <u7vkm-1ob-23@gated-at.bofh.it> (permalink)
References <u7fSh-8jG-11@gated-at.bofh.it> <u7fSi-8jG-25@gated-at.bofh.it> <u7rJM-7vZ-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 26, 2017 at 5:26 AM, Michael Ellerman <mpe@ellerman.id.au> wrote:
> Rob Herring <robh@kernel.org> writes:
>
>> With dependencies on a statically allocated full path name converted to
>> use %pOF format specifier, we can store just the basename of node, and
>> the unflattening of the FDT can be simplified.
>>
>> This commit will affect the remaining users of full_name. After
>> analyzing these users, the remaining cases should only change some print
>> messages. The main users of full_name are providing a name for struct
>> resource. The resource names shouldn't be important other than providing
>> /proc/iomem names.
>>
>> We no longer distinguish between pre and post 0x10 dtb formats as either
>> a full path or basename will work. However, less than 0x10 formats have
>> been broken since the conversion to use libfdt (and no one has cared).
>
> For the record - yes we did care. It broke booting with old versions of
> kexec, and it was a royal P.I.T.# to debug :D

Sorry, I forgot about that one. I'll drop the statement. I had gone
back and looked and only found the issue on mpc8323 booting[1] which
was an issue with libfdt having more checks on the fdt. I proposed
some fixes, but never heard back on that.

Rob

[1] https://lkml.org/lkml/2015/6/10/820

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 4/4] of/fdt: only store the device node basename in full_name Rob Herring <robh@kernel.org> - 2017-07-25 23:50 +0200
  Re: [PATCH 4/4] of/fdt: only store the device node basename in full_name Michael Ellerman <mpe@ellerman.id.au> - 2017-07-26 12:30 +0200
    Re: [PATCH 4/4] of/fdt: only store the device node basename in full_name Rob Herring <robh@kernel.org> - 2017-07-26 16:20 +0200

csiph-web