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

Commit 085ca087 authored by Andre Przywara's avatar Andre Przywara Committed by Sami Tolvanen
Browse files

BACKPORT: arm64: add cpu_capabilities bitmap



For taking note if at least one CPU in the system needs a bug
workaround or would benefit from a code optimization, we create a new
bitmap to hold (artificial) feature bits.
Since elf_hwcap is part of the userland ABI, we keep it alone and
introduce a new data structure for that (along with some accessors).

Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>

Bug: 31432001
Change-Id: Ic7c417e5913b63e50893729c8417aad0ed2bfa23
(cherry picked from commit 930da09f5e50dd22fb0a8600388da8677d62d671)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent c9c8070a
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