lkml.org 
[lkml]   [2015]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v8] x86: mce: kexec: switch MCE handler for kexec/kdump
    On Thu, Apr 09, 2015 at 06:57:38AM +0000, Naoya Horiguchi wrote:
    > Yes, I did see it at fisrt, so I did two tweaks for the testing:
    >
    > 1) to fix qemu code. I think that current mce injection code of qemu is buggy,
    > because when we try to inject MCE in broadcast mode, all injections other than
    > the first one are done with MCG_STATUS_MCIP (see cpu_x86_inject_mce()@target-i386/helper.c.)
    > It looks to me a bug because this means that every (broadcast mode) MCE injection
    > causes triplet-fault, which seems not mimicking the real HW behavior.
    >
    > 2) to insert the delay (for a few seconds) into kdump_nmi_callback() before
    > disable_local_APIC(). This is because MCE interrupt is delivered to CPUs in
    > different manners in qemu and in bare metal. Bare metals do respond to MCE
    > interrupts after disable_local_APIC(), but qemu not.

    Lemme take a look at that.

    > Unfortunately our testing (~15000 times kdump/reboot cycles) with the debug
    > kernel on bare metals didn't reproduce the problem yet, but I believe that
    > the above testing on qemu should hit a target.

    If only APEI EINJ could be taught to do delayed injection, regardless of
    OS kernel running. Tony, is something like that even possible at all?

    --
    Regards/Gruss,
    Boris.

    ECO tip #101: Trim your mails when you reply.
    --


    \
     
     \ /
      Last update: 2015-04-09 09:41    [W:4.378 / U:0.200 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site