[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3908561D78D1C84285E8C5FCA982C28F040219@ORSMSX104.amr.corp.intel.com>
Date: Wed, 29 Feb 2012 18:11:40 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: Mauro Carvalho Chehab <mchehab@...hat.com>
CC: Borislav Petkov <bp@...64.org>,
Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>,
Ingo Molnar <mingo@...e.hu>,
EDAC devel <linux-edac@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/3] mce: Add a msg string to the MCE tracepoint
> That probably means that the needed cpu family/model info is not (or may not) be
> stored at the MCE structure.
mcelog can run as a daemon, or one-off to process reports from earlier (or
even from other systems). It picks up cpu/family from /proc/cpuinfo - but can
also take a command line argument. These get checked against the cpuid
field in the structure that is read from /dev/mcelog (or decoded from a
console log with the --ascii option).
In some cases the checks may be redundant (e.g. running in daemon mode,
there is no way that /dev/mcelog will not have a cpuid that matches the
cpu that you are running on!) But better to have too many checks than too
few.
-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists