Re: [PATCH 1/5] x86/boot/compressed/64: Introduce sev_status
From: Joerg Roedel
Date: Tue Oct 20 2020 - 05:55:30 EST
On Mon, Oct 19, 2020 at 05:59:25PM -0700, Sean Christopherson wrote:
> On Mon, Oct 19, 2020 at 05:11:17PM +0200, Joerg Roedel wrote:
> > + push %rax
> > + push %rcx
>
> There's no need to save/restore RAX and RCX, they are callee save. This
> function is only called from C, so I doubt it's using a custom ABI.
Right, removed the save/restore of these registers from the function.
Thanks,
Joerg