[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090309102730.GA32492@traven>
Date: Mon, 9 Mar 2009 11:27:30 +0100
From: Matthias Kaehlcke <matthias@...hlcke.net>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Cc: linux-arm-kernel@...ts.arm.linux.org.uk,
linux-kernel@...r.kernel.org,
Abhishek Sagar <sagar.abhishek@...il.com>,
Russell King <linux@....linux.org.uk>,
Steven Rostedt <rostedt@...e.goodmis.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH] ftrace: fix crash due to tracing of __naked functions
El Mon, Mar 09, 2009 at 08:46:40AM +0100 Uwe Kleine-König ha dit:
> This is a fix for the following crash observed in 2.6.29-rc3:
> http://lkml.org/lkml/2009/1/29/150
>
> On ARM it doesn't make sense to trace a naked function because then
> mcount is called without stack and frame pointer being set up and there
> is no chance to restore the lr register to the value before mcount was
> called.
>
> Compared to the original fix posted to arm-linux-kernel ML on 29 Jan
> 2009 by Abhishek Sagar I only changed the definition of __naked for ARM.
>
> Reported-by: Matthias Kaehlcke <matthias@...hlcke.net>
> Cc: Abhishek Sagar <sagar.abhishek@...il.com>
> Cc: Russell King <linux@....linux.org.uk>
> Cc: Steven Rostedt <rostedt@...e.goodmis.org>
> Cc: Ingo Molnar <mingo@...e.hu>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
> ---
> Hello,
>
> without this change a kernel having CONFIG_FUNCTION_TRACER=y doesn't
> boot on many maschines. It would be great if this change would make it
> into .29.
i agree that it would be convenient to have this resolved in .29
Tested-by: Matthias Kaehlcke <matthias@...hlcke.net>
--
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona
The salvation of mankind lies only in making everything the concern of all
(Alexander Solzhenitsyn)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists