Re: [PATCH v8 1/5] x86/tdx: Add TDX Guest attestation interface driver

Kai Huang
2022-07-05T22:31:44Z

On Tue, 2022-07-05 at 14:21 -0700, Sathyanarayanan Kuppuswamy wrote:
> SGX is a related feature. It also uses IOCTL approach for enclave provisioning.
>
> arch/x86/kernel/cpu/sgx/ioctl.c

SGX isn't a good example here. The IOCTLs are used to create enclaves, but not
for attestation. SGX attestation relies on enclave itself to get/verify the
report, etc, so has no interaction with the kernel.