Re: [PATCH v3 4/4] platform/x86: intel_tdx_attest: Add TDX Guest attestation interface driver

Sathyanarayanan Kuppuswamy
2022-04-19T14:20:33Z

On 4/19/22 7:13 AM, Dave Hansen wrote:
>> >From this perspective, I am not sure what's the value of having a dedicated
>> INTEL_TDX_ATTESTATION Kconfig. The attestation support code should be turned on
>> unconditionally when CONFIG_INTEL_TDX_GUEST is on. The code can also be just
>> under arch/x86/coco/tdx/ I guess?
> How much code are we talking about? What's the difference in the size
> of the binaries with this compiled in?

Current driver size is ~300 lines. It adds ~500 bytes to the kernel
binary if it is built-in.

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer