From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: ray.ni@intel.com) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Wed, 17 Jul 2019 17:50:15 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jul 2019 17:50:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,276,1559545200"; d="scan'208";a="170416530" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 17 Jul 2019 17:50:11 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 17 Jul 2019 17:50:11 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 17 Jul 2019 17:50:11 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.110]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.55]) with mapi id 14.03.0439.000; Thu, 18 Jul 2019 08:50:09 +0800 From: "Ni, Ray" To: "Gao, Zhichao" , "devel@edk2.groups.io" CC: "Wang, Jian J" , "Wu, Hao A" , "Zeng, Star" , "Gao, Liming" , Sean Brogan , Michael Turner , Bret Barkelew Subject: Re: [PATCH 0/4] Add a pcd PcdBootManagerInBootOrder to control whether BootManager is in BootOrder Thread-Topic: [PATCH 0/4] Add a pcd PcdBootManagerInBootOrder to control whether BootManager is in BootOrder Thread-Index: AQHVPHUgSIPB3zAwy0ivpJlDegaEA6bOchhAgAAKH/CAARA2IA== Date: Thu, 18 Jul 2019 00:50:09 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C234F6B@SHSMSX104.ccr.corp.intel.com> References: <20190717075008.22716-1-zhichao.gao@intel.com> <734D49CCEBEEF84792F5B80ED585239D5C23325A@SHSMSX104.ccr.corp.intel.com> <3CE959C139B4C44DBEA1810E3AA6F9000B8085E0@SHSMSX101.ccr.corp.intel.com> In-Reply-To: <3CE959C139B4C44DBEA1810E3AA6F9000B8085E0@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTM1MzUxYjMtZWM3ZS00NzczLWI4NzAtNmRkNjgzNjI3NDczIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiS1VINWo3WTJkMEpmNEh6ZEM0MzZBaW1vcnl0MjdKUExZM25NbW02dkJIb2ErVXZNNmtJN01FdkFQOGFsQzNyOCJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I see. I have no concerns on the 3 &4 in different patches. > -----Original Message----- > From: Gao, Zhichao > Sent: Wednesday, July 17, 2019 4:44 PM > To: Ni, Ray ; devel@edk2.groups.io > Cc: Wang, Jian J ; Wu, Hao A ;= Zeng, Star ; Gao, Liming > ; Sean Brogan ; Michael = Turner ; Bret > Barkelew > Subject: RE: [PATCH 0/4] Add a pcd PcdBootManagerInBootOrder to control w= hether BootManager is in BootOrder >=20 > Sorry to miss the first question. I used to send a patch to the community= to merge my change and the changes from Mu. > And Leif suggests to separate them. That would distinguish the contributo= r when encounter copyright issue. And also make a > history of it. > Here is the message link: https://edk2.groups.io/g/devel/message/41834. >=20 > Thanks, > Zhichao >=20 > > -----Original Message----- > > From: Ni, Ray > > Sent: Wednesday, July 17, 2019 4:07 PM > > To: Gao, Zhichao ; devel@edk2.groups.io > > Cc: Wang, Jian J ; Wu, Hao A ; > > Zeng, Star ; Gao, Liming ; > > Sean Brogan ; Michael Turner > > ; Bret Barkelew > > > > Subject: RE: [PATCH 0/4] Add a pcd PcdBootManagerInBootOrder to control > > whether BootManager is in BootOrder > > > > Zhichao, > > > > Firstly, patch 4/4 is a fix to patch 3/4, why not merge them into one p= atch? Do > > we have a policy to strictly cherry-pick the patches from MU? > > > > Secondly, the change that skips to add the #### to BootOrder may cause = the > > Boot#### pointing to the BootManagerMenu be overwritten later. Reason i= s > > BmGetFreeOptionNumber() replies on BootOrder/BootNext to get a free > > option number. > > > > If the requirement is to let BootManagerMenuApp hide the > > BootManagerMenu, we could change the BootManagerMenuApp using a > > PCD to control. > > > > Thanks, > > Ray > > > > > -----Original Message----- > > > From: Gao, Zhichao > > > Sent: Wednesday, July 17, 2019 3:50 PM > > > To: devel@edk2.groups.io > > > Cc: Wang, Jian J ; Wu, Hao A > > > ; Ni, Ray ; Zeng, Star > > > ; Gao, Liming ; Sean Broga= n > > > ; Michael Turner > > > ; Bret Barkelew > > > > > > Subject: [PATCH 0/4] Add a pcd PcdBootManagerInBootOrder to control > > > whether BootManager is in BootOrder > > > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1979 > > > > > > Add a pcd to control whether the BootManager is in BootOrder variable= . > > > From a UI perspective, it never want to see a Front Page UI in the > > > boot order list. So add a pcd PcdBootManagerInBootOrder to control it= . > > > If it is FALSE, the BootManager App wouldn't be added to BootOrder. > > > And it wouldn't be shown in the BootManagerMenuApp. > > > > > > Notes: > > > BootManager means the application with file guid > > PcdBootManagerMenuFile. > > > It's default value is EEC25BDC-67F2-4D95-B1D5-F81B2039D11D, and users > > > usually change the pcd to UiApp.inf's file guid. BootManagerMenuApp > > > means uefi application with file guid EEC25BDC-67F2-4D95-B1D5- > > > F81B2039D11D. > > > > > > Cc: Jian J Wang > > > Cc: Hao A Wu > > > Cc: Ray Ni > > > Cc: Star Zeng > > > Cc: Liming gao > > > Cc: Sean Brogan > > > Cc: Michael Turner > > > Cc: Bret Barkelew > > > Signed-off-by: Zhichao Gao > > > > > > Bret Barkelew (2): > > > MdeModulePkg: Add PcdBootManagerInBootOrder to dec file > > > MdeModulePkg: Use pcd to control if BootManager in BootOrder > > > > > > Zhichao Gao (2): > > > MdeModulePkg: Add prompt and help string for > > > PcdBootManagerInBootOrder > > > MdeModulePkg: PcdBootManagerInBootOrder should only affect > > BootOrder > > > > > > .../Library/UefiBootManagerLib/BmBoot.c | 29 +++++++++++++++--= -- > > > .../UefiBootManagerLib/UefiBootManagerLib.inf | 1 + > > > MdeModulePkg/MdeModulePkg.dec | 6 ++++ > > > MdeModulePkg/MdeModulePkg.uni | 6 ++++ > > > 4 files changed, 36 insertions(+), 6 deletions(-) > > > > > > -- > > > 2.21.0.windows.1