lkml.org 
[lkml]   [2021]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[GIT PULL] x86/sgx for v5.13
Hi Linus,

please pull the SGX pile of updates for v5.13.

Thx.

---

The following changes since commit 1e28eed17697bcf343c6743f0028cc3b5dd88bf0:

Linux 5.12-rc3 (2021-03-14 14:41:02 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_sgx_for_v5.13

for you to fetch changes up to 523caed9efbb049339706b124185c9358c1b6477:

x86/sgx: Mark sgx_vepc_vm_ops static (2021-04-12 19:48:32 +0200)

----------------------------------------------------------------
Add the guest side of SGX support in KVM guests. Work by Sean
Christopherson, Kai Huang and Jarkko Sakkinen. Along with the usual
fixes, cleanups and improvements.

----------------------------------------------------------------
Dave Hansen (1):
selftests/sgx: Improve error detection and messages

Ira Weiny (1):
x86/sgx: Remove unnecessary kmap() from sgx_ioc_enclave_init()

Jarkko Sakkinen (3):
x86/sgx: Replace section->init_laundry_list with sgx_dirty_page_list
x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()
x86/sgx: Do not update sgx_nr_free_pages in sgx_setup_epc_section()

Kai Huang (4):
x86/cpufeatures: Make SGX_LC feature bit depend on SGX bit
x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()
x86/sgx: Initialize virtual EPC driver even when SGX driver is disabled
x86/sgx: Add helper to update SGX_LEPUBKEYHASHn MSRs

Sean Christopherson (10):
x86/cpufeatures: Add SGX1 and SGX2 sub-features
x86/sgx: Add SGX_CHILD_PRESENT hardware error code
x86/sgx: Introduce virtual EPC for use by KVM guests
x86/cpu/intel: Allow SGX virtualization without Launch Control support
x86/sgx: Expose SGX architectural definitions to the kernel
x86/sgx: Move ENCLS leaf definitions to sgx.h
x86/sgx: Add SGX2 ENCLS leaf definitions (EAUG, EMODPR and EMODT)
x86/sgx: Add encls_faulted() helper
x86/sgx: Add helpers to expose ECREATE and EINIT to KVM
x86/sgx: Move provisioning device creation out of SGX driver

Tianjia Zhang (1):
selftests/sgx: Use getauxval() to simplify test code

Wei Yongjun (1):
x86/sgx: Mark sgx_vepc_vm_ops static

Documentation/x86/sgx.rst | 41 +++
MAINTAINERS | 1 +
arch/x86/Kconfig | 1 +
arch/x86/include/asm/cpufeatures.h | 2 +
.../{kernel/cpu/sgx/arch.h => include/asm/sgx.h} | 50 ++-
arch/x86/kernel/cpu/cpuid-deps.c | 3 +
arch/x86/kernel/cpu/feat_ctl.c | 71 ++--
arch/x86/kernel/cpu/scattered.c | 2 +
arch/x86/kernel/cpu/sgx/Makefile | 1 +
arch/x86/kernel/cpu/sgx/driver.c | 17 -
arch/x86/kernel/cpu/sgx/encl.c | 33 +-
arch/x86/kernel/cpu/sgx/encl.h | 1 +
arch/x86/kernel/cpu/sgx/encls.h | 30 +-
arch/x86/kernel/cpu/sgx/ioctl.c | 43 +--
arch/x86/kernel/cpu/sgx/main.c | 264 ++++++++++-----
arch/x86/kernel/cpu/sgx/sgx.h | 40 ++-
arch/x86/kernel/cpu/sgx/virt.c | 376 +++++++++++++++++++++
arch/x86/kvm/Kconfig | 12 +
tools/testing/selftests/sgx/defines.h | 2 +-
tools/testing/selftests/sgx/load.c | 69 +++-
tools/testing/selftests/sgx/main.c | 26 +-
21 files changed, 861 insertions(+), 224 deletions(-)
rename arch/x86/{kernel/cpu/sgx/arch.h => include/asm/sgx.h} (89%)
create mode 100644 arch/x86/kernel/cpu/sgx/virt.c

--
Regards/Gruss,
Boris.

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

\
 
 \ /
  Last update: 2021-04-26 12:33    [W:0.045 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site