From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe44::60c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CDD5981FB6 for ; Tue, 7 Feb 2017 11:53:54 -0800 (PST) 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=G7IJ5yNSfW4wRIv0jr9gUb3n3Gz2I4WlkVZcW/DrmFU=; b=HivBBVy++VBnBBLDpB1SmBNOOHCuaNC1y4IfVwcaQsKdFcLmiKrPWL0+NatuBTVDRJ1ZQy7MALGIZ1LPEOoXVNOP1/WtXjyNmvse8Ektco6MxczzARRnrHGlEP9Jl8bQbrzpc3fiPEzGd8t8jn7L+o3Pmde+q5QR08iJ7uEu5Fk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leo.duran@amd.com; Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by CY4PR12MB1239.namprd12.prod.outlook.com (10.168.167.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Tue, 7 Feb 2017 19:53:53 +0000 From: Leo Duran To: CC: Leo Duran Date: Tue, 7 Feb 2017 13:53:42 -0600 Message-ID: <1486497223-22694-1-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: DM5PR12CA0060.namprd12.prod.outlook.com (10.175.83.150) To CY4PR12MB1239.namprd12.prod.outlook.com (10.168.167.14) X-MS-Office365-Filtering-Correlation-Id: a224e878-49c3-44a6-ad65-08d44f930b24 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:CY4PR12MB1239; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 3:S9bLnVSzdjCNFTFNSjzyKcbr9nVStgKXhjLosxNH3w5DKksDvIYxvwUWnOIBwrbDsE+MBcU5Ss5Zmuik4Xj0d40BjpT8HrMgCTB6JSCqUbeIgXtls9uT0Ql6Qu8qJSGYAxa144QoTWKMUKC1RUX+8CDgXBmnl0b/LAivMLLTyHFKZLyZGTEuYR5ExyUZi/PsyuJrZY8s57OTDtcHPvwU2Q9G8Ta8I3L3mokmw4GFwTmYGMrzSWXu5h83rJ5v9Ls70k1JJIdEIf4BcNDCfekJCXXhNr9lNin4OZ1cQfiKg80=; 25:cvGhSLYtUKARGwVA07WtZ4hC/0Hf6S54qImRzTsFiuTyTE+l2QWw3lu6Jhskm5hAw7+NwYq7yNm0wG04hKeLEnZPHL1/Ln8ORTpwsuImWRCwXAk1D4CSRQXubdNsjwrz4Pnwuf0vzhMa7yg4LIj8f6AazxpLix3Fn0Vuovf/s6P0jNEoqPFBHgkIc6zeeC6ORJxGrthUjIXagAgDdVkeBwbPjOY5gqNMSpSbgj3xOrMDC7zb6mrOGdvoV92GPrOrASO9X7nRLXx+ZfwCun7F5o5KHzoK4nIajfCJ91RXpODeI9lgKsSeZr8o0ivLwkhTnW/ghSLF6y0UjMRBskWujvNLXYjLTH1PP19E9+hBpQTwYkuJOSQj3v9DX5A4ob3GfJFq1bk3gt79DtoxYRT6REi3moncqviWCZfD7PtxhePUbZxVZk901sp80p7gmsze X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 31:2+0CodRyyn4ExbYtoNZFh8uygZDGVXAjZz7x2Wt+K2Vso4HZweIyvp70PDu3DG/I62JK/87dxpwlZSaWX220wNlZuyrOutmNg8Y1bMIsnnvHFsaFZyEjscslCyKUpVLMra81uwtkIqGvYzAJj2yPreM28HqsoFbVrrEUzHPe6VGGpzxcJgtXS4R5NerveV8KejaxHf0V3juFrlm1y3IiFUavUVmXTJFG6Dx96qi41NLeEE1u9MYv2vTlyuqrgAJR; 20:qM21ZaNUiVIaW2I9UDdunUiKZ1YYdWvAtrtf1et883vSGeWC07bPa9La5GjR6XZHzgFHhsHcJ/Nf/y4Vd8/RFiagDerhZvJOrfRIhG6yaBii6x+NoMnOP7HiV33yOgnt/umCBtvbVB/7R6b2zIT7rhQP6TmN0YJ3UF3RhlNISUE8r9zuKyWh462NwuNUn52VAvsw3xyxtPNrP8QVLKw/GwKudVw4kZoHjCgZuZb2y2+T1M7iU74NLIxzrBec+ftbzcY/iOtxwnaHIimvJuGzZffLBZoSRVbk2ZfsGBQQycusOHSXwuaw+NbKdu2qMK9LSzYp81sR6/EMURbPpE7w8P6RxZpRYSQ9QnBNh4es78xGPApnHsUjX3+Afnl3ALJoV2Qlgl2zICpk43LkW7XyMC5RxpcOIsG+N2gAvKc5NFK/sBnvA1rF7lUyigvWSqk5hYag0ynGY4F0V4adSd8FK6poRJdJYk0zp/eDz2p6C6Hlkm9YY8ukZy4W0uu7STpo X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(2017020603029)(20170203043)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123564025)(20161123558025)(20161123555025)(20161123562025)(6072148); SRVR:CY4PR12MB1239; BCL:0; PCL:0; RULEID:; SRVR:CY4PR12MB1239; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 4:dGb0m1AWl3SEbaUO1L77HQ9SVnUzoAD8R/cnr2DwZ2fywcgH6s6WW7ktWYLs9a7MyRMLmwbNlfIMC+UXteHJYZsYLx2yEzFJxio2IbW/NMoQgFv/9kybCSTA+bxEpSSt6ir911PvAws7IGNzvadFzcQrOdcbigUJwY+8KvpajJhHiexRQ3oLbn9TIjtiAlHZqZp4Ex7iSkTAOLgB7Ht9S9Qfw5R4KUNuJwsvOl7DBSMrX2xhoW6y/B8Jp5s9QkiwCDnIpVHgSISaARW2H8/toqvuj/6bJF7HpKhJodPHQcqoRS2TTHmO/1VPx4ypf95T7a4Pj6/xWRalGmJF36S82M3qlunDzgsi2MWl5qZjMbWPliEEVrUu1rhX7OkLB81id8x4hiz38Hy0zev8XO0gjRciVMGQ2tdHtiH9eawwJ+Q0EwCmEfcbxxh5B1Enh5Ta/q9gW1DKr08nuNfwSkxdgtQroYVGkEtYTx/HXrPGYlDNvc0vYBhC/KacPES7rUDOXERI4NfZ22Qu/fPL0sfd3db1GFYvPE7/Mf1SX4SVxqRihWE4PYy1BnhfrMsTABady5R8UxQuVq/JsmGJJlSnzTbaFWBNqryjVlsNkHD8YF0QfVUwD73WtG+lbjy291VneY6noRQcmAjUhwPob7Z+uWgtN9FnEMjYvSQIvB3AcbkL1eTo/20S7cPVuNqcqY3x X-Forefront-PRVS: 0211965D06 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(39410400002)(39850400002)(39860400002)(39840400002)(199003)(189002)(47776003)(66066001)(48376002)(36756003)(53416004)(6116002)(50226002)(3846002)(2351001)(42186005)(106356001)(5660300001)(50986999)(101416001)(86362001)(6666003)(6916009)(189998001)(6486002)(450100001)(105586002)(305945005)(7736002)(25786008)(4326007)(97736004)(68736007)(8676002)(81166006)(33646002)(53936002)(50466002)(2906002)(81156014)(38730400002)(5003940100001)(110136004)(92566002)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1239; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR12MB1239; 23:F3Zsva2OnuTtSpN5F02xFO8X5mGSEDjuORSfOrLUp?= =?us-ascii?Q?Dc8ZjTq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6tKM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1239; 7:GALS/xifX5hJvKQT6kKPnW8Luacd25/D3P9eQGRVgu+H9HrkDUepWqP3T4OGPnBb4fNQjHhPUyPQpKGAWkFG102TH+ANC7ggN5JpvdgmxSy5UkbuupTplFlYxmLg3OCl9WuiT7Z+j3NxN+3Qz+8Sy5e7y2AIxuixhT4mDz+qkyMC65DT0stx3RyegTyayPJb8FcZ9ustD0CKNAZxmWzbKPrVFndlGST+qtXc0DCrXWvSYsSgT0picq2UkZ6+a7rbKeRg3glKS71XXUXtHjBtSNrd10gTkYHTV/gl5R4e7VyLoRO/Rd8ow6zvF4jUb/NSwinxk589Duf+46mjzTttrrKOuYC4vqCJU/+y5Si7jv0DCMHNAP6NYT1nVnK5s9bpWGPKmbDU4fccH0w588m5CAj09bPRWAXbE9XVguP9rlFw8XXnA+PvzLOwwIvvzbj+NJYkZfkTzwUUb0prTQYAPy9RvK6lfu0nDRIc4svAIXQFQM/DC4rfSgkWP7K2YUNfOGUI4BauNd0WvduDrN9lCw==; 20:Bt/T80ALawOdpkWJxaaXcHP2OUPSfsI84f75qjQ0BNaJpEGf3PUsmNqgnlzrTU12hWUYX9qYDHRmjQkVZs0qvVFdFUXbXLIHWqnxhHqC1SOX34M9EuNU7I88ILslo00KYIY4yAZJV4g/CBu16bhljLtMIkiJEJ7NRkZbtO9SmGV5/zrEoG6gdvHU72nKAGCHNcYE4w/429Arin+SEVfWzHSx9kZvZuI9W5iQpOnRoIcshEiRcaQbA710YOVoOa87 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Feb 2017 19:53:53.0361 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1239 Subject: [PATCH] MdeModulePkg: Add dynamic PCD X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2017 19:53:55 -0000 Content-Type: text/plain The new PcdPteMemoryEncryptionAddressOrMask dynamic PCD holds the address mask for page table entries when memory encryption is enabled on AMD processors supporting the Secure Encrypted Virtualization (SEV) feature. This mask should be applied when creating 1:1 virtual to physical mapping tables. For example, the OvmfPkg sets the PCD when launching SEV-enabled guests. Brijesh Singh (1): MdeModulePkg: Add dynamic PCD PcdPteMemoryEncryptionAddressOrMask MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf | 5 ++++- MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c | 18 ++++++++++-------- MdeModulePkg/MdeModulePkg.dec | 8 ++++++++ 3 files changed, 22 insertions(+), 9 deletions(-) -- 1.9.1