]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d5712b4cfcf7b9f061dbb17da7af9875ddc542d
tree586ec90623998e7b755dbaed4fa139831a79628b
parentfecb48068d29f3ee75e5bd86f7288c1b360c571e
arm64: capabilities: Rework EL2 vector hardening entry

Since 3e9574eb541a ("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