From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.940.1592527855749767096 for ; Thu, 18 Jun 2020 17:50:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=Fyc7axFO; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: yuwei.chen@intel.com) IronPort-SDR: 21jPz3aYk3257H7Z8AOsBJmE9mgB8kxWTcd2zTU8Ecq7U+n4n6LgyRKdcTCnMz0E3bE8ujkWJ5 izmgAyAleg8g== X-IronPort-AV: E=McAfee;i="6000,8403,9656"; a="123027560" X-IronPort-AV: E=Sophos;i="5.75,253,1589266800"; d="scan'208";a="123027560" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2020 17:50:54 -0700 IronPort-SDR: 1qEbytCJqktpQvGGtdP9/0LLidk60RGz02HjTceAofk4Z4w00RzRLb+VmMyXXsOXOHoCwetRka BeZpaYdjysPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,253,1589266800"; d="scan'208";a="263736826" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga008.fm.intel.com with ESMTP; 18 Jun 2020 17:50:55 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jun 2020 17:50:55 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) 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.1713.5; Thu, 18 Jun 2020 17:50:54 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 18 Jun 2020 17:50:54 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.58) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jun 2020 17:50:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IMleXROWrjfsRo62JTaaqPDHkQ4x1ZfNP42RUxY1aI+pnAbhD3YLvxJ33KuqyRbgfolsUlcMR1aecVLNDZElGjEBpZi2NMFSqCVqd8IUMR+8lx2Ev4M+MdzSmUwBoWGbeOq+RY6cbMq/K1e/6VQarms4F5grYEWyfuex/fCNMRjdxdY65daE8BSmvTMCddols9Q+MhFyEBKH51zd0cvYMbxdNuTCkUQRvPh6hii+UFq6yC4pu3xYea4E60a2F0DUknWBrN3leOod4AE7XuJZzdQnsolLBS9Eit2xYjdF6kq/eyfBEWdYr90NFfrnjuPhzeFNiNLBRXqjrvFIYkMwXg== 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=1rgCkS3BgEDOjBqRzlIgMgns/B/Lxoc1GDkjHDEN06k=; b=eJnzyBrgzXrdYkuublA2WixddhivTehkv1AO/AO2S00U4g4mkQbjNoPhFqbv74EWyzHHbawyAMQzcPTuCC+TSHWwNS4cZ48a7gdsWW+6FC+U7M1+/qkojZfboibrzQYK9Ym/f7li2swI6AMaEMBNutsMl4BgnHCLSZJn6uicAP4iAASptHbmumVNMhdQaKoYk8da4v/02Md1N+cKD3ZOyCLSIQjLpBBvms+T8s2wT1sDfCSFwMBZxx1E8Eo+7FhKn9KWrLpiW+JQEiAcDkDuhGuJrNUKei+d2WjQtjLjG4r2pA6m9/nBERKvRmruAijKptvH5sMrnpFYt5WABex+Dg== 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=1rgCkS3BgEDOjBqRzlIgMgns/B/Lxoc1GDkjHDEN06k=; b=Fyc7axFOBN/6VTp2QyAZUk91cHD0QUmndRaqnDHbabh3GINKfEbcrtnD7wr3/ewFTqnvbE7gCRFrsC8cWsEw95BxSKxnB1we5KEkCrkPTrWO+GMnvrlJeNei2uYBhEiQpdesN0TeKzA6DqW27bZ5i0rcm15t4Qlu+pqjxhOsVJ0= Received: from DM5PR11MB1594.namprd11.prod.outlook.com (2603:10b6:4:5::16) by DM6PR11MB2969.namprd11.prod.outlook.com (2603:10b6:5:70::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.23; Fri, 19 Jun 2020 00:50:52 +0000 Received: from DM5PR11MB1594.namprd11.prod.outlook.com ([fe80::503:d97b:c650:831d]) by DM5PR11MB1594.namprd11.prod.outlook.com ([fe80::503:d97b:c650:831d%12]) with mapi id 15.20.3109.021; Fri, 19 Jun 2020 00:50:52 +0000 From: "Yuwei Chen" To: "Chang, Abner (HPS SW/FW Technologist)" , "devel@edk2.groups.io" CC: "Feng, Bob C" , "Gao, Liming" , "Schaefer, Daniel (DualStudy)" , Leif Lindholm Subject: Re: [edk2-devel] [BaseTools PATCH v1] BaseTools: Add OpenSBI external definitions for RISC-V assembly build Thread-Topic: [edk2-devel] [BaseTools PATCH v1] BaseTools: Add OpenSBI external definitions for RISC-V assembly build Thread-Index: AQHWQGJjC+eTkUxmG0iLQlPwtHEGlajchmpwgAEb9oCAAYO5gA== Date: Fri, 19 Jun 2020 00:50:52 +0000 Message-ID: References: <20200612015641.23112-1-abner.chang@hpe.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: hpe.com; dkim=none (message not signed) header.d=none;hpe.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d1bfa7bb-10cc-48df-b317-08d813ead148 x-ms-traffictypediagnostic: DM6PR11MB2969: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:224; x-forefront-prvs: 0439571D1D x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: q4YzyCrhq/tofut0TDhQcon8WlSNQ1yvNSrdz9FfxaoOxGsa1cFYdX/ob+zqpVbWTQK3o5Z9GNH4OliGv1hBSQi2yTR+XnZgaE/8wxd2m/TFS83EclspUtA5aAvVJjfLDpZradWU4BELKgHlPUFw3gz7m9TACsqSGcHkYFITRR7AWOCcc+8E4VCpQ6IJQMhQsqC658x7p17O2xwKWCeVAta5V5zK+5aiazKw+/3MAWdBqJxtTb2qj/cze5FNS+HBQauulaKb7+DJzlYhlfSTBpDusn+k0dZBr1vS3EZnWlJfgx50JPIZzpVzP15IU6SAQzQ6maoMCaimDESN9Vja+RsdAlAJ+PMapyeAZPCdJPOX7OkMg5EPPKfMiV64b+cON076Wh34x9zhy+H+fNnS4g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR11MB1594.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(39860400002)(136003)(376002)(366004)(346002)(33656002)(5660300002)(66476007)(26005)(86362001)(19627235002)(71200400001)(110136005)(52536014)(478600001)(9686003)(66946007)(64756008)(66446008)(66556008)(76116006)(83380400001)(8676002)(54906003)(55016002)(4326008)(6506007)(53546011)(8936002)(316002)(296002)(186003)(7696005)(2906002)(966005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: f7wzth6xcbiyoGf4a4kQTNRLwarfbxDWKBObQiSFv7q+JMhfPzfe/dvqxoWiYY8EDOqe1dBj1rjffGebFNw3Vnd2DjTgkcZuiNXbgoUIK2hsV9UbDiI+GgPNjACjz2XId9b4tVYFJqf5118vFoRLPsy0CrO+Ygiz8siv5O1pQIrZooZMjRt7JfDMM/oml+9fVwUYyoMgEIJlF+Jx5b3NBmtKnyx/bj1VEHuE++nYyIOUcOxaXhHXcgi4gmb8mTq64CrBD/3O4cPiuHLzNlWvHApeVhX6pWPb49zdLL9yzKlakd3Nn19Kvbrws6AUXjdQn40vk8OQutZ+O7gevJ3QPMzGvzhcYDxoIzNt/a2m9lYu6F9XWt5xokCqGU9tGLSw3v2Aby5N3b7Uuuf+uVTgvgiIS2QWx4nPGmMrZQjsVg22SrWKLx7ClDRTZmtdJ4ZhRgPwXWFnm8KI6kxhFVMjzFyjoAP+DxaflwVTiKn0pF0= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: d1bfa7bb-10cc-48df-b317-08d813ead148 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2020 00:50:52.5413 (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: W95QD5GAb0gNh181QYfuQjCxxH6XuahjjDYcRK017B3YNMafOz3j+9pJxQ5EYEBr927ssT5csga/wCuiQ133KA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2969 Return-Path: yuwei.chen@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Abner The patch looks good. Thanks, Yuwei > -----Original Message----- > From: Chang, Abner (HPS SW/FW Technologist) > Sent: Thursday, June 18, 2020 9:41 AM > To: devel@edk2.groups.io; Chen, Yuwei > Cc: Feng, Bob C ; Gao, Liming > ; Schaefer, Daniel (DualStudy) > ; Leif Lindholm > Subject: RE: [edk2-devel] [BaseTools PATCH v1] BaseTools: Add OpenSBI > external definitions for RISC-V assembly build >=20 > Sure YuWei, v2 patch is sent. >=20 > Thanks > Abner >=20 > > -----Original Message----- > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > > Yuwei Chen > > Sent: Wednesday, June 17, 2020 4:51 PM > > To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) > > > > Cc: Feng, Bob C ; Gao, Liming > > ; Schaefer, Daniel (DualStudy) > > ; Leif Lindholm > > Subject: Re: [edk2-devel] [BaseTools PATCH v1] BaseTools: Add OpenSBI > > external definitions for RISC-V assembly build > > > > Hi, abner > > > > I have a little suggestion for the patch format, it would be better if > > the length of each commit line is less than 70 characters. > > You can follow the Commit Message Format in the wiki of tianocore. > > > > Thanks, > > Yuwei > > > > > -----Original Message----- > > > From: devel@edk2.groups.io On Behalf Of > Abner > > > Chang > > > Sent: Friday, June 12, 2020 9:57 AM > > > To: devel@edk2.groups.io > > > Cc: abner.chang@hpe.com; Feng, Bob C ; Gao, > > > Liming ; Daniel Schaefer > > > ; Leif Lindholm > > > Subject: [edk2-devel] [BaseTools PATCH v1] BaseTools: Add OpenSBI > > > external definitions for RISC-V assembly build > > > > > > Add opensbi external definitions to RISC-V build for assembly code. > > > Use GCC5_RISCV_OPENSBI_TYPES to refer to edk2 data type for > assembly > > > files instead of using opensbi data type. > > > > > > Signed-off-by: Abner Chang > > > > > > Cc: Bob Feng > > > Cc: Liming Gao > > > Cc: Daniel Schaefer > > > Cc: Leif Lindholm > > > --- > > > BaseTools/Conf/tools_def.template | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/BaseTools/Conf/tools_def.template > > > b/BaseTools/Conf/tools_def.template > > > index 923517b5c2..8aeb8a2a64 100755 > > > --- a/BaseTools/Conf/tools_def.template > > > +++ b/BaseTools/Conf/tools_def.template > > > @@ -2037,6 +2037,7 @@ DEFINE GCC5_RISCV64_CC_FLAGS =3D > > > DEF(GCC5_RISCV_ALL_CC_FLAGS) DEF(GC > > > DEFINE GCC5_RISCV64_DLINK_FLAGS =3D > > > DEF(GCC5_RISCV_ALL_DLINK_FLAGS) -Wl,-melf64lriscv,--oformat=3Delf64- > > > littleriscv,--no-relax DEFINE GCC5_RISCV64_DLINK2_FLAGS = =3D > > > DEF(GCC5_RISCV_ALL_DLINK2_FLAGS) DEFINE > > GCC5_RISCV64_ASM_FLAGS =3D > > > DEF(GCC5_RISCV_ALL_ASM_FLAGS) -march=3DDEF(GCC5_RISCV64_ARCH) > - > > > mcmodel=3Dmedany -mabi=3Dlp64+DEFINE GCC_PP_FLAGS = =3D -E -x > > > assembler-with-cpp -include AutoGen.h > DEF(GCC5_RISCV_OPENSBI_TYPES) > > > > > > ########################################################## > > > ########################## #-- > > > 2.25.0 > > > > > > > > > -=3D-=3D-=3D-=3D-=3D-=3D > > > Groups.io Links: You receive all messages sent to this group. > > > > > > View/Reply Online (#61183): > > > https://urldefense.proofpoint.com/v2/url?u=3Dhttps- > > 3A__edk2.groups.io_g_ > > > > > > devel_message_61183&d=3DDwIFAg&c=3DC5b8zRQO1miGmBeVZ2LFWg&r=3D_SN > > 6FZBN4Vgi4U > > > > > > lkskz6qU3NYRO03nHp9P7Z5q59A3E&m=3DHQziIqz4xGRFswhRjSdNcWvHjUyN5 > > ERpayXlIA > > > wzXVQ&s=3DzErLdJ3LY3S3GTWvOAUkqNPWIFoCzpYBs1z5cDrsVCY&e=3D > > > Mute This Topic: > > > https://urldefense.proofpoint.com/v2/url?u=3Dhttps- > > 3A__groups.io_mt_7483 > > > > > > 2499_4546272&d=3DDwIFAg&c=3DC5b8zRQO1miGmBeVZ2LFWg&r=3D_SN6FZBN4V > > gi4Ulkskz6q > > > > > > U3NYRO03nHp9P7Z5q59A3E&m=3DHQziIqz4xGRFswhRjSdNcWvHjUyN5ERpayXl > > IAwzXVQ&s > > > =3DUG89s-i8w3cuIc12SggVYjjyUFkm-qVV0jHf1QBpgJc&e=3D > > > Group Owner: devel+owner@edk2.groups.io > > > Unsubscribe: > > > https://urldefense.proofpoint.com/v2/url?u=3Dhttps- > > 3A__edk2.groups.io_g_ > > > > > > devel_unsub&d=3DDwIFAg&c=3DC5b8zRQO1miGmBeVZ2LFWg&r=3D_SN6FZBN4Vgi > > 4Ulkskz6qU > > > > > > 3NYRO03nHp9P7Z5q59A3E&m=3DHQziIqz4xGRFswhRjSdNcWvHjUyN5ERpayXlI > > AwzXVQ&s=3D > > > fL7a3sHzOxEGfYK7Nw8RAwRqQhjuOfNdhjyiGAlamyc&e=3D > > > [yuwei.chen@intel.com] -=3D-=3D-=3D-=3D-=3D-=3D > > > > > >=20 >=20