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.20; helo=mga02.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 8AA5421F0DA63 for ; Tue, 6 Feb 2018 16:45:05 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2018 16:50:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,471,1511856000"; d="scan'208";a="28724927" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 06 Feb 2018 16:50:46 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Feb 2018 16:50:48 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 6 Feb 2018 16:50:47 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.125]) by shsmsx102.ccr.corp.intel.com ([169.254.2.124]) with mapi id 14.03.0319.002; Wed, 7 Feb 2018 08:50:46 +0800 From: "Gao, Liming" 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.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" Thread-Topic: [edk2] [PATCH edk2/MdePkg v2] MdePkg ACPI: Add some macros for PPTT Thread-Index: AQHTnxWlLNGbdKgME02T3fSUmkm1XaOWbpaAgAGumxA= Date: Wed, 7 Feb 2018 00:50:45 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1C8744@SHSMSX104.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> In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103BA3A4C9@shsmsx102.ccr.corp.intel.com> Accept-Language: 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:45:07 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Zeng, Star >Sent: Tuesday, February 06, 2018 3:10 PM >To: 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.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 >Subject: Re: [edk2] [PATCH edk2/MdePkg v2] MdePkg ACPI: Add some >macros for PPTT > >Reviewed-by: Star Zeng > > >Thanks, >Star >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Heyi Guo >Sent: Tuesday, February 6, 2018 2:42 PM >To: 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; Heyi Guo >; wanghuiqiang@huawei.com; guoheyi@huawei.com; >waip23@126.com; mengfanrong@huawei.com; huangdaode@hisilicon.com >Subject: [edk2] [PATCH edk2/MdePkg v2] MdePkg ACPI: Add some macros >for 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 { > } 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 { @@ -2= 593,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