|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/arm: Catch illegal-exception-return from EL3 with bad NSE/NS |
Date: | Mon, 7 Aug 2023 13:39:35 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 8/7/23 08:06, Peter Maydell wrote:
The architecture requires (R_TYTWB) that an attempt to return from EL3 when SCR_EL3.{NSE,NS} are {1,0} is an illegal exception return. (This enforces that the CPU can't ever be executing below EL3 with the NSE,NS bits indicating an invalid security state.) We were missing this check; add it. Signed-off-by: Peter Maydell<peter.maydell@linaro.org> --- target/arm/tcg/helper-a64.c | 9 +++++++++ 1 file changed, 9 insertions(+)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |