diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2018-07-03 12:11:42 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-07-13 18:26:48 +0800 |
commit | 015c8c85b721e93bcd6a3f4b5be63112ecb331c4 (patch) | |
tree | daf08a01da1f9c0397404f85654b48074b1f7342 | |
parent | f426d2b20f1cd63818873593031593e15c3db20b (diff) | |
download | linux-015c8c85b721e93bcd6a3f4b5be63112ecb331c4.tar.bz2 |
crypto: ccp - Add psp enabled message when initialization succeeds
Add a dev_notice() message to the PSP initialization to report when the
PSP initialization has succeeded and the PSP is enabled.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | drivers/crypto/ccp/psp-dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/psp-dev.c b/drivers/crypto/ccp/psp-dev.c index 973d683f80ee..91ef6ed2fea2 100644 --- a/drivers/crypto/ccp/psp-dev.c +++ b/drivers/crypto/ccp/psp-dev.c @@ -840,6 +840,8 @@ int psp_dev_init(struct sp_device *sp) /* Enable interrupt */ iowrite32(-1, psp->io_regs + PSP_P2CMSG_INTEN); + dev_notice(dev, "psp enabled\n"); + return 0; e_irq: |