aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorNikunj A Dadhania <[email protected]>2024-10-09 14:58:33 +0530
committerBorislav Petkov (AMD) <[email protected]>2024-10-16 18:17:36 +0200
commitf75ff17fb48b1991d7a2822de5acc12bba240dc1 (patch)
tree8958f7ed714b304c8ce26bee0d698e8167ae8481 /drivers/fpga/fpga-mgr.c
parentf3476bc77057db0adf90c0a141a3599dd11c56a0 (diff)
x86/sev: Handle failures from snp_init()
Address the ignored failures from snp_init() in sme_enable(). Add error handling for scenarios where snp_init() fails to retrieve the SEV-SNP CC blob or encounters issues while parsing the CC blob. Ensure that SNP guests will error out early, preventing delayed error reporting or undefined behavior. Signed-off-by: Nikunj A Dadhania <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Tom Lendacky <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions