diff options
author | Kristina Martsenko <[email protected]> | 2022-05-11 17:20:30 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-05-12 11:21:29 +0100 |
commit | 2de7689c7caa55949da5a56be02ec41a86ac1725 (patch) | |
tree | fbbf212821f0ff491a2effc224759d8d74b74b25 /lib/mpi/mpi-sub-ui.c | |
parent | 205f3991a273cac6008ef4db3d1c0dc54d14fb56 (diff) |
arm64: cpufeature: remove duplicate ID_AA64ISAR2_EL1 entry
The ID register table should have one entry per ID register but
currently has two entries for ID_AA64ISAR2_EL1. Only one entry has an
override, and get_arm64_ftr_reg() can end up choosing the other, causing
the override to be ignored. Fix this by removing the duplicate entry.
While here, also make the check in sort_ftr_regs() more strict so that
duplicate entries can't be added in the future.
Fixes: def8c222f054 ("arm64: Add support of PAuth QARMA3 architected algorithm")
Signed-off-by: Kristina Martsenko <[email protected]>
Reviewed-by: Vladimir Murzin <[email protected]>
Reviewed-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions