x86/cpu: Enable FSGSBASE on 64bit by default and add a chicken bit
authorAndy Lutomirski <luto@kernel.org>
Thu, 28 May 2020 20:13:58 +0000 (16:13 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Jun 2020 13:47:05 +0000 (15:47 +0200)
commitb745cfba44c152c34363eea9e052367b6b1d652b
tree3a05088df5cc44941b1d2a3ed664ebe785dec091
parentc82965f9e53005c1c62632c468968293262056cb
x86/cpu: Enable FSGSBASE on 64bit by default and add a chicken bit

Now that FSGSBASE is fully supported, remove unsafe_fsgsbase, enable
FSGSBASE by default, and add nofsgsbase to disable it.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Link: https://lkml.kernel.org/r/1557309753-24073-17-git-send-email-chang.seok.bae@intel.com
Link: https://lkml.kernel.org/r/20200528201402.1708239-13-sashal@kernel.org
Documentation/admin-guide/kernel-parameters.txt
arch/x86/kernel/cpu/common.c