diff options
| author | Singh, Brijesh <[email protected]> | 2019-04-08 20:42:55 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-04-18 22:14:58 +0800 |
| commit | f5a2aeb8b254c764772729a6e48d4e0c914bb56a (patch) | |
| tree | 42d7156937e4aa6463c0458f3f4dee753e14aac2 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | a88be9a7558ae51c3c0782bd5ab4340bb3822105 (diff) | |
crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
Currently, we free the psp_master if the PLATFORM_INIT fails during the
SEV FW probe. If psp_master is freed then driver does not invoke the PSP
FW. As per SEV FW spec, there are several commands (PLATFORM_RESET,
PLATFORM_STATUS, GET_ID etc) which can be executed in the UNINIT state
We should not free the psp_master when PLATFORM_INIT fails.
Fixes: 200664d5237f ("crypto: ccp: Add SEV support")
Cc: Tom Lendacky <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Gary Hook <[email protected]>
Cc: [email protected] # 4.19.y
Signed-off-by: Brijesh Singh <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions