Re: [PATCH] Use 'imply' with SEV Kconfig CRYPTO dependencies
From: Borislav Petkov
Date: Tue Jun 19 2018 - 17:45:14 EST
On Tue, Jun 19, 2018 at 11:32:56PM +0200, Borislav Petkov wrote:
> config CRYPTO_DEV_SP_PSP
> bool "Platform Security Processor (PSP) device"
> default y
> depends on CRYPTO_DEV_CCP_DD && X86_64
>
> so CRYPTO_DEV_SP_PSP already depends on CRYPTO_DEV_CCP_DD!
>
> So why should KVM_AMD_SEV depend on CRYPTO_DEV_CCP_DD too?!? Do you
> catch my drift?
And then in addition to that, KVM_AMD_SEV needs to "synchronize"
selection states so that KVM_AMD *and* CRYPTO_DEV_SP_PSP both have the
same setting - either =m or =y - so that the build works.
I can't think of a proper way to fix that right now, though, need to
sleep on it.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--