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.mayd...@linaro.org>
---
  target/arm/helper.c | 18 ++++++++++++++++++
  1 file changed, 18 insertions(+)

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

r~

Reply via email to