From: Ingo Molnar <mingo@elte.hu>
To: Borislav Petkov <bp@amd64.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Tony Luck <tony.luck@intel.com>, X86-ML <x86@kernel.org>,
EDAC devel <linux-edac@vger.kernel.org>,
Borislav Petkov <borislav.petkov@amd.com>
Subject: Re: [PATCH 0/2] x86, MCE: Catch the early worm
Date: Fri, 9 Dec 2011 07:16:01 +0100 [thread overview]
Message-ID: <20111209061601.GB24537@elte.hu> (raw)
In-Reply-To: <1323353332-5671-1-git-send-email-bp@amd64.org>
* Borislav Petkov <bp@amd64.org> wrote:
> From: Borislav Petkov <borislav.petkov@amd.com>
>
> Currently, we don't decode MCEs which are being detected during MCA
> initialization and before registration of the decoders on the decoding
> notifier chain. These two patches add the functionality to drain the
> mcelog buffer right after we've registered a decoder.
>
> With it, early MCEs get caught and decoded into the dmesg:
>
> ...
> [ 0.068003] ... generic registers: 6
> [ 0.068003] ... value mask: 0000ffffffffffff
> [ 0.068003] ... max period: 00007fffffffffff
> [ 0.068003] ... fixed-purpose events: 0
> [ 0.068003] ... event mask: 000000000000003f
> [ 0.068003] MCE: In-kernel MCE decoding enabled.
> [ 0.068003] [Hardware Error]: CPU:0 MC0_STATUS[-|UE|MiscV|-|AddrV|-|-]: 0xac80000000000833
> [ 0.068003] [Hardware Error]: MC0_ADDR: 0x00000000f8080000
> [ 0.068003] [Hardware Error]: Data Cache Error: System Read Data Error.
> [ 0.068003] [Hardware Error]: cache level: L3/GEN, mem/io: MEM, mem-tx: DRD, part-proc: SRC (no timeout)
> [ 0.068069] Booting Node 0, Processors #1
> [ 0.068276] smpboot cpu 1: start_ip = 88000
> [ 0.160077] #2
> [ 0.160206] smpboot cpu 2: start_ip = 88000
> [ 0.252073] #3 Ok.
> ...
>
> Comments and suggestions are welcome, as always.
Looks good to me.
Thanks,
Ingo
prev parent reply other threads:[~2011-12-09 6:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-08 14:08 Borislav Petkov
2011-12-08 14:08 ` [PATCH 1/2] x86, mce: Add wrappers for registering on the decode chain Borislav Petkov
2011-12-08 14:08 ` [PATCH 2/2] x86, MCE: Drain mcelog buffer Borislav Petkov
2011-12-09 18:19 ` Luck, Tony
2011-12-09 18:24 ` Borislav Petkov
2011-12-09 18:40 ` Luck, Tony
2011-12-09 19:18 ` Borislav Petkov
2011-12-09 22:08 ` Luck, Tony
2011-12-12 14:19 ` Borislav Petkov
2011-12-09 6:16 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111209061601.GB24537@elte.hu \
--to=mingo@elte.hu \
--cc=borislav.petkov@amd.com \
--cc=bp@amd64.org \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tony.luck@intel.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®