]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: add cpu_capabilities bitmap
authorAndre Przywara <andre.przywara@arm.com>
Fri, 14 Nov 2014 15:54:07 +0000 (15:54 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 25 Nov 2014 13:22:37 +0000 (13:22 +0000)
commit769e264712b7a38095f50b090137523d4c336651
treec2cfac924f9513700dad6bffdda1b8838b73b145
parent54a1a14d4e757a6dd30dad621b9408e3fa43da93
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: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/setup.c