Thread (16 messages) flat view 16 messages, 5 authors, 2018-08-24

Re: DT case sensitivity

From: Rob Herring <robh@kernel.org>
Date: 2018-08-23 01:26:28
Also in: linuxppc-dev

On Wed, Aug 22, 2018 at 8:14 PM Benjamin Herrenschmidt
[off-list ref] wrote:
On Wed, 2018-08-22 at 19:47 -0500, Rob Herring wrote:
quoted
The default DT string handling in the kernel is node names and
compatibles are case insensitive and property names are case sensitive
(Sparc is the the only variation and is opposite). It seems only PPC
(and perhaps only Power Macs?) needs to support case insensitive
comparisons. It was probably a mistake to follow PPC for new arches
and we should have made everything case sensitive from the start. So I
have a few questions for the DT historians. :)
Open Firmware itself is insensitive.
Doesn't it depend on the implementation? Otherwise, how is Sparc different?
quoted
What PPC systems are case insensitive? Can we limit that to certain systems?
All PowerMacs at least, the problem is that I don't have DT images or
access to all the historical systems (and yes some people occasionally
still use them) to properly test a change in that area.
I'm temped to break them so I can find folks to provide me with DT dumps. :)

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help