Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu
From: Andi Kleen
Date: Tue Nov 27 2007 - 09:43:26 EST
>
> As for solution 2, that brings me to my previous question. Is that really as
> simple as just not moving the apic to legacy mode? It would seem some
> additional programming would be in order to route the interrupt in question to
> the proper cpu.
The Linux kernel right now relies on being in legacy mode at bootup.
So obviously kexec has to switch back to that.
Not relying on legacy mode would require moving APIC setup much earlier which
is difficult because that's quite fragile. Longer term it might be a good
idea though anyways -- at least the timer code was always fragile
and eliminating one failure case and only ever running it in true
APIC mode would be probably a good thing.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/