projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
939e464
)
kselftest/arm64: Add FEAT_RPRFM to the hwcap test
author
Mark Brown
<broonie@kernel.org>
Mon, 17 Oct 2022 15:25:18 +0000
(16:25 +0100)
committer
Will Deacon
<will@kernel.org>
Wed, 9 Nov 2022 17:54:53 +0000
(17:54 +0000)
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>
tools/testing/selftests/arm64/abi/hwcap.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/arm64/abi/hwcap.c
b/tools/testing/selftests/arm64/abi/hwcap.c
index c7a6b327a7d0951eccb5bd00477aa849770abfb5..30f87dfd634e2f710cc1f6cc8aa8534f779f0501 100644
(file)
--- a/
tools/testing/selftests/arm64/abi/hwcap.c
+++ b/
tools/testing/selftests/arm64/abi/hwcap.c
@@
-138,6
+138,12
@@
static const struct hwcap_data {
.cpuinfo = "rng",
.sigill_fn = rng_sigill,
},
+ {
+ .name = "RPRFM",
+ .at_hwcap = AT_HWCAP2,
+ .hwcap_bit = HWCAP2_RPRFM,
+ .cpuinfo = "rprfm",
+ },
{
.name = "SME",
.at_hwcap = AT_HWCAP2,