summaryrefslogtreecommitdiffstats
path: root/drivers/idle
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2021-07-28 17:15:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2021-08-06 13:45:25 +0200
commit5441a07a127f106c9936e4f9fa1a8a93e3f31828 (patch)
tree6c1f164fc319257b78e9836e269d628c48ef81ef /drivers/idle
parentcrypto: omap-sham - drop pm_runtime_irqsafe() usage (diff)
downloadlinux-5441a07a127f106c9936e4f9fa1a8a93e3f31828.tar.xz
linux-5441a07a127f106c9936e4f9fa1a8a93e3f31828.zip
crypto: ccp - shutdown SEV firmware on kexec
The commit 97f9ac3db6612 ("crypto: ccp - Add support for SEV-ES to the PSP driver") added support to allocate Trusted Memory Region (TMR) used during the SEV-ES firmware initialization. The TMR gets locked during the firmware initialization and unlocked during the shutdown. While the TMR is locked, access to it is disallowed. Currently, the CCP driver does not shutdown the firmware during the kexec reboot, leaving the TMR memory locked. Register a callback to shutdown the SEV firmware on the kexec boot. Fixes: 97f9ac3db6612 ("crypto: ccp - Add support for SEV-ES to the PSP driver") Reported-by: Lucas Nussbaum <lucas.nussbaum@inria.fr> Tested-by: Lucas Nussbaum <lucas.nussbaum@inria.fr> Cc: <stable@kernel.org> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Joerg Roedel <jroedel@suse.de> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: David Rientjes <rientjes@google.com> Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Acked-by: Tom Lendacky <thomas.lendacky@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions