Re: [RFC 01/14] x86/apic: Add new driver for Secure AVIC

From: Kirill A. Shutemov
Date: Wed Oct 09 2024 - 07:04:09 EST


On Wed, Oct 09, 2024 at 12:42:34PM +0200, Borislav Petkov wrote:
> Do you have a better idea which is cleaner than what we do now?

I would rather convert these three attributes to synthetic X86_FEATUREs
next to X86_FEATURE_TDX_GUEST. I suggested it once.

> Yes yes, cc_platform reports aspects of the coco platform to generic code but
> nothing stops the x86 code from calling those interfaces too, for simplicity
> reasons.

I don't see why it is any simpler than having a synthetic X86_FEATURE.

--
Kiryl Shutsemau / Kirill A. Shutemov