From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B170621F0DA6E for ; Tue, 6 Feb 2018 16:48:19 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2018 16:54:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,471,1511856000"; d="scan'208";a="27942336" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 06 Feb 2018 16:54:02 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Feb 2018 16:54:02 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Feb 2018 16:54:01 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.130]) with mapi id 14.03.0319.002; Wed, 7 Feb 2018 08:53:59 +0800 From: "Zeng, Star" To: Heyi Guo , "leif.lindholm@linaro.org" , "linaro-uefi@lists.linaro.org" , "edk2-devel@lists.01.org" , "graeme.gregory@linaro.org" CC: "huangming23@huawei.com" , "ard.biesheuvel@linaro.org" , "john.garry@huawei.com" , "zhangjinsong2@huawei.com" , "mengfanrong@huawei.com" , "guoheyi@huawei.com" , "waip23@126.com" , "wanghuiqiang@huawei.com" , "huangdaode@hisilicon.com" , "Gao, Liming" , "Zeng, Star" Thread-Topic: [edk2] [PATCH edk2/MdePkg v2] MdePkg ACPI: Add some macros for PPTT Thread-Index: AQHTnxWfIChBCSKIE0aqYrPPrw7y4KOW9JmQgACifoCAAIby4A== Date: Wed, 7 Feb 2018 00:53:59 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103BA3BAC1@shsmsx102.ccr.corp.intel.com> References: <1517899305-2234-1-git-send-email-heyi.guo@linaro.org> <1517899305-2234-2-git-send-email-heyi.guo@linaro.org> <0C09AFA07DD0434D9E2A0C6AEB0483103BA3A4C9@shsmsx102.ccr.corp.intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1C8744@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1C8744@SHSMSX104.ccr.corp.intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH edk2/MdePkg v2] MdePkg ACPI: Add some macros for PPTT X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2018 00:48:20 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Pushed at c4e75574a0c7d3ef97be8e18f261298b34e77065. Thanks, Star -----Original Message----- From: Gao, Liming=20 Sent: Wednesday, February 7, 2018 8:51 AM To: Zeng, Star ; Heyi Guo ; leif.= lindholm@linaro.org; linaro-uefi@lists.linaro.org; edk2-devel@lists.01.org;= graeme.gregory@linaro.org Cc: Zeng, Star ; huangming23@huawei.com; ard.biesheuve= l@linaro.org; john.garry@huawei.com; zhangjinsong2@huawei.com; mengfanrong@= huawei.com; guoheyi@huawei.com; waip23@126.com; wanghuiqiang@huawei.com; hu= angdaode@hisilicon.com Subject: RE: [edk2] [PATCH edk2/MdePkg v2] MdePkg ACPI: Add some macros for= PPTT Reviewed-by: Liming Gao >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of=20 >Zeng, Star >Sent: Tuesday, February 06, 2018 3:10 PM >To: Heyi Guo ; leif.lindholm@linaro.org; linaro-=20 >uefi@lists.linaro.org; edk2-devel@lists.01.org;=20 >graeme.gregory@linaro.org >Cc: Zeng, Star ; huangming23@huawei.com;=20 >ard.biesheuvel@linaro.org; john.garry@huawei.com;=20 >zhangjinsong2@huawei.com; mengfanrong@huawei.com; guoheyi@huawei.com;=20 >waip23@126.com; wanghuiqiang@huawei.com; huangdaode@hisilicon.com >Subject: Re: [edk2] [PATCH edk2/MdePkg v2] MdePkg ACPI: Add some macros=20 >for PPTT > >Reviewed-by: Star Zeng > > >Thanks, >Star >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of=20 >Heyi Guo >Sent: Tuesday, February 6, 2018 2:42 PM >To: leif.lindholm@linaro.org; linaro-uefi@lists.linaro.org; edk2-=20 >devel@lists.01.org; graeme.gregory@linaro.org >Cc: huangming23@huawei.com; ard.biesheuvel@linaro.org;=20 >john.garry@huawei.com; zhangjinsong2@huawei.com; Heyi Guo=20 >; wanghuiqiang@huawei.com; guoheyi@huawei.com;=20 >waip23@126.com; mengfanrong@huawei.com; huangdaode@hisilicon.com >Subject: [edk2] [PATCH edk2/MdePkg v2] MdePkg ACPI: Add some macros for=20 >PPTT > >Contributed-under: TianoCore Contribution Agreement 1.1 >Signed-off-by: Ming Huang >Signed-off-by: Heyi Guo >--- > MdePkg/Include/IndustryStandard/Acpi62.h | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > >diff --git a/MdePkg/Include/IndustryStandard/Acpi62.h >b/MdePkg/Include/IndustryStandard/Acpi62.h >index 2904d34..730365b 100644 >--- a/MdePkg/Include/IndustryStandard/Acpi62.h >+++ b/MdePkg/Include/IndustryStandard/Acpi62.h >@@ -2557,6 +2557,12 @@ typedef struct { }=20 >EFI_ACPI_6_2_PPTT_STRUCTURE_HEADER; > > /// >+/// For PPTT struct processor flags >+/// >+#define EFI_ACPI_6_2_PPTT_PROCESSOR_ID_INVALID 0x0 >+#define EFI_ACPI_6_2_PPTT_PROCESSOR_ID_VALID 0x1 >+ >+/// > /// Processor hierarchy node structure flags /// typedef struct { @@=20 > -2593,6 >+2599,18 @@ typedef struct { } >EFI_ACPI_6_2_PPTT_STRUCTURE_CACHE_FLAGS; > > /// >+/// For cache attributes >+/// >+#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_ALLOCATION_READ 0x0 >+#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_ALLOCATION_WRITE 0x1 >+#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_ALLOCATION_READ_WRITE >0x2 >+#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_CACHE_TYPE_DATA 0x0 >+#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_CACHE_TYPE_INSTRUCTION >0x1 >+#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_CACHE_TYPE_UNIFIED 0x2 >+#define EFI_ACPI_6_2_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_BACK >0x0 >+#define >EFI_ACPI_6_2_CACHE_ATTRIBUTES_WRITE_POLICY_WRITE_THROUGH 0x1 >+ >+/// > /// Cache Type Structure cache attributes /// typedef struct { >-- >1.9.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel