crypto: ccp: Annotate SEV Firmware file names
Subsystems (4)
PATCH 1/1 crypto: ccp: Annotate SEV Firmware file names
From: Joerg Roedel <[email protected]>
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.
Signed-off-by Joerg Roedel <[email protected]>
--- drivers/crypto/ccp/sev-dev.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/crypto/ccp/sev-dev.c +3 -0
@@ -42,6 +42,9 @@ static int psp_probe_timeout = 5;module_param (psp_probe_timeout, int,0644 );MODULE_PARM_DESC (psp_probe_timeout," default timeout value, in seconds, during PSP device probe" ); +MODULE_FIRMWARE ("amd/amd_sev_fam17h_model0xh.sbin" ); +MODULE_FIRMWARE ("amd/amd_sev_fam17h_model3xh.sbin" ); +static bool psp_dead;static int psp_timeout;
Signature · 1 line
2.31.1