• P
    x86: add far read test to testmmiotrace · 5ff93697
    Pekka Paalanen 提交于
    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: NPekka Paalanen <pq@iki.fi>
    Cc: Stuart Bennett <stuart@freedesktop.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    5ff93697
testmmiotrace.c 2.7 KB