From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0614.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe49::614]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 52B27821FA for ; Thu, 2 Mar 2017 15:36:15 -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=pcyNp7l3RWS8rUvqTfYwUqqMRashIkCFxUHqKQ92kj8=; b=JEOr5IhH2VIztD8EwkDDvzqQhQlEC7oM4HfOvSa7UXl6vvHpHZgGiXXGBX7Qaj0zsG6qdd8qslWXriYpa5X3rEjGcV78eCl1rPvA5XCI5OKQjyPTmn+PygDh60EOpyrphjKb0dpQNZaMuapG80mUE2gwCtLkytJPUf6c0NbQ4EU= Authentication-Results: ml01.01.org; dkim=none (message not signed) header.d=none;ml01.01.org; dmarc=none action=none header.from=amd.com; Received: from leduran-Precision-WorkStation-T5400.amd.com (165.204.77.1) by MWHPR12MB1248.namprd12.prod.outlook.com (10.169.205.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12; Thu, 2 Mar 2017 23:36:13 +0000 From: Leo Duran To: CC: Leo Duran Date: Thu, 2 Mar 2017 17:36:02 -0600 Message-ID: <1488497763-10435-1-git-send-email-leo.duran@amd.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR07CA0020.namprd07.prod.outlook.com (10.172.94.30) To MWHPR12MB1248.namprd12.prod.outlook.com (10.169.205.8) X-MS-Office365-Filtering-Correlation-Id: dc843062-add7-4576-0f53-08d461c4ea00 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:MWHPR12MB1248; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 3:r/tiH9McMHczkTEQ6CmPosu90MZrH3B6GkVxuEO00w8nhnVgFu+L9aMUmoQeDnLhtydmyWiuYgk//q/wIEyn6O2N2keR3Db86R7DXK8z3dirmiQkuaiVUxB6CJMAI5PWw4j14lHiTdh6y5n+dPYaOsWCNlRYVwTQpO89M4mY/bd6rV/EjZ4S5XoNTQpYyYBieL2EUBENGxmktMry6EYuaWC5q08QfXzr0ezbJFrDorxfhmRj/byv/5EgYVqAwvG6HSIvEQwAadkrR3b7JGqJCtwLS93E6hrxwf8A9/+cMR0=; 25:FLffQlEBJ35V6w8+m9SguhquJRGDfSX5zpvr2MFhDdCC1RTWykJvvmihxJADpJ9383l8QKWFoCAzVTDl+HUG699wczlsyopPQ4Tz3JqAH42FcuBMWytFakvqrrbK5RcF/FNwqeKnz7U1unAmDwPvQKQTzJrrQQuzbmtyVEuJaiPgoo2apKvokyBeBIQEuzgVfd10jpiFv9zzS16OV/7MRnrCC5f1+XjLgYntNKzek3bQj/cnfYJ2hyQ0LJbSfFVIq2caPGiHsgLKJI809IDQQR2EnyrVWNoirYcGMsxQ1TJTiZLpTMlThfExk9N772ez8QRoX3ptA/RXL1T/3JuFH4KQSDacafTiQs6Cw6saeCHGzOQNr7KAW5iI6EXPgQCPUxaJdxRItfthnmJG6LN+/Bzc8aIgLN9OIRyo31M6h2oOtpatt9HJqNSIRccR32XFWirAGtjaE+gOW2YxDeLtFw== X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 31:UvNJN9B00vv6d42lKpyqCydXOC1yf1EbqYc23It36DVwXN+Iude4cmUcHbKY/11Zd7Fya4c4Bz/kr2W6KIT9lueocN6336i/0isfca4FUCEbaQ56YEpPiUGJGMGXsTw/Ns1SfJApXEpncYsuLcVzxAIL1ojXJk/+KcPyLWC8fNa4wJ/pAuxqgGMnq+7WfhydvgVaV+XHZJ1C0HgOm6arJqNkC909aeik+xOnDNo+FuQ=; 20:LAR1nFYoWi1x65yATcAEkpyMPrM1xwY7uHv/ClrbADuXYCmOtJla0DfzN+W9O6CWMcwTk59lYmAWy9C86AC8R1MC6CJm2c3lkc1qVGmM+/6d21nJNAoeuAKvx6b2nu5jajQiMUASAoG76lSOn7MAiLR9RdOdv3ikDZFUbGsEtaZlDutHZzoU5J3NTl4grcJ15HbXbOCnwFIpkt16/zHIbTqHDArHqy8vdBDURRfmq+493ijfbncn4H6oiCLaRowbOV/KAWL8MAnHa7ZfA5kzaGgD9klKEr7UapN+AGNsmpKYmTFQYZRNn3fxUYFMzMgxm1AswH2vRWbanqZI29L7dHWQpl8npMl8nR+sWPvxGaWJzdwCf7IpU/1jF04t/8RvX78JwIzj8x9Ivy+a9ZOs2sZ1uvX9FXJMkwEQ6Ch+6PIJMCFdYO4Yz8Jh2B5p0kFVx9HWh3Em71J9HhNXyeQg6vTBru7k0VsHWmBenAYkPLIftGqQRcK4IsUmzYZIzhX4 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)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123558025)(20161123560025)(6072148); SRVR:MWHPR12MB1248; BCL:0; PCL:0; RULEID:; SRVR:MWHPR12MB1248; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1248; 4:GCawn5NGKEeJ0dObl0WN5GHOmvpXk0gMaHLIVfkLunmZQ2C/4E8le3ZwaPf/2P66jTCEl59PMolokxD0YX4KmV65TJv8fKfp8Eu0enOPtSTCQepu+WXfHFQNkcpUEGWtDDM57/4BP0wi1B+x6bZ7ki8IHMG9G2Hn7jnX2RpIjVJ4LVj+bjQiakuPvCqqyQ6xr32jnFlzvWW5hpWpcVGcRmQVD+SYTetlt0nqO5fHB/Zs1zt2jhcxYAOTWPEZboBpMXsYsW7i7aexjEg6Z0X2elWoT4SkexSpuf31wryG56l2l3b8osMcQXulg4mXakCCpJCzbyLGuZ9PLXVFs+inyCnaSoEqD8cyfzFH6+TSeGJ7QiicM06/o6/oRarXl8yvPw+ZHGUJd7NKS085Httcu/ZhoadL+sJx6ZAHP4YcWV546hCVQrinwXAUJQ5yDXzEY/vw7HoNAE5HgdR86QpgOQeZSADIyP7Mdinkf4PO9fGFE9TI4dQOUL3nu9X5aTPrlU8X+BQyFr1Xb1D4sEt1vI8qUVTPYPxIEidz2lVlBLI9H7v7ivFexq7FGZGo8woC1fy2NBlIQKEszitgMOv7yH7WFS9eo0JXifTd0gCfuZe+nlSTpyhoPVkhBKxsCew0 X-Forefront-PRVS: 023495660C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(39860400002)(39410400002)(39850400002)(39840400002)(81166006)(86362001)(25786008)(3846002)(6916009)(6116002)(50226002)(53936002)(36756003)(4326008)(5660300001)(6666003)(450100001)(6486002)(8676002)(50986999)(110136004)(47776003)(7736002)(53416004)(2351001)(189998001)(42186005)(92566002)(305945005)(48376002)(38730400002)(33646002)(66066001)(50466002)(2906002)(5003940100001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1248; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR12MB1248; 23:4G2fFJIO5yAFFht4LwLOLZWzUmNDy0wuVl+QzDcb0?= =?us-ascii?Q?iXsKnYxYVrPDUz0x0oOiVKzBUEvqgoGOVEItCwkabvAepxwT2AdMG2XLdcEN?= =?us-ascii?Q?rwo6rLVs0FAQmdlBL5euyUkQe8spmm3zLwQRTg1rSNqkew4f7bbv4GhkvLuv?= =?us-ascii?Q?Ael6t4i/snxa1zZXTZhrg4RhcLNA1ZsxxESCiiAhUQAulX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wv8XZNTjBdCvOCrijllbVs+GqPL9TfdHXc1DQXxg==; 20:U3Z94gmndagHP/v7ZJM0GoWCZbJMoKKn8ENxa4rL7V5d53gemO9Tnv8RpqOyJo10D7kKFLpFikYxBWg3AicvKDZX6Iw9diw+SQ+EUVe0hGI3ZrgVZIuqjrj+CqSxHjfAmp5z3KpcmspEQJjV/7lKcTGj99zW5BaUZeKf6z1ClxUZYSlG+/hHgq6lug1H2VyrKjMBV8n0LQ06OaBi5Q7YAyWklUMaExLP0S1z8A67SOwmC4jpUSVEQkGZBvQ7e4Mj X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2017 23:36:13.1267 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1248 Subject: [PATCH] UefiCpuPkg/CpuDxe: 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: Thu, 02 Mar 2017 23:36:15 -0000 Content-Type: text/plain This PCD holds the address mask for page table entries when memory encryption is enabled on AMD processors supporting the Secure Encrypted Virtualization (SEV) feature. The mask is applied when page tables entries are created or modified. This patch follows [PATCH v4 0/6] Add PCD PcdPteMemoryEncryptionAddressOrMask, which has alreeady being pushed upstream. Leo Duran (1): UefiCpuPkg/CpuDxe: Add support for PCD PcdPteMemoryEncryptionAddressOrMask UefiCpuPkg/CpuDxe/CpuDxe.inf | 5 +++++ UefiCpuPkg/CpuDxe/CpuPageTable.c | 30 +++++++++++++++++++++--------- 2 files changed, 26 insertions(+), 9 deletions(-) -- 2.7.4