Re: [patch] Ignore MCFG if the mmconfig area isn't reserved in the e820 table.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Petr Vandrovec wrote:
Arjan van de Ven wrote:
Konrad Rzeszutek wrote:

That is definitely a problem - and the "sanity-check" can definitly bail
out on those BIOSes and not crash Linux. The other side of the coin is that BIOSes that do implement the MCFG/E820 correctly are penalized:

I hereby contest that it's implemented correctly if it's not marked reserved...

PCI Firmware Specification 3.0 (http://www.pcisig.com/members/downloads/specifications/conventional/pcifw_r3.0.pdf), page 42, notes for table 4-2, paragraph 2 says that firmware must report MCFG as reserved region. Last sentence of same paragraph says that resources may be optionally marked reserved by E820 or EFIGetMemoryMap,

resources == BARs, MCFG is a whole different beast

but must be always reported as motherboard resources through ACPI (for exact citation please see document itself, it is not freely available so I'm not going to copy-paste text from it without written permission from pcisig...).

So it seems to me that BIOS not reporting MMCONFIG as reserved through E820 is compliant, and what matters is that MMCONFIG must be reported as ACPI motherboard resource.

I think that's not the right interpretation; resources==BARs in this context.
I'll find a way to get that document and recheck to make sure...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux