Re: [discuss] [PATCH] add and handle NMI_VECTOR II

2005-09-09 Thread Andi Kleen
On Friday 09 September 2005 09:57, Jan Beulich wrote: > >>> Andi Kleen <[EMAIL PROTECTED]> 09.09.05 09:14:07 >>> > >> > >> ??? This is what the code doing the setup does. But the question was > > - > > >> what do you need the IDT entry for? > > > >Without an IDT entry you cannot receive it? > > But

Re: [discuss] [PATCH] add and handle NMI_VECTOR II

2005-09-09 Thread Jan Beulich
>>> Andi Kleen <[EMAIL PROTECTED]> 09.09.05 09:14:07 >>> >> ??? This is what the code doing the setup does. But the question was - >> what do you need the IDT entry for? > >Without an IDT entry you cannot receive it? But that's the point - if it's delivered as an NMI, it'll arrive through vector

Re: [discuss] [PATCH] add and handle NMI_VECTOR II

2005-09-09 Thread Jan Beulich
>> >Index: linux/arch/x86_64/kernel/traps.c >> >=== >> >--- linux.orig/arch/x86_64/kernel/traps.c >> >+++ linux/arch/x86_64/kernel/traps.c >> >@@ -931,7 +931,7 @@ void __init trap_init(void) >> >set_system_gate(IA32_SYSCALL_VECTOR,

Re: [discuss] [PATCH] add and handle NMI_VECTOR II

2005-09-09 Thread Andi Kleen
> ??? This is what the code doing the setup does. But the question was - > what do you need the IDT entry for? Without an IDT entry you cannot receive it? -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [discuss] [PATCH] add and handle NMI_VECTOR II

2005-09-08 Thread Andi Kleen
On Friday 09 September 2005 08:42, Jan Beulich wrote: > >Index: linux/include/asm-x86_64/hw_irq.h > >=== > >--- linux.orig/include/asm-x86_64/hw_irq.h > >+++ linux/include/asm-x86_64/hw_irq.h > >@@ -52,7 +52,7 @@ struct hw_interrupt_ty

Re: [discuss] [PATCH] add and handle NMI_VECTOR II

2005-09-08 Thread Jan Beulich
>Index: linux/include/asm-x86_64/hw_irq.h >=== >--- linux.orig/include/asm-x86_64/hw_irq.h >+++ linux/include/asm-x86_64/hw_irq.h >@@ -52,7 +52,7 @@ struct hw_interrupt_type; > #define ERROR_APIC_VECTOR 0xfe > #define RESCHEDULE_VE

Re: [discuss] [PATCH] add and handle NMI_VECTOR II

2005-09-08 Thread Andi Kleen
On Fri, Sep 09, 2005 at 02:20:45AM +0200, Andi Kleen wrote: > On Thu, Sep 08, 2005 at 06:07:56PM +0200, Jan Beulich wrote: > > (Note: Patch also attached because the inline version is certain to get > > line wrapped.) > > > > Declare NMI_VECTOR and handle it in the IPI sending code. > > The earli