[PATCH v5 11/28] arm64/sysreg: Standardise naming for ID_AA64MMFR2_EL1.VARange
Kristina Martsenko
kristina.martsenko at arm.com
Fri Sep 2 10:53:19 PDT 2022
On 30/08/2022 11:21, Mark Brown wrote:
> The kernel refers to ID_AA64MMFR2_EL1.VARange as LVA. In preparation for
> automatic generation of defines for the system registers bring the naming
> used by the kernel in sync with that of DDI0487H.a. No functional change.
>
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
> arch/arm64/include/asm/sysreg.h | 2 +-
> arch/arm64/kernel/cpufeature.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h
> index 410b628fbb67..c80f1f7a10f1 100644
> --- a/arch/arm64/include/asm/sysreg.h
> +++ b/arch/arm64/include/asm/sysreg.h
> @@ -815,7 +815,7 @@
> #define ID_AA64MMFR2_EL1_ST_SHIFT 28
> #define ID_AA64MMFR2_EL1_NV_SHIFT 24
> #define ID_AA64MMFR2_EL1_CCIDX_SHIFT 20
> -#define ID_AA64MMFR2_EL1_LVA_SHIFT 16
> +#define ID_AA64MMFR2_EL1_VARange_SHIFT 16
There are 3 more instances of ID_AA64MMFR2_EL1_LVA_SHIFT in assembler.h and
head.S which have not been renamed (which breaks 52-bit VA support).
Thanks,
Kristina
More information about the linux-arm-kernel
mailing list