• J
    kgdb: fix NMI hangs · d3597524
    Jason Wessel 提交于
    This patch fixes the hang regression with kgdb when the NMI interrupt
    comes in while the master core is returning from an exception.
    
    Adjust the NMI logic such that KGDB will not stop NMI exceptions from
    occurring by in general returning NOTIFY_DONE.  It is not possible to
    distinguish the debug NMI sync vs the normal NMI apic interrupt so
    kgdb needs to catch the unknown NMI if it the debugger was previously
    active on one of the cpus.
    Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    d3597524
kgdb.c 12.1 KB