-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Following patch adds MCFG table for ACPI, so linux can find MMCONFIG area for PCI configuration access.
Please note that you need to hack Linux kernel and remove the check for e820 not reserved complain.
Signed-off-by: Rudolf Marek r.marek@assembler.cz
Rudolf
On 29.09.2007 02:05, Rudolf Marek wrote:
Hello,
Following patch adds MCFG table for ACPI, so linux can find MMCONFIG area for PCI configuration access.
Please note that you need to hack Linux kernel and remove the check for e820 not reserved complain.
Signed-off-by: Rudolf Marek r.marek@assembler.cz
AFAIK the kernel can generate virtual e820 from the linuxbios table.
Do you have the patch to remove the "e820 not reserved" check for the Linux kernel available somewhere?
Carl-Daniel
On 29.09.2007 03:17, Carl-Daniel Hailfinger wrote:
On 29.09.2007 02:05, Rudolf Marek wrote:
Hello,
Following patch adds MCFG table for ACPI, so linux can find MMCONFIG area for PCI configuration access.
Please note that you need to hack Linux kernel and remove the check for e820 not reserved complain.
Signed-off-by: Rudolf Marek r.marek@assembler.cz
AFAIK the kernel can generate virtual e820 from the linuxbios table.
I take that back. It seems to be elfboot which does that.
Do you have the patch to remove the "e820 not reserved" check for the Linux kernel available somewhere?
Carl-Daniel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
After nice nine hour sleep ...
The problem is that LXB tables for memory are constructed only from regions which are OK not which are reserved. So there is currently no way how to pass the reserved regions to LXB tables and to FILO which also looks only for usable regions.
I have no patch to change the kernel, however it is quite easy. Go to arch/i386/pci/mmconfig-shared.c line 228
You need to delete the "goto reject" just after printk(KERN_ERR "PCI: BIOS Bug: MCFG area at %Lx is not"....
Linux has this kind of protection, because when BIOS is too broken, boot will freeze. So this check check if BIOS is sane. (this code compiles for x86_64 too)
Rudolf
On Sat, Sep 29, 2007 at 11:36:17AM +0200, Rudolf Marek wrote:
Linux has this kind of protection, because when BIOS is too broken, boot will freeze. So this check check if BIOS is sane.
I've seen the same fundamental issue in other kernels, where BIOS is relied on as the only true way for the x86 arch rather than just the way things happen to work right now.
We have to teach the early OS parts that LB is really a nice guy.
//Peter