diff options
author | Mark Brown <broonie@kernel.org> | 2022-10-17 18:25:18 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-09 20:54:53 +0300 |
commit | 989d37fc3d976f6bfa3f1da484f8f22c57c21c0c (patch) | |
tree | 237ddd80d52b9c4e8c3bfd8d56eb4335f6ad547c /tools/testing/selftests/arm64/abi/hwcap.c | |
parent | 939e4649d4fd54b622d08cd57100828df7a82074 (diff) | |
download | linux-989d37fc3d976f6bfa3f1da484f8f22c57c21c0c.tar.xz |
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>
Diffstat (limited to 'tools/testing/selftests/arm64/abi/hwcap.c')
-rw-r--r-- | tools/testing/selftests/arm64/abi/hwcap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/arm64/abi/hwcap.c b/tools/testing/selftests/arm64/abi/hwcap.c index c7a6b327a7d0..30f87dfd634e 100644 --- a/tools/testing/selftests/arm64/abi/hwcap.c +++ b/tools/testing/selftests/arm64/abi/hwcap.c @@ -139,6 +139,12 @@ static const struct hwcap_data { .sigill_fn = rng_sigill, }, { + .name = "RPRFM", + .at_hwcap = AT_HWCAP2, + .hwcap_bit = HWCAP2_RPRFM, + .cpuinfo = "rprfm", + }, + { .name = "SME", .at_hwcap = AT_HWCAP2, .hwcap_bit = HWCAP2_SME, |