Re: [PATCH] update MMConfig patches w/915 support



On Monday, January 8, 2007 12:45 pm, Olivier Galibert wrote:
On Sun, Jan 07, 2007 at 11:44:16AM -0800, Jesse Barnes wrote:
For reference, here's the probe routine I tried for 965, probably
something dumb wrong with it that I'm not seeing atm.

It shouldn't have mattered in your case, but base_address is limited
to 32bits. There is a 32 bits reserved zone after it so hope is not
to be lost, but in any case the current code can't handle over-4G
base addresses at that point.

Does the bios or your '965 give a correct acpi mmconfig entry?

I should have captured the debug printk I put in while testing. I think
the base address specified in the register was 0xf0000000, with a size
of 256M marked enabled. Arjan points out that this likely conflicts
with other BIOS mappings, which is probably why I saw my machine hang
when I tried to use it.

As for ACPI, I assume you mean the MCFG table? I haven't looked at it,
but the stock kernel complains about a lack of the MCFG range in the
e820 table and subsequently disables mmconfig.

But won't the bridge register value control what actually gets decoded?
If so, it sounds like this BIOS is buggy wrt mmconfig mapping in
general; good thing I'm not using any PCIe devices I guess...

Thanks,
Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH -mm] 0/2: PCI MMCONFIG-related updates
    ... MMCONFIG configuration space access. ... The BIOS is not ... MCFG table being broken, but because the access was hosed by the way ... It might be a good sanity check against ACPI. ...
    (Linux-Kernel)
  • Re: [patches] [patch 3/5] x86: Add PCI extended config space access for AMD Barcelona
    ... space for mmconfig usage. ... all the reserved regions via e820 or similar (apparently a common ... It's pretty hard not to trust the BIOS here ... and on some Intel platforms we can configure things similarly. ...
    (Linux-Kernel)
  • Re: [Fwd: Re: [PATCH 0/5]PCI: x86 MMCONFIG]
    ... provides a better incentive for the manufacturer to fix their bios, ... First off, I would like to see confirmation from the horses's mouths here that there is no other way to get around this problem than disabling MMCONFIG for accesses behind those chips. ... The MMCONFIG access should get translated into a configuration space access in the northbridge and from that point on there's no difference between an MMCONFIG and type1 access. ... Look at MSI for another example, we recently had a patch from NVIDIA posted to enable Hypertransport MSI mapping bits on some chipsets so that MSI would function, because the BIOS failed to set them up properly. ...
    (Linux-Kernel)
  • Re: [PATCH] x86_64: set cfg_size for AMD Family 10h in case MMCONFIG is used
    ... BIOS guys also said that fam 10h need mmconfig via eax accessing, ... but latest kernel already have that workaround to make mmconfig via eax... ... Since the CPU vendor managed to ... that BIOS vendors will drop the MCFG entry. ...
    (Linux-Kernel)