Re: [edk2] [PATCH v4 6/6] UefiCpuPkg/PiSmmCpuDxeSmm: Add support for PCD PcdPteMemoryEncryptionAddressOrMask

2017-02-28 Thread Fan, Jeff
Reviewed-by: Jeff Fan -Original Message- From: Leo Duran [mailto:leo.du...@amd.com] Sent: Monday, February 27, 2017 1:43 AM To: edk2-de...@ml01.01.org Cc: Leo Duran; Fan, Jeff; Tian, Feng; Zeng, Star; Laszlo Ersek; Brijesh Singh Subject: [PATCH v4 6/6]

Re: [edk2] [PATCH v4 6/6] UefiCpuPkg/PiSmmCpuDxeSmm: Add support for PCD PcdPteMemoryEncryptionAddressOrMask

2017-02-26 Thread Fan, Jeff
Leo, I just saw your patch removed SetCacheability() also. I will drop my patch in https://www.mail-archive.com/edk2-devel@lists.01.org/msg22944.html :-) Thanks! Jeff -Original Message- From: Leo Duran [mailto:leo.du...@amd.com] Sent: Monday, February 27, 2017 1:43 AM To:

[edk2] [PATCH v4 6/6] UefiCpuPkg/PiSmmCpuDxeSmm: Add support for PCD PcdPteMemoryEncryptionAddressOrMask

2017-02-26 Thread Leo Duran
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 entriees are created or modified. CC: Jeff Fan Cc: Feng Tian