linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 1/3] PCI: Fix bus align checking to support more than 8G
@ 2014-07-03 20:46 Yinghai Lu
  2014-07-03 20:46 ` [PATCH v4 2/3] PCI: Fix bus align checking with 32bit bridge pref Yinghai Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yinghai Lu @ 2014-07-03 20:46 UTC (permalink / raw)
  To: Bjorn Helgaas, Guo Chao; +Cc: linux-pci, Yinghai Lu

Use 128G instead.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>

---
 drivers/pci/setup-bus.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/pci/setup-bus.c
===================================================================
--- linux-2.6.orig/drivers/pci/setup-bus.c
+++ linux-2.6/drivers/pci/setup-bus.c
@@ -925,7 +925,7 @@ static int pbus_size_mem(struct pci_bus
 {
 	struct pci_dev *dev;
 	resource_size_t min_align, align, size, size0, size1;
-	resource_size_t aligns[14];	/* Alignments from 1Mb to 8Gb */
+	resource_size_t aligns[18];	/* Alignments from 1Mb to 128Gb */
 	int order, max_order;
 	struct resource *b_res = find_free_bus_resource(bus,
 					mask | IORESOURCE_PREFETCH, type);

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-08 22:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-03 20:46 [PATCH v4 1/3] PCI: Fix bus align checking to support more than 8G Yinghai Lu
2014-07-03 20:46 ` [PATCH v4 2/3] PCI: Fix bus align checking with 32bit bridge pref Yinghai Lu
2014-07-03 20:46 ` [PATCH v4 3/3] PCI: Avoid size overflow for bridge 32bit resource Yinghai Lu
2014-07-08 22:24 ` [PATCH v4 1/3] PCI: Fix bus align checking to support more than 8G Bjorn Helgaas
2014-07-08 22:50   ` Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).