mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
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>
This commit is contained in:
parent
939e4649d4
commit
989d37fc3d
1 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue