On Sun, Dec 23, 2007 at 10:15:10PM +0100, Martin Mares wrote: > > - During that probe, you set a flag if any device has capabilities that > > extend beyond 0xff. > > Can this work? The extended capabilities are not linked to the normal > ones in any way. Good point. OTOH, we *do* have a flag for the extended capabilities - dev->cfg_size. Obviously, the pci probe *without* mmconfig will set it to 256 for *all* devices. So Linus' idea of enabling mmconfig per-device makes a lot of sense in the end - if mmconfig works, it just sets dev->cfg_size to 4096. Without bloating the struct pci_dev or screwing up innocent arches... Ivan. -- 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/
- References:
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Arjan van de Ven <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Linus Torvalds <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Jeff Garzik <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Linus Torvalds <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Jeff Garzik <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Linus Torvalds <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Jeff Garzik <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Linus Torvalds <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Benjamin Herrenschmidt <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- From: Martin Mares <[email protected]>
- Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- Prev by Date: Re: [PATCH 2.6.24-rc5-mm 2/3] gpiolib: add Generic IRQ support for 16-bit PCA9539 GPIO expander
- Next by Date: Re: 2.6.24-rc6-mm1: suspend broken on HP nx6325 due to cpufreq changes
- Previous by thread: Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- Next by thread: Re: [patch] Make MMCONFIG space (extended PCI config space) a driver opt-in issue
- Index(es):