From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web11.54538.1594029449295672276 for ; Mon, 06 Jul 2020 02:57:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=B2c0bzrb; spf=pass (domain: redhat.com, ip: 205.139.110.120, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594029448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FeesRWKdiP+E0OLZtSOhfggUyP8/JHZ+Lu3rVmganf8=; b=B2c0bzrbpAnCCQAy+tBPhawP0Y0h2hIS8phcSlw1adM7re6jYw7zI+k+DFkz5G93brhBwz fTe6q0KmUg7HVetki9r3NBTiPwuWJhEo8i3aB4QNgfchGepfbG2gE5AOsRoff6+4Yt7Owi uUd0PndX4Uzk59lM6MCT71cSaQQlN9U= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-290-jaw15PkIPpGTvugb20n8rw-1; Mon, 06 Jul 2020 05:57:26 -0400 X-MC-Unique: jaw15PkIPpGTvugb20n8rw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 70F068005B0; Mon, 6 Jul 2020 09:57:25 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-194.ams2.redhat.com [10.36.114.194]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6AE9D5D9D7; Mon, 6 Jul 2020 09:57:23 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH V3 0/4] Add New Memory Attributes To: devel@edk2.groups.io, oleksiyy@ami.com Cc: liming.gao@intel.com, michael.d.kinney@intel.com, dandan.bi@intel.com, ray.ni@intel.com, rahul1.kumar@intel.com, Felixp@ami.com References: <20200702205039.52400-1-oleksiyy@ami.com> From: "Laszlo Ersek" Message-ID: <102401fb-a667-09e0-cfc0-ad3b86f27a01@redhat.com> Date: Mon, 6 Jul 2020 11:57:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200702205039.52400-1-oleksiyy@ami.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 07/02/20 22:50, Oleksiy Yakovlev wrote: > 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(-) > series Tested-by: Laszlo Ersek Meaning my usual OVMF regression tests, and (due to patch#2) an ArmVirtQemu boot test on AARCH64 KVM too. Thanks Laszlo