• Pekka Paalanen's avatar
    x86: add far read test to testmmiotrace · 5ff93697
    Pekka Paalanen authored
    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: default avatarPekka Paalanen <pq@iki.fi>
    Cc: Stuart Bennett <stuart@freedesktop.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    5ff93697
testmmiotrace.c 2.65 KB