All of lore.kernel.org
 help / color / mirror / Atom feed
* Triggering Machine Check Exceptions on x86
@ 2006-03-23  1:23 Kalyan Rajasekharuni
  2006-03-23 14:13 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Kalyan Rajasekharuni @ 2006-03-23  1:23 UTC (permalink / raw)
  To: linux-kernel

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. 



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Triggering Machine Check Exceptions on x86
  2006-03-23  1:23 Triggering Machine Check Exceptions on x86 Kalyan Rajasekharuni
@ 2006-03-23 14:13 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2006-03-23 14:13 UTC (permalink / raw)
  To: Kalyan Rajasekharuni; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-23 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23  1:23 Triggering Machine Check Exceptions on x86 Kalyan Rajasekharuni
2006-03-23 14:13 ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.