summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2026-01-05 20:22:17 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-01-23 08:48:44 +0300
commit551120148b67e04527b405c5ec33a31593846ba4 (patch)
tree91c5dadf529f4c8de3fe68830e3cb0a5ae574afc /include/linux/debugobjects.h
parentf7738c07b5fed94a712d71b1d88cd2aa9c11210c (diff)
downloadlinux-551120148b67e04527b405c5ec33a31593846ba4.tar.xz
crypto: ccp - Fix a case where SNP_SHUTDOWN is missed
If page reclaim fails in sev_ioctl_do_snp_platform_status() and SNP was moved from UNINIT to INIT for the function, SNP is not moved back to UNINIT state. Additionally, SNP is not required to be initialized in order to execute the SNP_PLATFORM_STATUS command, so don't attempt to move to INIT state and let SNP_PLATFORM_STATUS report the status as is. Fixes: ceac7fb89e8d ("crypto: ccp - Ensure implicit SEV/SNP init and shutdown in ioctls") Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Reviewed-by: Tycho Andersen (AMD) <tycho@kernel.org> Reviewed-by: Alexey Kardashevskiy <aik@amd.com> Signed-off-by: Tycho Andersen (AMD) <tycho@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions