]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: OMAP2+: Fix sar_base inititalization for HS omaps
authorTony Lindgren <tony@atomide.com>
Fri, 9 Feb 2018 17:35:56 +0000 (09:35 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 14 Feb 2018 16:35:14 +0000 (08:35 -0800)
commitfe27f16794f313f5fc16f6d2f42d8c2b2f4d70cc
treeb001b960d26833e05607ed213fe8f943026e2f2d
parentd3be6d2a08bd26580562d9714d3d97ea9ba22c73
ARM: OMAP2+: Fix sar_base inititalization for HS omaps

HS omaps use irq_save_secure_context() instead of irq_save_context()
so sar_base will never get initialized and irq_sar_clear() gets called
with a wrong address for HS omaps from irq_restore_context().

Starting with commit f4b9f40ae95b ("ARM: OMAP4+: Initialize SAR RAM
base early for proper CPU1 reset for kexec") we have it available,
and this ideally would been fixed with that commit already.

Fixes: f4b9f40ae95b ("ARM: OMAP4+: Initialize SAR RAM base early for
proper CPU1 reset for kexec")
Cc: Andrew F. Davis <afd@ti.com>
Cc: Dave Gerlach <d-gerlach@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap-wakeupgen.c