]> git.baikalelectronics.ru Git - kernel.git/commit
x86/cpu: Add 'unsafe_fsgsbase' to enable CR4.FSGSBASE
authorAndy Lutomirski <luto@kernel.org>
Thu, 28 May 2020 20:13:48 +0000 (16:13 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Jun 2020 13:46:59 +0000 (15:46 +0200)
commit11ba03ac20b8b3c6e704f23c9c17204bab7f4032
treebddc137e3a777e774c64cedbd10ef85e2f8c1504
parentc8466ea14c863d9df3efedc6bcfe35e894cecb2a
x86/cpu: Add 'unsafe_fsgsbase' to enable CR4.FSGSBASE

This is temporary.  It will allow the next few patches to be tested
incrementally.

Setting unsafe_fsgsbase is a root hole.  Don't do 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>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/1557309753-24073-4-git-send-email-chang.seok.bae@intel.com
Link: https://lkml.kernel.org/r/20200528201402.1708239-3-sashal@kernel.org
Documentation/admin-guide/kernel-parameters.txt
arch/x86/kernel/cpu/common.c