On Mon, Apr 26, 2021 at 10:17:48AM +0200, Joerg Roedel wrote:
From: Joerg Roedel jroedel@suse.de
Annotate the firmware files CCP might need using MODULE_FIRMWARE(). This will get them included into an initrd when CCP is also included there. Otherwise the CCP module will not find its firmware when loaded before the root-fs is mounted. This can cause problems when the pre-loaded SEV firmware is too old to support current SEV and SEV-ES virtualization features.
Fixes: e93720606efd ("crypto: ccp - Allow SEV firmware to be chosen based on Family and Model") Cc: stable@vger.kernel.org # v4.20+ Acked-by: Tom Lendacky thomas.lendacky@amd.com Signed-off-by: Joerg Roedel jroedel@suse.de
drivers/crypto/ccp/sev-dev.c | 4 ++++ 1 file changed, 4 insertions(+)
Patch applied. Thanks.