diff options
author | Dirk Mueller <dmueller@suse.com> | 2018-07-25 14:10:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-17 21:45:46 +0300 |
commit | 87973b285545c45b2780f59ce4efda145b024d9b (patch) | |
tree | 1858d8764a87d4f5fb690575402a710cb2a278c1 /net/sctp/socket.c | |
parent | a97fdbf0f25c17b3c296dce6c1f2731cbdb39e7c (diff) | |
download | linux-87973b285545c45b2780f59ce4efda145b024d9b.tar.xz |
arm64: Check for errata before evaluating cpu features
commit dc0e36581eb2da1aa3c63ceeff0f10ef1e899b2a upstream.
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>
Signed-off-by: Juerg Haefliger <juergh@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sctp/socket.c')
0 files changed, 0 insertions, 0 deletions