From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: In-Reply-To: <1276152275.1962.61.camel@pasglop> References: <20100608140917.25879.67745.stgit@angua> <20100608141018.25879.44413.stgit@angua> <1276152275.1962.61.camel@pasglop> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1C7A9067-DDE6-47D3-AC78-FDC081354519@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH 5/5] of/address: restrict 'no-ranges' kludge to powerpc Date: Tue, 15 Jun 2010 18:23:06 +0200 To: Benjamin Herrenschmidt Cc: Stephen Rothwell , devicetree-discuss@lists.ozlabs.org, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> 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