]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
crypto: ccp - Add psp enabled message when initialization succeeds
authorTom Lendacky <thomas.lendacky@amd.com>
Tue, 3 Jul 2018 17:11:42 +0000 (12:11 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jul 2018 10:26:48 +0000 (18:26 +0800)
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>
drivers/crypto/ccp/psp-dev.c

index 973d683f80ee6e453395e9f79db4c268f4444225..91ef6ed2fea2d991a67396325ec7a7086e39cf49 100644 (file)
@@ -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: