Re: [PATCH] crypto: ccp - fix the SEV probe in kexec boot path

2019-02-07 Thread Herbert Xu
On Wed, Jan 30, 2019 at 08:57:52PM +, Singh, Brijesh wrote: > 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.

Re: [PATCH] crypto: ccp: fix the SEV probe in kexec boot path

2019-01-31 Thread Lendacky, Thomas
On 1/30/19 2:57 PM, Singh, Brijesh wrote: > 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

[PATCH] crypto: ccp: fix the SEV probe in kexec boot path

2019-01-30 Thread Singh, Brijesh
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