* [PATCH] PCI: Restore PCI expansion ROM P2P prefetch window creation
@ 2007-12-12 1:09 Gary Hade
0 siblings, 0 replies; only message in thread
From: Gary Hade @ 2007-12-12 1:09 UTC (permalink / raw)
To: gregkh, linux-pci; +Cc: jbeulich, linux-kernel, j-nomura, lcm
Restore PCI expansion ROM P2P prefetch window creation.
This patch reverts previous "Avoid creating P2P prefetch
window for expansion ROMs" change due to regressions that
were spotted on some systems.
Signed-off-by: Gary Hade <garyhade@us.ibm.com>
---
--- linux-2.6.24-rc5/drivers/pci/probe.c.orig 2007-12-11 10:16:04.000000000 -0800
+++ linux-2.6.24-rc5/drivers/pci/probe.c 2007-12-11 09:57:11.000000000 -0800
@@ -276,7 +276,8 @@ static void pci_read_bases(struct pci_de
sz = pci_size(l, sz, (u32)PCI_ROM_ADDRESS_MASK);
if (sz) {
res->flags = (l & IORESOURCE_ROM_ENABLE) |
- IORESOURCE_MEM | IORESOURCE_READONLY;
+ IORESOURCE_MEM | IORESOURCE_PREFETCH |
+ IORESOURCE_READONLY | IORESOURCE_CACHEABLE;
res->start = l & PCI_ROM_ADDRESS_MASK;
res->end = res->start + (unsigned long) sz;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-12 1:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 1:09 [PATCH] PCI: Restore PCI expansion ROM P2P prefetch window creation Gary Hade
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.