qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH] target/arm: Declare support for FEAT_RASv1p1


From: Richard Henderson
Subject: Re: [PATCH] target/arm: Declare support for FEAT_RASv1p1
Date: Tue, 31 May 2022 07:36:00 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

On 5/31/22 04:42, Peter Maydell wrote:
The architectural feature RASv1p1 introduces the following new
features:
  * new registers ERXPFGCDN_EL1, ERXPFGCTL_EL1 and ERXPFGF_EL1
  * new bits in the fine-grained trap registers that control traps
    for these new registers
  * new trap bits HCR_EL2.FIEN and SCR_EL3.FIEN that control traps
    for ERXPFGCDN_EL1, ERXPFGCTL_EL1, ERXPFGP_EL1
  * a larger number of the ERXMISC<n>_EL1 registers
  * the format of ERR<n>STATUS registers changes

The architecture permits that if ERRIDR_EL1.NUM is 0 (as it is for
QEMU) then all these new registers may UNDEF, and the HCR_EL2.FIEN
and SCR_EL3.FIEN bits may be RES0.  We don't have any ERR<n>STATUS
registers (again, because ERRIDR_EL1.NUM is 0).  QEMU does not yet
implement the fine-grained-trap extension.  So there is nothing we
need to implement to be compliant with the feature spec.  Make the
'max' CPU report the feature in its ID registers, and document it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

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


r~



reply via email to

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