Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kselftest/arm64: Add FEAT_RPRFM to the hwcap test

Since the newly added instruction is in the HINT space we can't reasonably
test for it actually being present.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20221017152520.1039165-5-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Mark Brown and committed by
Will Deacon
989d37fc 939e4649

+6
+6
tools/testing/selftests/arm64/abi/hwcap.c
··· 139 139 .sigill_fn = rng_sigill, 140 140 }, 141 141 { 142 + .name = "RPRFM", 143 + .at_hwcap = AT_HWCAP2, 144 + .hwcap_bit = HWCAP2_RPRFM, 145 + .cpuinfo = "rprfm", 146 + }, 147 + { 142 148 .name = "SME", 143 149 .at_hwcap = AT_HWCAP2, 144 150 .hwcap_bit = HWCAP2_SME,