search for: lvtt

Displaying 20 results from an estimated 20 matches for "lvtt".

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
1
[PATCH 9/10] Vmi timer update.patch
...y.S Mon Apr 09 15:45:27 2007 -0700 +++ b/arch/i386/kernel/entry.S Mon Apr 09 16:03:18 2007 -0700 @@ -637,11 +637,6 @@ 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 +00...
2007 Apr 18
1
[PATCH 9/10] Vmi timer update.patch
...y.S Mon Apr 09 15:45:27 2007 -0700 +++ b/arch/i386/kernel/entry.S Mon Apr 09 16:03:18 2007 -0700 @@ -637,11 +637,6 @@ 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 +00...
2007 Jan 30
0
[PATCH][HVM] fix smp guest hang after restore
...b/xen/arch/x86/hvm/vlapic.c Tue Jan 30 18:03:19 2007 +0800 @@ -836,14 +836,16 @@ static int lapic_load(hvm_domain_context tmict = vlapic_get_reg(s, APIC_TMICT); if (tmict > 0) { uint64_t period = APIC_BUS_CYCLE_NS * (uint32_t)tmict * s->hw.timer_divisor; - + uint32_t lvtt = vlapic_get_reg(s, APIC_LVTT); + + s->pt.irq = lvtt & APIC_VECTOR_MASK; create_periodic_time(v, &s->pt, period, s->pt.irq, vlapic_lvtt_period(s), NULL, s); printk("lapic_load to rearm the actimer:"...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...Thu Dec 14 16:40:14 2006 -0800 +++ b/arch/i386/kernel/entry.S Thu Dec 14 16:40:16 2006 -0800 @@ -622,6 +622,11 @@ ENTRY(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...
2007 Apr 18
0
[PATCH 6/6] VMI timer patches
...Thu Dec 14 16:40:14 2006 -0800 +++ b/arch/i386/kernel/entry.S Thu Dec 14 16:40:16 2006 -0800 @@ -622,6 +622,11 @@ ENTRY(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...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
...Tue Dec 12 13:53:09 2006 -0800 +++ b/arch/i386/kernel/entry.S Tue Dec 12 13:53:15 2006 -0800 @@ -622,6 +622,11 @@ ENTRY(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...
2007 Apr 18
0
[PATCH 5/5] Vmi timer.patch
...Tue Dec 12 13:53:09 2006 -0800 +++ b/arch/i386/kernel/entry.S Tue Dec 12 13:53:15 2006 -0800 @@ -622,6 +622,11 @@ ENTRY(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...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...> +#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 int alarm_hz = CONFIG_VMI_ALARM_HZ; + +/* Cache of the value vmi_get_cycle_frequency / HZ. */ +static signed long long cycles_per_jiffy; + +/* Cache...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...> +#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 int alarm_hz = CONFIG_VMI_ALARM_HZ; + +/* Cache of the value vmi_get_cycle_frequency / HZ. */ +static signed long long cycles_per_jiffy; + +/* Cache...
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
2010 Aug 23
1
Removing VMI kernel support from 2.6.37
...e VMI_CYCLES_REAL 0 -#define VMI_CYCLES_AVAILABLE 1 -#define VMI_CYCLES_STOLEN 2 - -/* The alarm interface 'flags' bits */ -#define VMI_ALARM_COUNTERS 2 - -#define VMI_ALARM_COUNTER_MASK 0x000000ff - -#define VMI_ALARM_WIRED_IRQ0 0x00000000 -#define VMI_ALARM_WIRED_LVTT 0x00010000 - -#define VMI_ALARM_IS_ONESHOT 0x00000000 -#define VMI_ALARM_IS_PERIODIC 0x00000100 - -#define CONFIG_VMI_ALARM_HZ 100 - -#endif /* _ASM_X86_VMI_TIME_H */ Index: linux-tip-master/arch/x86/kernel/vmi_32.c =================================================================== --- lin...
2010 Aug 23
1
Removing VMI kernel support from 2.6.37
...e VMI_CYCLES_REAL 0 -#define VMI_CYCLES_AVAILABLE 1 -#define VMI_CYCLES_STOLEN 2 - -/* The alarm interface 'flags' bits */ -#define VMI_ALARM_COUNTERS 2 - -#define VMI_ALARM_COUNTER_MASK 0x000000ff - -#define VMI_ALARM_WIRED_IRQ0 0x00000000 -#define VMI_ALARM_WIRED_LVTT 0x00010000 - -#define VMI_ALARM_IS_ONESHOT 0x00000000 -#define VMI_ALARM_IS_PERIODIC 0x00000100 - -#define CONFIG_VMI_ALARM_HZ 100 - -#endif /* _ASM_X86_VMI_TIME_H */ Index: linux-tip-master/arch/x86/kernel/vmi_32.c =================================================================== --- lin...
2007 Apr 18
4
[RFC, PATCH 1/24] i386 Vmi documentation
...n-zero relative period counter value. [TBD: + The method of wiring the alarms to an interrupt vector is dependent + upon the virtual interrupt controller portion of the interface. + Currently, the alarms may be wired as if they are attached to IRQ0 + or the vector in the local APIC LVTT. This way, the alarms can be + used as drop in replacements for the PIT or local APIC timer.] + + Alarms are per-vcpu mechanisms. An alarm set by vcpu0 will fire + only on vcpu0, while an alarm set by vcpu1 will only fire on vcpu1. + If an alarm is set relative to available time,...
2007 Apr 18
4
[RFC, PATCH 1/24] i386 Vmi documentation
...n-zero relative period counter value. [TBD: + The method of wiring the alarms to an interrupt vector is dependent + upon the virtual interrupt controller portion of the interface. + Currently, the alarms may be wired as if they are attached to IRQ0 + or the vector in the local APIC LVTT. This way, the alarms can be + used as drop in replacements for the PIT or local APIC timer.] + + Alarms are per-vcpu mechanisms. An alarm set by vcpu0 will fire + only on vcpu0, while an alarm set by vcpu1 will only fire on vcpu1. + If an alarm is set relative to available time,...
2013 Oct 06
40
[xen] double fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
Greetings, I got the below dmesg and the first bad commit is commit cf39c8e5352b4fb9efedfe7e9acb566a85ed847c Merge: 3398d25 23b7eaf Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Wed Sep 4 17:45:39 2013 -0700 Merge tag ''stable/for-linus-3.12-rc0-tag'' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip Pull Xen updates from Konrad
2013 Oct 20
3
[virtio-net] BUG: sleeping function called from invalid context at kernel/mutex.c:616
...000000000000000000000000000000000000000000000 [ 1.624629] ... APIC IRR field: [ 1.624629] 0000000000000000000000000000000000000000000000000000000000008000 [ 1.624629] ... APIC ESR: 00000000 [ 1.624629] ... APIC ICR: 000008fd [ 1.624629] ... APIC ICR2: 02000000 [ 1.624629] ... APIC LVTT: 000000ef [ 1.624629] ... APIC LVTPC: 00010000 [ 1.624629] ... APIC LVT0: 00010700 [ 1.624629] ... APIC LVT1: 00000400 [ 1.624629] ... APIC LVTERR: 000000fe [ 1.624629] ... APIC TMICT: 00033653 [ 1.624629] ... APIC TMCCT: 00000000 [ 1.624629] ... APIC TDCR: 00000003 [ 1.6246...
2013 Oct 20
3
[virtio-net] BUG: sleeping function called from invalid context at kernel/mutex.c:616
...000000000000000000000000000000000000000000000 [ 1.624629] ... APIC IRR field: [ 1.624629] 0000000000000000000000000000000000000000000000000000000000008000 [ 1.624629] ... APIC ESR: 00000000 [ 1.624629] ... APIC ICR: 000008fd [ 1.624629] ... APIC ICR2: 02000000 [ 1.624629] ... APIC LVTT: 000000ef [ 1.624629] ... APIC LVTPC: 00010000 [ 1.624629] ... APIC LVT0: 00010700 [ 1.624629] ... APIC LVT1: 00000400 [ 1.624629] ... APIC LVTERR: 000000fe [ 1.624629] ... APIC TMICT: 00033653 [ 1.624629] ... APIC TMCCT: 00000000 [ 1.624629] ... APIC TDCR: 00000003 [ 1.6246...
2013 Jun 19
4
e008:[<ffff82c480122353>] check_lock+0x1b/0x45 [konrad.wilk@oracle.com: FAILURE 3.10.0-rc6upstream-00061-g752bf7d(x86_64) 3.10.0-rc6upstream-00061-g752bf7d(i386): 2013-06-19 (tst007)]
...000020000000200000000000000000000000000000000 [ 4.602317] ... APIC IRR field: [ 4.605451] 0000000000000000000000000000000000000000000000000000000000008000 [ 4.612586] ... APIC ESR: 00000000 [ 4.615977] ... APIC ICR: 000008fd [ 4.619371] ... APIC ICR2: 08000000 [ 4.622848] ... APIC LVTT: 000400ef [ 4.626328] ... APIC LVTPC: 00000400 [ 4.629893] ... APIC LVT0: 00010700 [ 4.633373] ... APIC LVT1: 00000400 [ 4.636851] ... APIC LVTERR: 000000fe [ 4.640503] ... APIC TMICT: 00000000 [ 4.644070] ... APIC TMCCT: 00000000 [ 4.647634] ... APIC TDCR: 00000000 [ 4.6511...