From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0082.outbound.protection.outlook.com [157.56.112.82]) by dpdk.org (Postfix) with ESMTP id 21309298F for ; Mon, 9 May 2016 11:09:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-nxp-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jOiiWVeFJc59mHmJf/K+kUdTr7AcyqUqe3S3CKNmw7w=; b=xCfzl9AT9wGHDxS9YLtavbsEGzfTbQzQqgWVOatJbTV3zRz5aX+mAaHnlKsTH4szCtRKXMuwY+2stxVqiTtTR4v3/C11CDezbHQmS64PJcM6JFSOYQmurILQ2BvfakkpYTaQn5FGiSrkmDQWeN3xLQdZkzwy2O/DYhwwdN/RkMI= Received: from DB5PR04MB1605.eurprd04.prod.outlook.com (10.164.38.147) by DB5PR04MB1608.eurprd04.prod.outlook.com (10.164.38.150) with Microsoft SMTP Server (TLS) id 15.1.492.11; Mon, 9 May 2016 09:09:51 +0000 Received: from DB5PR04MB1605.eurprd04.prod.outlook.com ([10.164.38.147]) by DB5PR04MB1605.eurprd04.prod.outlook.com ([10.164.38.147]) with mapi id 15.01.0492.015; Mon, 9 May 2016 09:09:51 +0000 From: Hemant Agrawal To: Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] mk: Introduce NXP dpaa2 architecture based on armv8-a Thread-Index: AQHRqc5aMmA141JkdUmp9xiLRnghDZ+wSykw Date: Mon, 9 May 2016 09:09:51 +0000 Message-ID: References: <1462801702-30918-1-git-send-email-hemant.agrawal@nxp.com> <21220095.qH3WOBJJYD@xps13> In-Reply-To: <21220095.qH3WOBJJYD@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [192.88.169.1] x-ms-office365-filtering-correlation-id: 557f51d5-f303-4b2c-0b4a-08d377e9adcc x-microsoft-exchange-diagnostics: 1; DB5PR04MB1608; 5:qe+pENi07hYqiWRBWyDRk8MGfYuc9n95kRegty822kdQOGlpkPBOzaTZkhPzP2Zh1l33Ewf1R2uDdjfQpeoaYqWHbnLYf8vfwuhdtCKI5ejZIOeSx5QSkyU49q63qdnTLNLpF2RRzAc8zxlrrebKAQ==; 24:sSV/oJ1HAza4752CCWqNOEvVoSR3Ripid800eN6UgYqqF2NrSY01J7Z0Z2nhHbhZ9F+m82K0hF7BMaoiQDy+SzzJ8NJD9T/C51Iby91YykA=; 7:MNScIqyVWBP6Byx57JIh5v75Q2Oj6vnDDyU9PZYZ6rtCgDi9K6yK3DZsI9GLbVVfKrey+L9Yw+n0hZzI+Fz5AWNjV/ZFlzFrGY5TmjSaFuG/HvDnAbtf9JMcH1EtTlLPCYsUUVtxMwas+U66wCQVNhUTKWmqqVn4o7GHvQ/TsWwyP7ECVnTBh7Qkoq5XTAWu x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR04MB1608; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:DB5PR04MB1608; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB1608; x-forefront-prvs: 0937FB07C5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(13464003)(377454003)(377424004)(9170700001)(77096005)(189998001)(10400500002)(9686002)(74316001)(81166005)(5002640100001)(1220700001)(86362001)(8936002)(76576001)(19580405001)(3660700001)(19580395003)(2900100001)(2950100001)(110136002)(92566002)(33656002)(106116001)(586003)(3280700002)(5003600100002)(54356999)(76176999)(50986999)(87936001)(6116002)(5008740100001)(5004730100002)(2906002)(4326007)(102836003)(11100500001)(66066001)(3846002)(122556002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1608; H:DB5PR04MB1605.eurprd04.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2016 09:09:51.5819 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1608 Subject: Re: [dpdk-dev] [PATCH] mk: Introduce NXP dpaa2 architecture based on armv8-a X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2016 09:09:52 -0000 -----Original Message----- From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]=20 Sent: Monday, May 09, 2016 2:10 PM To: Hemant Agrawal Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mk: Introduce NXP dpaa2 architecture based = on armv8-a 2016-05-09 19:18, Hemant Agrawal: > This patch introduces dpaa2 machine target to address difference in=20 > cpu parameter, number of core to 8 and no numa support w.r.t default=20 > armv8-a machine >=20 > Signed-off-by: Hemant Agrawal [...] > --- /dev/null > +++ b/mk/machine/dpaa2/rte.vars.mk > +# ARCH =3D > +# CROSS =3D > +# MACHINE_CFLAGS =3D > +# MACHINE_LDFLAGS =3D > +# MACHINE_ASFLAGS =3D > +# CPU_CFLAGS =3D > +# CPU_LDFLAGS =3D > +# CPU_ASFLAGS =3D > +MACHINE_CFLAGS +=3D -march=3Darmv8-a > + > +ifdef CONFIG_RTE_ARCH_ARM_TUNE > +MACHINE_CFLAGS +=3D -mcpu=3D$(CONFIG_RTE_ARCH_ARM_TUNE) endif There is nothing specific in this file. [Hemant] The arch is "armv8-a" instead of "armv8-a+crc". Also, we are usin= g "mcpu" for ARM tuning. This is not present in the armv8a machine. The arm= v7a machine usages RTE_ARCH_ARM_TUNE to configure "mtune".=20 > --- a/mk/rte.module.mk > +++ b/mk/rte.module.mk > +#### Linaro toolchain usages arm64 instread of aarch64 in kernel ifeq=20 > +($(ARCH), aarch64) ARCH =3D arm64 endif Could you provide more explanations please? aarch64 shouldn't be used I think. [Hemant] you are right. This is not required. I was using an old toolchain.= =20