Re: [GIT PULL] x86/sgx for v5.13

From: Sean Christopherson
Date: Mon Apr 26 2021 - 12:22:24 EST


On Mon, Apr 26, 2021, Borislav Petkov wrote:
> 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

This is all host side code, there are no guest specific changes required. Maybe
"Add the non-KVM kernel bits for SGX support in KVM guests."

Thanks!

> 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