]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm64: Extract feature parsing code from cpu_errata.c
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Mar 2015 13:09:23 +0000 (13:09 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 30 Mar 2015 10:03:43 +0000 (11:03 +0100)
commit359b706473b47da3c93bd99fd10d798fe411ab67
tree2b0727207e192f5fe08b39bc55d6263a7a2cd01b
parentfef7f2b2010381c795ae43743ad31931cc58f5ad
arm64: Extract feature parsing code from cpu_errata.c

As we detect more architectural features at runtime, it makes
sense to reuse the existing framework whilst avoiding to call
a feature an erratum...

This patch extract the core capability parsing, moves it into
a new file (cpufeature.c), and let the CPU errata detection code
use it.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/Makefile
arch/arm64/kernel/cpu_errata.c
arch/arm64/kernel/cpufeature.c [new file with mode: 0644]
arch/arm64/kernel/cpuinfo.c