[PATCH] arm64: cpufeature: remove duplicate ID_AA64ISAR2_EL1 entry

Will Deacon will at kernel.org
Thu May 12 06:05:05 PDT 2022


On Wed, 11 May 2022 17:20:30 +0100, Kristina Martsenko wrote:
> 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.
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: cpufeature: remove duplicate ID_AA64ISAR2_EL1 entry
      https://git.kernel.org/arm64/c/2de7689c7caa

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list