arm64: Provide a command line to disable spectre_v2 mitigation
authorJeremy Linton <jeremy.linton@arm.com>
Mon, 15 Apr 2019 21:21:20 +0000 (16:21 -0500)
committerWill Deacon <will.deacon@arm.com>
Fri, 26 Apr 2019 15:26:42 +0000 (16:26 +0100)
commite5ce5e7267ddcbe13ab9ead2542524e1b7993e5a
tree67994973a829ee4f85f584c4052fa0870e4f10b1
parentcbafee55b5a0ec47baac622bce6b4d19afe45576
arm64: Provide a command line to disable spectre_v2 mitigation

There are various reasons, such as benchmarking, to disable spectrev2
mitigation on a machine. Provide a command-line option to do so.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@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>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/kernel/cpu_errata.c