[PATCH] ARM: tegra: init fuse before setting reset handler

Olof Johansson olof at lixom.net
Tue Nov 12 15:43:09 EST 2013


On Tue, Nov 12, 2013 at 12:03 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Alexandre Courbot <acourbot at nvidia.com>
>
> CPU reset handler was set before fuse is initialized, but
> tegra_cpu_reset_handler_enable() uses tegra_chip_id, which is set by
> tegra_init_fuse(). This patch reorders the calls so the CPU reset
> handler code does not read an uninitialized variable.
>
> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
> arm-soc, if you could apply this as a fix for 3.13, that'd be great.
> Thanks.

Done!


-Olof



More information about the linux-arm-kernel mailing list