Messages in this thread | | | Subject | Re: Triggering Machine Check Exceptions on x86 | From | Alan Cox <> | Date | Thu, 23 Mar 2006 14:13:53 +0000 |
| |
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/
| |