[PATCH v3 kvmtool 08/13] arm/arm64: Kill the ARM_HIMAP_MAX_MEMORY() macro

Andre Przywara andre.przywara at arm.com
Wed Jun 1 04:16:15 PDT 2022


On Wed, 25 May 2022 12:23:40 +0100
Alexandru Elisei <alexandru.elisei at arm.com> wrote:

> The ARM_HIMAP_MAX_MEMORY() is a remnant of a time when KVM only supported
> 40 bits if IPA. There are no users left for this macro, remove it.
> 
> Signed-off-by: Alexandru Elisei <alexandru.elisei at arm.com>

Could be stashed together with the previous patch, I guess, but anyway:

Reviewed-by: Andre Przywara <andre.przywara at arm.com>

Cheers,
Andre

> ---
>  arm/include/arm-common/kvm-arch.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arm/include/arm-common/kvm-arch.h b/arm/include/arm-common/kvm-arch.h
> index fc55360d4d15..6d80aac17125 100644
> --- a/arm/include/arm-common/kvm-arch.h
> +++ b/arm/include/arm-common/kvm-arch.h
> @@ -65,7 +65,6 @@
>  
>  
>  #define ARM_LOMAP_MAX_MEMORY	((1ULL << 32) - ARM_MEMORY_AREA)
> -#define ARM_HIMAP_MAX_MEMORY	((1ULL << 40) - ARM_MEMORY_AREA)
>  
>  
>  #define KVM_IOEVENTFD_HAS_PIO	0




More information about the linux-arm-kernel mailing list