Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1177b2d4 authored by Marc Zyngier's avatar Marc Zyngier Committed by David Brown
Browse files

arm64: Extract feature parsing code from cpu_errata.c



commit 359b706473b47da3c93bd99fd10d798fe411ab67 upstream.

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: default avatarAndre Przywara <andre.przywara@arm.com>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
[david: trivial merge fixups]
Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 6c5be4ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment