Hello! > something like > int pci_enable_mmconfig(struct pci_dev *pdev) ? > sounds like a very solid plan to me... Please remember that the driver is not the sole user of the PCI config space -- user-space programs (e.g., lspci) can access it via sysfs, too. Should we force users of such programs to add a magic kernel parameter to enable MMCONFIG? Does not make much sense. Maybe we should do all bus scanning with conf1 and then try if MMCONFIG returns the same values? Have a nice fortnight -- Martin `MJ' Mares <[email protected]> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "Beware of bugs in the above code; I have only proved it correct, not tried it." -- D.E.K. - 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/
- Follow-Ups:
- Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- From: Arjan van de Ven <[email protected]>
- Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- References:
- Re: - mmconfig-validate-against-acpi-motherboard-resources.patch removed from -mm tree
- From: Jesse Barnes <[email protected]>
- Re: - mmconfig-validate-against-acpi-motherboard-resources.patch removed from -mm tree
- From: Greg KH <[email protected]>
- Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- From: Jesse Barnes <[email protected]>
- Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- From: Greg KH <[email protected]>
- Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- From: Robert Hancock <[email protected]>
- Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- From: Linus Torvalds <[email protected]>
- Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- From: Arjan van de Ven <[email protected]>
- Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- From: Linus Torvalds <[email protected]>
- Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- From: Arjan van de Ven <[email protected]>
- Re: - mmconfig-validate-against-acpi-motherboard-resources.patch removed from -mm tree
- Prev by Date: Re: [PATCH 1/2] Blackfin I2C/TWI driver: Add platform_resource interface to support multi-port TWI controllers
- Next by Date: Re: "Fix ATAPI transfer lengths" causes CD writing regression
- Previous by thread: Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- Next by thread: Re: pci-disable-decode-of-io-memory-during-bar-sizing.patch
- Index(es):