Thread (7 messages) 7 messages, 4 authors, 2018-08-08

Re: [PATCH] of/fdt: Remove PPC32 longtrail hack in memory scan

From: Rob Herring <robh+dt@kernel.org>
Date: 2018-07-27 17:12:50
Also in: linux-devicetree

On Thu, Jul 26, 2018 at 11:36 PM Michael Ellerman [off-list ref] wrote:
When the OF code was originally made common by Grant in commit
51975db0b733 ("of/flattree: merge early_init_dt_scan_memory() common
code") (Feb 2010), the common code inherited a hack to handle
PPC "longtrail" machines, which had a "memory@0" node with no
device_type.

That check was then made to only apply to PPC32 in b44aa25d20e2 ("of:
Handle memory@0 node on PPC32 only") (May 2014).

But according to Paul Mackerras the "longtrail" machines are long
dead, if they were ever seen in the wild at all. If someone does still
have one, we can handle this firmware wart in powerpc platform code.

So remove the hack once and for all.
Yay. I guess Power Macs and other quirks will never die...

I'll queue this up.

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