On Wed, Jan 30, 2019 at 08:57:52PM +0000, 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 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 <[email protected]> > Cc: Tom Lendacky <[email protected]> > Cc: Gary Hook <[email protected]> > Reviewed-by: Tom Lendacky <[email protected]> > --- > drivers/crypto/ccp/psp-dev.c | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+)
Patch applied. Thanks. -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

