Dirk Mueller dc0e36581e arm64: Check for errata before evaluating cpu features
Since commit d3aec8a28be3b8 ("arm64: capabilities: Restrict KPTI
detection to boot-time CPUs") we rely on errata flags being already
populated during feature enumeration. The order of errata and
features was flipped as part of commit ed478b3f9e4a ("arm64:
capabilities: Group handling of features and errata workarounds").

Return to the orginal order of errata and feature evaluation to
ensure errata flags are present during feature evaluation.

Fixes: ed478b3f9e4a ("arm64: capabilities: Group handling of
    features and errata workarounds")
CC: Suzuki K Poulose <suzuki.poulose@arm.com>
CC: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Dirk Mueller <dmueller@suse.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2018-07-25 13:30:04 +01:00
..
2017-11-15 10:56:56 -08:00
2012-09-17 13:42:21 +01:00
2018-02-09 09:44:25 -08:00
2018-06-08 11:10:58 -07:00
2018-03-19 18:14:27 +00:00
2018-06-12 11:34:04 -07:00
2018-02-26 10:48:01 +01:00
2018-01-13 10:45:03 +00:00
2018-06-12 11:34:04 -07:00
2017-08-09 12:16:28 +01:00