1- From 85875d63186b73e8b524204ee10385f979f49d48 Mon Sep 17 00:00:00 2001
1+ From dd2119161ec3510a5ca2946dcadd5043f19ff4ed Mon Sep 17 00:00:00 2001
22From: Sergio Lopez <slp@redhat.com>
33Date: Thu, 20 Oct 2022 10:23:16 +0200
44Subject: [PATCH 2/4] x86/sev: write AP reset vector
@@ -12,10 +12,10 @@ Signed-off-by: Sergio Lopez <slp@redhat.com>
1212 1 file changed, 24 insertions(+), 1 deletion(-)
1313
1414diff --git a/arch/x86/coco/sev/core.c b/arch/x86/coco/sev/core.c
15- index de1df0cb45da..7ed486a790fb 100644
15+ index 2be730765f83..aff0f627c3bd 100644
1616--- a/arch/x86/coco/sev/core.c
1717+++ b/arch/x86/coco/sev/core.c
18- @@ -1266 ,6 +1266 ,29 @@ void __init snp_set_wakeup_secondary_cpu(void)
18+ @@ -1273 ,6 +1273 ,29 @@ void __init snp_set_wakeup_secondary_cpu(void)
1919 apic_update_callback(wakeup_secondary_cpu, wakeup_cpu_via_vmgexit);
2020 }
2121
@@ -45,7 +45,7 @@ index de1df0cb45da..7ed486a790fb 100644
4545 int __init sev_es_setup_ap_jump_table(struct real_mode_header *rmh)
4646 {
4747 u16 startup_cs, startup_ip;
48- @@ -1277 ,7 +1300 ,7 @@ int __init sev_es_setup_ap_jump_table(struct real_mode_header *rmh)
48+ @@ -1284 ,7 +1307 ,7 @@ int __init sev_es_setup_ap_jump_table(struct real_mode_header *rmh)
4949
5050 /* On UP guests there is no jump table so this is not a failure */
5151 if (!jump_table_addr)
@@ -55,5 +55,5 @@ index de1df0cb45da..7ed486a790fb 100644
5555 /* Check if AP Jump Table is page-aligned */
5656 if (jump_table_addr & ~PAGE_MASK)
5757- -
58- 2.52 .0
58+ 2.54 .0
5959
0 commit comments