On Tue, 7 Jun 2022 at 04:08, Richard Henderson <richard.hender...@linaro.org> wrote: > > With the helper we can use exception_target_el at runtime, > instead of default_exception_el at translate time. > While we're at it, remove the DisasContext parameter from > gen_exception, as it is no longer used. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
Basing calculation of target EL on the runtime state is definitely fine here. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM