From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 2C04B940FED for ; Mon, 12 Aug 2024 03:38:42 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Dohe40cpHspmVFWHJIt6LFjwtue8tqmNC0QN16d18GE=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1723433922; v=1; b=XhUmbzEuhnmyGE0EjA06uNUpRZECzfzpZLKXHkx5nzjzH0aJCQa25P5TpgSX4QJDA0zwSE4g bRwpEDNo/Va4q1Tvxaimyt6su5lFIkPBXVyKJnlZzBGQoe9dZH0AXUbriyrgpALOVyD7OcB/DPf vcemqi7HB4HSdQ5ZO4g+3W9fZY0+sjpJTnIHjzCVulJGC0DYT52OnDq4pXW+qU5HSAr1jXEdTNb 2mI934y2FgCRqrZHwzNccg3NftmsoOiLlvpfVtcKK9L09KOtgnwYSCiu9ZBVSFpyaGAIIgJzsT6 Kur8UxH3aWgo93pkj3f9/dJGIv1AA0E9d181qcYjyAc8g== X-Received: by 127.0.0.2 with SMTP id djBCYY7687511xgJcqc286Zk; Sun, 11 Aug 2024 20:38:41 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by mx.groups.io with SMTP id smtpd.web11.38536.1723433920458690471 for ; Sun, 11 Aug 2024 20:38:40 -0700 X-CSE-ConnectionGUID: ZEYDSBzMR7G4j8wympaoRA== X-CSE-MsgGUID: O65YsaBNS/KXN541jEiYfw== X-IronPort-AV: E=McAfee;i="6700,10204,11161"; a="21336938" X-IronPort-AV: E=Sophos;i="6.09,282,1716274800"; d="scan'208";a="21336938" X-Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2024 20:38:39 -0700 X-CSE-ConnectionGUID: My9KyVJuQKuFV90r9CCOhg== X-CSE-MsgGUID: OVNyl6VKS2efO01sGdiFWw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,282,1716274800"; d="scan'208";a="95641564" X-Received: from shwdecpdbios081.ccr.corp.intel.com ([10.239.158.50]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2024 20:38:38 -0700 From: "Huang, Qing" To: devel@edk2.groups.io Cc: Qing Huang Subject: [edk2-devel] [PATCH] MdePkg: Add generic port affinity structure for ACPI 6.5 header Date: Mon, 12 Aug 2024 11:38:11 +0800 Message-ID: <6713ea91a46340c1e0c6d0155b013d17cb6ad6a1.1723433714.git.qing.huang@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Sun, 11 Aug 2024 20:38:40 -0700 Resent-From: qing.huang@intel.com Reply-To: devel@edk2.groups.io,qing.huang@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: RleRBK2cJnFkuih7glvrA4s3x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=XhUmbzEu; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Add generic port affinity structure introduced in ACPI 6.5 spec Signed-off-by: Qing Huang --- MdePkg/Include/IndustryStandard/Acpi65.h | 25 ++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi65.h b/MdePkg/Include/IndustryStandard/Acpi65.h index 1f2af6ad2a..afe6f34188 100644 --- a/MdePkg/Include/IndustryStandard/Acpi65.h +++ b/MdePkg/Include/IndustryStandard/Acpi65.h @@ -1,7 +1,7 @@ /** @file ACPI 6.5 definitions from the ACPI Specification Revision 6.5 Aug, 2022. - Copyright (c) 2017 - 2022, Intel Corporation. All rights reserved.
+ Copyright (c) 2017 - 2024, Intel Corporation. All rights reserved.
Copyright (c) 2019 - 2024, ARM Ltd. All rights reserved.
Copyright (c) 2023, Loongson Technology Corporation Limited. All rights reserved.
@@ -773,7 +773,7 @@ typedef struct { // // SRAT structure types. -// All other values between 0x06 an 0xFF are reserved and +// All other values between 0x07 an 0xFF are reserved and // will be ignored by OSPM. // #define EFI_ACPI_6_5_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY 0x00 @@ -782,6 +782,7 @@ typedef struct { #define EFI_ACPI_6_5_GICC_AFFINITY 0x03 #define EFI_ACPI_6_5_GIC_ITS_AFFINITY 0x04 #define EFI_ACPI_6_5_GENERIC_INITIATOR_AFFINITY 0x05 +#define EFI_ACPI_6_5_GENERIC_PORT_AFFINITY 0x06 /// /// Processor Local APIC/SAPIC Affinity Structure Definition @@ -923,6 +924,26 @@ typedef struct { #define EFI_ACPI_6_5_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ENABLED BIT0 #define EFI_ACPI_6_5_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ARCHITECTURAL_TRANSACTIONS BIT1 +/// +/// Generic Port Affinity Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT8 Reserved1; + UINT8 DeviceHandleType; + UINT32 ProximityDomain; + EFI_ACPI_6_5_DEVICE_HANDLE DeviceHandle; + UINT32 Flags; + UINT8 Reserved2[4]; +} EFI_ACPI_6_5_GENERIC_PORT_AFFINITY_STRUCTURE; + +/// +/// Generic Port Affinity Structure +/// +#define EFI_ACPI_6_5_GENERIC_PORT_AFFINITY_STRUCTURE_ENABLED BIT0 +#define EFI_ACPI_6_5_GENERIC_PORT_AFFINITY_STRUCTURE_ARCHITECTURAL_TRANSACTIONS BIT1 + /// /// System Locality Distance Information Table (SLIT). /// The rest of the table is a matrix. -- 2.42.0.windows.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120315): https://edk2.groups.io/g/devel/message/120315 Mute This Topic: https://groups.io/mt/107851207/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-