The patch titled x86: avoid early crash in disable_local_APIC() has been added to the -mm tree. Its filename is x86-avoid-early-crash-in-disable_local_apic.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: x86: avoid early crash in disable_local_APIC() From: "Jan Beulich" <jbeulich@xxxxxxxxxx> E.g. when called due to an early panic. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Cc: Andi Kleen <andi@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/kernel/apic.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN arch/x86/kernel/apic.c~x86-avoid-early-crash-in-disable_local_apic arch/x86/kernel/apic.c --- a/arch/x86/kernel/apic.c~x86-avoid-early-crash-in-disable_local_apic +++ a/arch/x86/kernel/apic.c @@ -895,6 +895,10 @@ void disable_local_APIC(void) { unsigned int value; + /* APIC hasn't been mapped yet */ + if (!apic_phys) + return; + clear_local_APIC(); /* _ Patches currently in -mm which might be from jbeulich@xxxxxxxxxx are i386-fix-assumed-to-be-contiguous-leaf-page-tables-for-kmap_atomic-region.patch x86-fully-honor-nolapic.patch x86-avoid-early-crash-in-disable_local_apic.patch x86-simplify-highmem-related-kconfig-entries.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html