From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.66]) by mx.groups.io with SMTP id smtpd.web10.1153.1632355303086218513 for ; Wed, 22 Sep 2021 17:01:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nvidia.com header.s=selector2 header.b=rdD9rbpk; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: nvidia.com, ip: 40.107.243.66, mailfrom: bobm@nvidia.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TGD1AKHZVes5NGfBO0WAJkGpSIGXulGfSQ6YVJuq3xYgnPLcDNjjO7gVXY//mZ6Q2Dg7geuoidfgsaAMB/h/xtTQTfCIS4E2cXL+sExudUjo2XmQ3h94e81lvM9WLV7KtzZqGK/v0l29iY2w9d8ajmzPQ+lRmAGz5GxbO4svuJ/HzRLby7kvhyrf+pD/Gtf5iVQ7NdzsBxea/V4sYwoL2RaMnLFwGGWS/V7NeTmvfrbzelO4TrHnHL97P+izXlAWZELVId9ftl+zzzKhQEDoxSmr4SKy4VDgUpMJsggNacnr/rXg1n8lkWBL1g3DmcVPz/vjtXmvotpVkjBW/M2lGg== 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; bh=kFOkKK2HvYiW2U8QXONFbZe5TjdVVS1ryxIuQcKrB0s=; b=LxN+QrSal2r2KFBLeaAFF+NeL5UNS3lI04Tjmb03uIIW+QXmBISyVKo/cb0BTlqOLojHph31FajYGX1Lgv7BmQw6NvmLsffeSkmz5nZ85xaODswSnlUsgk8RusQzd0YGLM0pScOhn/m2xBUU25wg6Bm84mevp82NhbpWxQ/V7vX5b2bkXlfU4GTPMKbg9GGX0CkdDKxwfZLCBVi3FTCZTEDDF9d3gFovEuEYoKuMX+VCVsBHysYNiQ3d6MkBww9DApmv5PqduDIdcolWhg03kfrGLqJWNnW+50yJ1DmhSNN4pxQloVMN4ESYjfI9+LpV1hsXVfmAOsrbkVCYVhI7Hw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.35) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kFOkKK2HvYiW2U8QXONFbZe5TjdVVS1ryxIuQcKrB0s=; b=rdD9rbpkmqXPiz12CJ3gKaiEfLfsmrzAJ68gcWFANA1bO+P/hykETJ2DmwYjFGl8+3EfOuwmu265Q6L8nK/Mb7UiWk6WBE3G4zms6XRWlnifbnJ2chfNuCBPJ2nW+isUAkOQgz0GLmhJT3TZB6dX3eU0tXzH9u1uv0Waa5EUo/kCLnHNd5gb9fRnP74yeNO7iv5uCigPMaoUzBSnq/+bU0mCKzgTwnJU7r5a3vcU9aA1CfxbYv8ucJixVRaJj6yyvPTKEjkERg4B4Htf+eRDMQKnZBuZ1jC03L6ovJcpBSlS/pgCXn4VrHkIG2C/58vY+2PxOWvwc9b5jTYRFarNyg== Received: from MWHPR14CA0036.namprd14.prod.outlook.com (2603:10b6:300:12b::22) by BY5PR12MB3955.namprd12.prod.outlook.com (2603:10b6:a03:1a2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.17; Thu, 23 Sep 2021 00:01:41 +0000 Received: from CO1NAM11FT051.eop-nam11.prod.protection.outlook.com (2603:10b6:300:12b:cafe::c7) by MWHPR14CA0036.outlook.office365.com (2603:10b6:300:12b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Thu, 23 Sep 2021 00:01:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.35) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.35 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.35; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.35) by CO1NAM11FT051.mail.protection.outlook.com (10.13.174.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4544.13 via Frontend Transport; Thu, 23 Sep 2021 00:01:41 +0000 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 23 Sep 2021 00:00:38 +0000 Received: from localhost.localdomain (172.20.187.6) by mail.nvidia.com (172.20.187.10) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Thu, 23 Sep 2021 00:00:38 +0000 From: "Bob Morgan" To: CC: , , , , Bob Morgan Subject: [PATCH 0/5] FmpDevicePkg: Add support for runtime FmpDxe driver Date: Wed, 22 Sep 2021 17:59:49 -0600 Message-ID: X-Mailer: git-send-email 2.17.1 X-NVConfidentiality: public Return-Path: bobm@nvidia.com MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f09ce30b-38fa-4640-51a4-08d97e2552b7 X-MS-TrafficTypeDiagnostic: BY5PR12MB3955: X-Microsoft-Antispam-PRVS: X-MS-Exchange-Transport-Forked: True X-MS-Oob-TLC-OOBClassifiers: OLM:2512; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NbeJwZRuNZuSLe8XojDSHvxMo0tnzYHvdA+kU4CThRFve30Brs+ue3RjRMjABWN/NqOv2vANEUOLFdrKT1hnLx+TWTCJGZaolEWzkAJ8xwN2Okq2mUvT3R0bENUYp4EWs922xRJSlRGSunZEUyuTTpgSo5NInX2lauZXW18+fbKL+ye7Jj/Sr2n8Nozl3+ZlObiT8kp2qFV62Nv91Xd3nixUeK1hWXuNVAyEu+7z1SkxQ/3Bh4Cp0zkytwCOx+ta5TsKtWUJG+Iksn5ax5iHDX/iiJTOVBqTOJ8rQ3tuuOA2Kn0rtwinYMWWusSkurKPweUAqaLUeANNSJ/+XgtUWACqUxFfcjLZwoPrUk3HfM/2/GPQsY8MbDngBjTOgSpPG8XM6Kcoy9GFzbj4EriuNSyYR4qxs+QwmivXSTqqWVKPzUr3XcGj1pOj/RGZJZ0D2RdsnrcFhRnKWniy7NcwjxxdsolyVm3J/+DzjIX/Z3FPcQsl5HpKay6SwzYQUXY7JXQqLxhx+niBRX84u8ZWUJTWPIVnioa+66wpybD9kzltuZcB1xhrIGVFJO5AU5Q55VzF+ZjJ5HQdTgALq/2utm6SYvAUSTlzdH+IvaarzffXHcXXNeSLXuc2nV0A9c5PV2Y+JmxTskxQhsuXUjOCkC1hmO3LnfNtjQE2VkpA3S5T0mCscknMKfutH8hBiW5iN+0b1U2za5kMFrqK4C9r7A== X-Forefront-Antispam-Report: CIP:216.228.112.35;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:schybrid02.nvidia.com;CAT:NONE;SFS:(4636009)(46966006)(36840700001)(36860700001)(426003)(70206006)(336012)(6666004)(36906005)(83380400001)(19627235002)(4326008)(70586007)(316002)(2906002)(26005)(186003)(6916009)(356005)(86362001)(107886003)(8936002)(8676002)(2616005)(5660300002)(54906003)(508600001)(7636003)(36756003)(47076005)(82310400003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2021 00:01:41.5281 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f09ce30b-38fa-4640-51a4-08d97e2552b7 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.112.35];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT051.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3955 Content-Type: text/plain Adds a runtime version of FmpDxe driver to allow firmware updates after ExitBootServices() is called and enables DXE_RUNTIME_DRIVER module type for associated FMP libraries. Bob Morgan (5): FmpDevicePkg/FmpDeviceLibNull: Add DXE_RUNTIME_DRIVER support FmpDevicePkg/FmpPayloadHeaderLibV1: Add DXE_RUNTIME_DRIVER support FmpDevicePkg/FmpDependencyCheckLibNull: Add DXE_RUNTIME_DRIVER support FmpDevicePkg/FmpDependencyDeviceLibNull: Add DXE_RUNTIME_DRIVER support FmpDevicePkg/FmpDxe: Add runtime FmpDxe driver FmpDevicePkg/FmpDevicePkg.dsc | 29 +++ FmpDevicePkg/FmpDxe/FmpDxe.c | 34 +++- FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c | 185 ++++++++++++++++++ FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf | 87 ++++++++ FmpDevicePkg/FmpDxe/VariableSupport.c | 7 + .../FmpDependencyCheckLibNull.inf | 2 +- .../FmpDependencyDeviceLibNull.inf | 2 +- .../FmpDeviceLibNull/FmpDeviceLibNull.inf | 2 +- .../FmpPayloadHeaderLibV1.inf | 2 +- 9 files changed, 336 insertions(+), 14 deletions(-) create mode 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.c create mode 100644 FmpDevicePkg/FmpDxe/FmpRuntimeDxe.inf -- 2.17.1