From: Marc Zyngier Date: Fri, 4 Jan 2013 17:44:15 +0000 (+0000) Subject: ARM: virt: simplify __hyp_stub_install epilog X-Git-Tag: v3.8-rc5~4^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d01723479e6a6c70c83295f7847477a016d5e14a;p=pandora-kernel.git ARM: virt: simplify __hyp_stub_install epilog __hyp_stub_install duplicates quite a bit of safe_svcmode_maskall by forcing the CPU back to SVC. This is unnecessary, as safe_svcmode_maskall is called just after. Furthermore, the way we build SPSR_hyp is buggy as we fail to mask the interrupts, leading to interesting behaviours on TC2 + UEFI. The fix is to simply remove this code and rely on safe_svcmode_maskall to do the right thing. Cc: Reviewed-by: Dave Martin Reported-by: Harry Liebel Signed-off-by: Marc Zyngier Signed-off-by: Will Deacon --- Reading git-diff-tree failed