Re: [PATCH V3 0/2] uapi: Add support for GENMASK_U128()
From: Yury Norov
Date: Thu Aug 01 2024 - 10:43:45 EST
On Thu, Aug 1, 2024 at 12:16 AM Anshuman Khandual
<anshuman.khandual@xxxxxxx> wrote:
>
> This adds support for GENMASK_U128() and some corresponding tests as well.
> GENMASK_U128() generated 128 bit masks will be required later on the arm64
> platform for enabling FEAT_SYSREG128 and FEAT_D128 features.
>
> Because GENMAKS_U128() depends on __int128 data type being supported in the
> compiler, its usage needs to be protected with CONFIG_ARCH_SUPPORTS_INT128.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Yury Norov <yury.norov@xxxxxxxxx>
> Cc: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: linux-arch@xxxxxxxxxxxxxxx
For the patches:
Reviewed-by: Yury Norov <yury.norov@xxxxxxxxx>
This series doesn't include a real use-case for the new macros. Do you
have some?
I can take it via my branch, but I need at least one use-case to not
merge dead code.
Thanks,
Yury