Re: [edk2-devel] [PATCH RFC v2 04/28] MdePkg: Define the Page State Change VMGEXIT structures

2021-05-05 Thread Brijesh Singh
On 5/5/21 1:24 PM, Laszlo Ersek wrote: > On 05/04/21 20:53, Brijesh Singh wrote: >> On 5/4/21 7:33 AM, Laszlo Ersek wrote: >>> On 04/30/21 13:51, Brijesh Singh wrote: +typedef PACKED struct { + UINT16 CurrentEntry; + UINT16 EndEntry; + UINT32 Rsvd; +} SNP_PAGE_STATE_HE

Re: [edk2-devel] [PATCH RFC v2 04/28] MdePkg: Define the Page State Change VMGEXIT structures

2021-05-05 Thread Laszlo Ersek
On 05/04/21 20:53, Brijesh Singh wrote: > > On 5/4/21 7:33 AM, Laszlo Ersek wrote: >> On 04/30/21 13:51, Brijesh Singh wrote: >>> +typedef PACKED struct { >>> + UINT16 CurrentEntry; >>> + UINT16 EndEntry; >>> + UINT32 Rsvd; >>> +} SNP_PAGE_STATE_HEADER; >> (9) If my understanding of the spec

Re: [edk2-devel] [PATCH RFC v2 04/28] MdePkg: Define the Page State Change VMGEXIT structures

2021-05-04 Thread Brijesh Singh
On 5/4/21 7:33 AM, Laszlo Ersek wrote: > On 04/30/21 13:51, Brijesh Singh wrote: >> BZ: >> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D3275&data=04%7C01%7Cbrijesh.singh%40amd.com%7Cbb2eaad10f574a464cb008d90ef8e5b4%7C3dd8961fe4884

Re: [edk2-devel] [PATCH RFC v2 04/28] MdePkg: Define the Page State Change VMGEXIT structures

2021-05-04 Thread Laszlo Ersek
On 05/04/21 16:48, Tom Lendacky wrote: > > > On 5/4/21 8:59 AM, Laszlo Ersek wrote: >> On 05/04/21 14:33, Laszlo Ersek wrote: >>> On 04/30/21 13:51, Brijesh Singh wrote: BZ: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D3

Re: [edk2-devel] [PATCH RFC v2 04/28] MdePkg: Define the Page State Change VMGEXIT structures

2021-05-04 Thread Lendacky, Thomas
On 5/4/21 8:59 AM, Laszlo Ersek wrote: > On 05/04/21 14:33, Laszlo Ersek wrote: >> On 04/30/21 13:51, Brijesh Singh wrote: >>> BZ: >>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D3275&data=04%7C01%7Cthomas.lendacky%40amd.com%7Cf

Re: [edk2-devel] [PATCH RFC v2 04/28] MdePkg: Define the Page State Change VMGEXIT structures

2021-05-04 Thread Laszlo Ersek
On 05/04/21 14:33, Laszlo Ersek wrote: > On 04/30/21 13:51, Brijesh Singh wrote: >> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3275 >> >> The Page State Change NAE exit will be used by the SEV-SNP guest to >> request a page state change using the GHCB protocol. See the GHCB >> spec section

Re: [edk2-devel] [PATCH RFC v2 04/28] MdePkg: Define the Page State Change VMGEXIT structures

2021-05-04 Thread Laszlo Ersek
On 04/30/21 13:51, Brijesh Singh wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3275 > > The Page State Change NAE exit will be used by the SEV-SNP guest to > request a page state change using the GHCB protocol. See the GHCB > spec section 4.1.6 and 2.3.1 for more detail on the struct

[edk2-devel] [PATCH RFC v2 04/28] MdePkg: Define the Page State Change VMGEXIT structures

2021-04-30 Thread Brijesh Singh
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3275 The Page State Change NAE exit will be used by the SEV-SNP guest to request a page state change using the GHCB protocol. See the GHCB spec section 4.1.6 and 2.3.1 for more detail on the structure definitions. Cc: James Bottomley Cc: Min Xu