On Thu, Jun 16, 2005 at 03:42:23PM -0700, Greg KH wrote: > On Thu, Jun 16, 2005 at 03:34:06PM -0700, Rajesh Shah wrote: > > On Tue, Jun 14, 2005 at 10:32:14PM -0700, Greg KH wrote: > > > > > > + for (i = 0; i < pci_mmcfg_config_num; ++i) { > > > + pci_mmcfg_virt[i].cfg = &pci_mmcfg_config[i]; > > > + pci_mmcfg_virt[i].virt = ioremap_nocache(pci_mmcfg_config[i].base_address, MMCONFIG_APER_SIZE); > > > > This will map 256MB for each mmcfg aperture, probably better > > to restrict it based on bus number range for this aperture. > > It should be 1MB per bus number, right? It shouldn't make much difference anyways - we have plenty of vmalloc space on x86-64 The only advantage of using the exact number would be maybe to detect overruns. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 03/04] PCI: use the MCFG table to properly access pci devices (x86-64)
- From: Rajesh Shah <rajesh.shah@intel.com>
- Re: [PATCH 03/04] PCI: use the MCFG table to properly access pci devices (x86-64)
- From: Brian Gerst <bgerst@didntduck.org>
- Re: [PATCH 03/04] PCI: use the MCFG table to properly access pci devices (x86-64)
- References:
- [PATCH 00/04] PCI: add proper MCFG support to let AMD boxes support MMCONFIG
- From: Greg KH <gregkh@suse.de>
- Re: [PATCH 01/04] PCI: add proper MCFG table parsing to ACPI core.
- From: Greg KH <gregkh@suse.de>
- [PATCH 02/04] PCI: use the MCFG table to properly access pci devices (i386)
- From: Greg KH <gregkh@suse.de>
- [PATCH 03/04] PCI: use the MCFG table to properly access pci devices (x86-64)
- From: Greg KH <gregkh@suse.de>
- Re: [PATCH 03/04] PCI: use the MCFG table to properly access pci devices (x86-64)
- From: Rajesh Shah <rajesh.shah@intel.com>
- Re: [PATCH 03/04] PCI: use the MCFG table to properly access pci devices (x86-64)
- From: Greg KH <gregkh@suse.de>
- [PATCH 00/04] PCI: add proper MCFG support to let AMD boxes support MMCONFIG
- Prev by Date: Re: [PATCH 03/04] PCI: use the MCFG table to properly access pci devices (x86-64)
- Next by Date: [patch 3/5] [kprobes] Tweak to the function return probe design - take 2
- Previous by thread: Re: [PATCH 03/04] PCI: use the MCFG table to properly access pci devices (x86-64)
- Next by thread: Re: [PATCH 03/04] PCI: use the MCFG table to properly access pci devices (x86-64)
- Index(es):