perf: pmuv3: Change GENMASK to GENMASK_ULL
authorZaid Al-Bassam <zalbassam@google.com>
Fri, 17 Mar 2023 19:50:24 +0000 (15:50 -0400)
committerWill Deacon <will@kernel.org>
Mon, 27 Mar 2023 13:01:18 +0000 (14:01 +0100)
commitb3a070869f39be4fad9ea4d99f2c8fab1fb7eead
tree9a6dbf1d3b5caf4f1c2ff9f77311ec9e6c0bbe3c
parent11fba29a8a1f2fca08f301426b15c62d8a0b8040
perf: pmuv3: Change GENMASK to GENMASK_ULL

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@google.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20230317195027.3746949-6-zalbassam@google.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_pmuv3.c