From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe42::60e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EC70F80369 for ; Tue, 14 Mar 2017 14:12:43 -0700 (PDT) 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=EvQ9fyHwx5j54BUDf5NPQR0CPkJpGno9gjCeaZrYox0=; b=5rrqcAjwfP9UFUYMOsXJIj4fVU54Gv8r0dk5p6nh+RCGBut4q9hcxReKfB4/3hdvt1OhfLJHqWtxxfxmVX/lFxyMbtrnMv1YyFH1oGInhHQw+WzfhSr5XR2V2vo58thNnVgzK+bVaLbHQ8WMGF/PY+eMIyOsw3knyRRWh7k/YOY= 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 BN6PR12MB1234.namprd12.prod.outlook.com (10.168.227.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.961.17; Tue, 14 Mar 2017 21:12:42 +0000 From: Leo Duran To: CC: Leo Duran Date: Tue, 14 Mar 2017 16:12:33 -0500 Message-ID: <1489525954-30988-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: BN6PR17CA0038.namprd17.prod.outlook.com (10.175.189.24) To BN6PR12MB1234.namprd12.prod.outlook.com (10.168.227.20) X-MS-Office365-Filtering-Correlation-Id: 77bd3872-8c86-4f1a-c9dd-08d46b1eda91 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:BN6PR12MB1234; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1234; 3:EcN+38q5/oq6tMauWWgBfm7MpAczjgmF10aSowyb8gE0yfwHvgBMpZHiJaaZtkgnNaY2Iz5bwHQqWmbmphlNSoAjtzKkn8JTqBqeizj/ZWoM2ow4mooEh5HBV6Qk9RK4b4zUdF2pQ+KeKmYBAw4eYSiYMfFo4CHj12fen7gzDT1LI4x6pTJOUE0DA/IocI/EhsjM9AKgQ2pIjyiMkTA6rw5Y8T0stCBGb4q8kX/S/2YBpbhk+SHlZNSFRZelDtK/aixhCu+ol5SNhVubGjRJSGL9md8pBB4IXK9B68loCQU=; 25:+qaHRJ09alPQy4wIspt0GpnVHYrl7vt3PgUPpoWmZAJ4qY0we5FGJz5ru/fsVcUuNCJV2divR8qRddNU7AxG7LZ+KiIXr/J83zvI6WiMIz1RVjYRA5G0/9l9MURP9e0bxxoHBN5JQWv+D+ni8O8/CjnYT7kUnHhTG5KpmHtzZw1fUwpfFZVBQc0HaPFun24LZGXdRWGAFeQ34am8XYzkOfyYvRfGLEnltzLIbbjM6gSBKfttAbPyqi5bxRlX2HBl5VdJ2508wBG5uZVYRMC+zbu7BWD/nJD7br7WmgCsUtueR1WP2Sw1vxuKj8W9AGT1qou+tUnNK+Ke0JptFDbkLus5SV6HibtAtj1ADWijwXml+VXr5n86bTWB0UUAqK/aH/Fki8U84/VqOQeO9k2l1c8bXOYL+M+cJFWrBJiJWWkEVSwP+rDGFfiSH5sT9FManSroEtGGeqYPG1YGzLANmQ== X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1234; 31:oLN/vkeOzUD2rbUzkiFN+69JbakOD3ys+4ONRbufF7U8Mf7PRrHgYLN8t3umPqD6v6H7v01i8EazK8fkrG4CIXGGhWo1Uc+zBNtFn80wiluzpeyzEpPeHDZO/gRJeehABJbCi4BqUhU9eSkFqjVASK8SV08HrVWJF4i3mAJSGJ7joQzkyrDI4PpTBW1yvWnXI/cNu2cVR9ERksQFTncBW428/XQPJkUIp0WLa/6RiwruyuEXn2v0Em0qoWA5GA31q2IvAjgTx4nC+DK69LoHiA==; 20:pY5zC0kFogJWlzvA3yMXk3CjseAYr2JEHumxmlnMi30gxAH1IzOJhWpZm1PlmyGZe8DFjQh3CHBVyvbuXObDxnm71peP6yKbRLxx/R2IDVOlvH5ae8STlQIFlafkUGm9DdEENgWosnV8H9onn98FJlwLLWt2WJSpTidSErYMS4uhHCp7hkqrDPI8AMwIDUT3arJFQdYQ7KSxZGI4uihIjzi7NkVOdcWEA+z/Qd6tfGuLSa22HjyWVB8/IZHT+XHuBEOmpU4SGAEJDZYsBI/v051FCWZkcONMVP7DafF+Q7kdPRedlkGHLHqPIGis7zUFmZToRkeDn0EAynj+BBDTsWFWU3gzugKOI9EOfn9OgMpJGp0Jaosoddxh9BzrS05AEqqI+p/kisgy7nfBPwukIWJKVzQlALPnS6BTGLWfNaauM8crG2/LNLfUdPi18G5L6sBIXxF/xpTTAvlASQtCYmmFrmQtgWkeAEvar7ALyri8k1fmLg2AO5Xj31dRvg9M 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)(20161123560025)(20161123558025)(20161123564025)(20161123555025)(20161123562025)(6072148); SRVR:BN6PR12MB1234; BCL:0; PCL:0; RULEID:; SRVR:BN6PR12MB1234; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1234; 4:KojHTA9Wy+tThCmsxctw3xiTnoixIlHuzLeTAG+RbTJBj3Tcwkf2mkVmN92Tty5HHyYFQIqajsjL2/8yYKXgui48TLRERh0taMJp33kkQ7Ob7t2swrzbQCm1kbxmqfYiDgr4PGL4yag+XEoLTk8tQq5fLoE2jXzAVkGSUvy2FSktjhcGXq0kREqdWOaqB/ECT97HARPqVc7CQaeO2mVSbizqgegtKDUoM+uwjmlUb0vg4ZmXGzhTVZBlIkNzootekvf9dfdfVf98AevhNeQJDJRrMd2A+cluM2ZKamJ6eKlEBem2vXPgXDb5awGKAUGtCpPBb1nlZGZuBD/HPinaj8TRN8/OZdL+OEcr88I/K1jjoI8fLWmtYAMl3uXqjzNpNdUVRcwoRT2COWOKyN9jQf65h18cOCzzL2ah6tQfHd4JPhJxZEQ4vkbVjUkeoEcC1/kfZvnMz2nl9pK49ajIahWqAmfumX5VZpeZS1WeLyVDXDKMyJ5BEFjMvEKky8YDCUV8tcMy6Oq1Pp7VYQ1055H3S8dimzPFHy/oD1IECH4Bm5IV5BSGzVueyReSSPGt4/N+SptWVldoLM78cGfqpwHPHYe5+NrZvnOGml+OnEBL7lQho8lTVF+JCg5DyFMF X-Forefront-PRVS: 02462830BE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6029001)(39850400002)(39410400002)(39450400003)(39840400002)(3846002)(2906002)(6116002)(48376002)(50466002)(6486002)(81166006)(8676002)(50226002)(25786008)(7736002)(189998001)(6916009)(305945005)(50986999)(86362001)(2351001)(33646002)(36756003)(5003940100001)(110136004)(6666003)(53936002)(5660300001)(47776003)(4326008)(53416004)(42186005)(66066001)(38730400002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR12MB1234; H:leduran-Precision-WorkStation-T5400.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN6PR12MB1234; 23:agj3eQmbvfYr2yL/0o97+RbpqlNsMMcUTXaZwda20YNzdrZxjCjz2vSXArJ/QHFUAhpnehGoNzToRXPUleLd7m8DFoPtSrKo/mzBYSnQghWuHSgGfMTCDzwTFKP/1+uaiU6LS9yHgTqriVe29UA2PHY6c1ypNPov54HYJ1OlCaiBrwXkE6dbXYpz5REdxJ75cl6fYu13msRb33sDHM1dwXfkNiYCDeYfEcS9Yj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X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2017 21:12:42.4542 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1234 Subject: [PATCH] UefiCpuPkg/PiSmmCpuDxeSmm: 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, 14 Mar 2017 21:12:44 -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 removes the SEV mask on addresses from page-table entries. This patch follows [PATCH v4 0/6] Add PCD PcdPteMemoryEncryptionAddressOrMask which has alreeady being pushed upstream. Leo Duran (1): UefiCpuPkg/PiSmmCpuDxeSmm: Bug-Fix for supporting PCD PcdPteMemoryEncryptionAddressOrMask UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.7.4