From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 448577803DF for ; Wed, 11 Oct 2023 08:37:08 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Irsbgl79U4UGzLYkAPgPgg3fchV/3N8JD1V8q4KBbtk=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1697013426; v=1; b=D/BJbciioJD+vTjoxYCR5MckXAjaY6O+zvFWuiQryc3l+D7aZX5BT0biZYNHPy22tpVSFRoO jZ7trOawwfLiSaGCA5Bp5zVA974ioI+ihcQeUGwFlQXbpKe/6Mh4/DqftfDmf8tU+XbdJOnETZv cI4Bxx/JkjbXFLhqinCYKwaI= X-Received: by 127.0.0.2 with SMTP id KIMkYY7687511xNvYMr1OQUd; Wed, 11 Oct 2023 01:37:06 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.12143.1697013425862220374 for ; Wed, 11 Oct 2023 01:37:06 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="470874025" X-IronPort-AV: E=Sophos;i="6.03,214,1694761200"; d="scan'208";a="470874025" X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 01:37:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="753744208" X-IronPort-AV: E=Sophos;i="6.03,214,1694761200"; d="scan'208";a="753744208" X-Received: from shwdesssddpdwei.ccr.corp.intel.com ([10.239.157.28]) by orsmga002.jf.intel.com with ESMTP; 11 Oct 2023 01:37:03 -0700 From: "Sheng Wei" To: devel@edk2.groups.io Cc: Ray Ni , Rangasai V Chaganty , Jenny Huang Subject: [edk2-devel] [PATCH] IntelSiliconPkg/VTd: Print Flags field in DeviceScopeEntry Date: Wed, 11 Oct 2023 16:37:01 +0800 Message-Id: <20231011083701.810-1-w.sheng@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 Reply-To: devel@edk2.groups.io,w.sheng@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: xkZ5MCfIMSRastNpbRLhkX4Sx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="D/BJbcii"; 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 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Flags field is defined in Device Scope Structure since VT-d spec 4.0. Print Device Scope Structure Flags field when dump DMAR table. Change-Id: I37365ea4c1e6cfa0a1842a5830761367777b7d2c Signed-off-by: Sheng Wei Cc: Ray Ni Cc: Rangasai V Chaganty Cc: Jenny Huang --- .../Library/IntelVTdPeiDxeLib/IntelVTdPeiDxeLib.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Silicon/Intel/IntelSiliconPkg/Library/IntelVTdPeiDxeLib/IntelV= TdPeiDxeLib.c b/Silicon/Intel/IntelSiliconPkg/Library/IntelVTdPeiDxeLib/Int= elVTdPeiDxeLib.c index 1e65115cb..d58c4cdcf 100644 --- a/Silicon/Intel/IntelSiliconPkg/Library/IntelVTdPeiDxeLib/IntelVTdPeiDx= eLib.c +++ b/Silicon/Intel/IntelSiliconPkg/Library/IntelVTdPeiDxeLib/IntelVTdPeiDx= eLib.c @@ -137,6 +137,10 @@ VtdLibDumpDmarDeviceScopeEntry ( " Length ............................................. 0x%02x\n",= =0D DmarDeviceScopeEntry->Length=0D ));=0D + VTDLIB_DEBUG ((DEBUG_INFO,=0D + " Flags .............................................. 0x%02x\n",= =0D + DmarDeviceScopeEntry->Flags=0D + ));=0D VTDLIB_DEBUG ((DEBUG_INFO,=0D " Enumeration ID ..................................... 0x%02x\n",= =0D DmarDeviceScopeEntry->EnumerationId=0D --=20 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109519): https://edk2.groups.io/g/devel/message/109519 Mute This Topic: https://groups.io/mt/101892832/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-