arm64: Always enable spectre-v2 vulnerability detection
authorJeremy Linton <jeremy.linton@arm.com>
Mon, 15 Apr 2019 21:21:25 +0000 (16:21 -0500)
committerWill Deacon <will.deacon@arm.com>
Fri, 26 Apr 2019 15:30:18 +0000 (16:30 +0100)
commit8c1e3d2bb44cbb998cb28ff9a18f105fee7f1eb3
treea2e3e1fb0e924b7f3a89ba5da615181990ed4711
parent517953c2c47f9c00a002f588ac856a5bc70cede3
arm64: Always enable spectre-v2 vulnerability detection

Ensure we are always able to detect whether or not the CPU is affected
by Spectre-v2, so that we can later advertise this to userspace.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/cpu_errata.c