summaryrefslogtreecommitdiffstats
path: root/arch/m68k/configs/sun3_defconfig
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2018-08-15 23:11:25 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-09-04 05:37:04 +0200
commite82867fddd28b236d488751899310397b4f871f3 (patch)
tree802617add4dec9fb13e3e693de73b95891f18d58 /arch/m68k/configs/sun3_defconfig
parentcrypto: shash - Remove VLA usage in unaligned hashing (diff)
downloadlinux-e82867fddd28b236d488751899310397b4f871f3.tar.xz
linux-e82867fddd28b236d488751899310397b4f871f3.zip
crypto: ccp - add timeout support in the SEV command
Currently, the CCP driver assumes that the SEV command issued to the PSP will always return (i.e. it will never hang). But recently, firmware bugs have shown that a command can hang. Since of the SEV commands are used in probe routines, this can cause boot hangs and/or loss of virtualization capabilities. To protect against firmware bugs, add a timeout in the SEV command execution flow. If a command does not complete within the specified timeout then return -ETIMEOUT and stop the driver from executing any further commands since the state of the SEV firmware is unknown. Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Gary Hook <Gary.Hook@amd.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: linux-kernel@vger.kernel.org Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/m68k/configs/sun3_defconfig')
0 files changed, 0 insertions, 0 deletions