Re: [edk2-devel] [RFC PATCH v2 10/44] OvmfPkg: A per-CPU variable area for #VC usage

2019-10-03 Thread Laszlo Ersek
On 10/02/19 18:06, Lendacky, Thomas wrote: > On 10/2/19 6:51 AM, Laszlo Ersek wrote: >> ... Side question: actually, do we support S3 with SEV enabled, at the >> moment? Last week or so I tried to test it, and it didn't work. I don't >> remember if we *intended* to support S3 in SEV guests at all.

Re: [edk2-devel] [RFC PATCH v2 10/44] OvmfPkg: A per-CPU variable area for #VC usage

2019-10-02 Thread Lendacky, Thomas
On 10/2/19 6:51 AM, Laszlo Ersek wrote: > A few more comments: > > On 09/19/19 21:52, Lendacky, Thomas wrote: >> From: Tom Lendacky >> >> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 >> >> A per-CPU implementation for holding values specific to a CPU when >> running as an SEV-ES guest,

Re: [edk2-devel] [RFC PATCH v2 10/44] OvmfPkg: A per-CPU variable area for #VC usage

2019-10-02 Thread Laszlo Ersek
A few more comments: On 09/19/19 21:52, Lendacky, Thomas wrote: > From: Tom Lendacky > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 > > A per-CPU implementation for holding values specific to a CPU when > running as an SEV-ES guest, specifically to hold the Debug Register > value. Al

Re: [edk2-devel] [RFC PATCH v2 10/44] OvmfPkg: A per-CPU variable area for #VC usage

2019-09-30 Thread Lendacky, Thomas
On 9/30/19 2:15 PM, Laszlo Ersek via Groups.Io wrote: > On 09/26/19 16:46, Lendacky, Thomas wrote: >> On 9/26/19 3:17 AM, Laszlo Ersek wrote: >>> On 09/19/19 21:52, Lendacky, Thomas wrote: From: Tom Lendacky BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 A per-CPU

Re: [edk2-devel] [RFC PATCH v2 10/44] OvmfPkg: A per-CPU variable area for #VC usage

2019-09-30 Thread Laszlo Ersek
On 09/26/19 16:46, Lendacky, Thomas wrote: > On 9/26/19 3:17 AM, Laszlo Ersek wrote: >> On 09/19/19 21:52, Lendacky, Thomas wrote: >>> From: Tom Lendacky >>> >>> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 >>> >>> A per-CPU implementation for holding values specific to a CPU when >>> r

Re: [edk2-devel] [RFC PATCH v2 10/44] OvmfPkg: A per-CPU variable area for #VC usage

2019-09-26 Thread Lendacky, Thomas
On 9/26/19 3:17 AM, Laszlo Ersek wrote: > On 09/19/19 21:52, Lendacky, Thomas wrote: >> From: Tom Lendacky >> >> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 >> >> A per-CPU implementation for holding values specific to a CPU when >> running as an SEV-ES guest, specifically to hold the

Re: [edk2-devel] [RFC PATCH v2 10/44] OvmfPkg: A per-CPU variable area for #VC usage

2019-09-26 Thread Laszlo Ersek
On 09/19/19 21:52, Lendacky, Thomas wrote: > From: Tom Lendacky > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 > > A per-CPU implementation for holding values specific to a CPU when > running as an SEV-ES guest, specifically to hold the Debug Register > value. Allocate an extra page i

[edk2-devel] [RFC PATCH v2 10/44] OvmfPkg: A per-CPU variable area for #VC usage

2019-09-19 Thread Lendacky, Thomas
From: Tom Lendacky BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 A per-CPU implementation for holding values specific to a CPU when running as an SEV-ES guest, specifically to hold the Debug Register value. Allocate an extra page immediately after the GHCB page for each AP. Using the