[eoan:linux-azure][PULL REQUEST] LP#1877425 - linux-azure: Enable FSGSBASE instructions to support SGX
Marcelo Henrique Cerri
marcelo.cerri at canonical.com
Fri May 15 19:12:49 UTC 2020
BugLink: http://bugs.launchpad.net/bugs/1877425
The following changes since commit 3dd1950d58c5be9d4bd210c45b25f046b7f0add5:
UBUNTU: Ubuntu-azure-5.3.0-1020.21 (2020-04-08 16:31:44 +0800)
are available in the Git repository at:
git://git.launchpad.net/~mhcerri/ubuntu/+source/linux/+git/azure azure-5.3-fsgsbase
for you to fetch changes up to f9320c39717ac036d4a011d9fd56340a4705db5a:
UBUNTU: SAUCE: Documentation/x86/64: Add documentation for GS/FS addressing mode (2020-05-07 15:29:05 -0300)
----------------------------------------------------------------
Andi Kleen (2):
UBUNTU: SAUCE: x86/fsgsbase/64: Add intrinsics for FSGSBASE instructions
UBUNTU: SAUCE: x86/elf: Enumerate kernel FSGSBASE capability in AT_HWCAP2
Andy Lutomirski (4):
UBUNTU: SAUCE: x86/cpu: Add 'unsafe_fsgsbase' to enable CR4.FSGSBASE
UBUNTU: SAUCE: x86/entry/64: Clean up paranoid exit
UBUNTU: SAUCE: x86/fsgsbase/64: Use FSGSBASE in switch_to() if available
UBUNTU: SAUCE: x86/fsgsbase/64: Enable FSGSBASE on 64bit by default and add a chicken bit
Chang S. Bae (9):
UBUNTU: SAUCE: x86/ptrace: Prevent ptrace from clearing the FS/GS selector
UBUNTU: SAUCE: selftests/x86/fsgsbase: Test GS selector on ptracer-induced GS base write
UBUNTU: SAUCE: x86/entry/64: Switch CR3 before SWAPGS in paranoid entry
UBUNTU: SAUCE: x86/entry/64: Introduce the FIND_PERCPU_BASE macro
UBUNTU: SAUCE: x86/entry/64: Handle FSGSBASE enabled paranoid entry/exit
UBUNTU: SAUCE: x86/entry/64: Document GSBASE handling in the paranoid path
UBUNTU: SAUCE: x86/fsgsbase/64: Enable FSGSBASE instructions in helper functions
UBUNTU: SAUCE: x86/fsgsbase/64: Use FSGSBASE instructions on thread copy and ptrace
UBUNTU: SAUCE: selftests/x86/fsgsbase: Test ptracer-induced GS base write with FSGSBASE
Thomas Gleixner (1):
UBUNTU: SAUCE: Documentation/x86/64: Add documentation for GS/FS addressing mode
Tony Luck (1):
UBUNTU: SAUCE: x86/speculation/swapgs: Check FSGSBASE in enabling SWAPGS mitigation
Documentation/admin-guide/kernel-parameters.txt | 2 +
Documentation/x86/entry_64.rst | 9 ++
Documentation/x86/x86_64/fsgs.rst | 199 ++++++++++++++++++++++++
Documentation/x86/x86_64/index.rst | 1 +
arch/x86/entry/calling.h | 40 +++++
arch/x86/entry/entry_64.S | 134 ++++++++++++----
arch/x86/include/asm/fsgsbase.h | 45 ++++--
arch/x86/include/asm/inst.h | 15 ++
arch/x86/include/uapi/asm/hwcap2.h | 3 +
arch/x86/kernel/cpu/bugs.c | 6 +-
arch/x86/kernel/cpu/common.c | 22 +++
arch/x86/kernel/process_64.c | 107 +++++++++++--
arch/x86/kernel/ptrace.c | 14 +-
tools/testing/selftests/x86/fsgsbase.c | 24 ++-
14 files changed, 549 insertions(+), 72 deletions(-)
create mode 100644 Documentation/x86/x86_64/fsgs.rst
--
Regards,
Marcelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20200515/4cb09c15/attachment.sig>
More information about the kernel-team
mailing list