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)
commit5ff93697fcfe1e2b9e61db82961d8f50d1ad5d57
tree01d1196d6ec90a96a0fdeb41997ab7a1c0ebfdfb
parentfab852aaf761a00cfe16330429b7cac15cceaeb9
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