From nobody Sat Dec 28 09:43:34 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1499351418889951.8097579045915; Thu, 6 Jul 2017 07:30:18 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8237321CC536B; Thu, 6 Jul 2017 07:28:29 -0700 (PDT) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0063.outbound.protection.outlook.com [104.47.32.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3EDEE21CC535C for ; Thu, 6 Jul 2017 07:28:28 -0700 (PDT) Received: from brijesh-build-machine.amd.com (165.204.77.1) by BY2PR12MB0147.namprd12.prod.outlook.com (10.162.82.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Thu, 6 Jul 2017 14:30:07 +0000 X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+OOxU+7crmsix0tmP7QZIybtZA6sUXU9y4xiDOVFEAI=; b=BeBOVyrePN6bYeSe9t+5D3e48yamBIeip/l94W5MCCmEUE6AjCSmpYaoON3z0ChCs7UqNoDSPzmAmc0oK4de8/VV+wGyxA5tzEEB3+4YLFsvR9w/ZorrH1K8amGAN1gOMVBUF38eRebmkbac/8OQw2aaBiECbxPjbyMVa19QsWo= Authentication-Results: lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=none action=none header.from=amd.com; From: Brijesh Singh To: edk2-devel@lists.01.org Date: Thu, 6 Jul 2017 10:29:39 -0400 Message-Id: <1499351394-1175-2-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499351394-1175-1-git-send-email-brijesh.singh@amd.com> References: <1499351394-1175-1-git-send-email-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: DM5PR15CA0024.namprd15.prod.outlook.com (10.173.207.162) To BY2PR12MB0147.namprd12.prod.outlook.com (10.162.82.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 34edb321-7a4c-4e2d-5b04-08d4c47b805c X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR12MB0147; X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 3:uLRbBseANn8NnMT0zQIm/h8ZrWIjPgUMsCP/aIgtoqNuMH+Y0+Fu7J8fxM8SwPubQk5vN92I0up7fqTcnhMx+m7RtzU3tXEilvwCfkv42e6qMuumSk9/5qNrjqgAxV7I9Phml0bXqiDn1MrFFvuWZgQwAuwpRyyfd2KefWWFH+8CGC8ddNIV5MsiWsGl9ON/W3LlUZPh3mk29xsGrkVGDNfCdHIxtu7BjxE7Ms3EJ+/4Yl/3ir9hsJRoD1YIe1XNoJ+WYV0EY4mT4u90c+1PY4gD9dyHy6AoSJvqgcDBc5qCS+R3qAj3Zp2GGnZRvSbCPEvk3pCvHV1qQY5Fg9n/cQVsq3QndPPrWF12QNWC5EbZn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nostics: 1; BY2PR12MB0147; 20:i+GPBfeyUZnbUCm2seMACOhD6flgYGKvtWqoj1P01Foz2dJq/kByq2WwwXQnCTL/K3vkqLErF9k2KD/1w8XzIlCTY5lSVqUeUMm8me6Nd6Kp3tCHJivKUa+FxBNelVw7CDVZcfuj1Mhygo3pKfWpwVOwppWtZTLXKbT+BQ5Aqf/Dbyn7KPU/p+N2lJyXo8+ljArprEt2mpJGmRQxXM0QAK9+vu6qdB6pGyjHLUP3gNSJktbWEvzh6wCC3Kln3sCfdK+PrEQcA9hvPlu3NiNmhxixMvNHmViRyAw5d8i5GeUeFH5yvXd2i2q84LlNyiHAtnmcecjAOi2T96Waq/KPYYyA20ECabORKv63ZMtOriEZly16AnZqBSJvhUmfSFqv3LU+wiMAYNWbl0o4ljLVGRrexim66lRxcRGF+roNTERlRb0bqQ+ytSg8mylEaQKsTanMtuGjMbj1CMm8K5zM+j1YzELrRGGvB9e+FTzwH8buW7dtTwFZFhdR7S5cToqy X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(125551606395959)(236129657087228)(767451399110)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910048)(5005006)(8121501046)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR12MB0147; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR12MB0147; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0147; 4:8UWHOdfV+FvHn5Lxve55dqzg8ZogZS8UNJBehQiCMR?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P2138GWorTy6BdariKBn+bcqrWtRkuIxgh6GBfV?= =?us-ascii?Q?WwKUfPDs8ERj8HGdnwoXa/tmVttcu3Hit7gIukj4fLpW2jZXwXwL0rKYH+Fg?= =?us-ascii?Q?b0ZwGPYMHpxMB7Ymdwzyfqa1m6ql1gmb3IuXXhQQ6GPeyLEOnj/7HIPYiVWg?= =?us-ascii?Q?U6aS6vV0HkvBEXy5X5OWBlBYM6CQfLeUtC77wbW0JcyLgQ/QHC1MvlNI8ilP?= =?us-ascii?Q?wuKa+E+zZd4EOqXK7CZ2J+tlO2430VlW9MnXNWGNIH03vTsf0I/xjiXjiLzo?= =?us-ascii?Q?TyvcS0HBB+lEkAqzISGH5miKo6i5JUvZB96lyJzPhgVgKNN2pSR46YC8uXsr?= =?us-ascii?Q?wUnrIKZRLF6H8m69my5zXodWLkpUcR4J0C+PXFEU/hFMV/m/l3F5Yp9iUzUu?= =?us-ascii?Q?pJ/Z7iuCenFOs7lT62NuEKY2AU/7G/+Fi28Nx07aGA?= X-Forefront-PRVS: 03607C04F0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39850400002)(39840400002)(39860400002)(39410400002)(39400400002)(53936002)(48376002)(305945005)(2351001)(5003940100001)(2361001)(7736002)(50986999)(76176999)(5660300001)(4326008)(42186005)(2906002)(66066001)(6116002)(3846002)(47776003)(53416004)(6486002)(38730400002)(33646002)(81166006)(36756003)(189998001)(110136004)(25786009)(50226002)(8676002)(50466002)(86362001)(6666003)(2950100002)(478600001)(6916009)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR12MB0147; H:brijesh-build-machine.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0147; 23:+i5Jv9rwJ3u8Str2KZa66yONktAfsPOq8/ksMHhPb?= =?us-ascii?Q?N+160MYB6lk60k3ZVJiuyXvFtNZMC1ZaJuxZk+mMYOn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PIJp/zrJyCHQmu5q1defUSoUGZdE4mvOzn4F7UhbhOWXtkgEKOxYzdliVlprKBvJTc5FHShsqmtDzF9+xrE3xQ+2cisD0Nz5QBiV5d+o3vIxugu6zjo4SHQ3+7XM9p7dN6vzOhc X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 14:30:07.4145 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0147 Subject: [edk2] [PATCH v8 01/16] OvmfPkg/ResetVector: Set C-bit when building initial page table X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas.Lendacky@amd.com, leo.duran@amd.com, lersek@redhat.com, jordan.l.justen@intel.com Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" SEV guest VMs have the concept of private and shared memory. Private memory is encrypted with the guest-specific key, while shared memory may be encrypted with hypervisor key. Certain types of memory (namely instruction pages and guest page tables) are always treated as private memory by the hardware. The C-bit in PTE indicate whether the page is private or shared. The C-bit position for the PTE can be obtained from CPUID Fn8000_001F[EBX]. When SEV is active, the BIOS is encrypted by the Qemu launch sequence, we must set the C-bit when building the page table. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Tom Lendacky Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brijesh Singh Reviewed-by: Laszlo Ersek --- OvmfPkg/ResetVector/Ia32/PageTables64.asm | 62 +++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/OvmfPkg/ResetVector/Ia32/PageTables64.asm b/OvmfPkg/ResetVecto= r/Ia32/PageTables64.asm index 6201cad1f5dc..db1590aedd42 100644 --- a/OvmfPkg/ResetVector/Ia32/PageTables64.asm +++ b/OvmfPkg/ResetVector/Ia32/PageTables64.asm @@ -37,12 +37,66 @@ BITS 32 PAGE_READ_WRITE + \ PAGE_PRESENT) =20 +; Check if Secure Encrypted Virtualization (SEV) feature is enabled +; +; If SEV is enabled then EAX will be at least 32 +; If SEV is disabled then EAX will be zero. +; +CheckSevFeature: + ; Check if we have a valid (0x8000_001F) CPUID leaf + mov eax, 0x80000000 + cpuid + + ; This check should fail on Intel or Non SEV AMD CPUs. In future if + ; Intel CPUs supports this CPUID leaf then we are guranteed to have ex= act + ; same bit definition. + cmp eax, 0x8000001f + jl NoSev + + ; Check for memory encryption feature: + ; CPUID Fn8000_001F[EAX] - Bit 1 + ; + mov eax, 0x8000001f + cpuid + bt eax, 1 + jnc NoSev + + ; Check if memory encryption is enabled + ; MSR_0xC0010131 - Bit 0 (SEV enabled) + mov ecx, 0xc0010131 + rdmsr + bt eax, 0 + jnc NoSev + + ; Get pte bit position to enable memory encryption + ; CPUID Fn8000_001F[EBX] - Bits 5:0 + ; + mov eax, ebx + and eax, 0x3f + jmp SevExit + +NoSev: + xor eax, eax + +SevExit: + OneTimeCallRet CheckSevFeature =20 ; -; Modified: EAX, ECX +; Modified: EAX, EBX, ECX, EDX ; SetCr3ForPageTables64: =20 + OneTimeCall CheckSevFeature + xor edx, edx + test eax, eax + jz SevNotActive + + ; If SEV is enabled, C-bit is always above 31 + sub eax, 32 + bts edx, eax + +SevNotActive: + ; ; For OVMF, build some initial page tables at ; PcdOvmfSecPageTablesBase - (PcdOvmfSecPageTablesBase + 0x6000). @@ -64,14 +118,19 @@ clearPageTablesMemoryLoop: ; Top level Page Directory Pointers (1 * 512GB entry) ; mov dword[PT_ADDR (0)], PT_ADDR (0x1000) + PAGE_PDP_ATTR + mov dword[PT_ADDR (4)], edx =20 ; ; Next level Page Directory Pointers (4 * 1GB entries =3D> 4GB) ; mov dword[PT_ADDR (0x1000)], PT_ADDR (0x2000) + PAGE_PDP_ATTR + mov dword[PT_ADDR (0x1004)], edx mov dword[PT_ADDR (0x1008)], PT_ADDR (0x3000) + PAGE_PDP_ATTR + mov dword[PT_ADDR (0x100C)], edx mov dword[PT_ADDR (0x1010)], PT_ADDR (0x4000) + PAGE_PDP_ATTR + mov dword[PT_ADDR (0x1014)], edx mov dword[PT_ADDR (0x1018)], PT_ADDR (0x5000) + PAGE_PDP_ATTR + mov dword[PT_ADDR (0x101C)], edx =20 ; ; Page Table Entries (2048 * 2MB entries =3D> 4GB) @@ -83,6 +142,7 @@ pageTableEntriesLoop: shl eax, 21 add eax, PAGE_2M_PDE_ATTR mov [ecx * 8 + PT_ADDR (0x2000 - 8)], eax + mov [(ecx * 8 + PT_ADDR (0x2000 - 8)) + 4], edx loop pageTableEntriesLoop =20 ; --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel