]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
arm64: Always enable ssb vulnerability detection
authorJeremy Linton <jeremy.linton@arm.com>
Mon, 15 Apr 2019 21:21:27 +0000 (16:21 -0500)
committerWill Deacon <will.deacon@arm.com>
Fri, 26 Apr 2019 15:32:45 +0000 (16:32 +0100)
commitd42281b6e49510f078ace15a8ea10f71e6262581
tree232ae720c361bc84f51245f188a3fb4a90389bc3
parentd2532e27b5638bb2e2dd52b80b7ea2ec65135377
arm64: Always enable ssb vulnerability detection

Ensure we are always able to detect whether or not the CPU is affected
by SSB, 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>
[will: Use IS_ENABLED instead of #ifdef]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpu_errata.c