From: Gary Hade <garyhade@us.ibm.com>
To: gregkh@suse.de, linux-pci@atrey.karlin.mff.cuni.cz
Cc: jbeulich@novell.com, linux-kernel@vger.kernel.org,
j-nomura@ce.jp.nec.com, lcm@us.ibm.com
Subject: [PATCH] PCI: Restore PCI expansion ROM P2P prefetch window creation
Date: Tue, 11 Dec 2007 17:09:13 -0800 [thread overview]
Message-ID: <20071212010913.GC6755@us.ibm.com> (raw)
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;
}
reply other threads:[~2007-12-12 1:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071212010913.GC6755@us.ibm.com \
--to=garyhade@us.ibm.com \
--cc=gregkh@suse.de \
--cc=j-nomura@ce.jp.nec.com \
--cc=jbeulich@novell.com \
--cc=lcm@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.