From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: jiewen.yao@intel.com) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by groups.io with SMTP; Sat, 28 Sep 2019 23:16:24 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Sep 2019 23:16:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,562,1559545200"; d="scan'208";a="189910263" Received: from jyao1-mobl2.ccr.corp.intel.com ([10.254.212.144]) by fmsmga008.fm.intel.com with ESMTP; 28 Sep 2019 23:16:22 -0700 From: "Yao, Jiewen" To: devel@edk2.groups.io Cc: Jian J Wang , Chao Zhang Subject: [PATCH 0/3] Add Laml/Lasa to TPM2 acpi table Date: Sun, 29 Sep 2019 14:15:55 +0800 Message-Id: <20190929061558.22512-1-jiewen.yao@intel.com> X-Mailer: git-send-email 2.19.2.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Bugzilla https://bugzilla.tianocore.org/show_bug.cgi?id=978 This patch series adds Laml/Lasa to TPM2 ACPI table. This is defined by TPM2 ACPI table Version 1.2, Revision 8. It only impacts the TPM2 ACPI table version 4 or above. The default TPM2 ACPI table version is still 3 to keep maximum compatibility. The new fields are only for TCG2 log format, but not TCG1.2 log format. This new fields are optional and won't be consumed by OS/Loader, because the OS/loader still uses TCG2_PROTOCOL to get the event log. These fields are important for OS utility, because the OS utility can not use TCG2_PROTOCOL. Test: Use default TPM2 version 3. No ALMA/ALSA shown in TPM2 table. Use TPM2 version 4. The DXE driver reports ALMA/ALSA PCD and the SMM driver installs ALMA/ALSA in TPM2 table. Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Jiewen Yao Jiewen Yao (3): MdePkg/Include: correct Lasa in Tpm2Acpi. SecurityPkg/dsc: Add PCD for Laml, Lasa for TPM2. SecurityPkg/Tcg2: Add Support Laml, Lasa for TPM2 ACPI. MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 2 +- SecurityPkg/SecurityPkg.dec | 8 ++++++ SecurityPkg/SecurityPkg.uni | 9 ++++++ SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 32 ++++++++++++++++++---- SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf | 3 ++ SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c | 32 ++++++++++++++++++++-- SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf | 2 ++ 7 files changed, 78 insertions(+), 10 deletions(-) -- 2.19.2.windows.1