arm64: cpufeature: Spell out register fields for ID_ISAR4 and ID_PFR1
authorWill Deacon <will@kernel.org>
Tue, 21 Apr 2020 14:29:16 +0000 (15:29 +0100)
committerWill Deacon <will@kernel.org>
Tue, 28 Apr 2020 13:23:18 +0000 (14:23 +0100)
commit0113340e6e83f8710b216f72b826499fc0151c29
tree3d957d6ec526e9bc848f7328a4cd0e7bca8de125
parent9d3f888135505dda7d5539a5756440d298f08173
arm64: cpufeature: Spell out register fields for ID_ISAR4 and ID_PFR1

In preparation for runtime updates to the strictness of some AArch32
features, spell out the register fields for ID_ISAR4 and ID_PFR1 to make
things clearer to read. Note that this isn't functionally necessary, as
the feature arrays themselves are not modified dynamically and remain
'const'.

Tested-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20200421142922.18950-3-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/cpufeature.c