[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZB4VtIPZjDGwuPOc@google.com>
Date: Fri, 24 Mar 2023 14:27:16 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: pbonzini@...hat.com, shuah@...nel.org, dmatlack@...gle.com,
kvm@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org, Ackerley Tng <ackerleytng@...gle.com>
Cc: erdemaktas@...gle.com, vannapurve@...gle.com, sagis@...gle.com,
mail@...iej.szmigiero.name
Subject: Re: [PATCH v2 1/1] KVM: selftests: Adjust VM's initial stack address
to align with SysV ABI spec
On Fri, Mar 24, 2023, Sean Christopherson wrote:
> On Mon, 27 Feb 2023 18:06:01 +0000, Ackerley Tng wrote:
> > Align the guest stack to match calling sequence requirements in
> > section "The Stack Frame" of the System V ABI AMD64 Architecture
> > Processor Supplement, which requires the value (%rsp + 8), NOT %rsp,
> > to be a multiple of 16 when control is transferred to the function
> > entry point. I.e. in a normal function call, %rsp needs to be 16-byte
> > aligned _before_ CALL, not after.
> >
> > [...]
>
> Applied to kvm-x86 selftests, thanks!
>
> [1/1] KVM: selftests: Adjust VM's initial stack address to align with SysV ABI spec
> https://github.com/kvm-x86/linux/commit/1982754bd2a7
Force pushed to selftests 'cause I had a goof, this now:
KVM: selftests: Adjust VM's initial stack address to align with SysV ABI spec
https://github.com/kvm-x86/linux/commit/8264e85560e5
Powered by blists - more mailing lists