diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0122-crypto-ccp-Add-psp-enabled-message-when-initializati.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0122-crypto-ccp-Add-psp-enabled-message-when-initializati.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0122-crypto-ccp-Add-psp-enabled-message-when-initializati.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0122-crypto-ccp-Add-psp-enabled-message-when-initializati.patch new file mode 100644 index 00000000..70b2329c --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71-e3000/0122-crypto-ccp-Add-psp-enabled-message-when-initializati.patch @@ -0,0 +1,33 @@ +From ab02d4a5788696d7676a31d8e769a6015c1e1d81 Mon Sep 17 00:00:00 2001 +From: Tom Lendacky <thomas.lendacky@amd.com> +Date: Tue, 3 Jul 2018 12:11:42 -0500 +Subject: [PATCH 122/131] 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> +Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com> +--- + drivers/crypto/ccp/psp-dev.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/crypto/ccp/psp-dev.c b/drivers/crypto/ccp/psp-dev.c +index 973d683..91ef6ed 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: +-- +2.7.4 + |