Re: [tip:x86/urgent] x86: mmiotrace: quieten spurious warningmessage

From: Pekka Paalanen
Date: Thu Mar 26 2009 - 16:03:55 EST


On Wed, 11 Mar 2009 20:45:45 GMT
Stuart Bennett <stuart@xxxxxxxxxxxxxxx> wrote:

> Commit-ID: afcfe024aebd74b0984a41af9a34e009cf5badaf
> Gitweb: http://git.kernel.org/tip/afcfe024aebd74b0984a41af9a34e009cf5badaf
> Author: "Stuart Bennett" <stuart@xxxxxxxxxxxxxxx>
> AuthorDate: Wed, 11 Mar 2009 20:29:45 +0000
> Commit: Ingo Molnar <mingo@xxxxxxx>
> CommitDate: Wed, 11 Mar 2009 21:41:58 +0100
>
> x86: mmiotrace: quieten spurious warning message
>
> This message was being incorrectly emitted when using gdb,
> so compile it out by default for now; there will be a
> better fix in v2.6.30.
>
> Reported-by: Ingo Molnar <mingo@xxxxxxx>
> Signed-off-by: Stuart Bennett <stuart@xxxxxxxxxxxxxxx>
> Acked-by: Pekka Paalanen <pq@xxxxxx>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
>

Guys,

wasn't this supposed to go into 2.6.29?
I don't see this in Linus' master, was it too late?

>
> ---
> arch/x86/mm/kmmio.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/mm/kmmio.c b/arch/x86/mm/kmmio.c
> index 6a518dd..4f115e0 100644
> --- a/arch/x86/mm/kmmio.c
> +++ b/arch/x86/mm/kmmio.c
> @@ -310,7 +310,7 @@ static int post_kmmio_handler(unsigned long condition, struct pt_regs *regs)
> struct kmmio_context *ctx = &get_cpu_var(kmmio_ctx);
>
> if (!ctx->active) {
> - pr_warning("kmmio: spurious debug trap on CPU %d.\n",
> + pr_debug("kmmio: spurious debug trap on CPU %d.\n",
> smp_processor_id());
> goto out;
> }
>


--
Pekka Paalanen
http://www.iki.fi/pq/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/