arm64: cpufeature: Factor out checking of AArch32 features
authorWill Deacon <will@kernel.org>
Tue, 21 Apr 2020 14:29:19 +0000 (15:29 +0100)
committerWill Deacon <will@kernel.org>
Tue, 28 Apr 2020 13:23:34 +0000 (14:23 +0100)
commit1efcfe79d97dff9d436748a13a329f64cda6e67e
treed72fdc516bf7fe3180e6ebd0f20f255a1a7eef1b
parent13dc4d836179444f0ca90188cfccd23f9cd9ff05
arm64: cpufeature: Factor out checking of AArch32 features

update_cpu_features() is pretty large, so split out the checking of the
AArch32 features into a separate function and call it after checking the
AArch64 features.

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-6-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/cpufeature.c