Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Garzik <jeff@...>
Cc: Linus Torvalds <torvalds@...>, <linux-kernel@...>, <gregkh@...>, <linux-pci@...>, Benjamin Herrenschmidt <benh@...>
Date: Monday, December 24, 2007 - 8:00 am

On Mon, 24 Dec 2007 06:54:30 -0500
Jeff Garzik wrote:

> Arjan van de Ven wrote:

ok so to summarize things a bit (I'll admit bias here but still ;)

1) having a per driver function to say "I'd like extended config space" is ok
(it's the driver that knows what is needed after all)
2) we need a way for userspace to do the same for a given device
(which then will print a nice warning who does what to whom)
3) we need to have the "no extended config space unless someone wants it" behavior
4) It's inevitable that this will end up being per device given that we'll end up with
per device "this one is b0rked" quirks over time (even shortly)
5) architectures that have sane extended config space access should just be able to provide
it always. This could even be on x86 based on BIOS date (say 2009 :)

the patch I posted does 1) 3) 4) and the first half of 5)
I'll update the patch to do 2) and the rest of 5)

Is there anything I skipped in the summary above?
(and yes I realize this needs lspci to be expanded some to set the flag if the admin really asks for it,
but such is life)

--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--

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

Messages in current thread:
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Benjamin Herrenschmidt, (Sat Dec 22, 4:43 pm)
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Arjan van de Ven, (Sat Dec 22, 10:47 am)
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Arjan van de Ven, (Mon Dec 24, 8:00 am)
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Benjamin Herrenschmidt, (Sun Dec 23, 5:13 pm)
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Arjan van de Ven, (Thu Dec 27, 10:09 am)
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Benjamin Herrenschmidt, (Sun Dec 23, 5:09 pm)
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Benjamin Herrenschmidt, (Sun Dec 23, 7:06 pm)
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Benjamin Herrenschmidt, (Sun Dec 23, 7:19 pm)
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Arjan van de Ven, (Sat Dec 22, 12:02 pm)
Re: [patch] Make MMCONFIG space (extended PCI config space) ..., Benjamin Herrenschmidt, (Sun Dec 23, 7:33 pm)
[patch] opt the sky2 driver into using extended config space, Arjan van de Ven, (Sat Dec 22, 8:35 am)
Re: [patch] opt the sky2 driver into using extended config s..., Stephen Hemminger, (Sat Dec 22, 4:28 pm)