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

From: Borislav Petkov
Date: Fri Mar 21 2025 - 09:57:25 EST


On Fri, Mar 21, 2025 at 09:14:15AM +0530, Neeraj Upadhyay wrote:
> Do you think we should handle this case differently and not force select
> AMD_SECURE_AVIC config when AMD_MEM_ENCRYPT config is enabled?

Yeah, you'd have to do some simple CONFIG_AMD_SECURE_AVIC ifdeffery and add
(or not) the flag to SNP_FEATURES_PRESENT, depending...

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette