Displaying 6 results from an estimated 6 matches for "mach_apictimer".
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...=======================================
--- linux-2.6.16-rc6.orig/arch/i386/kernel/apic.c	2006-03-12 19:49:53.000000000 -0800
+++ linux-2.6.16-rc6/arch/i386/kernel/apic.c	2006-03-12 19:57:42.000000000 -0800
@@ -39,6 +39,7 @@
 
 #include <mach_apic.h>
 #include <mach_ipi.h>
+#include <mach_apictimer.h>
 
 #include "io_ports.h"
 
@@ -1322,7 +1323,7 @@ int __init APIC_init_uniprocessor (void)
 		if (!skip_ioapic_setup && nr_ioapics)
 			setup_IO_APIC();
 #endif
-	setup_boot_APIC_clock();
+	mach_setup_boot_local_clock();
 
 	return 0;
 }
Index: linux-2.6.16-rc6/arch/i386/kern...
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...=======================================
--- linux-2.6.16-rc6.orig/arch/i386/kernel/apic.c	2006-03-12 19:49:53.000000000 -0800
+++ linux-2.6.16-rc6/arch/i386/kernel/apic.c	2006-03-12 19:57:42.000000000 -0800
@@ -39,6 +39,7 @@
 
 #include <mach_apic.h>
 #include <mach_ipi.h>
+#include <mach_apictimer.h>
 
 #include "io_ports.h"
 
@@ -1322,7 +1323,7 @@ int __init APIC_init_uniprocessor (void)
 		if (!skip_ioapic_setup && nr_ioapics)
 			setup_IO_APIC();
 #endif
-	setup_boot_APIC_clock();
+	mach_setup_boot_local_clock();
 
 	return 0;
 }
Index: linux-2.6.16-rc6/arch/i386/kern...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...nclude <linux/interrupt.h>
+#include <linux/kernel_stat.h>
+#include <linux/rcupdate.h>
+
+#include <asm/timer.h>
+#include <asm/io.h>
+#include <asm/apic.h>
+#include <asm/div64.h>
+
+#include <vmi_time.h>
+#include <mach_timer.h>
+#include <mach_apictimer.h>
+#include <mach_schedclock.h>
+#include <io_ports.h>
+
+#ifdef CONFIG_X86_LOCAL_APIC
+#define VMI_ALARM_WIRING VMI_ALARM_WIRED_LVTT
+#else 
+#define VMI_ALARM_WIRING VMI_ALARM_WIRED_IRQ0
+#endif 
+
+/* Number of alarms per second. By default this is CONFIG_VMI_ALARM_HZ. */
+static...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...nclude <linux/interrupt.h>
+#include <linux/kernel_stat.h>
+#include <linux/rcupdate.h>
+
+#include <asm/timer.h>
+#include <asm/io.h>
+#include <asm/apic.h>
+#include <asm/div64.h>
+
+#include <vmi_time.h>
+#include <mach_timer.h>
+#include <mach_apictimer.h>
+#include <mach_schedclock.h>
+#include <io_ports.h>
+
+#ifdef CONFIG_X86_LOCAL_APIC
+#define VMI_ALARM_WIRING VMI_ALARM_WIRED_LVTT
+#else 
+#define VMI_ALARM_WIRING VMI_ALARM_WIRED_IRQ0
+#endif 
+
+/* Number of alarms per second. By default this is CONFIG_VMI_ALARM_HZ. */
+static...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...=========================================
--- linux-2.6.16-rc6.orig/arch/i386/kernel/apic.c	2006-03-12 19:57:42.000000000 -0800
+++ linux-2.6.16-rc6/arch/i386/kernel/apic.c	2006-03-12 19:57:53.000000000 -0800
@@ -40,6 +40,7 @@
 #include <mach_apic.h>
 #include <mach_ipi.h>
 #include <mach_apictimer.h>
+#include <mach_idletimer.h>
 
 #include "io_ports.h"
 
@@ -1193,6 +1194,7 @@ fastcall void smp_apic_timer_interrupt(s
 	 * interrupt lock, which is the WrongThing (tm) to do.
 	 */
 	irq_enter();
+	restart_hz_timer(regs);
 	smp_local_timer_interrupt(regs);
 	irq_exit();
 }
@@...
2007 Apr 18
1
[RFC, PATCH 24/24] i386 Vmi no idle hz
...=========================================
--- linux-2.6.16-rc6.orig/arch/i386/kernel/apic.c	2006-03-12 19:57:42.000000000 -0800
+++ linux-2.6.16-rc6/arch/i386/kernel/apic.c	2006-03-12 19:57:53.000000000 -0800
@@ -40,6 +40,7 @@
 #include <mach_apic.h>
 #include <mach_ipi.h>
 #include <mach_apictimer.h>
+#include <mach_idletimer.h>
 
 #include "io_ports.h"
 
@@ -1193,6 +1194,7 @@ fastcall void smp_apic_timer_interrupt(s
 	 * interrupt lock, which is the WrongThing (tm) to do.
 	 */
 	irq_enter();
+	restart_hz_timer(regs);
 	smp_local_timer_interrupt(regs);
 	irq_exit();
 }
@@...