rpms/kernel/devel linux-2.6-x86-mtrr-kill-bogus-warning.patch, NONE, 1.1 TODO, 1.38, 1.39 kernel.spec, 1.1105, 1.1106 linux-2.6-x86-xen-add-dependencies.patch, 1.1, NONE

Chuck Ebbert cebbert at fedoraproject.org
Fri Oct 31 08:07:41 UTC 2008


Author: cebbert

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

Modified Files:
	TODO kernel.spec 
Added Files:
	linux-2.6-x86-mtrr-kill-bogus-warning.patch 
Removed Files:
	linux-2.6-x86-xen-add-dependencies.patch 
Log Message:
Silence bogus MTRR warning when running in vmware (#468845)
Remove xen dependencies patch, now upstream and not needed in Fedora.

linux-2.6-x86-mtrr-kill-bogus-warning.patch:

--- NEW FILE linux-2.6-x86-mtrr-kill-bogus-warning.patch ---
Kill bogus MTRR warning when running under vmware:

https://bugzilla.redhat.com/show_bug.cgi?id=468845

Index: linux-2.6.27.noarch/arch/x86/kernel/cpu/mtrr/main.c
===================================================================
--- linux-2.6.27.noarch.orig/arch/x86/kernel/cpu/mtrr/main.c
+++ linux-2.6.27.noarch/arch/x86/kernel/cpu/mtrr/main.c
@@ -1495,11 +1495,8 @@ int __init mtrr_trim_uncached_memory(uns
 	}
 
 	/* kvm/qemu doesn't have mtrr set right, don't trim them all */
-	if (!highest_pfn) {
-		WARN(!kvm_para_available(), KERN_WARNING
-				"WARNING: strange, CPU MTRRs all blank?\n");
+	if (!highest_pfn)
 		return 0;
-	}
 
 	/* check entries number */
 	memset(num, 0, sizeof(num));


Index: TODO
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/TODO,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- TODO	30 Oct 2008 20:35:51 -0000	1.38
+++ TODO	31 Oct 2008 08:07:10 -0000	1.39
@@ -204,3 +204,6 @@
 linux-2.6-olpc-speaker-out.patch
 	Enables speaker output by default on OLPC, going to get review from
 	OLPC folks and then to upstream for .28
+
+linux-2.6-x86-mtrr-kill-bogus-warning.patch
+	Silence bogus warning under vmware ; should go upstream.


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1105
retrieving revision 1.1106
diff -u -r1.1105 -r1.1106
--- kernel.spec	31 Oct 2008 04:50:57 -0000	1.1105
+++ kernel.spec	31 Oct 2008 08:07:10 -0000	1.1106
@@ -586,7 +586,7 @@
 Patch22: linux-2.6-x86-tracehook.patch
 Patch23: linux-2.6.27-x86-tracehook-syscall-arg-order.patch
 
-Patch30: linux-2.6-x86-xen-add-dependencies.patch
+Patch30: linux-2.6-x86-mtrr-kill-bogus-warning.patch
 
 Patch41: linux-2.6-sysrq-c.patch
 Patch44: linux-2.6-x86-avoid-dereferencing-beyond-stack-THREAD_SIZE.patch
@@ -1083,7 +1083,7 @@
 ApplyPatch linux-2.6-x86-tracehook.patch
 ApplyPatch linux-2.6.27-x86-tracehook-syscall-arg-order.patch
 
-ApplyPatch linux-2.6-x86-xen-add-dependencies.patch
+ApplyPatch linux-2.6-x86-mtrr-kill-bogus-warning.patch
 
 # enable sysrq-c on all kernels, not only kexec
 ApplyPatch linux-2.6-sysrq-c.patch
@@ -1884,6 +1884,10 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Fri Oct 31 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.4-70
+- Silence bogus MTRR warning when running in vmware (#468845)
+- Remove xen dependencies patch, now upstream and not needed in Fedora.
+
 * Fri Oct 31 2008 Dave Airlie <airlied at redhat.com> 2.6.27.4-69
 - radeon: fix out of bounds VRAM access - hopefully fixes the corruption
 


--- linux-2.6-x86-xen-add-dependencies.patch DELETED ---




More information about the fedora-extras-commits mailing list