rpms/kernel/F-11 linux-2.6-kvm-skip-pit-check.patch, NONE, 1.1 TODO, 1.65, 1.66 kernel.spec, 1.1545, 1.1546

Marcelo Tosatti mtosatti at fedoraproject.org
Wed Apr 15 22:41:22 UTC 2009


Author: mtosatti

Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3059

Modified Files:
	TODO kernel.spec 
Added Files:
	linux-2.6-kvm-skip-pit-check.patch 
Log Message:
Add linux-2.6-kvm-skip-pit-check.patch



linux-2.6-kvm-skip-pit-check.patch:

--- NEW FILE linux-2.6-kvm-skip-pit-check.patch ---
commit 5bffffc113f91918292283e3819dadd4ca964423
Author: Marcelo Tosatti <mtosatti at redhat.com>
Date:   Wed Feb 11 22:45:42 2009 -0200

    KVM: x86: paravirt skip pit-through-ioapic boot check
    
    Skip the test which checks if the PIT is properly routed when
    using the IOAPIC, aimed at buggy hardware.
    
    Signed-off-by: Marcelo Tosatti <mtosatti at redhat.com>
    Signed-off-by: Avi Kivity <avi at redhat.com>

diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c
index 478bca9..eecfc92 100644
--- a/arch/x86/kernel/kvm.c
+++ b/arch/x86/kernel/kvm.c
@@ -27,6 +27,7 @@
 #include <linux/mm.h>
 #include <linux/highmem.h>
 #include <linux/hardirq.h>
+#include <asm/timer.h>
 
 #define MMU_QUEUE_SIZE 1024
 
@@ -237,6 +238,9 @@ static void paravirt_ops_setup(void)
 		pv_mmu_ops.lazy_mode.enter = kvm_enter_lazy_mmu;
 		pv_mmu_ops.lazy_mode.leave = kvm_leave_lazy_mmu;
 	}
+#ifdef CONFIG_X86_IO_APIC
+	no_timer_check = 1;
+#endif
 }
 
 void __init kvm_guest_init(void)


Index: TODO
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/TODO,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- TODO	14 Apr 2009 16:39:17 -0000	1.65
+++ TODO	15 Apr 2009 22:41:21 -0000	1.66
@@ -109,4 +109,7 @@
 	https://bugzilla.redhat.com/show_bug.cgi?id=491625
 	Should be in 2.6.29.2
 
+* linux-2.6-kvm-skip-pit-check.patch:
+	Waiting to be pushed upstream from kvm git.
+
 


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/kernel.spec,v
retrieving revision 1.1545
retrieving revision 1.1546
diff -u -r1.1545 -r1.1546
--- kernel.spec	15 Apr 2009 16:11:39 -0000	1.1545
+++ kernel.spec	15 Apr 2009 22:41:21 -0000	1.1546
@@ -748,6 +748,8 @@
 Patch9301: linux-2.6-kvm-mask-notifiers.patch
 Patch9302: linux-2.6-kvm-reset-pit-irq-on-unmask.patch
 
+Patch9304: linux-2.6-kvm-skip-pit-check.patch
+
 %endif
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -1380,6 +1382,7 @@
 ApplyPatch linux-2.6-kvm-kconfig-irqchip.patch
 ApplyPatch linux-2.6-kvm-mask-notifiers.patch
 ApplyPatch linux-2.6-kvm-reset-pit-irq-on-unmask.patch
+ApplyPatch linux-2.6-kvm-skip-pit-check.patch
 
 # END OF PATCH APPLICATIONS
 
@@ -1966,6 +1969,9 @@
 # and build.
 
 %changelog
+* Wed Apr 15 2009 Marcelo Tosatti <mtosatti at redhat.com>
+- Skip PIT-through-IOAPIC routing check on KVM guests.
+
 * Wed Apr 15 2009 Chuck Ebbert <cebbert at redhat.com>
 - Add serial driver option to skip testing for the TXEN bug. (#495762)
 




More information about the fedora-extras-commits mailing list