From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atlmailgw2.ami.com (atlmailgw2.ami.com [63.147.10.42]) by mx.groups.io with SMTP id smtpd.web10.6114.1593723126518679449 for ; Thu, 02 Jul 2020 13:52:06 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: ami.com, ip: 63.147.10.42, mailfrom: oleksiyy@ami.com) X-AuditID: ac10606f-4c5ff70000003ed3-fd-5efe48f11940 Received: from atlms1.us.megatrends.com (atlms1.us.megatrends.com [172.16.96.144]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by atlmailgw2.ami.com (Symantec Messaging Gateway) with SMTP id F9.C1.16083.1F84EFE5; Thu, 2 Jul 2020 16:52:02 -0400 (EDT) Received: from Oleksiy77.us.megatrends.com (172.16.97.158) by atlms1.us.megatrends.com (172.16.96.144) with Microsoft SMTP Server id 14.3.468.0; Thu, 2 Jul 2020 16:50:39 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , , , , Subject: [PATCH V3 0/4] Add New Memory Attributes Date: Thu, 2 Jul 2020 16:50:35 -0400 Message-ID: <20200702205039.52400-1-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAIsWRmVeSWpSXmKPExsWyRiBhgu4nj39xBr0rhCy2blO3aJ8wm81i 2bEdLBYr7m1gt+jo+MdkMX27i8WX1e8ZHdg9tn+/wOixeM9LJo/3+66yBTBHNTDaJObl5Zck lqQqpKQWJ9sqBRRlliUmVyopZKbYKhkqKRTkJCan5qbmldgqJRYUpOalKNlxKWAAG6CyzDyF 1Lzk/JTMvHRbJc9gf10LC1NLXUMlu5CMVIXMvLT8otzEksz8PIXk/LwSoOrUFKCoQkI3Z8aO o0/ZC+ZxV+x40MXewHiYo4uRk0NCwERi7a+7TF2MXBxCAruYJBobl7JCOJsZJaZMusUOUsUm oClx4NgURhBbREBKYsqBmWAdzAJ7GCV6Xp9iBUkICxhJ3Hs0hQ3EZhFQkZi89ghYM6+AqcTp lkPMEOs0JKatAVkHEheUODnzCQuIzSwgIXHwxQuwGiEBWYm248/ZJzDyzkJSNgtJ2QJGplWM QoklObmJmTnp5UZ6ibmZesn5uZsYIdGVv4Px40fzQ4xMHIyHGCU4mJVEeBNU/8UJ8aYkVlal FuXHF5XmpBYfYnQCOnQisxQ3KKiAYR9vbGAgJQrjGJqYmZgbmRtampgbGyuJ805auyZOSCAd GIfZqakFqUUwQ5g4OKUaGJ26tYtv8r639VgpUmds9mLJ0jldy34rcdZuZPgzJ3nbU1+Wo2sX vbLf0f1LcM//zqPz1/NOMj1S9cUxMJ5nFqem/6UYJ9fyfbZOeyNf+i0onGi7yu7ySuMpZ25q mFsX7A9Ys0mbPcljtY+76df9S53tz306E/V7sVbN49Q1Kzbb167mW8f465YSS3FGoqEWc1Fx IgDBLYP2wwIAAA== Content-Type: text/plain This series of patches add usage of new memory attributes EFI_MEMORY_SP and EFI_MEMORY_CPU_CRYPTO, introduced in UEFI2.8 (mantis 1919 and 1872). First patch fix typos in description and introduce two bitmasks for all memory type attributes. Second and fourth patches get rid of multiple memory attributes bitmasks definitions trough multiple files and headers, and replace them with new common definitions from MdePkg. Third patch includes WP attribute into cache type mask in CpuDexe.h to make next change in this file more clear. Oleksiy Yakovlev (4): MdePkg: Add New Memory Attributes MdeModulePkg: Add New Memory Attributes UefiCpuPkg: Update EFI_MEMORY_CACHETYPE_MASK definition UefiCpuPkg: Add New Memory Attributes MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 11 ++--------- MdeModulePkg/Core/Dxe/Mem/Page.c | 9 +++------ MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 7 ++----- MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 10 ++-------- MdePkg/Include/Uefi/UefiSpec.h | 10 ++++++++-- UefiCpuPkg/CpuDxe/CpuDxe.c | 11 ++++------- UefiCpuPkg/CpuDxe/CpuDxe.h | 12 ------------ UefiCpuPkg/CpuDxe/CpuPageTable.c | 6 +++--- UefiCpuPkg/PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 2 +- 9 files changed, 25 insertions(+), 53 deletions(-) -- 2.9.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.