x86 mmiotrace: WARN_ONCE if dis/arming a page fails
authorStuart Bennett <stuart@freedesktop.org>
Fri, 30 Jan 2009 17:38:59 +0000 (17:38 +0000)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Mar 2009 09:20:35 +0000 (10:20 +0100)
commite9d54cae8f03e7f963a12f44bd50d68f49b9ea36
treebe77d162ae2179f604de9cc6fbc5ab5c9d89b3fe
parent5ff93697fcfe1e2b9e61db82961d8f50d1ad5d57
x86 mmiotrace: WARN_ONCE if dis/arming a page fails

Print a full warning once, if arming or disarming a page fails.

Also, if initial arming fails, do not handle the page further. This
avoids the possibility of a page failing to arm and then later claiming
to have handled any fault on that page.

WARN_ONCE added by Pekka Paalanen.

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