Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Arjan van de Ven <arjan@...>, Robert Hancock <hancockr@...>, Greg KH <greg@...>, <akpm@...>, <ak@...>, <rajesh.shah@...>, linux-kernel <linux-kernel@...>
Date: Tuesday, October 30, 2007 - 6:04 pm

On Tuesday, October 30, 2007 10:07 am Linus Torvalds wrote:

The per-device flag is fine with me, but I should make something clear:

MMCONFIG IS NOT BROKEN!

Nor is finding mmconfig space.  We know how to do that too.

What's broken is our PCI probing with certain address space layouts that 
include MMCONFIG space.  Since MMCONFIG is in MMIO space (by 
definition) there will always be the potential for problems when we use 
MMCONFIG and don't disable decode while sizing BARs (probably a latent 
bug on many non-PC Linux platforms).

So we can either use I/O ports for sizing and only switch to MMCONFIG 
later, or we can just use it on an as-needed basis, or we can make our 
PCI probing safe if MMCONFIG is in use.

Jesse
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch, Linus Torvalds, (Tue Oct 30, 11:15 am)
Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch, Arjan van de Ven, (Tue Oct 30, 12:47 pm)
Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch, Arjan van de Ven, (Tue Oct 30, 7:52 pm)
Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch, Jesse Barnes, (Tue Oct 30, 6:04 pm)
Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch, Arjan van de Ven, (Tue Oct 30, 1:28 pm)
Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch, Arjan van de Ven, (Thu Nov 1, 10:08 am)