summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto
diff options
context:
space:
mode:
authorSingh, Brijesh <brijesh.singh@amd.com>2019-01-30 20:57:52 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2019-02-08 15:29:48 +0800
commitf8903b3ead5191d450f21c7388ddc245f76cec0f (patch)
treeebb558ad9faf526d90356641fbd5a80931632e05 /arch/x86/crypto
parente3d90e52ea5fe58d39297df1c825db6e131fb04f (diff)
downloadlinux-0-day-f8903b3ead5191d450f21c7388ddc245f76cec0f.tar.gz
linux-0-day-f8903b3ead5191d450f21c7388ddc245f76cec0f.tar.xz
crypto: ccp - fix the SEV probe in kexec boot path
A kexec reboot may leave the firmware in INIT or WORKING state. Currently, we issue PLATFORM_INIT command during the probe without checking the current state. The PLATFORM_INIT command fails if the FW is already in INIT state. Lets check the current state, if FW is not in UNINIT state then transition it to UNINIT before initializing or upgrading the FW. Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Gary Hook <gary.hook@amd.com> Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto')
0 files changed, 0 insertions, 0 deletions