From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.groups.io (mail04.groups.io [45.79.224.9]) by spool.mail.gandi.net (Postfix) with ESMTPS id AA350AC0C9F for ; Mon, 15 Apr 2024 07:56:24 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=4JYOIOqSmLCE6q9LgbcRRnZUbKgtS6cpJZ1mt6xI7Kg=; 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:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1713167783; v=1; b=jwEnShGi+849VlOOgVYiJbrNLSgR/TRxpMReDv/1EEC+a/6a6bt0dodwyNAwsILT8jc1eFfR C5SfoEk5KEqT79pIBBV1rvT4ARzxdYCuKPEEo8NWmbUMCVTa08e5md9AKjzW/knubbMRqcLb4SD qppQ0p/wAXDvJcKI3sPRkoh23D2+KxQg+ATa2ZNE4uwUa8MxQalV19pW7Or2U+pZ99Zofx7O020 L0JuJ5QsYXpVkiY49MY7Cfaq60QphCnjWs8i+ZCVju4DHL67PrLiLI8ZtOa8xYXbnowO/S5M9M3 PldplcHQfnPLNKz542Gb0jDXvzCwVehYWKQNDrSLb96EQ== X-Received: by 127.0.0.2 with SMTP id wibiYY7687511xU4NvHBR1u3; Mon, 15 Apr 2024 00:56:23 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by mx.groups.io with SMTP id smtpd.web11.15913.1713167777586436313 for ; Mon, 15 Apr 2024 00:56:17 -0700 X-CSE-ConnectionGUID: BtopMv7/TZeqEzc9ij+tlQ== X-CSE-MsgGUID: WiZxb5L5QBqW2h/uJZ0EBw== X-IronPort-AV: E=McAfee;i="6600,9927,11044"; a="8410886" X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="8410886" X-Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 00:56:17 -0700 X-CSE-ConnectionGUID: xT20WZ5NRte46eIWbueyTw== X-CSE-MsgGUID: KUYMoUWqS3+857qq5+oiqg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="26258220" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.124.224.178]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 00:56:15 -0700 From: "Min Xu" To: devel@edk2.groups.io Cc: Min Xu , Ard Biesheuvel , Jiewen Yao , Gerd Hoffmann Subject: [edk2-devel] [PATCH V1 0/5] Move Tdx specific lib from SecurityPkg to OvmfPkg Date: Mon, 15 Apr 2024 15:55:49 +0800 Message-ID: <20240415075555.499-1-min.m.xu@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 Resent-Date: Mon, 15 Apr 2024 00:56:18 -0700 Resent-From: min.m.xu@intel.com Reply-To: devel@edk2.groups.io,min.m.xu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: yYctKdmOTrh4TQ0MxZ9WvhQ2x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=jwEnShGi; 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 45.79.224.9 as permitted sender) smtp.mailfrom=bounce@groups.io BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4752 HashLibTdx and TdTcg2Dxe are designed for Intel TDX enlightened OVMF. They're more reasonable to be put in OvmfPkg than in SecurityPkg. SecTpmMeasurementLibTdx is not used anymore. So it is deleted in this patch-set. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Gerd Hoffmann Signed-off-by: Min Xu Min M Xu (5): Security/SecTpmMeasurementLibTdx: Delete unused SecTpmMeasurementLibTdx OmvfPkg/HashLibTdx: Add HashLibTdx OvmfPkg/TdTcg2Dxe: Add TdTcg2Dxe OvmfPkg: Update TdTcg2Dxe path in OvmfPkgX64 and IntelTdxX64.dsc SecurityPkg: Delete TdTcg2Dxe and HashLibTdx in SecurityPkg OvmfPkg/IntelTdx/IntelTdxX64.dsc | 4 +- OvmfPkg/IntelTdx/IntelTdxX64.fdf | 2 +- .../Library/HashLibTdx/HashLibTdx.c | 0 .../Library/HashLibTdx/HashLibTdx.inf | 0 OvmfPkg/OvmfPkgX64.dsc | 4 +- OvmfPkg/OvmfPkgX64.fdf | 2 +- .../Tcg/TdTcg2Dxe/MeasureBootPeCoff.c | 0 .../Tcg/TdTcg2Dxe/TdTcg2Dxe.c | 0 .../Tcg/TdTcg2Dxe/TdTcg2Dxe.inf | 0 .../SecTpmMeasurementLibTdx.c | 175 ------------------ .../SecTpmMeasurementLibTdx.inf | 34 ---- SecurityPkg/SecurityPkg.dsc | 16 -- 12 files changed, 6 insertions(+), 231 deletions(-) rename {SecurityPkg => OvmfPkg}/Library/HashLibTdx/HashLibTdx.c (100%) rename {SecurityPkg => OvmfPkg}/Library/HashLibTdx/HashLibTdx.inf (100%) rename {SecurityPkg => OvmfPkg}/Tcg/TdTcg2Dxe/MeasureBootPeCoff.c (100%) rename {SecurityPkg => OvmfPkg}/Tcg/TdTcg2Dxe/TdTcg2Dxe.c (100%) rename {SecurityPkg => OvmfPkg}/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf (100%) delete mode 100644 SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.c delete mode 100644 SecurityPkg/Library/SecTpmMeasurementLib/SecTpmMeasurementLibTdx.inf -- 2.44.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117762): https://edk2.groups.io/g/devel/message/117762 Mute This Topic: https://groups.io/mt/105531957/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-