From nobody Sat May 18 16:46:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+109519+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109519+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1697013427; cv=none; d=zohomail.com; s=zohoarc; b=CVBU+d5EU74jbrPTAsWVwo7wRP5AlApUM0l8bu2wlIkN4z89/KF0rZdnyRP2D8MMArAcNa5VQFOI35i6ObwlaKKoCfDDIZ9oqARISzETABjRriJ8AGNrJtF5yK0bjtu1AZ+rvfyK3uYJRxaWmJLgRWo2V2rl/iD2n6JKFtlpcpA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697013427; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=F+9Sq7hxitzP8pB984wOiRMhNpqGFlft0NxuIYiUhac=; b=Oca6QeknxpSDy1ejyL9jUgqSGmMCJd+KbA0KvlI2ECXUAgdBTu8oDJkN+L2LRxmUFfn1EcXgyabqC3s7PcRMXuQTUVDVBDeayU9vQoq15BYXD5Nqq/8adN0k4q5TJQWCeIkcgd+humK9a4aZ2ve9RZ0ydXvRHfLYjyQ+lL+lC58= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109519+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1697013427165288.32205070477994; Wed, 11 Oct 2023 01:37:07 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=LyrkwTba9OTchcmogWLCe9kCuRazwiBE5OnxV72ACGw=; 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=BryiYOX0IucK3p0SwfzHC1FI+nZtdiSnern3LvjI5lst2XhUX6+2Yml/haMCUV3AxMkJJwgy gKKXt2uE/rM5+e0pNFUTCc1TdaOyh/c3DxVWkrd69V3Bs406eBPCZJEOrFsBVRNy3VgyG3Fc13y Qr3SzzqvoFfH66mqQWlFdr58= X-Received: by 127.0.0.2 with SMTP id srMzYY1788612xkzmE6mA0MM; 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: iZDuf3w3AyUDLP9G9cGneybcx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1697013427836100001 Content-Type: text/plain; charset="utf-8" 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", DmarDeviceScopeEntry->Length )); + VTDLIB_DEBUG ((DEBUG_INFO, + " Flags .............................................. 0x%02x\n", + DmarDeviceScopeEntry->Flags + )); VTDLIB_DEBUG ((DEBUG_INFO, " Enumeration ID ..................................... 0x%02x\n", DmarDeviceScopeEntry->EnumerationId --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- 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/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-