|
From: | Richard Henderson |
Subject: | Re: [PATCH 4/8] target/arm: Don't allow RES0 CNTHCTL_EL2 bits to be written |
Date: | Fri, 1 Mar 2024 11:11:55 -1000 |
User-agent: | Mozilla Thunderbird |
On 3/1/24 08:32, Peter Maydell wrote:
Don't allow the guest to write CNTHCTL_EL2 bits which don't exist. This is not strictly architecturally required, but it is how we've tended to implement registers more recently. In particular, bits [19:18] are only present with FEAT_RME, and bits [17:12] will only be present with FEAT_ECV. Signed-off-by: Peter Maydell<peter.maydell@linaro.org> --- target/arm/helper.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |