diff options
| author | Jacky Li <[email protected]> | 2022-08-16 19:32:09 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2022-08-26 18:50:07 +0800 |
| commit | efb4b01c1c993d245e6608076684ff2162cf9dc6 (patch) | |
| tree | 38be91d35b403f1421c6db06fb5d4589a89f6302 /tools/perf/scripts/python | |
| parent | d8da2da21fdb1f5964c11c00f0cc84fb0edf31d0 (diff) | |
crypto: ccp - Fail the PSP initialization when writing psp data file failed
Currently the OS continues the PSP initialization when there is a write
failure to the init_ex_file. Therefore, the userspace would be told that
SEV is properly INIT'd even though the psp data file is not updated.
This is problematic because later when asked for the SEV data, the OS
won't be able to provide it.
Fixes: 3d725965f836 ("crypto: ccp - Add SEV_INIT_EX support")
Reported-by: Peter Gonda <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Jacky Li <[email protected]>
Acked-by: David Rientjes <[email protected]>
Acked-by: Tom Lendacky <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions