Subject: Re: pci issue - wrong detection of pci ressources

From: Benjamin Herrenschmidt <[email-masked]>
Date: Sat, 19 Apr 2008 10:51:15 +1000

On Sat, 2008-04-19 at 10:48 +1000, Benjamin Herrenschmidt wrote:
> On Fri, 2008-04-18 at 14:07 +0200, Christian Ehrhardt wrote:
> > => Region 2 is not detected with our kernel, this later break things
> > like radeonfb initialization.
> 
> I'll need some information here:
> 
> - Your device-tree (is that the base sequoia one ?)
> - Enable DEBUG in arch/powerpc/kernel/pci-common.c and pci_32.c
> - Send me the resulting dmesg log
> - Also include the output of /proc/iomem

Actually, there's a bug in radeonfb:

In radeonfb.h, try changing

	unsigned long		mmio_base_phys;
	unsigned long		fb_base_phys;

To

	resource_size_t		mmio_base_phys;
	resource_size_t		fb_base_phys;

And tell us if it makes a difference too.

Cheers,
Ben.