diff options
author | Andre Przywara <andre.przywara@arm.com> | 2014-11-14 16:54:09 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-11-25 14:46:37 +0100 |
commit | e116a375423393cdb94714e90a96857005d58428 (patch) | |
tree | 50279ff49416483b46dfcb5f38f490d8b10af26a /drivers/gpio/gpio-tz1090-pdc.c | |
parent | arm64: add alternative runtime patching (diff) | |
download | linux-e116a375423393cdb94714e90a96857005d58428.tar.xz linux-e116a375423393cdb94714e90a96857005d58428.zip |
arm64: detect silicon revisions and set cap bits accordingly
After each CPU has been started, we iterate through a list of
CPU features or bugs to detect CPUs which need (or could benefit
from) kernel code patches.
For each feature/bug there is a function which checks if that
particular CPU is affected. We will later provide some more generic
functions for common things like testing for certain MIDR ranges.
We do this for every CPU to cover big.LITTLE systems properly as
well.
If a certain feature/bug has been detected, the capability bit will
be set, so that later the call to apply_alternatives() will trigger
the actual code patching.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/gpio/gpio-tz1090-pdc.c')
0 files changed, 0 insertions, 0 deletions