From: Stephen Boyd Date: Tue, 9 Jun 2015 18:24:23 +0000 (+0100) Subject: ARM: 8389/1: Add cpu_resume_arm() for firmwares that resume in ARM state X-Git-Tag: omap-for-v4.2/fixes-rc1^2~100^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32e55a777f83;p=pandora-kernel.git ARM: 8389/1: Add cpu_resume_arm() for firmwares that resume in ARM state Some platforms always enter the kernel in the ARM state even if the kernel is compiled for THUMB2. Add a small wrapper on top of cpu_resume() that switches into THUMB2 state. This provides the functionality to fix a problem reported by Kevin Hilman on next-20150601 where the ifc6410 fails to boot a THUMB2 kernel because the platform's firmware always enters the kernel in ARM mode from deep idle states. (rmk: tweaked to work without BSYM->badr changes.) Reported-by: Kevin Hilman Cc: Ard Biesheuvel Cc: Lina Iyer Signed-off-by: Stephen Boyd Signed-off-by: Russell King --- Reading git-diff-tree failed