Re: [PATCH] x86/PCI: ignore "BARs" that overlap MMCONFIG regions

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

 



On Monday, October 18, 2010 11:45:44 am Bjorn Helgaas wrote:
> On Friday, October 15, 2010 02:06:35 pm H. Peter Anvin wrote:

> > a) Linux doesn't handle it correctly when MMCONFIG is a BAR.
> >    This is legitimate and in fact explicitly stated as a valid
> >    configuration in the PCIe spec; the BAR, of course, has to be
> >    configured by BIOS using ports CF8/CFC.
> 
> My patch and changelog suggested that Linux doesn't handle MMCONFIG
> BARs correctly.  But I don't think that's really true; I think Linux
> would handle MMCONFIG BARs just fine *IF* they were sized correctly
> (so they don't conflict with other devices) and described correctly
> (so they fall within the host bridge windows).

I didn't word that quite right.  I meant that we'd do the right thing
if the MMCONFIG BAR had the correct size and the host bridge ACPI
description had windows that included the BAR.  Those are the same
requirements we have for any other PCI BAR.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux