From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=ck6UHzEC; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: michael.a.kubacki@intel.com) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by groups.io with SMTP; Wed, 18 Sep 2019 21:07:05 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2019 21:07:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,522,1559545200"; d="scan'208";a="387134099" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by fmsmga005.fm.intel.com with ESMTP; 18 Sep 2019 21:07:04 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Sep 2019 21:07:04 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.57) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Sep 2019 21:07:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lkr28fKwL3j0/T10y0QN7OiC4Gnp1Zrm8EA13oBBZTDzumV7UccasF5vXTR559rKu5oHDqlZdSTbkfpTumD/tO4Ii8PTHQKMFzMGwjYI3B0YNly+yq8NhxHtkMjWUMnssvUx0haxPLxhLsVMR3N1J5miAs94UmBAumidab1/xxzm+OtO1lojIBIRmlm7aY/eUZXq6pceqg3PNGlQEwYp3dIFZ9M/rPMs5nxOM0I8+KTPNdi15K7b2t1rL7v7GOeTj1GT8cJ/UdSyNIgwLx2tdo5XbDmUJmtqxO78zKMCTJu8uc85nw4xEjjH23wdom0nE6WLbPqJ4phChFon7jKQBA== 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=IOXILIwhWYoVqa8SiM2r0QWNaHGUIWyaBtldst1VZ4Q=; b=aGtkBLnliNF2Ck4X7IwHca6xuza5NkqPsMOzPTGMiNj+mdSuX4PGaet4Avj59RC4rawdTDXcAwJ46CgtRM49GODJ+wCfmQGc8UbbkW7mdpJ7K4mLHs2JFvNmkP44KzJl59duMA7HHHn/mkEMZVvAZs1u5jFCtAcFiQczLexh/dDDROM4l20nP+ggQjvG7qHZ9vN8M3h3N31oMP8w+cAw6/uyf69wUNEIrOb/Ka3VK79py/eRpTqKpr3L4RXFkML7sCWI7D62qfucjCi/buj3S5p63jt+kZYiTW2GHhkBTK7bW+eGwMO7vAmSnPeCHZ4o8XLUkRYo2wP64IEav5grJw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IOXILIwhWYoVqa8SiM2r0QWNaHGUIWyaBtldst1VZ4Q=; b=ck6UHzEC+aS3wrssG2+xP5tLSOZ58sCLG7GHoqW+dEQuThxdC84VdAumPzeAUxBibZztnAjA0GlF39QcbNmI+StAycwacfEaMfjbwsh8QqFmfAcs3Fpfig57DXdlmh/AkHlH2bR3EV7iSLAR056P+b64DUrcYjNqtoKcHF6wjJw= Received: from DM6PR11MB3834.namprd11.prod.outlook.com (20.179.17.87) by DM6PR11MB4441.namprd11.prod.outlook.com (52.132.250.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.21; Thu, 19 Sep 2019 04:07:03 +0000 Received: from DM6PR11MB3834.namprd11.prod.outlook.com ([fe80::c093:6e7b:c014:6658]) by DM6PR11MB3834.namprd11.prod.outlook.com ([fe80::c093:6e7b:c014:6658%6]) with mapi id 15.20.2284.009; Thu, 19 Sep 2019 04:07:03 +0000 From: "Kubacki, Michael A" To: "Wei, David Y" , "devel@edk2.groups.io" CC: "Wu, Hao A" , "Gao, Liming" , "Sinha, Ankit" , "Agyeman, Prince" , "Desimone, Nathaniel L" , "Kinney, Michael D" Subject: Re: [edk2-platforms PATCH v2] SimicsOpenBoardPkg: Always set the boot priority by default Thread-Topic: [edk2-platforms PATCH v2] SimicsOpenBoardPkg: Always set the boot priority by default Thread-Index: AQHVbN+VJC7+kqTQGkuf6YSc+pF/gqcyZJ4w Date: Thu, 19 Sep 2019 04:07:03 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzJmMmJkMDUtNzBhOC00OGM1LTg3NWEtZWE5ZjM1ZWNmM2Y1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMFwvNHdkTDVnZjJuNVwvTDY2QzdBVXJMdHlpY0xFZ05oWHdmbG9WMENxVHhyWUtkdHFSYVJmNlwvMXNjcUtjVmJSMiJ9 dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=michael.a.kubacki@intel.com; x-originating-ip: [134.134.136.217] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9bbfd6aa-b7aa-4aee-1651-08d73cb6d3e1 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM6PR11MB4441; x-ms-traffictypediagnostic: DM6PR11MB4441: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 016572D96D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(136003)(346002)(39860400002)(376002)(199004)(13464003)(189003)(478600001)(66066001)(2501003)(110136005)(107886003)(6116002)(8676002)(316002)(14454004)(6246003)(305945005)(486006)(3846002)(7736002)(5660300002)(81166006)(81156014)(6436002)(8936002)(256004)(76116006)(25786009)(66946007)(99286004)(229853002)(66476007)(446003)(2906002)(66556008)(64756008)(54906003)(9686003)(102836004)(26005)(71190400001)(186003)(55016002)(74316002)(33656002)(11346002)(86362001)(6506007)(53546011)(4326008)(71200400001)(52536014)(476003)(76176011)(66446008)(7696005);DIR:OUT;SFP:1102;SCL:1;SRVR:DM6PR11MB4441;H:DM6PR11MB3834.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: oyL5ePr23Aaa5A/NTXI1/b2/ZcAbWs//hhPlo0CVEOwbsLOljyoEbsmj1puNnL0ADl+KGkRDy86p9Nq3tdfxlilKGZTyqYk1JtLTrpku7y+MwlXOrGi8vnjYFP7z/CzLAFEqx6MJLPjWuqNOlZ6ME7Hzyw4y+WNMy8uMebcjBxr0GJ/1PEpJ+DB5hQQT3R0aa8teL1tuSDrhuGoJah9VkfJeSgZ1gaG8gpb32Qu/SFAqyFG7G1fTXapXnPxUq3np5osFoTzHoUTMPR8dz4vxyb9rhvM0kiQOjrBn6Kzf13+pswJsM1s/s8JKvPNm3umMfvZM8MjUHuF+RH/iGlbaG3c2EvqfZr49F3iKqfPXHCSGYoQgWBuKrrixozYO4PBTXgc30w8w0bImLrJjfHsENF/X2TIBOtm3Y43Lg4jbSgI= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 9bbfd6aa-b7aa-4aee-1651-08d73cb6d3e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2019 04:07:03.1203 (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: 9NuaFU3Os9OMDH+W77UHqUXB+2urJhFu5mx4ZMzs9Z+T7f6SZu+rGdHMGWvPESMXrAPbFRrvJuIF3s7AMBChgNsEXIf2QtTVKoyHj335yOI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4441 Return-Path: michael.a.kubacki@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable There's some style issues with spaces missing before opening parenthesis. T= hose can be fixed before submission this time. Reviewed-by: Michael Kubacki > -----Original Message----- > From: Wei, David Y > Sent: Monday, September 16, 2019 3:39 PM > To: devel@edk2.groups.io > Cc: Wu, Hao A ; Gao, Liming ; > Sinha, Ankit ; Agyeman, Prince > ; Kubacki, Michael A > ; Desimone, Nathaniel L > ; Kinney, Michael D > > Subject: [edk2-platforms PATCH v2] SimicsOpenBoardPkg: Always set the > boot priority by default >=20 > When running networks of multiple machines, Simics assigns different disk > IDs to each disk created.this change the boot priority and can't boot fro= m > SATA HDD directly. > Clear boot priority in NVRAM can fix this issue. >=20 > Cc: Hao Wu > Cc: Liming Gao > Cc: Ankit Sinha > Cc: Agyeman Prince > Cc: Kubacki Michael A > Cc: Nate DeSimone > Cc: Michael D Kinney >=20 > Signed-off-by: David Wei > --- > .../Library/PlatformBootManagerLib/BdsPlatform.c | 14 ++++++++= +++- > -- > 1 file changed, 11 insertions(+), 3 deletions(-) >=20 > diff --git > a/Platform/Intel/SimicsOpenBoardPkg/Library/PlatformBootManagerLib/Bds > Platform.c > b/Platform/Intel/SimicsOpenBoardPkg/Library/PlatformBootManagerLib/Bd > sPlatform.c > index 953a4a6c15..6644ce124e 100644 > --- > a/Platform/Intel/SimicsOpenBoardPkg/Library/PlatformBootManagerLib/Bds > Platform.c > +++ > b/Platform/Intel/SimicsOpenBoardPkg/Library/PlatformBootManagerLib/B > +++ dsPlatform.c > @@ -338,10 +338,18 @@ PlatformBootManagerBeforeConsole ( > VOID > ) > { > -// EFI_HANDLE Handle; > -// EFI_STATUS Status; > + EFI_BOOT_MANAGER_LOAD_OPTION *NvBootOptions; > + UINTN NvBootOptionCount; > + UINTN Index; > + EFI_STATUS Status; > + > + DEBUG((DEBUG_INFO, "PlatformBootManagerBeforeConsole\n")); > + > + NvBootOptions =3D EfiBootManagerGetLoadOptions(&NvBootOptionCount, > + LoadOptionTypeBoot); for (Index =3D 0; Index < NvBootOptionCount; > Index++) { > + Status =3D > + > EfiBootManagerDeleteLoadOptionVariable(NvBootOptions[Index].OptionNu > mb > + er, LoadOptionTypeBoot); } >=20 > - DEBUG ((EFI_D_INFO, "PlatformBootManagerBeforeConsole\n")); > InstallDevicePathCallback (); >=20 > VisitAllInstancesOfProtocol (&gEfiPciRootBridgeIoProtocolGuid, > -- > 2.16.2.windows.1