Eric,
The PCI_DOMAIN has two mem resource, root calculate the mem base correctly. But PCI_DOMAIN get the wrong base.
root mem limit=0x00febfffff, size=0x0022700000, align=28, base=0x00d0000000 Allocating VGA resource PCI: 03:00.0 PCI_DOMAIN: 0000 00 <- [0x0000001000 - 0x0000005fff] io PCI_DOMAIN: 0000 01 <- [0x00f8000000 - 0x01007fffff] prefmem PCI_DOMAIN: 0000 02 <- [0x00f8000000 - 0x00fe6fffff] mem
-----Original Message----- From: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] Sent: Monday, October 18, 2004 7:54 PM To: YhLu Cc: Ronald G. Minnich; Li-Ta Lo; 'LinuxBIOS' Subject: Re: FYI: Merge in progress...
YhLu YhLu@tyan.com writes:
Get more worse.
Ouch. If you can boot the board in linux please give me an lspci -vvv
I don't have enough information to even guess what is going on. I need to know what the size and limit of the resources are, so I can walk through the code and see what it would do.
At the moment I can't even begin to guess what is going wrong.
The obvious problem of doubly allocating a base register does not appear to apply. I am using the standard compute_allocate_resource function which should traverse the bus and do the right thing.
Unless my rewrite of the limit calculation code is causing a problem.
I just don't know where to look.
Eric