RE: [BROKEN PATCH] kexec for ia64

Luck, Tony
2004-07-27T16:50:20Z

Jesse Barnes schrieb:
>I'm also worried about a few things in this patch. Is
>relocate_kernel.S really necessary in 2.6? Can we copy
>the kernel to a contiguous 64MB aligned area, drop into
>phys mode and just jump to it?

and Christian replied:
>You should be safe with that but you should consider flushing TLB
>entries of the old kernel before the newly started kernel inserts its
>own translations.

Don't just "consider" it ... this is essential or you will take
MCA when you try to install overlapping TLB entries as the new
kernel boots. Luckily all the code you need to do this already
exists in the MCA-TLB recovery code in mca_asm.S (so long as you
think that you can trust the 'ia64_mca_tlb_list' has not been
corrupted).

-Tony