Files
linux/arch/x86
Joerg Roedel 907d34b74c x86/sev: Fix stack type check in vc_switch_off_ist()
[ Upstream commit 5681981fb7 ]

The value of STACK_TYPE_EXCEPTION_LAST points to the last _valid_
exception stack. Reflect that in the check done in the
vc_switch_off_ist() function.

Fixes: a13644f3a5 ("x86/entry/64: Add entry code for #VC handler")
Reported-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211021080833.30875-2-joro@8bytes.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 19:16:39 +01:00
..
2021-06-23 18:16:33 +02:00
2021-08-26 22:28:03 +02:00
2021-10-05 08:36:19 +02:00