From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D4953DE46E for ; Fri, 18 Jul 2008 00:04:29 +1000 (EST) In-Reply-To: <1216274011.7740.293.camel@pasglop> References: <1216274011.7740.293.camel@pasglop> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: powerpc: Fix OF parsing of 64 bits PCI addresses Date: Thu, 17 Jul 2008 16:00:45 +0200 To: benh@kernel.crashing.org Cc: linuxppc-dev list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > The OF parsing code for PCI addresses isn't always treating properly > the address space indication 0b11 (ie. 0x3) as meaning 64 bits > memory space. > > This means that it fails to parse addresses for PCI BARs that have > this encoding set by the firmware, which happens on some SLOF > versions and breaks offb palette handling on Powerstation. > > Signed-off-by: Benjamin Herrenschmidt Looks good. Acked-by: Segher Boessenkool Segher