From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.54783.1686564487708539205 for ; Mon, 12 Jun 2023 03:08:07 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=n/q60UBC; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: james.lu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686564487; x=1718100487; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=N2+JGe5nvVKE2/6KyacrGc0vDSTKUe8hB1hQoelEVQc=; b=n/q60UBC/JP5o9yyufPRJKm1THL5KbaKHoxrxYpuXzPAAwX8ZNKqxCfG CgWtURAL5yJVzciRA4tw4kMF+DNQc4by18Wu2zhtwsH7JwUhYMMUdfrpX 6UNvKB7r5/7ayAfPb8A1lG5WfSwMzG6drK8NDGvIpr3QsxvRVc0tl3mJW de6BwJshT/cq+31KIQZeYTy7GuJOclapUJJjCIZfCzDWJg2DJ0eKAQyjd +IVcmOe9bJt6vC/A4Sbb+OeYKNpL+0nZvXE5ltdDwppVfY76KpSqseCge C5/ki0cj9UY9hXKgFVxWixds1m9lkVzBWqxNqnEUxQWmJyq3pUPyETjZj A==; X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="342686387" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="342686387" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2023 03:08:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10738"; a="957962837" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="957962837" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 12 Jun 2023 03:08:06 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 12 Jun 2023 03:08:06 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Mon, 12 Jun 2023 03:08:06 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.171) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Mon, 12 Jun 2023 03:08:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G+wwy+NUIqJqqubiYv4T+vGKU8jR/bGUkPZqAx4XzuWHUL3ATX8M91mcevLjEYkFR9eCf0HI4AerDNhY6ouLR976ia1W1ujmH02bp9pELtQmd9qjYq6c16q0dN+8R9yfi5IXlAomFf4SKbamdym2TOP7xnUltx27ldFuif2qf2wgjlyx2VsQxh2THoMuvXNtFw8K81ruSHQkeNKAuZq7rttb84aqQKKeZtJX04sphUFH8R0JhFg1jze9Nfl8HRb/RXHBZYMVzMC+oC+0aIjj4Hw83a1YJDl3Erq1SnHDN61ZEcTthwT0YwVxgPQJwjq37cnciSvWVNcviOd0rkYszA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SiuPq7K5J+695d70vyRUiIVBEkrI5jMqadTfSkxQ7wI=; b=dNsVTzfHi2OStOLw/xfGoF/KNqvoHjHOt7oxoIhFkRay/YGuAW8ZFyIo2I3WhyBlhLZwaSOL7mrdMWsEeE01F6ijJD1An0D1VM84vmnwdVXoEOSjzpmHG2171awa3RL+HE6Kc1p0j4VICovkjvgaAHEGDXiGmID6ihaqRn/pA5pZegLMvcjSEGbOZ5WDR0qUy5SH773QC66veNgKyfKO+dZwxRlw9sYuFqZO7cnu1g2nhJPB7T1JVb4MSlnrclnuvjD1SA78h6Tomd3IrXFGlRi4p58QhBI1MO03Ia8GyqSBvDEwJBaZu3Be+o2rUJAc2DqQjpneNvHEMixLnVLjhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from CH3PR11MB7819.namprd11.prod.outlook.com (2603:10b6:610:125::20) by SJ0PR11MB5118.namprd11.prod.outlook.com (2603:10b6:a03:2dd::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.46; Mon, 12 Jun 2023 10:08:03 +0000 Received: from CH3PR11MB7819.namprd11.prod.outlook.com ([fe80::c047:adec:3b15:c43c]) by CH3PR11MB7819.namprd11.prod.outlook.com ([fe80::c047:adec:3b15:c43c%6]) with mapi id 15.20.6477.028; Mon, 12 Jun 2023 10:08:03 +0000 From: "Lu, James" To: "Lin, MarsX" , "devel@edk2.groups.io" CC: "Ni, Ray" , "Rhodes, Sean" , "Guo, Gua" , "Dong, Guo" Subject: Re: [PATCH] UefiPayloadPkg: Add CAPSULE_SUPPORT in UPL and set it as FALSE in default Thread-Topic: [PATCH] UefiPayloadPkg: Add CAPSULE_SUPPORT in UPL and set it as FALSE in default Thread-Index: AQHZnPz8jFPC2kIbYkaBF/fVveOtVq+G8W2g Date: Mon, 12 Jun 2023 10:08:03 +0000 Message-ID: References: <09ea321256c3fa2fc6b2eed6dc9e056ae43f8fda.1686553729.git.marsx.lin@intel.com> In-Reply-To: <09ea321256c3fa2fc6b2eed6dc9e056ae43f8fda.1686553729.git.marsx.lin@intel.com> Accept-Language: en-001, en-US, zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR11MB7819:EE_|SJ0PR11MB5118:EE_ x-ms-office365-filtering-correlation-id: 0f03dbdb-c838-47dc-07f3-08db6b2ce8ca x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6BB9A1ZU/j/KfmqVyWwJBodMU5xqVayWuc3mFddLnNdN0hlKzLoL1VIq/OlK7cp8CoTY0R53r3aCFcEZ8/XKFgcXZP503MFw18rH0OoKh66S+cUQNFZ2yN9/sA4y9+5rCEmG+lxXK01eY/qgLEtVNIg96DixffZiJ16F3YICmgp4RUytaUXTsVo+Y3mTUoep4B1/hOWsIrrPjcOH8DZ+gXRmL0/vixhFe2eoR7mwak3t2vgVq3e/Qc29T+QAJsHubqd8Mrq5UnA9xh+vevWwcDSTkuMzqcSNvSkYg6szoA8a4WyI8ACkrYfW4lioEHjzPILcsHbzYvytHPiRsXxRiNUE/2AfUd070LwDAIKQh83FuxRK/4RVGJBKJn+tUe4Me/wYI58yPsAZPZ3D0X/pR206/KoCEHSB0jXVUq8K9IuBB5g7HtCNo9abmPApUfI6HjuGyiB6bZqnoGAMRkdAmMXVr25MsihT+wEYy2zbbzMOK7EjIycR3QNkx1W8AuKvJe4an8sDqvKyI+luuunJGfDc+x6/16ZXk4z/ybcKymf4XjAm4cu1N+HSdtoFpFMpZi2+EmEfqb+o9e6HZ8FhJ17N7dwszKLpK/+i3f2R4Rk= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH3PR11MB7819.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(396003)(366004)(346002)(136003)(376002)(39860400002)(451199021)(4326008)(64756008)(66476007)(66556008)(66946007)(316002)(66446008)(41300700001)(76116006)(186003)(2906002)(110136005)(54906003)(478600001)(8676002)(8936002)(5660300002)(52536014)(71200400001)(966005)(7696005)(107886003)(53546011)(9686003)(33656002)(122000001)(6506007)(26005)(55016003)(83380400001)(86362001)(38070700005)(82960400001)(38100700002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?8Ndodmo51/XkL1vbt408/jKUcqz6JWM9G8+QZvsZWWSZT84en5KYhEUjHQHi?= =?us-ascii?Q?muJWAe0twMJyXWhTp7jDZz9q/BSP2lk9ohvWIE1p/gaRKE9GNXpBOYXw5yG1?= =?us-ascii?Q?DaOFig1eKt1QfBj1TsRF+DXPSxoXLX9BsDjUUZ5vV0VWtzmLlljoDOYWtKm/?= =?us-ascii?Q?W27sYtwkP7JF9cl4K/75WX8tJWKgP28G6zqPN+qe7n/mQrMmWOX5twS6tGJs?= =?us-ascii?Q?4teQ6T7kEyriPKu+2Ari9Pp7IH2Yzph7uUjSowOe0TN7yqXi732Qx+Fx4GtR?= =?us-ascii?Q?SSOuv/Q2AYnr9Nk7lXPjFxkwMay1Tx2cxi4NG83AfzfmLtOrdprGrOTloaLX?= =?us-ascii?Q?Mgb+vPOV2FVTOypJnBTdYegz0kyMaWCYNuVPZqN3NbM+ZZF1dzsDp7Oz6RT2?= =?us-ascii?Q?AzHDDeFMkDUbYQVnLZ7wZArdkke3R856vFdIzMsGislHeT3qxZQiNQQc+SWO?= =?us-ascii?Q?ZY4mjtSMdh8BisyXlvggrQGvXWUluZ0JfdI2Vg8pvQch9e9+HpsGoLlbOFF0?= =?us-ascii?Q?Rt9Kq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vZKkFTdqMOUQIXDd8?= =?us-ascii?Q?0VLFasu9ordD0N4Wdr0nQ6cZfg8Nvz7lIH8yL96N5IooWmkBCYylBHU6Tm3L?= =?us-ascii?Q?Da1IaO7VFNMVVNwH611mW6AvgBJtUQ3jWpSCwVZwKJBSXTJye5mHYBOsx35w?= =?us-ascii?Q?c2WXuWXgYJjYKZkOmVs=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR11MB7819.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f03dbdb-c838-47dc-07f3-08db6b2ce8ca X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2023 10:08:03.0810 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lex3/y0ZzwkBTDCnXH6EwSu/8Y14en1JSMJvr5pLVFCU4Zi0zuC7uiCBSZAcHTggmcSDFkY4Zq7KySy2L9Vq0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5118 Return-Path: james.lu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by : James Lu Thanks, James -----Original Message----- From: Lin, MarsX =20 Sent: Monday, June 12, 2023 3:10 PM To: devel@edk2.groups.io Cc: Lin, MarsX ; Ni, Ray ; Rhodes, S= ean ; Guo, Gua ; Lu, James ; Dong, Guo Subject: [PATCH] UefiPayloadPkg: Add CAPSULE_SUPPORT in UPL and set it as F= ALSE in default From: MarsX Lin REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4479 Add CAPSULE_SUPPORT to optionally select CapsuleLib instance, default value= is FALSE. Cc: Ray Ni Cc: Sean Rhodes Cc: Gua Guo Cc: James Lu Cc: Guo Dong Signed-off-by: MarsX Lin --- UefiPayloadPkg/UefiPayloadPkg.dsc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 615c5b4c6d..849645a876 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -43,6 +43,7 @@ DEFINE USE_CBMEM_FOR_CONSOLE =3D FALSE DEFINE BOOTSPLASH_IMAGE = =3D FALSE DEFINE NVME_ENABLE =3D TRUE+ DEFI= NE CAPSULE_SUPPORT =3D FALSE # # NULL: NullMemoryTestD= xe@@ -228,8 +229,12 @@ UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf UefiScsiLib|MdePkg= /Library/UefiScsiLib/UefiScsiLib.inf OemHookStatusCodeLib|MdeModulePkg/Li= brary/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf+ !if $(CAPSULE= _SUPPORT) =3D=3D TRUE CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/Dx= eRuntimeCapsuleLib.inf BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportL= ib/BaseBmpSupportLib.inf+ !else+ CapsuleLib|MdeModulePkg/Library/DxeCapsu= leLibNull/DxeCapsuleLibNull.inf+ !endif SecurityManagementLib|MdeModuleP= kg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf UefiBoot= ManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf = BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf--=20 2.39.1.windows.1