]> git.baikalelectronics.ru Git - kernel.git/commit
x86: add far read test to testmmiotrace
authorPekka Paalanen <pq@iki.fi>
Sun, 1 Mar 2009 14:10:08 +0000 (16:10 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Mar 2009 09:20:35 +0000 (10:20 +0100)
commitdcf823ae87ae2bf7b840b992f686315aecf464c1
tree01d1196d6ec90a96a0fdeb41997ab7a1c0ebfdfb
parent6703d1f81b192a15adb1998ff6855d7c2090a765
x86: add far read test to testmmiotrace

Apparently pages far into an ioremapped region might not actually be
mapped during ioremap(). Add an optional read test to try to trigger a
multiply faulting MMIO access. Also add more messages to the kernel log
to help debugging.

This patch is based on a patch suggested by
Stuart Bennett <stuart@freedesktop.org>
who discovered bugs in mmiotrace related to normal kernel space faults.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
Cc: Stuart Bennett <stuart@freedesktop.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/testmmiotrace.c