diff options
author | Marc Zyngier <[email protected]> | 2013-01-04 17:44:15 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2013-01-10 21:08:55 +0000 |
commit | d01723479e6a6c70c83295f7847477a016d5e14a (patch) | |
tree | 11daf853183da10d5177876716a4b2771e642e70 /lib/mpi/mpi-internal.h | |
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: <[email protected]>
Reviewed-by: Dave Martin <[email protected]>
Reported-by: Harry Liebel <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions