[PATCH 5/5] of/address: restrict 'no-ranges' kludge to powerpc

Segher Boessenkool segher at kernel.crashing.org
Wed Jun 16 02:23:06 EST 2010


>> Certain Apple machines don't use the ranges property correctly,  
>> but the
>> workaround should not be applied on other architectures.  This patch
>> disables the workaround for non-powerpc architectures.
>
> I'm half tempted to add it to the quirk list (which should really be
> made generic) so I can disable it on more 'modern' powerpc as well.

Oh please oh please oh please yes do.

OTOH, it would be even better to just fix up the device tree in the
early platform code.  Quirks are for broken hardware; software, we
can fix.


Segher



More information about the devicetree-discuss mailing list