arm64: capabilities: Rework EL2 vector hardening entry
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 10 Apr 2018 10:36:43 +0000 (11:36 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 11 Apr 2018 17:49:30 +0000 (18:49 +0100)
commit8892b71885df7d6d7b0f491f9a8e2bb12fd4afdd
tree586ec90623998e7b755dbaed4fa139831a79628b
parent4bc352ffb39e4eec253e70f8c076f2f48a6c1926
arm64: capabilities: Rework EL2 vector hardening entry

Since 5e7951ce19ab ("arm64: capabilities: Clean up midr range helpers"),
capabilities must be represented with a single entry. If multiple
CPU types can use the same capability, then they need to be enumerated
in a list.

The EL2 hardening stuff (which affects both A57 and A72) managed to
escape the conversion in the above patch thanks to the 4.17 merge
window. Let's fix it now.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/cpu_errata.c