On Thu, Feb 11, 2016 at 07:11:46PM +, Peter Maydell wrote:
> The SRS instruction is:
> * UNDEFINED in Hyp mode
> * UNPREDICTABLE in User or System mode
> * UNPREDICTABLE if the specified mode isn't accessible
> * trapped to EL3 if EL3 is AArch64 and we are at Secure EL1
>
> Clean up the
On 11.02.2016 22:11, Peter Maydell wrote:
> The SRS instruction is:
> * UNDEFINED in Hyp mode
> * UNPREDICTABLE in User or System mode
> * UNPREDICTABLE if the specified mode isn't accessible
> * trapped to EL3 if EL3 is AArch64 and we are at Secure EL1
>
> Clean up the code to handle all
The SRS instruction is:
* UNDEFINED in Hyp mode
* UNPREDICTABLE in User or System mode
* UNPREDICTABLE if the specified mode isn't accessible
* trapped to EL3 if EL3 is AArch64 and we are at Secure EL1
Clean up the code to handle all these cases cleanly, including
picking UNDEF as our choice