From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.80]) by mx.groups.io with SMTP id smtpd.web10.9889.1604919793564436552 for ; Mon, 09 Nov 2020 03:03:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=rwAy8dXe; spf=pass (domain: xilinx.com, ip: 40.107.92.80, mailfrom: sdhanvad@xilinx.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mdPvmCNJ18oV2Fsl5tlQv0H+pBwegrw9OQeeXPA6nmzIXZw+9xJhqlT/IZVb3LCo/puvCnm/8dLw4vHEtG1T8TsrRY61k54miFkIO9htyTR+J58MPcb8R7yxbH+tjgQXhPW6CDHzFE646VvmORk9yKjKiDy3iwp10KVInAfGYTKfJdTvV9Og4cADKKuJPHF6QcO/w6i135gi5+DIY9Kkek6rdncOlb2qYoKT/M/MIgHr9rRGbQK+9TLTDiPKk2Zq51qF25zok+fzpJ6IRLJxNq5tqVIRo23ucFmnVxYwmrENuROcMgC2UeFbCQi4WwfqtXhdqPLNCQ7owCe1Ai42fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WYv/xjOQX+6qmOgrsB/PRmMZS0poA1MlQTWs6jnV53E=; b=GqHnQTARWfekyx/LZQYJSlNYfUs1m1Ic8dD0SZugKGSNArnJnFGnYSQgXvL2ngv6vdiIJvFhZubsFzadrwXP9vATXvVlgn6c34/puqKYq8qXpeA3tsje5L/4GOAtRa4UGEo0ZLwkBSGWwJ2zJKxaAAmVSJBOV6jRbsoberRBz4OWSKKhpT3G8mPZ5dVC1d6eH7EZfB7UXfguZ/5GkTW0yzhmi8gvhogOwGKBC9+XckTgpZdV8e7mRDdvYrhe6IFdols66ejHO0czVgn0zjkQ8KarabxR09hJWZQdZ5xNIDVFeAfODxSFL2/mA5RIaIAeS1YE2JjEUdytdlTR1c9TLw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WYv/xjOQX+6qmOgrsB/PRmMZS0poA1MlQTWs6jnV53E=; b=rwAy8dXeEq+KUZ8A+QBz7XQdtpqcZ2/tt8SvE4POVGzsoxsSwwQp6MuQVSN+04J0awhxFNSJRrtYOXXJ1Ff8Ml5OkRJP0bouup8DN5AX2l9sbKLGuAh8hWArcackH+PcSvEG8AFagozGk3BRreCjxupFvqid76qXjpqLhPIdypw= Received: from SN1PR12CA0058.namprd12.prod.outlook.com (2603:10b6:802:20::29) by BL0PR02MB4867.namprd02.prod.outlook.com (2603:10b6:208:52::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.22; Mon, 9 Nov 2020 11:03:11 +0000 Received: from SN1NAM02FT041.eop-nam02.prod.protection.outlook.com (2603:10b6:802:20:cafe::aa) by SN1PR12CA0058.outlook.office365.com (2603:10b6:802:20::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.21 via Frontend Transport; Mon, 9 Nov 2020 11:03:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch02.xlnx.xilinx.com; Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by SN1NAM02FT041.mail.protection.outlook.com (10.152.72.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3541.17 via Frontend Transport; Mon, 9 Nov 2020 11:03:10 +0000 Received: from xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Mon, 9 Nov 2020 03:03:09 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Mon, 9 Nov 2020 03:03:09 -0800 Return-Path: SDHANVAD@xilinx.com Envelope-to: sandeep.dhanvada@xilinx.com, devel@edk2.groups.io Received: from [172.23.155.43] (port=42892 helo=xhdengvm155043.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1kc4x2-0004jf-Gu; Mon, 09 Nov 2020 03:03:08 -0800 From: "Sandeep Dhanvada" To: CC: Subject: [PATCH 0/2] OvmfPkg: FMP Capsule Update Modifications. Date: Mon, 9 Nov 2020 16:33:02 +0530 Message-ID: X-Mailer: git-send-email 2.1.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1017e6f8-dbb0-4147-cf68-08d8849f0c04 X-MS-TrafficTypeDiagnostic: BL0PR02MB4867: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vDFnAUsfwaM1ROOkqfvN9SP09n1ngXBWbJmvJPUMMAqHdxcbzFqCSaNC+CZhMS7h1+xMj+aat+GLphm0HrCLZbD6XiOCA2DualSWDqqsOl5s1h/cTlBhdcZW4QU408pW9PCQebphrFo+cBJjK2vDrz2P+Pj/j2VpDZLMRjqnbsuYL22RMccGzaZd5YVSe7MHsH1iNGpfy/xz+4QiFgSg8Jk+kjhb61Q4syGPCEzsLQklgnqevgOFSJDKO6kGPYCuXM1i2PVKtuIkK/UIXvVUJC/e3wO5gh/SLw1csnFoIZebgJykRaZFeB143MfN4AKEIypC2GEC9OR5AlTf4NQ/EbCkxWCL+sQbP6gnyY26W8yX2Z2RfPex9EVBGqV57YTUzl/bR/T450fX4pIjTuWracJiaGXdb4jxb0XkhUhCgGA= X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch02.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(4636009)(136003)(346002)(39850400004)(376002)(396003)(46966005)(19627235002)(5660300002)(26005)(4326008)(7636003)(83380400001)(186003)(107886003)(6666004)(316002)(44832011)(47076004)(70586007)(8676002)(15650500001)(6916009)(36756003)(70206006)(356005)(478600001)(9786002)(8936002)(2616005)(426003)(7696005)(336012)(82740400003)(2906002)(82310400003)(102446001);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2020 11:03:10.8413 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1017e6f8-dbb0-4147-cf68-08d8849f0c04 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: SN1NAM02FT041.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB4867 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This patch enables FMP Capsule upgrade of firmware on PCI add on cards with PCI Passthrough enabled in OVMF environment by enabling DxeCapsuleLibFmp and EsrtFMP modules. DxeCapsuleLibFmp/DxeCapsuleLib.c has modifications to connect to all controllers after capsule update is executed. This enables FMP SetImage() to be executed through UpdateCapsule(). without this change, connect command has to be issued manually from UEFI Shell for the FMP SetImage() to execute. FMP capsule update is validated using CapsuleApp.efi, with -E option dumping the ESRT Table fetched from FMP producer on PCI UEFI driver. capsule update is validated using capsulefile generated using BaseTools/Source/Python/Capsule/GenerateCapsule.py. Sandeep Dhanvada (2): MdeModulePkg: Capsule upgrade fixes. OvmfPkg: Add EsrtFmpDxe in OVMF X64 Builds. .../Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 43 ++++++++++++++++++= ++++ OvmfPkg/OvmfPkgX64.dsc | 4 +- OvmfPkg/OvmfPkgX64.fdf | 1 + 3 files changed, 47 insertions(+), 1 deletion(-) -- 2.1.1 This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.