FYI: Merge in progress...

YhLu YhLu at tyan.com
Tue Oct 19 14:38:00 CEST 2004


Align is not assigned and it will be used to calculate the base too. (using
resource_max)



root mem limit=0x00febfffff, size=0x0022700000, align=28, base=0x00d0000000
Allocating VGA resource PCI: 03:00.0
base1: a 0xd0000000 limit1: 0xfebfffff size: 0x1880000000000000 align:
0x1c00000000
base2: a 0xec000000 limit2: 0xfebfffff size: 0x06700000 align:
0x2bfc40000001a
base1: b 0xf8000000 limit1: 0xf7ffffff size: 0x1880000000000000 align:
0x1c00000000
base2: b 0xf8000000 limit2: 0xfebfffff size: 0x06700000 align:
0x2bfc40000001a

-----Original Message-----
From: YhLu 
Sent: Tuesday, October 19, 2004 12:31 PM
To: YhLu; ebiederman at lnxi.com
Cc: Ronald G. Minnich; Li-Ta Lo; 'LinuxBIOS'
Subject: RE: FYI: Merge in progress...

strange size for prefmem of PCI_DOMAIN

root mem limit=0x00febfffff, size=0x0022700000, align=28, base=0x00d0000000
Allocating VGA resource PCI: 03:00.0
base1: 0xf8000000 limit1: 0xf7ffffff size: 0x1880000000000000
base2: 0xf8000000 limit2: 0xfebfffff size: 0x06700000
PCI_DOMAIN: 0000 00 <- [0x0000001000 - 0x0000005fff] io
PCI_DOMAIN: 0000 01 <- [0x00f8000000 - 0x01007fffff] prefmem
PCI_DOMAIN: 0000 02 <- [0x00f8000000 - 0x00fe6fffff] mem

-----Original Message-----
From: YhLu 
Sent: Tuesday, October 19, 2004 12:18 PM
To: ebiederman at lnxi.com
Cc: Ronald G. Minnich; Li-Ta Lo; 'LinuxBIOS'
Subject: RE: FYI: Merge in progress...

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 at lnxi.com [mailto:ebiederman at 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 at 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
_______________________________________________
Linuxbios mailing list
Linuxbios at clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios



More information about the coreboot mailing list