Re: [PATCH v3 32/60] target/arm: Update sysreg fields when redirecting for E2H

2022-04-30 Thread Richard Henderson
On 4/22/22 03:39, Peter Maydell wrote: On Sun, 17 Apr 2022 at 19:07, Richard Henderson wrote: The new_key is always non-zero during redirection, so remove the if. Update opc0 et al from the new key. Signed-off-by: Richard Henderson --- target/arm/helper.c | 35 +++-

Re: [PATCH v3 32/60] target/arm: Update sysreg fields when redirecting for E2H

2022-04-22 Thread Peter Maydell
On Sun, 17 Apr 2022 at 19:07, Richard Henderson wrote: > > The new_key is always non-zero during redirection, > so remove the if. Update opc0 et al from the new key. > > Signed-off-by: Richard Henderson > --- > target/arm/helper.c | 35 +++ > 1 file changed, 23 i

[PATCH v3 32/60] target/arm: Update sysreg fields when redirecting for E2H

2022-04-17 Thread Richard Henderson
The new_key is always non-zero during redirection, so remove the if. Update opc0 et al from the new key. Signed-off-by: Richard Henderson --- target/arm/helper.c | 35 +++ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/target/arm/helper.c b/targe