diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-01-04 17:44:15 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-01-10 21:08:55 +0000 |
commit | d01723479e6a6c70c83295f7847477a016d5e14a (patch) | |
tree | 11daf853183da10d5177876716a4b2771e642e70 /drivers/crypto/mv_cesa.c | |
parent | 6e484be1ccca3ea495db45900fd42aac8d49d754 (diff) |
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: <stable@vger.kernel.org>
Reviewed-by: Dave Martin <dave.martin@linaro.org>
Reported-by: Harry Liebel <harry.liebel@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/crypto/mv_cesa.c')
0 files changed, 0 insertions, 0 deletions