Re: [PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Ingo Molnar
* Roland McGrath <[EMAIL PROTECTED]> wrote: > It's not too pretty, but I found this made the "PANIC: early > exception" messages become much more reliably useful: 1. print the > vector number, 2. print the %cs value, 3. handle error-code-pushing vs > non-pushing vectors. thanks, applied. sin

Re: [PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Roland McGrath
Probably true that it's not worth the space. I couldn't figure a way to do it that doesn't use at least 8 bytes per vector. Of course, the vectors >= 32 are never interesting, so 256 bytes of dispatch table could cover it. Anyway, I think it's fine just to have the patch on hand to enable for a

Re: [PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Andi Kleen
Roland McGrath <[EMAIL PROTECTED]> writes: > It's not too pretty, but I found this made the "PANIC: early exception" > messages become much more reliably useful: 1. print the vector number, > 2. print the %cs value, 3. handle error-code-pushing vs non-pushing vectors. For what do you need cs? It

[PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Roland McGrath
It's not too pretty, but I found this made the "PANIC: early exception" messages become much more reliably useful: 1. print the vector number, 2. print the %cs value, 3. handle error-code-pushing vs non-pushing vectors. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/x86/kernel/head64.