commit 82c0c7d24c1a034d94af4595dbd3910d7336a6dc upstream.
Backport summary: for 5.4 kernel fsgsbase support.
Explain how the GS/FS based addressing can be utilized in user space
applications along with the differences between the generic prctl() based
GS/FS base control and the FSGSBASE version available on newer CPUs.
Originally-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20200528201402.1708239-15-sashal@kernel.org
(cherry picked from commit 82c0c7d24c1a034d94af4595dbd3910d7336a6dc)
Signed-off-by: Ethan Zhao <Haifeng.Zhao@intel.com>