Re: [Part1 PATCH v4 12/17] x86/boot: Add early boot support when running with SEV active

From: Brijesh Singh
Date: Tue Sep 26 2017 - 15:10:22 EST




On 09/17/2017 09:41 AM, Borislav Petkov wrote:
...

+#ifdef CONFIG_AMD_MEM_ENCRYPT
+ push %ebx
+ push %ecx
+ push %edx
+ push %edi
+
+ call 1f
+1: popl %edi
+ subl $1b, %edi

32-bit RIP-relative addressing huh? :)

It definitely deserves a comment.


Will add comment in next rev. thanks

-Brijesh