From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.18524.1642992234308991724 for ; Sun, 23 Jan 2022 18:43:54 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=Jjtom7h0; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: w.sheng@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642992234; x=1674528234; h=from:to:cc:subject:date:message-id; bh=Pw6bSSUo3McBrmYrFY6Am6AA5lw2qQkzF84+FEBALYQ=; b=Jjtom7h0XP6W8U75u3kEF1VH81fJD0vF8vN7mGfW2aTE9oa6b7UXYjZ0 4TyJrnho+Nn24P68/l+VrJKsdrz4Yyq2Cn0spKYja+Ua0rNk/l97U3XNB k4If+qDXVzO3XyGeFYQeag0gwifLlnN6mGUJB7LYHAWCYutfUXmJ+ZtOg fmRS1Sf+5zKqdaHMJnia/+DX6CDwSBcK4/eFrcMU0/yvj0UfjZd4lQe8g lbatEorQpDFSibe8KwEJk21aVlV9QdweyYnHm2PnapRngBruwS5JKnOqR Bw6qDRB7Q1paSm7z5Oi9SL9CJp1UO9QpZYZSjwxbVqx/BE7+YtvZuhk4S w==; X-IronPort-AV: E=McAfee;i="6200,9189,10236"; a="332303616" X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="332303616" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jan 2022 18:43:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,311,1635231600"; d="scan'208";a="534030470" Received: from shwdesssddpdwei.ccr.corp.intel.com ([10.239.157.43]) by orsmga008.jf.intel.com with ESMTP; 23 Jan 2022 18:43:51 -0800 From: "Sheng Wei" To: devel@edk2.groups.io Cc: Ray Ni , Rangasai V Chaganty , Jenny Huang , Robert Kowalewski Subject: [PATCH v6 0/4] There are 4 patches for VTd drivers Date: Mon, 24 Jan 2022 10:43:44 +0800 Message-Id: <20220124024348.15996-1-w.sheng@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 [PATCH 1/4] IntelSiliconPkg/VTd: Fix typos [PATCH 2/4] IntelSiliconPkg/VTd: Update VTd register structs [PATCH 3/4] IntelSiliconPkg/VTd: Support VTd Abort DMA Mode [PATCH 4/4] IntelSiliconPkg/VTd: Only generate PEI DMA buffer once. Patch v2 update: Fix build error in [PATCH 2/4] and [PATCH 4/4] Patch v3 update: Refine code for PEI 64 bit build compatible. Change the condition for using Register-based Invalidation. Patch v4 update: [PATCH 4/4] Remove unused code. [PATCH 4/4] Refine comments and vriable name. [PATCH 4/4] Add empty pointer check. Patch v5 update: [PATCH 2/4] Add debug log Patch v6 update: [PATCH 4/4] Some basic code refine [PATCH 4/4] Use a fixed MAX VTdUnitInfo Table size. Cc: Ray Ni Cc: Rangasai V Chaganty Cc: Jenny Huang Cc: Robert Kowalewski Signed-off-by: Sheng Wei Sheng Wei (4): IntelSiliconPkg/VTd: Fix typos IntelSiliconPkg/VTd: Update VTd register structs IntelSiliconPkg/VTd: Support VTd Abort DMA Mode IntelSiliconPkg/VTd: Only generate PEI DMA buffer once. .../Feature/VTd/IntelVTdDmarPei/DmarTable.c | 545 +-------------------- .../Feature/VTd/IntelVTdDmarPei/IntelVTdDmar.c | 438 ++++++++--------- .../Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.c | 481 ++++++++++-------- .../Feature/VTd/IntelVTdDmarPei/IntelVTdDmarPei.h | 119 ++--- .../Feature/VTd/IntelVTdDmarPei/TranslationTable.c | 215 ++------ .../Feature/VTd/IntelVTdDxe/DmarAcpiTable.c | 12 +- .../Feature/VTd/IntelVTdDxe/TranslationTable.c | 22 +- .../Feature/VTd/IntelVTdDxe/VtdReg.c | 7 +- .../Feature/VTd/IntelVTdPmrPei/DmarTable.c | 6 +- .../IntelSiliconPkg/Include/IndustryStandard/Vtd.h | 34 +- 10 files changed, 623 insertions(+), 1256 deletions(-) -- 2.16.2.windows.1