Review Board 2.0.15


arm: Rewrite ERET to behave according to the ARMv8 ARM

Review Request #3487 - Created May 27, 2016 and submitted

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 11502:d3ab28442a8e
---------------------------
arm: Rewrite ERET to behave according to the ARMv8 ARM

The ERET instruction doesn't set PSTATE correctly in some cases
(particularly when returning to aarch32 code). Among other things,
this breaks EL0 thumb code when using a 64-bit kernel. This changeset
updates the ERET implementation to match the ARM ARM.

Change-Id: I408e7c69a23cce437859313dfe84e68744b07c98
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nathanael Premillieu <nathanael.premillieu@arm.com>

   
Review request changed
Updated (June 2, 2016, 1:56 a.m.)

Status: Closed (submitted)