mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Kalyan Rajasekharuni <kalyan@vmware.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Triggering Machine Check Exceptions on x86
Date: Thu, 23 Mar 2006 14:13:53 +0000	[thread overview]
Message-ID: <1143123234.11163.14.camel@localhost.localdomain> (raw)
In-Reply-To: <4421F89A.2070406@vmware.com>

On Mer, 2006-03-22 at 17:23 -0800, Kalyan Rajasekharuni wrote:
> I would like to trigger a Machine Check Exception soley by a 
> 'software mechanism' on my x86 box. The idea is to test my 
> machine check exception handler thoroughly. I want a reliable 
> way which will generate this exception every time when I run 
> the software code snippet. 

You will need to ask the CPU vendor I think. You can trigger MCEs on
some x86s by exploiting obscure hardware flaws in supervisor mode
(notably with mismatched memory cache types for the same page) but I
don't know of any way to make that predictable.

Alan


      reply	other threads:[~2006-03-23 14:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-23  1:23 Kalyan Rajasekharuni
2006-03-23 14:13 ` Alan Cox [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=1143123234.11163.14.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=kalyan@vmware.com \
    --cc=linux-kernel@vger.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®