rpms/kernel/devel kernel.spec, 1.1078, 1.1079 linux-2.6.27-pci-hush-allocation-failures.patch, 1.1, 1.2

Adam Jackson ajax at fedoraproject.org
Thu Oct 23 14:41:36 UTC 2008


Author: ajax

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26629

Modified Files:
	kernel.spec linux-2.6.27-pci-hush-allocation-failures.patch 
Log Message:
* Thu Oct 23 2008 Adam Jackson <ajax at redhat.com> 2.6.27.3-43
- Hush more PCI BAR allocation failures



Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1078
retrieving revision 1.1079
diff -u -r1.1078 -r1.1079
--- kernel.spec	23 Oct 2008 14:25:43 -0000	1.1078
+++ kernel.spec	23 Oct 2008 14:41:05 -0000	1.1079
@@ -1853,6 +1853,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Thu Oct 23 2008 Adam Jackson <ajax at redhat.com> 2.6.27.3-43
+- Hush more PCI BAR allocation failures
+
 * Thu Oct 23 2008 Jarod Wilson <jarod at redhat.com> 2.6.27.3-42
 - Disable r8169 2.6.28 update patch, causes much bustification
 

linux-2.6.27-pci-hush-allocation-failures.patch:

Index: linux-2.6.27-pci-hush-allocation-failures.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6.27-pci-hush-allocation-failures.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- linux-2.6.27-pci-hush-allocation-failures.patch	16 Oct 2008 18:17:31 -0000	1.1
+++ linux-2.6.27-pci-hush-allocation-failures.patch	23 Oct 2008 14:41:05 -0000	1.2
@@ -33,3 +33,24 @@
  	} else {
  		res->flags &= ~IORESOURCE_STARTALIGN;
  		if (resno < PCI_BRIDGE_RESOURCES)
+diff -up linux-2.6.27.noarch/arch/x86/pci/i386.c.jx linux-2.6.27.noarch/arch/x86/pci/i386.c
+--- linux-2.6.27.noarch/arch/x86/pci/i386.c.jx	2008-10-09 18:13:53.000000000 -0400
++++ linux-2.6.27.noarch/arch/x86/pci/i386.c	2008-10-23 10:21:14.000000000 -0400
+@@ -128,7 +128,7 @@ static void __init pcibios_allocate_bus_
+ 				pr = pci_find_parent_resource(dev, r);
+ 				if (!r->start || !pr ||
+ 				    request_resource(pr, r) < 0) {
+-					dev_err(&dev->dev, "BAR %d: can't allocate resource\n", idx);
++					dev_info(&dev->dev, "BAR %d: can't allocate resource\n", idx);
+ 					/*
+ 					 * Something is wrong with the region.
+ 					 * Invalidate the resource to prevent
+@@ -169,7 +169,7 @@ static void __init pcibios_allocate_reso
+ 					r->flags, disabled, pass);
+ 				pr = pci_find_parent_resource(dev, r);
+ 				if (!pr || request_resource(pr, r) < 0) {
+-					dev_err(&dev->dev, "BAR %d: can't allocate resource\n", idx);
++					dev_info(&dev->dev, "BAR %d: can't allocate resource\n", idx);
+ 					/* We'll assign a new address later */
+ 					r->end -= r->start;
+ 					r->start = 0;




More information about the scm-commits mailing list