[PATCH 5/8] perf: pmuv3: Change GENMASK to GENMASK_ULL

Marc Zyngier maz at kernel.org
Wed Feb 8 03:30:16 PST 2023


On Thu, 26 Jan 2023 20:44:41 +0000,
Zaid Al-Bassam <zalbassam at google.com> wrote:
> 
> GENMASK macro uses "unsigned long" (32-bit wide on arm and 64-bit
> on arm64), This causes build issues when enabling PMUv3 on arm as
> it tries to access bits > 31. This patch switches the GENMASK to
> GENMASK_ULL, which uses "unsigned long long" (64-bit on both arm
> and arm64).
> 
> Signed-off-by: Zaid Al-Bassam <zalbassam at google.com>

Acked-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list