x86/cpu: Enable FSGSBASE on 64bit by default and add a chicken bit
authorAndy Lutomirski <luto@kernel.org>
Wed, 8 May 2019 10:02:31 +0000 (03:02 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 22 Jun 2019 09:38:56 +0000 (11:38 +0200)
commit2032f1f96ee0da600633c6c627b9c0a2e0f8b8a6
tree7f52b8bf09a8120dac9635197be096a93eed110c
parenta87730cc3acc475eff12ddde3f7d5687371b5c76
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>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Ravi Shankar <ravi.v.shankar@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Link: https://lkml.kernel.org/r/1557309753-24073-17-git-send-email-chang.seok.bae@intel.com
Documentation/admin-guide/kernel-parameters.txt
arch/x86/kernel/cpu/common.c