]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: Add 'ssbd' command-line option
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 29 May 2018 12:11:09 +0000 (13:11 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 31 May 2018 16:34:49 +0000 (17:34 +0100)
commita43ae4dfe56a01f5b98ba0cb2f784b6a43bafcc6
tree558aed9db1b8864954a137308ea67ce398f3d5c6
parenta725e3dda1813ed306734823ac4c65ca04e38500
arm64: Add 'ssbd' command-line option

On a system where the firmware implements ARCH_WORKAROUND_2,
it may be useful to either permanently enable or disable the
workaround for cases where the user decides that they'd rather
not get a trap overhead, and keep the mitigation permanently
on or off instead of switching it on exception entry/exit.

In any case, default to the mitigation being enabled.

Reviewed-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpu_errata.c