On 13.04.2023 19:37, Ayan Kumar Halder wrote:
> --- a/xen/arch/arm/Kconfig
> +++ b/xen/arch/arm/Kconfig
> @@ -19,13 +19,46 @@ config ARM
>       select HAS_PMAP
>       select IOMMU_FORCE_PT_SHARE
>  
> +menu "Architecture Features"
> +
> +choice
> +     prompt "Physical address space size" if ARM_32
> +     default ARM_PA_BITS_48 if ARM_64
> +     default ARM_PA_BITS_40 if ARM_32
> +     help
> +       User can choose to represent the width of physical address. This can
> +       sometimes help in optimizing the size of image when user chooses a
> +       smaller size to represent physical address.
> +
> +config ARM_PA_BITS_32
> +     bool "32-bit"
> +     help
> +       On platforms where any physical address can be represented within 32 
> bits,
> +       user should choose this option. This will help is reduced size of the
> +       binary.
> +     select PHYS_ADDR_T_32
> +     depends on ARM_32

May I suggest that "help" come generally last, and preferably "depends on"
before "select"?

Jan

Reply via email to