qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH v3 05/21] target/arm: Support MSR access to ALLINT


From: Richard Henderson
Subject: Re: [RFC PATCH v3 05/21] target/arm: Support MSR access to ALLINT
Date: Fri, 23 Feb 2024 09:08:32 -1000
User-agent: Mozilla Thunderbird

On 2/23/24 00:32, Jinjie Ruan via wrote:
+static CPAccessResult aa64_allint_access(CPUARMState *env,
+                                         const ARMCPRegInfo *ri, bool isread)
+{
+    if (arm_current_el(env) == 1 && arm_is_el2_enabled(env) &&
+        (arm_hcrx_el2_eff(env) & HCRX_TALLINT)) {

No need to test arm_is_el2_enabled explicitly, as that is done by 
arm_hcrx_el2_eff.
The bit test with TALLINT will fail if el2 is disabled.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]