qemu-arm
[Top][All Lists]
Advanced

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

Re: [RFC PATCH v4 05/22] target/arm: Support MSR access to ALLINT


From: Richard Henderson
Subject: Re: [RFC PATCH v4 05/22] target/arm: Support MSR access to ALLINT
Date: Wed, 28 Feb 2024 10:46:46 -1000
User-agent: Mozilla Thunderbird

On 2/27/24 23:29, Jinjie Ruan via wrote:
Support ALLINT msr access as follow:
        mrs <xt>, ALLINT  // read allint
        msr ALLINT, <xt>  // write allint with imm

Signed-off-by: Jinjie Ruan<ruanjinjie@huawei.com>
---
v4:
- Remove arm_is_el2_enabled() check in allint_check().
- Change to env->pstate instead of env->allint.
v3:
- Remove EL0 check in aa64_allint_access() which alreay checks in .access
   PL1_RW.
- Use arm_hcrx_el2_eff() in aa64_allint_access() instead of env->cp15.hcrx_el2.
- Make ALLINT msr access function controlled by aa64_nmi.
---
  target/arm/helper.c | 34 ++++++++++++++++++++++++++++++++++
  1 file changed, 34 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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