lkml.org 
[lkml]   [2006]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Triggering Machine Check Exceptions on x86
From
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-23 15:09    [W:0.029 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site