From: Ingo Molnar <mingo@elte.hu>
To: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org, Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH -tip 1/3] x86, mce: Add mce_threshold option for intel cmci
Date: Sat, 28 Mar 2009 13:08:25 +0100 [thread overview]
Message-ID: <20090328120825.GB14464@elte.hu> (raw)
In-Reply-To: <49CB3F24.8040804@jp.fujitsu.com>
* Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> wrote:
> This patch adds a kernel parameter "mce_threshold=n" to enable us
> to change the default threshold for CMCI(Corrected Machine Check
> Interrupt) that recent Intel processor supports.
>
> And it also supports CMCI disabling by setting mce_threshold=0.
> It would be useful if your hardware does something wrong and/or
> if polling by timer is preferred than the threshold interrupt.
>
> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
> Cc: Andi Kleen <ak@linux.intel.com>
> Cc: Ingo Molnar <mingo@elte.hu>
> ---
> Documentation/kernel-parameters.txt | 5 +++
> arch/x86/include/asm/msr-index.h | 1 +
> arch/x86/kernel/cpu/mcheck/mce_intel_64.c | 56 +++++++++++++++++++++++++++--
> 3 files changed, 59 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index 1d8af36..7a0d117 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -1267,6 +1267,11 @@ and is between 256 and 4096 characters. It is defined in the file
>
> mce=option [X86-64] See Documentation/x86/x86_64/boot-options.txt
>
> + mce_threshold= [X86-64,intel] Default CMCI threshold
> + Should be unsigned integer. Setting 0 disables cmci.
> + Format: <integer>
> + Default: 1
Makes sense. CMCI is a new CPU feature so having boot controls to
disable it is generally a good idea - while still having old-style
MCE support in place.
Applied to tip:x86/mce2, thanks Hidetoshi!
Ingo
next prev parent reply other threads:[~2009-03-28 12:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 8:39 Hidetoshi Seto
2009-03-26 9:10 ` Andi Kleen
2009-03-27 9:44 ` Hidetoshi Seto
2009-03-27 10:31 ` Andi Kleen
2009-03-30 9:06 ` Hidetoshi Seto
2009-03-30 10:05 ` Andi Kleen
2009-03-31 7:22 ` Hidetoshi Seto
2009-03-31 8:15 ` Andi Kleen
2009-03-28 12:00 ` Ingo Molnar
2009-03-28 12:08 ` Ingo Molnar [this message]
2009-03-30 9:42 ` Andi Kleen
2009-03-31 2:45 ` Hidetoshi Seto
2009-03-31 8:08 ` Andi Kleen
2009-03-31 2:45 ` Hidetoshi Seto
2009-04-01 15:07 ` Ingo Molnar
2009-04-02 4:43 ` Hidetoshi Seto
2009-04-02 4:54 ` [PATCH -tip 1/3] x86, mce: Revert "add mce_threshold option for intel cmci" Hidetoshi Seto
2009-04-02 4:55 ` [PATCH -tip 2/3] x86, mce: Revert "add mce=nopoll option to disable timer polling" Hidetoshi Seto
2009-04-02 4:58 ` [PATCH -tip 3/3] x86, mce: Add new option mce=no_cmci and mce=ignore_ce Hidetoshi Seto
2009-03-28 21:28 ` [tip:x86/mce2] x86, mce: Add mce_threshold option for intel cmci Hidetoshi Seto
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=20090328120825.GB14464@elte.hu \
--to=mingo@elte.hu \
--cc=ak@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=seto.hidetoshi@jp.fujitsu.com \
--cc=tglx@linutronix.de \
/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®