Re: [PATCH v8 2/4] target/arm: Add support for FEAT_TLBIRANGE

2021-05-08 Thread Richard Henderson
On 5/4/21 8:04 PM, Rebecca Cran wrote: +static uint64_t tlbi_aa64_range_get_length(CPUARMState *env, + uint64_t value) +{ +unsigned int page_shift; +unsigned int page_size_granule; +uint64_t num; +uint64_t scale; +uint64_t exponent; +

[PATCH v8 2/4] target/arm: Add support for FEAT_TLBIRANGE

2021-05-04 Thread Rebecca Cran
ARMv8.4 adds the mandatory FEAT_TLBIRANGE. It provides TLBI maintenance instructions that apply to a range of input addresses. Signed-off-by: Rebecca Cran --- target/arm/cpu.h| 5 + target/arm/helper.c | 296 2 files changed, 301 insertions(+) diff --git a/target/arm/