search for: local_timer_vector

Displaying 20 results from an estimated 21 matches for "local_timer_vector".

2011 Sep 07
10
[PATCH] IRQ: Group IRQ_MOVE_CLEANUP_VECTOR with other hypervisor IPIs
...0 +++ b/xen/arch/x86/hvm/vmx/vmx.c Wed Sep 07 16:00:55 2011 +0100 @@ -1986,7 +1986,7 @@ static void vmx_do_extint(struct cpu_use switch ( vector ) { - case IRQ_MOVE_CLEANUP_VECTOR: + case MOVE_CLEANUP_VECTOR: smp_irq_move_cleanup_interrupt(regs); break; case LOCAL_TIMER_VECTOR: diff -r 0268e7380953 -r c7884dbb6f7d xen/arch/x86/io_apic.c --- a/xen/arch/x86/io_apic.c Mon Sep 05 15:10:28 2011 +0100 +++ b/xen/arch/x86/io_apic.c Wed Sep 07 16:00:55 2011 +0100 @@ -476,7 +476,7 @@ fastcall void smp_irq_move_cleanup_inter * to myself. */ if (irr &am...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...TRY(name) \ /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" +/* This alternate entry is needed because we hijack the apic LVTT */ +#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) +BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) +#endif + KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r 77e4058e936b arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Thu Dec 14 16:40:14 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Thu Dec 14 16:40:16 2006 -0800 @@ -544,6 +544,8 @@ struct paravirt_ops par...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...TRY(name) \ /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" +/* This alternate entry is needed because we hijack the apic LVTT */ +#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) +BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) +#endif + KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r 77e4058e936b arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Thu Dec 14 16:40:14 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Thu Dec 14 16:40:16 2006 -0800 @@ -544,6 +544,8 @@ struct paravirt_ops par...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
...TRY(name) \ /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" +/* This alternate entry is needed because we hijack the apic LVTT */ +#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) +BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) +#endif + KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r d1ec5a6e3e8c arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Tue Dec 12 13:53:09 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Tue Dec 12 13:53:15 2006 -0800 @@ -544,6 +544,8 @@ struct paravirt_ops par...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
...TRY(name) \ /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" +/* This alternate entry is needed because we hijack the apic LVTT */ +#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) +BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) +#endif + KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r d1ec5a6e3e8c arch/i386/kernel/paravirt.c --- a/arch/i386/kernel/paravirt.c Tue Dec 12 13:53:09 2006 -0800 +++ b/arch/i386/kernel/paravirt.c Tue Dec 12 13:53:15 2006 -0800 @@ -544,6 +544,8 @@ struct paravirt_ops par...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...+ +#ifdef CONFIG_X86_LOCAL_APIC + +void __init setup_boot_vmi_alarm(void) +{ + if (vmi_timer_used()) { + /* Not really the apic timer, but from the apic's + * perspective, it looks like the apic timer... */ + using_apic_timer = 1; + + local_irq_disable(); + + apic_write_around(APIC_LVTT, LOCAL_TIMER_VECTOR); + /* Cancel the IRQ0 wired alarm, and setup the LVTT alarm. */ + vmi_cancel_alarm(VMI_CYCLES_AVAILABLE); + vmi_set_alarm(VMI_ALARM_WIRED_LVTT | VMI_ALARM_IS_PERIODIC | VMI_CYCLES_AVAILABLE, + per_cpu(process_times_cycles_accounted_cpu, 0) + cycles_per_alarm, + cycles_per_alarm)...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...+ +#ifdef CONFIG_X86_LOCAL_APIC + +void __init setup_boot_vmi_alarm(void) +{ + if (vmi_timer_used()) { + /* Not really the apic timer, but from the apic's + * perspective, it looks like the apic timer... */ + using_apic_timer = 1; + + local_irq_disable(); + + apic_write_around(APIC_LVTT, LOCAL_TIMER_VECTOR); + /* Cancel the IRQ0 wired alarm, and setup the LVTT alarm. */ + vmi_cancel_alarm(VMI_CYCLES_AVAILABLE); + vmi_set_alarm(VMI_ALARM_WIRED_LVTT | VMI_ALARM_IS_PERIODIC | VMI_CYCLES_AVAILABLE, + per_cpu(process_times_cycles_accounted_cpu, 0) + cycles_per_alarm, + cycles_per_alarm)...
2007 Apr 18
0
[PATCH 7/9] Fix nohz compile.patch
...gt;tv_sec = wallclock; } -static void update_xtime_from_wallclock(void) -{ - struct timespec ts; - vmi_get_wallclock_ts(&ts); - do_settimeofday(&ts); -} - unsigned long vmi_get_wallclock(void) { struct timespec ts; @@ -197,18 +190,10 @@ void __init vmi_time_init(void) set_intr_gate(LOCAL_TIMER_VECTOR, apic_vmi_timer_interrupt); #endif - no_sync_cmos_clock = 1; - - vmi_get_wallclock_ts(&xtime); - set_normalized_timespec(&wall_to_monotonic, - -xtime.tv_sec, -xtime.tv_nsec); - real_cycles_accounted_system = read_real_cycles(); - update_xtime_from_wallclock(); per_cpu(process_times_...
2005 Jun 09
0
[PATCH] vmx-doirq-vector.patch
...ctor instead of an irq now due to a recent change. With this patch, VMX domains can boot again. Signed-off-by: Arun Sharma <arun.sharma@intel.com> --- a/xen/arch/x86/vmx.c Wed Jun 8 23:08:01 2005 +++ b/xen/arch/x86/vmx.c Thu Jun 9 01:03:30 2005 @@ -1262,8 +1262,7 @@ if (vector == LOCAL_TIMER_VECTOR) { smp_apic_timer_interrupt(&regs); } else { - regs.entry_vector = (vector == FIRST_DEVICE_VECTOR? - 0 : vector_irq[vector]); + regs.entry_vector = vector; do_IRQ(&regs); } break; _______________...
2007 Apr 18
0
[PATCH 7/9] Fix nohz compile.patch
...gt;tv_sec = wallclock; } -static void update_xtime_from_wallclock(void) -{ - struct timespec ts; - vmi_get_wallclock_ts(&ts); - do_settimeofday(&ts); -} - unsigned long vmi_get_wallclock(void) { struct timespec ts; @@ -197,18 +190,10 @@ void __init vmi_time_init(void) set_intr_gate(LOCAL_TIMER_VECTOR, apic_vmi_timer_interrupt); #endif - no_sync_cmos_clock = 1; - - vmi_get_wallclock_ts(&xtime); - set_normalized_timespec(&wall_to_monotonic, - -xtime.tv_sec, -xtime.tv_nsec); - real_cycles_accounted_system = read_real_cycles(); - update_xtime_from_wallclock(); per_cpu(process_times_...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...ENDPROC(name) /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" -/* This alternate entry is needed because we hijack the apic LVTT */ -#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) -BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) -#endif - KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r c02ab981c99c arch/i386/kernel/vmiclock.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arch/i386/kernel/vmiclock.c Mon Apr 09 15:47:17 2007 -0700 @@ -0,0 +1,318 @@ +/* + * VMI paravirtual timer support routine...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...ENDPROC(name) /* The include is where all of the SMP etc. interrupts come from */ #include "entry_arch.h" -/* This alternate entry is needed because we hijack the apic LVTT */ -#if defined(CONFIG_VMI) && defined(CONFIG_X86_LOCAL_APIC) -BUILD_INTERRUPT(apic_vmi_timer_interrupt,LOCAL_TIMER_VECTOR) -#endif - KPROBE_ENTRY(page_fault) RING0_EC_FRAME pushl $do_page_fault diff -r c02ab981c99c arch/i386/kernel/vmiclock.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/arch/i386/kernel/vmiclock.c Mon Apr 09 15:47:17 2007 -0700 @@ -0,0 +1,318 @@ +/* + * VMI paravirtual timer support routine...
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...soft-definable vector attached to both interrupts, one of + * which is a timer interrupt, the other one is error counter + * overflow. Linux uses the local APIC timer interrupt to get + * a much simpler SMP time architecture: + */ +#ifdef CONFIG_X86_LOCAL_APIC +BUILD_INTERRUPT(apic_timer_interrupt,LOCAL_TIMER_VECTOR) +BUILD_INTERRUPT(error_interrupt,ERROR_APIC_VECTOR) +BUILD_INTERRUPT(spurious_interrupt,SPURIOUS_APIC_VECTOR) + +#ifdef CONFIG_X86_MCE_P4THERMAL +BUILD_INTERRUPT(thermal_interrupt,THERMAL_APIC_VECTOR) +#endif + +#endif
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...soft-definable vector attached to both interrupts, one of + * which is a timer interrupt, the other one is error counter + * overflow. Linux uses the local APIC timer interrupt to get + * a much simpler SMP time architecture: + */ +#ifdef CONFIG_X86_LOCAL_APIC +BUILD_INTERRUPT(apic_timer_interrupt,LOCAL_TIMER_VECTOR) +BUILD_INTERRUPT(error_interrupt,ERROR_APIC_VECTOR) +BUILD_INTERRUPT(spurious_interrupt,SPURIOUS_APIC_VECTOR) + +#ifdef CONFIG_X86_MCE_P4THERMAL +BUILD_INTERRUPT(thermal_interrupt,THERMAL_APIC_VECTOR) +#endif + +#endif
2013 Apr 09
39
[PATCH 0/4] Add posted interrupt supporting
From: Yang Zhang <yang.z.zhang@Intel.com> The follwoing patches are adding the Posted Interrupt supporting to Xen: Posted Interrupt allows vAPIC interrupts to inject into guest directly without any vmexit. - When delivering a interrupt to guest, if target vcpu is running, update Posted-interrupt requests bitmap and send a notification event to the vcpu. Then the vcpu will handle this
2008 Sep 09
9
[PATCH 2/4] CPUIDLE: Avoid remnant LAPIC timer intr while force hpetbroadcast
CPUIDLE: Avoid remnant LAPIC timer intr while force hpetbroadcast LAPIC will stop during C3, and resume to work after exit from C3. Considering below case: The LAPIC timer was programmed to expire after 1000us, but CPU enter C3 after 100us and exit C3 at 9xxus. 0us: reprogram_timer(1000us) 100us: entry C3, LAPIC timer stop 9xxus: exit C3 due to unexpected event, LAPIC timer continue running
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi, This is a set of updates for the firstfloor patch queue. Quick rundown: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch separate-module-percpu-space.patch Update the module percpu accounting patch fix-ff-allow-percpu-variables-to-be-page-aligned.patch Make sure the percpu memory allocation is page-aligned
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi, This is a set of updates for the firstfloor patch queue. Quick rundown: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch separate-module-percpu-space.patch Update the module percpu accounting patch fix-ff-allow-percpu-variables-to-be-page-aligned.patch Make sure the percpu memory allocation is page-aligned
2012 Feb 08
18
[PATCH 0 of 4] Prune outdated/impossible preprocessor symbols, and update VIOAPIC emulation
Patch 1 removes CONFIG_SMP Patch 2 removes separate smp_{,r,w}mb()s as a result of patch 1 Patch 4 removes __ia64__ defines from the x86 arch tree Patch 3 is related to patch 4 and changes the VIOAPIC to emulate version 0x20 as a performance gain. It preceeds Patch 4 so as to be more clear about the functional change. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths