summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/compressed
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2024-02-26 11:06:48 +0100
committerIngo Molnar <mingo@kernel.org>2024-02-26 11:10:35 +0100
commit2e5fc4786b7ad311393a70894c773aa106c6dbb3 (patch)
tree5eb9d382795a6739f1c556eaf69fdcfa6b265b7e /arch/x86/boot/compressed
parentMerge tag 'v6.8-rc6' into x86/boot, to pick up fixes (diff)
parentcrypto: ccp - Have it depend on AMD_IOMMU (diff)
downloadlinux-2e5fc4786b7ad311393a70894c773aa106c6dbb3.tar.xz
linux-2e5fc4786b7ad311393a70894c773aa106c6dbb3.zip
Merge branch 'x86/sev' into x86/boot, to resolve conflicts and to pick up dependent tree
We are going to queue up a number of patches that depend on fresh changes in x86/sev - merge in that branch to reduce the number of conflicts going forward. Also resolve a current conflict with x86/sev. Conflicts: arch/x86/include/asm/coco.h Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/boot/compressed')
-rw-r--r--arch/x86/boot/compressed/sev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/sev.c b/arch/x86/boot/compressed/sev.c
index 454acd7a2daf..073291832f44 100644
--- a/arch/x86/boot/compressed/sev.c
+++ b/arch/x86/boot/compressed/sev.c
@@ -304,6 +304,10 @@ void do_boot_stage2_vc(struct pt_regs *regs, unsigned long exit_code)
if (result != ES_OK)
goto finish;
+ result = vc_check_opcode_bytes(&ctxt, exit_code);
+ if (result != ES_OK)
+ goto finish;
+
switch (exit_code) {
case SVM_EXIT_RDTSC:
case SVM_EXIT_RDTSCP: