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

Commit 4b4fb2d2 authored by Marc Zyngier's avatar Marc Zyngier Committed by Sami Tolvanen
Browse files

BACKPORT: 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: 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>

Bug: 31432001
Change-Id: I0cee571bf93b5728b5f111ddb1cfe0ebdc3402be
(cherry picked from commit 359b706473b47da3c93bd99fd10d798fe411ab67)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 28e79c61
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