From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web08.13073.1629045100601749297 for ; Sun, 15 Aug 2021 09:31:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=Y1uqlPWT; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: ashraf.ali.s@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10077"; a="301337837" X-IronPort-AV: E=Sophos;i="5.84,322,1620716400"; d="scan'208";a="301337837" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2021 09:31:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,322,1620716400"; d="scan'208";a="448111129" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga007.fm.intel.com with ESMTP; 15 Aug 2021 09:31:39 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Sun, 15 Aug 2021 09:31:39 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Sun, 15 Aug 2021 09:31:38 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Sun, 15 Aug 2021 09:31:38 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Sun, 15 Aug 2021 09:31:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LJyiVPw+r/MfrjqwTxJWSXDsNGo5ozw+VDsMa0PViBNxtUWWFSRe88pI5f7nMEiujQ6XKa2mjJ7YSk6GVjNS6Wn6eGaAY/TBcytcqOQbN2k9g/nnC+1PrO5EW40LqtvgMITvZZG9mPXHvX6z8bs1tWkP2PNcREEhGda/O4IDfaioQ1xPsfJCbrFsYn3/dco1Wp7jbJs5KOfKw7pGW3r8vL+8BT60zkFSG6HhebzTYeRIXPof6jKHjoyvAozZDZSVRV6M9dGk+VXhdCjMfVYFtCkx3L2BemU2eP++fSj2n53A2Udl4rHk9goutS/loO/WQUS31WMmm/zmeIsTQ+ibbQ== 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=Yn05CLrOZjjhv/bypRRmA1GfW2n9K5xl0Pbs+SaR0EQ=; b=b3opAEka8SJLdpF1EZw6D7RDfkyttrXeZVfPj9UtuMiRcs9OID5U9IKH5QIhybI5HHV/RVVPYGS9C1Me3XeR/ohV7rDG2I/+8N2ZHeO2tPlnKPC7uLJSBMgX2yGpXcopfVRp7wwc1SLLZTYPTcXBiw1+iZ4ulJlllBELoGCzMmzuPYUmo9eccEhP5mRrwGFGOvLnePQRWAvFGsAcbA3DRLm5URRlshpkXtBAyfGS8kFwOPM6gOyRbtVC1EfBGKREO0NRMQonKfDXHRtUQcy3iIBTFotY40Oxjp0ujGHJ98HD4mDX6H1uI2ShGTTgkHtS2WFnzQaorb8Ta+SZuhfp+w== 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=Yn05CLrOZjjhv/bypRRmA1GfW2n9K5xl0Pbs+SaR0EQ=; b=Y1uqlPWTkCXInwHQUlzwwXZHbFh4oRrqDDFvpkp3PvAmbvywfD2baYvdJGluhk6Iwtf5fokJltDizaX+VZOXDsAPA88aUb7N/M37ZNNuAyfcpctDV+b6P3Fupn3Enc3Ua8/B8yBAZA0diRzv8HeZVzPZdYc91nNhnFGKjYoo/xs= Received: from DM4PR11MB5280.namprd11.prod.outlook.com (2603:10b6:5:38b::18) by DM6PR11MB4331.namprd11.prod.outlook.com (2603:10b6:5:203::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.13; Sun, 15 Aug 2021 16:31:37 +0000 Received: from DM4PR11MB5280.namprd11.prod.outlook.com ([fe80::49ef:84a6:5964:8bf7]) by DM4PR11MB5280.namprd11.prod.outlook.com ([fe80::49ef:84a6:5964:8bf7%3]) with mapi id 15.20.4415.022; Sun, 15 Aug 2021 16:31:37 +0000 From: "Ashraf Ali S" To: "Ni, Ray" , "devel@edk2.groups.io" CC: "Kumar, Rahul1" , "De, Debkumar" , "Han, Harry" , "West, Catharine" , "V, Sangeetha" Subject: Re: [PATCH v2 2/2] UefiCpuPkg: ResetVector Tool additional debug prints Thread-Topic: [PATCH v2 2/2] UefiCpuPkg: ResetVector Tool additional debug prints Thread-Index: AQHXf558ORxC0WhRK0CkXdF+f5jcP6tWTI0AgB6aIrA= Date: Sun, 15 Aug 2021 16:31:37 +0000 Message-ID: References: <20210723084023.22157-1-ashraf.ali.s@intel.com> <20210723084023.22157-2-ashraf.ali.s@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6d7859e8-c96f-4ca2-3e0c-08d9600a2715 x-ms-traffictypediagnostic: DM6PR11MB4331: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:260; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NfoL7yNE9e3jN57XX4Pr7qdabz5wWca6lg6aan1digB8oMLf+LawBWk+J6BIdWFnEUPoh0qWEFDt4pCIXil11jrP7sYexpyRA+ipFF2h9sPAcp6zEjoJgt6QdJpHWx3PvLcM84YyT6SBMLdFyAAGA4tbYIyPXUgCfEc9dIUwNvpR/U2kBVicIij2V3ILQgmECmU7kVwc3t/qNvZ2kuDUQ9MzEkwjgkMt+fLCWmuMEEsisu12/zvlyDGlN2+WHt2u9CVPv8zBxsqE/g+zB1kUGPshTMm7SHgn7Cnc0WZexQLPkekJ7if+DR2IbrULJrZasmT3Bk7iO7LDNOA9oegw8WCMBaU0Iskhd68R90Vt6iPzfniiG0hECJRp8eceetX2MXH5hoLgokTeOYwzACPOF+QOg9O7mzr8X7M+jO+XaVA/4l9l4ivvwLF5CEgjfpg6Whiw8hjCzrKcExhMBTflKTRv/Lm71GTFxO/mwtsAcRFfgphVfY2zb0+IRYcztPGGwz/iUxnu1E5Zo8Q2h+cFgyAeAHfvwDTvxlNPxhp7trbzSQeVNkPtN/IwCEFNKSQ1/bIKAjtTtvjqIMci8EA3R+j++zUgLUrbYf1px943E+WZRQCG71cRL3LKQKF0x4EjFqWPmZtdlMPuOQVEC1dM885q3d4Uqo+K3A3vtJroPooJUwZBd+Ftbg294HYkHD+jTbUeZX/wnzx37TFjxTNwsmvd7gBd5xQdvJDJ4o+zxr3502jmJshqOqfda/FWEELIlZKmznbuFS9FrzsvW4J9nj2wb8ehH0bsLeUlkKsCT+w= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR11MB5280.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(396003)(39860400002)(366004)(346002)(136003)(8676002)(107886003)(9686003)(52536014)(7696005)(71200400001)(55236004)(478600001)(26005)(5660300002)(122000001)(55016002)(38100700002)(66556008)(110136005)(316002)(64756008)(6506007)(66446008)(54906003)(86362001)(66476007)(38070700005)(53546011)(2906002)(4326008)(76116006)(33656002)(83380400001)(186003)(8936002)(66946007)(19627235002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?et3S0CkWa9P/GISXye1UfI7w8Q638JBKquoNqJ9F6lNFNd52LZbm78gKHy?= =?iso-8859-1?Q?Y3iWiIRb0ygtlJ+1cngRukWRB1ncgc2V3/wAcPUMe58nzO6KdKKAe5Jqf0?= =?iso-8859-1?Q?gg4QOareoPvgsiEf/GmSmR99qFJeXwB4wqSh5aQONU7pf/MPLlUTYyG5jA?= =?iso-8859-1?Q?0jpC7o2jm7kCI77R/C9DAFj9IZWCg6vVMaL3cOVWTW3fgQxHhrZTUJ5mn8?= =?iso-8859-1?Q?qsqWGhCaS/2RiBmo8WuEJhXpQ8YSA4r7ck6ibQs1K5h6sVv46hPb1GbUVN?= =?iso-8859-1?Q?SJuMvJ+31EP+tz8J8Daduxr2MIXuH8ThUpjM5kp3/a66PaQauBh2hup5Bp?= =?iso-8859-1?Q?/9YdRYFLuuI5HjQPkwjAMGZjQm3/MTeG+XyVOJoFCKqe+JFd3tguexPJwv?= =?iso-8859-1?Q?G6izK2VgPdpXLoRlsr0T8v/uyrEpLmniIlyFz2IYz/oQbH1HEkS7E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aA4clIFyvb5nHr1ioyYI3Et8WXSxr0Xn86VnaH?= =?iso-8859-1?Q?Sbp6M7FVxD?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5280.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d7859e8-c96f-4ca2-3e0c-08d9600a2715 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2021 16:31:37.0303 (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: 8OnT38150UFwskih23v2ntDWEqkZnbBXqv5hUXyoR93vyjHGUF7TkJiIZMk7+WgmxV4YZDW6gFjU8ZdJ1lb9tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4331 Return-Path: ashraf.ali.s@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi., Is this Patch Uploaded in GitHub? Regards, Ashraf Ali S Intel Technology India Pvt. Ltd.=A0 -----Original Message----- From: Ni, Ray =20 Sent: Tuesday, July 27, 2021 10:42 AM To: S, Ashraf Ali ; devel@edk2.groups.io Cc: Kumar, Rahul1 ; De, Debkumar ; Han, Harry ; West, Catharine ; V, Sangeetha Subject: RE: [PATCH v2 2/2] UefiCpuPkg: ResetVector Tool additional debug p= rints Reviewed-by: Ray Ni > -----Original Message----- > From: S, Ashraf Ali > Sent: Friday, July 23, 2021 4:40 PM > To: devel@edk2.groups.io > Cc: S, Ashraf Ali ; Ni, Ray=20 > ; Kumar, Rahul1 ; De,=20 > Debkumar ; Han, Harry ;=20 > West, Catharine ; V, Sangeetha=20 > > Subject: [PATCH v2 2/2] UefiCpuPkg: ResetVector Tool additional debug=20 > prints >=20 > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3506 >=20 > Before executing the nasm command, added print statement to know what=20 > commands are executing. > before printing the output file need check the status of command which=20 > is executed. if the status is 0 then only print the output file name. >=20 > Cc: Ray Ni > Cc: Rahul Kumar > Cc: Debkumar De > Cc: Harry Han > Cc: Catharine West > Cc: Sangeetha V > Signed-off-by: Ashraf Ali S > --- > UefiCpuPkg/ResetVector/Vtf0/Build.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/UefiCpuPkg/ResetVector/Vtf0/Build.py=20 > b/UefiCpuPkg/ResetVector/Vtf0/Build.py > index 55f4edd87b..b791d32762 100644 > --- a/UefiCpuPkg/ResetVector/Vtf0/Build.py > +++ b/UefiCpuPkg/ResetVector/Vtf0/Build.py > @@ -32,9 +32,12 @@ for arch in ('ia32', 'x64'): > '-o', output, > 'Vtf0.nasmb', > ) > + print(f"Command : {' '.join(commandLine)}") > ret =3D RunCommand(commandLine) > + if ret !=3D 0: > + print(f"something went wrong while executing {commandLine[-1= ]}") > + sys.exit() > print('\tASM\t' + output) > - if ret !=3D 0: sys.exit(ret) >=20 > commandLine =3D ( > 'python', > -- > 2.30.2.windows.1