arm64: cpufeature: Fix pointer auth hwcaps
authorKristina Martsenko <kristina.martsenko@arm.com>
Fri, 28 Apr 2023 13:25:46 +0000 (14:25 +0100)
committerWill Deacon <will@kernel.org>
Tue, 2 May 2023 11:41:45 +0000 (12:41 +0100)
commiteda081d2efac50c9b314df7fb340a62306a7b07a
treef44c425848f0507b24788f903696711dd8cbb84d
parent4e8f6e44bce8da3b0e2df37b12839f4bc9c9cabe
arm64: cpufeature: Fix pointer auth hwcaps

The pointer auth hwcaps are not getting reported to userspace, as they
are missing the .matches field. Add the field back.

Fixes: 876e3c8efe79 ("arm64/cpufeature: Pull out helper for CPUID register definitions")
Signed-off-by: Kristina Martsenko <kristina.martsenko@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230428132546.2513834-1-kristina.martsenko@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpufeature.c