[GIT PULL] x86/fsgsbase updates for v5.10

From: Borislav Petkov
Date: Mon Oct 12 2020 - 06:43:43 EST


Hi Linus,

please pull some small x86/fsgsbase updates.

Thx.

---
The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd:

Linux 5.9-rc2 (2020-08-23 14:08:43 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_fsgsbase_for_v5.10

for you to fetch changes up to 1b9abd1755ad947d7c9913e92e7837b533124c90:

selftests/x86/fsgsbase: Test PTRACE_PEEKUSER for GSBASE with invalid LDT GS (2020-08-26 20:54:18 +0200)

----------------------------------------------------------------
* Misc minor cleanups and corrections to the fsgsbase code and
respective selftests.

----------------------------------------------------------------
Andy Lutomirski (2):
selftests/x86/fsgsbase: Reap a forgotten child
selftests/x86/fsgsbase: Test PTRACE_PEEKUSER for GSBASE with invalid LDT GS

Borislav Petkov (2):
x86/entry/64: Correct the comment over SAVE_AND_SET_GSBASE
x86/fsgsbase: Replace static_cpu_has() with boot_cpu_has()

arch/x86/entry/entry_64.S | 5 ++-
arch/x86/include/asm/fsgsbase.h | 4 +-
arch/x86/kernel/process_64.c | 8 ++--
tools/testing/selftests/x86/fsgsbase.c | 68 ++++++++++++++++++++++++++++++++++
4 files changed, 77 insertions(+), 8 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg