From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 810F620945B72 for ; Sat, 16 Sep 2017 23:03:49 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Sep 2017 23:06:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,406,1500966000"; d="scan'208";a="152200614" Received: from aseyoum-mobl1.amr.corp.intel.com (HELO jyao1-MOBL.ccr.corp.intel.com) ([10.254.211.37]) by fmsmga005.fm.intel.com with ESMTP; 16 Sep 2017 23:06:50 -0700 From: Jiewen Yao To: edk2-devel@lists.01.org Cc: Star Zeng Date: Sun, 17 Sep 2017 14:06:44 +0800 Message-Id: <1505628407-7368-1-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH 0/3] IntelSiliconPkg/InteVTdPei: Add RMRR support in PEI X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2017 06:03:49 -0000 We notice that there is real usage in PEI to show the graphic output. The Integrated Graphic Device is blocked by current IntelVTdPei because the DMA buffer is fully controlled by VTd PEIM. The UMA is not allowed. In DXE phase, the UMA is reported via RMRR table. As such, we need similar way in PEI to let VTd PEI get the RMRR information. This series patch resolves this problem. We also updated sample driver to show how to get the RMRR information. Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jiewen Yao Jiewen Yao (3): IntelSiliconPkg/VTdInfoPpi: Let it follow DMAR table. IntelSiliconPkg/IntelVTdPmrPei: Parse RMRR table. IntelSiliconPkg/VTdInfoSample: Add RMRR table. IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmr.c | 52 +- IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.c | 581 +++++++++++++++++++- IntelSiliconPkg/Feature/VTd/IntelVTdPmrPei/IntelVTdPmrPei.h | 20 +- IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.c | 156 +++++- IntelSiliconPkg/Feature/VTd/PlatformVTdInfoSamplePei/PlatformVTdInfoSamplePei.inf | 3 + IntelSiliconPkg/Include/Ppi/VtdInfo.h | 26 +- 6 files changed, 788 insertions(+), 50 deletions(-) -- 2.7.4.windows.1