Re: [PATCH] target/arm: Ignore SCTLR_EL2.EnSCXT when !ELIsInHost()

2025-05-23 Thread Oliver Upton
Hi Gustavo, On Thu, May 22, 2025 at 09:06:06PM -0300, Gustavo Romero wrote: > Hi Oliver, > > Thanks for patch. > > On 5/21/25 16:02, Oliver Upton wrote: > > Using an EL2 that enables SCXTNUM_ELx for guests while disabling the > > feature for the host generates

[PATCH] target/arm: Ignore SCTLR_EL2.EnSCXT when !ELIsInHost()

2025-05-21 Thread Oliver Upton
Using an EL2 that enables SCXTNUM_ELx for guests while disabling the feature for the host generates erroneous traps to EL2 when running under TCG. Fix the issue by only evaluating SCTLR_EL2.EnSCXT when ELIsInHost(). Signed-off-by: Oliver Upton --- target/arm/helper.c | 16 1

Re: [RFC 18/21] arm/cpu: Introduce a customizable kvm host cpu model

2024-10-28 Thread Oliver Upton
On Mon, Oct 28, 2024 at 04:48:18PM +, Peter Maydell wrote: > On Mon, 28 Oct 2024 at 16:35, Daniel P. Berrangé wrote: > > > > On Mon, Oct 28, 2024 at 04:16:31PM +, Peter Maydell wrote: > > > On Fri, 25 Oct 2024 at 14:24, Daniel P. Berrangé > > > wrote: > > > > On Fri, Oct 25, 2024 at 03:1