linux/drivers/crypto/ccp
Amit Shah 3401f63e72 crypto: ccp - do not request interrupt on cmd completion when irqs disabled
While sending a command to the PSP, we always requested an interrupt
from the PSP after command completion.  This worked for most cases.  For
the special case of irqs being disabled -- e.g. when running within
crashdump or kexec contexts, we should not set the SEV_CMDRESP_IOC flag,
so the PSP knows to not attempt interrupt delivery.

Fixes: 8ef979584e ("crypto: ccp: Add panic notifier for SEV/SNP firmware shutdown on kdump")

Based-on-patch-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Amit Shah <amit.shah@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2024-09-06 14:50:46 +08:00
..
Kconfig
Makefile
ccp-crypto-aes-cmac.c
ccp-crypto-aes-galois.c
ccp-crypto-aes-xts.c
ccp-crypto-aes.c
ccp-crypto-des3.c
ccp-crypto-main.c
ccp-crypto-rsa.c
ccp-crypto-sha.c
ccp-crypto.h
ccp-debugfs.c
ccp-dev-v3.c
ccp-dev-v5.c
ccp-dev.c
ccp-dev.h
ccp-dmaengine.c
ccp-ops.c
dbc.c
dbc.h
hsti.c
hsti.h
platform-access.c
platform-access.h
psp-dev.c
psp-dev.h
sev-dev.c crypto: ccp - do not request interrupt on cmd completion when irqs disabled 2024-09-06 14:50:46 +08:00
sev-dev.h
sp-dev.c
sp-dev.h crypto: ccp - Remove unused declaration sp_get_master() 2024-08-30 18:22:31 +08:00
sp-pci.c
sp-platform.c
tee-dev.c
tee-dev.h