From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "sj-iport-6.cisco.com", Issuer "Cisco SSCA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id C30E0DE6A1 for ; Sat, 10 Jan 2009 09:12:24 +1100 (EST) From: Roland Dreier To: Benjamin Herrenschmidt Subject: Re: mal_probe crash References: <20090107154434.0c9437ef@lappy.seanm.ca> <1231368610.2142.27.camel@pasglop> <200901091549.56943.matthias.fuchs@esd-electronics.com> <200901091602.05730.matthias.fuchs@esd-electronics.com> <1231536613.2142.74.camel@pasglop> Date: Fri, 09 Jan 2009 14:01:45 -0800 In-Reply-To: <1231536613.2142.74.camel@pasglop> (Benjamin Herrenschmidt's message of "Sat, 10 Jan 2009 08:30:13 +1100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Geert Uytterhoeven , linuxppc-dev@ozlabs.org, Sean MacLennan List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > Can you double check that the e1000 isn't copying the PCI resources into > a unsigned long before ioremap'ing the result, thus cropping the top > bits ? as far as I can see, e1000 is using pci_ioremap_bar(), which should do the right thing as long as resource_size_t is the right type (which it looks like it is on PowerPC 44x). - R.