[GIT PULL] x86/sgx for v5.16

From: Borislav Petkov
Date: Mon Nov 01 2021 - 06:57:43 EST


Hi Linus,

please pull x86/sgx updates for v5.16.

Thx.

---

The following changes since commit 519d81956ee277b4419c723adfb154603c2565ba:

Linux 5.15-rc6 (2021-10-17 20:00:13 -1000)

are available in the Git repository at:

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

for you to fetch changes up to ae095b16fc652f459e6c16a256834985c85ecc4d:

x86/sgx/virt: implement SGX_IOC_VEPC_REMOVE ioctl (2021-10-22 08:32:12 -0700)

----------------------------------------------------------------
Add a SGX_IOC_VEPC_REMOVE ioctl to the /dev/sgx_vepc virt interface with
which EPC pages can be put back into their uninitialized state without
having to reopen /dev/sgx_vepc, which could not be possible anymore
after startup due to security policies.

----------------------------------------------------------------
Paolo Bonzini (2):
x86/sgx/virt: extract sgx_vepc_remove_page
x86/sgx/virt: implement SGX_IOC_VEPC_REMOVE ioctl

Documentation/x86/sgx.rst | 35 ++++++++++++++++++++++
arch/x86/include/uapi/asm/sgx.h | 2 ++
arch/x86/kernel/cpu/sgx/virt.c | 65 +++++++++++++++++++++++++++++++++++++----
3 files changed, 97 insertions(+), 5 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Ivo Totev, HRB 36809, AG Nürnberg