]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm64: Provide a command line to disable spectre_v2 mitigation
authorJeremy Linton <jeremy.linton@arm.com>
Thu, 24 Oct 2019 12:48:25 +0000 (14:48 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 18:04:50 +0000 (19:04 +0100)
commit0dcc8653daefb71f9d6b10da76da3af00bfe7095
tree4dde64ccc3ec879b4278826d39a330a3a67660d8
parent3da8980b1de43be99b8596ebcc2da5786e3ed969
arm64: Provide a command line to disable spectre_v2 mitigation

BugLink: https://bugs.launchpad.net/bugs/1851876
[ Upstream commit e5ce5e7267ddcbe13ab9ead2542524e1b7993e5a ]

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>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/kernel/cpu_errata.c