From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.74]) by mx.groups.io with SMTP id smtpd.web12.10574.1620154389671786794 for ; Tue, 04 May 2021 11:53:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@amd.com header.s=selector1 header.b=4B70ma+K; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.243.74, mailfrom: brijesh.singh@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=njgWcU0nZHJL/tDdTAT9euGccV53PgVK/v8QowzAn+hA/C7tdt3qAYwvf7MvZV4ppROu5x9C6XcIO2aQUIVBe5+veQS1weTc8u4SIxBWpewk4jymHP2tQht40npCYhFOUdSZosufJZndfqCcIdVAbvcchbwu+Y4VdOjK3SCi0yHQYVLAW2GgL/tmsXNOLQBFmia4z+lLjo9XkHCqcLJLk4KH8uCgs9lQ7fOl9G1zn23lZ6+EE5PjEnEPn5DT01JuxNDPsVFb1oxiNlD93idDxTp1116fZhdCAanhJhxsYz7Xs8VCuR8iloyI4ZAP9BpDjsWtm+k4Q2q464MCnRMYsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sd4gBNYQHx124L0gWyTdilfGQDylfFPYWghJMZfC8s0=; b=k0mKpr5yTTnPgX64T8xgn+Lp2abYA01zHJL2Xl+M+JU12Ro09QRjA9Vsd3SF8JkTIkiGnel1nJEFWXQvYuRQ3anYlGjz/j8SPMFFPpFx/1WdUxxH1fPlysHOV0bfeX57JyMlebDaRaXWnoVWQ188Rq8VDuxTk02kXIhGIDz1RrXC4kwyM1veYbew1mbUakOvxpgrGCNwQf+RmNXOS/TQs2xwZrLIUgvesE8j+rtLbFkRo5Fx3A8IF5AMO29EJXqywFIP90TO7WU5XdFjNZJngHR5k4VTTy9cyIusyu8eaNrKNTQ6yG1rxDRlgPWnmf7jUndnRJLqB4SnjpbKrF4SHA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sd4gBNYQHx124L0gWyTdilfGQDylfFPYWghJMZfC8s0=; b=4B70ma+KJntprSmDfBmy5nBUrzq6Fc0QdQX0vRujceHcvoHIH4JPb0vjad6oUnNfptB/scb9CCWjbNYhWezeiN6MXdLWZYqmT8KWap2DxZ+DDRKqUtWYfUGTNRun2HHIyVbqDqynqdtE82Y/b6yBwbnOq1jTlgKMnZ2dNlNaAdo= Authentication-Results: google.com; dkim=none (message not signed) header.d=none;google.com; dmarc=none action=none header.from=amd.com; Received: from SN6PR12MB2718.namprd12.prod.outlook.com (2603:10b6:805:6f::22) by SN6PR12MB2831.namprd12.prod.outlook.com (2603:10b6:805:ec::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25; Tue, 4 May 2021 18:53:07 +0000 Received: from SN6PR12MB2718.namprd12.prod.outlook.com ([fe80::9898:5b48:a062:db94]) by SN6PR12MB2718.namprd12.prod.outlook.com ([fe80::9898:5b48:a062:db94%6]) with mapi id 15.20.4108.025; Tue, 4 May 2021 18:53:07 +0000 Cc: brijesh.singh@amd.com, James Bottomley , Min Xu , Jiewen Yao , Tom Lendacky , Jordan Justen , Ard Biesheuvel , Erdem Aktas Subject: Re: [edk2-devel] [PATCH RFC v2 04/28] MdePkg: Define the Page State Change VMGEXIT structures To: Laszlo Ersek , devel@edk2.groups.io References: <20210430115148.22267-1-brijesh.singh@amd.com> <20210430115148.22267-5-brijesh.singh@amd.com> <47d74104-dd86-8bb9-ba5e-6c0e7371d5e4@redhat.com> From: "Brijesh Singh" Message-ID: <1a6adb61-54d4-68bd-fca7-8e67a034e11f@amd.com> Date: Tue, 4 May 2021 13:53:04 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 In-Reply-To: <47d74104-dd86-8bb9-ba5e-6c0e7371d5e4@redhat.com> X-Originating-IP: [70.112.153.56] X-ClientProxiedBy: SA0PR11CA0138.namprd11.prod.outlook.com (2603:10b6:806:131::23) To SN6PR12MB2718.namprd12.prod.outlook.com (2603:10b6:805:6f::22) Return-Path: brijesh.singh@amd.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from Brijeshs-MacBook-Pro.local (70.112.153.56) by SA0PR11CA0138.namprd11.prod.outlook.com (2603:10b6:806:131::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24 via Frontend Transport; Tue, 4 May 2021 18:53:06 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: de36aea6-adbc-431a-cada-08d90f2ddb1b X-MS-TrafficTypeDiagnostic: SN6PR12MB2831: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q9XF8l4ddjPdwXJnrOU6eCmyxUfHIaZfjtxh60GESTe4nmdGWwkG7o0cHOoWdAnV75f197ZYSniUbI17QmdDfgxcPhsz5FEkfn0joxxJZPQolzejOzlcRM4zhDcVG0v1xXMHOK5oe8Ycm7MvgoB+DoDeCvG5RkPYIC2BS4edXlHuFKe2FEMaxnSUF5CqM4pTiIDk6C578NM9usPYg6Sj83wo5uKUHCw/ueEvoEMC+Ly9CcFoYMiykQ9PhEdcqWiXwZ3r6o5ama16eNsdK4ZEC2HoJyBtf4/AaFQP1At6b7arkH9WXLFsTlgtvlZjD5uMkmXZk/51Lc7sKbzpIQIiZ4VH0IGscNMwNQS4sRqvOOZPyLjlN9Q6BGATh7/Pvy6YG5IUc87ZSxw8bRlyrtyq25o0PrIrIkJYqlhpyL6RccnDY2H1YE4aWwr53s8idCVMoeGh7PmQKgAdyS39jE+bTgxSeH/iiM+8rYtCnOm/QOXK0dhLawZomtgCHgIHC5a1fdUvUAAiFSw6LFfxj7jNM/YJN1Zj2IY8js4Q60PUHRp6KonGLdrg9w/BRu1E6tKPiTKJICrq7Fk9UBH5t9PR4qj5rwIn4aGGKq4YCPpSs2HqW86U/nSDs2Z9eGW0DHyja1n0WV5TbjMl5zecpHZapw9r54shckv5tH+zuLfBKqmdZ1xoWwdVJdyJaGX53WFMitUbuIZlbGfV+3p+CqrJwAX+YJzvVDFKpoJ+cGGKLohgzSpbpCbfcV+5mKqZEUW0uOW3WeT3yKyiHo8S9/4vwfjYB3Js97s7xr0idj1wjJfsjDcKLJUTp8EOVbuXIo28 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR12MB2718.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(136003)(396003)(39850400004)(376002)(366004)(478600001)(19627235002)(8936002)(38350700002)(86362001)(54906003)(31696002)(31686004)(8676002)(66476007)(6486002)(6512007)(26005)(4326008)(966005)(956004)(316002)(52116002)(83380400001)(5660300002)(186003)(66556008)(53546011)(38100700002)(2906002)(2616005)(45080400002)(44832011)(36756003)(66946007)(6506007)(16526019)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?c2tKdTFhaXJmVTBPZHBKbUxRci96NTNOR2VlaUJRNERZdHF4dU9hRXlseC9D?= =?utf-8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f2ddb1b X-MS-Exchange-CrossTenant-AuthSource: SN6PR12MB2718.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2021 18:53:07.5331 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qeD8Nwy3l2X3vpPIlITl+Zd3sJ7TkIV3ctXs4AMzAxNDkhDpZKHqNufODelnYiMys2kkq5ey102USUhSnpzQMw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2831 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US 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%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637557284470753463%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fpm8afTb4UwW13njwD9WzHWIZZhjUCdmm3Vkt9GJ2SI%3D&reserved=0 >> >> 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 >> Cc: Jiewen Yao >> Cc: Tom Lendacky >> Cc: Jordan Justen >> Cc: Ard Biesheuvel >> Cc: Laszlo Ersek >> Cc: Erdem Aktas >> Signed-off-by: Brijesh Singh >> --- >> MdePkg/Include/Register/Amd/Fam17Msr.h | 15 ++++++++++ >> MdePkg/Include/Register/Amd/Ghcb.h | 29 ++++++++++++++++++++ >> 2 files changed, 44 insertions(+) >> >> diff --git a/MdePkg/Include/Register/Amd/Fam17Msr.h b/MdePkg/Include/Register/Amd/Fam17Msr.h >> index e19bd04b6c..432cee2feb 100644 >> --- a/MdePkg/Include/Register/Amd/Fam17Msr.h >> +++ b/MdePkg/Include/Register/Amd/Fam17Msr.h >> @@ -58,6 +58,19 @@ typedef union { >> UINT64 GuestFrameNumber:52; >> } GhcbGpaRegister; >> >> + struct { >> + UINT64 Function:12; >> + UINT64 GuestFrameNumber:40; >> + UINT64 Operation:4; >> + UINT64 Reserved:8; >> + } SnpPageStateChangeRequest; >> + >> + struct { >> + UINT32 Function:12; >> + UINT32 Reserved:20; >> + UINT32 ErrorCode; >> + } SnpPageStateChangeResponse; >> + >> VOID *Ghcb; >> > This matches section 2.3.1 in rev 2.00. > >> UINT64 GhcbPhysicalAddress; >> @@ -69,6 +82,8 @@ typedef union { >> #define GHCB_INFO_CPUID_RESPONSE 5 >> #define GHCB_INFO_GHCB_GPA_REGISTER_REQUEST 18 >> #define GHCB_INFO_GHCB_GPA_REGISTER_RESPONSE 19 >> +#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_REQUEST 20 >> +#define GHCB_INFO_SNP_PAGE_STATE_CHANGE_RESPONSE 21 >> #define GHCB_HYPERVISOR_FEATURES_REQUEST 128 >> #define GHCB_HYPERVISOR_FEATURES_RESPONSE 129 >> #define GHCB_INFO_TERMINATE_REQUEST 256 > Matches section 2.3.1. > >> diff --git a/MdePkg/Include/Register/Amd/Ghcb.h b/MdePkg/Include/Register/Amd/Ghcb.h >> index 2d64a4c28f..1e7c0daed3 100644 >> --- a/MdePkg/Include/Register/Amd/Ghcb.h >> +++ b/MdePkg/Include/Register/Amd/Ghcb.h >> @@ -54,6 +54,7 @@ >> #define SVM_EXIT_NMI_COMPLETE 0x80000003ULL >> #define SVM_EXIT_AP_RESET_HOLD 0x80000004ULL >> #define SVM_EXIT_AP_JUMP_TABLE 0x80000005ULL >> +#define SVM_EXIT_SNP_PAGE_STATE_CHANGE 0x80000010ULL >> #define SVM_EXIT_HYPERVISOR_FEATURES 0x8000FFFDULL >> #define SVM_EXIT_UNSUPPORTED 0x8000FFFFULL >> > Matches "Table 5. List of Supported Non-Automatic Events". > >> @@ -160,4 +161,32 @@ typedef union { >> #define GHCB_HV_FEATURES_SNP_AP_CREATE (GHCB_HV_FEATURES_SNP | BIT1) >> #define GHCB_HV_FEATURES_SNP_RESTRICTED_INJECTION (GHCB_HV_FEATURES_SNP_AP_CREATE | BIT2) >> #define GHCB_HV_FEATURES_SNP_RESTRICTED_INJECTION_TIMER (GHCB_HV_FEATURES_SNP_RESTRICTED_INJECTION | BIT3) >> + >> +// SNP Page State Change > (1) Comment style. Noted. > >> +#define SNP_PAGE_STATE_MAX_NPAGES 4095 >> +#define SNP_PAGE_STATE_MAX_ENTRY 253 >> +#define SNP_PAGE_STATE_PRIVATE 1 >> +#define SNP_PAGE_STATE_SHARED 2 >> +#define SNP_PAGE_STATE_PSMASH 3 >> +#define SNP_PAGE_STATE_UNSMASH 4 > (2) The PSMASH and UNSMASH operations are not documented in the rev 2.00 > spec, in the GHCB MSR protocol. That's probably because PSMASH and > UNSMASH can only be defined in terms of 2MB pages, and > GHCB_INFO_SNP_PAGE_STATE_CHANGE_REQUEST is suitable only for individual, > 4KB pages. I think it would be useful to point out somehow here that > PSMASH and UNSMASH are restricted to the GHCB shared area protocol > (perhaps extend the leading comment on this block of macros). I will add something in comment to clarify that UNMASH and PSMASH are not available in MSR protocol. > > (3) I don't understand what "MAX_NPAGES" stands for (4095). The rest of > the series never uses the macro, and I can't associate it with anything > from the spec. If the macro is supposed to relate to the 4KB / 2MB page > smashing / splitting, then its replacement text should be 512. Unless > the macro corresponds to a definition in the spec, I think we should > drop it. That macro is replaced is no longer used, I ended up creating a more meaningful macro (SNP_PAGES_STATE_MAX_ENTRY). I will remove it MAX_NPAGES. >> + >> +typedef PACKED struct { >> + UINT64 CurrentPage:12; >> + UINT64 GuestFrameNumber:40; >> + UINT64 Op:4; >> + UINT64 PageSize:1; >> + UINT64 Rsvd: 7; >> +} SNP_PAGE_STATE_ENTRY; >> + >> +typedef PACKED struct { >> + UINT16 CurrentEntry; >> + UINT16 EndEntry; >> + UINT32 Rsvd; >> +} SNP_PAGE_STATE_HEADER; > (4) We tend to write > > #pragma pack (1) > ... > #pragma pack () > > rather than PACKED -- but anyway, is packing really necessary? "Natural > alignment" is required in edk2. I'm OK with packing, but I think the > pragma is the preferred form. Noted. > (5) Please spell out both "Rsvd" fields above as "Reserved". Noted. > > (6) Stray space character in "Rsvd: 7". Noted. > > (7) The field name "Op" is inconsistent with the other field name > "Operation". Noted. > > (8) I think there is a bug (typo) in the rev 2.00 spec, in 4.1.6 "SNP > Page State Change": it says > > ... calculated from the supplied guest physical frame number (GFN) for > the requested page size (GPA = GFN << 12). > > But, if you can choose 2MB page size in the request, then the (GPA = GFN > << 12) formula is not g I think Tom already clarified it on his latest response. > (9) If my understanding of the spec is correct, "EndEntry" has > *inclusive* meaning. That's unusual. Any particular reason for not > making "EndEntry" exclusive (in the spec)? Sometimes guest may need to fill only few entries. The "EndEntry" will give hint to hypervisor that it should stop processing after it reached to the EndEntry. >> + >> +typedef struct { >> + SNP_PAGE_STATE_HEADER Header; >> + SNP_PAGE_STATE_ENTRY Entry[SNP_PAGE_STATE_MAX_ENTRY]; >> +} SNP_PAGE_STATE_CHANGE_INFO; >> + >> #endif >> > Yes, this looks OK. Size is 2+2+4+253*8 = 2032 bytes, which matches the > size of GHCB.SharedBuffer. > > (10) However, *if* you decide to declare SNP_PAGE_STATE_ENTRY and > SNP_PAGE_STATE_HEADER explicitly as packed, then you should do the same > for SNP_PAGE_STATE_CHANGE_INFO. Noted. > > (11) Like I mentioned earlier, it's probably helpful if you start the > subject line with > > MdePkg/Register/Amd: ... > > on all of these MdePkg patches. If that becomes too tight, for some of > the MdePkg patches, then I suggest "MdePkg/Amd: ..." (i.e., drop > "Register"). Noted. Thanks Brijesh