From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 078BAA2EEB for ; Wed, 11 Sep 2019 17:54:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6EC371E89A; Wed, 11 Sep 2019 17:54:24 +0200 (CEST) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-eopbgr760093.outbound.protection.outlook.com [40.107.76.93]) by dpdk.org (Postfix) with ESMTP id 7A6CC1EA4D for ; Wed, 11 Sep 2019 04:39:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fvWyCwtuRC8dwuujui6XuiigtYUUSPtg+yZYCjY7lJupoIzAH9hQ+npxy8yWisR8IUWbXUhqV6MwF+b9L/P3lWjEoWdbjfiWf29sbepHKOpD/Hc1E0YXmn23dvM6GuC2sg+/daFSBY454NYrJD3fMRqLEWjfpc0ZwgVb+XY761JcaB6tbP/IMrCmUEF5HCPhq5IKYVGITpfSg0cEItgCkOKjMlYcRpra5GL23MwVo6N7cPe+WF2m1j2VGo3TC/SXV6rptaVucUDN+J9BWiBqp6B54LCyQNPqS+QGOqowfL8yerU5TLc3jdpOuP1PWHAEnuOxWta+huoHD1RGJ6Bi0Q== 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=GOIobkyZbLjZsG53gxvkzPUG9FzIsFTeoumNKlyZmcI=; b=AI9fW+aFePd546amfflMgARZDrPQ39g/0PRpfBU0OT1ua04eFy9jaw50Hv24aECjRzUxL9pNgoj+Lwfc5TmI/aJOS2Klx0kziFnZqXRQD5x8BOAnLZaF1AlPrO743bnRSG+LwsyNotqx45n1r4tEC67ci4WT42izIhFs3B1lFeD3GRPVPOXak7mlTe5/gfNtMTwvOGVuWOJzkElxzR/OwFZeWo964Y69/6njAqPLCEEDZMlrHRJbLPkH1ojNwQIdxDpN1FAxuNPrQghJXklVwLrrV5mK/y8bgl9Me0Y9CXacJHJC+BKjQv1lbbyWx1VJqiREgtFRGIJ4RMaB5Ye9sw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GOIobkyZbLjZsG53gxvkzPUG9FzIsFTeoumNKlyZmcI=; b=EkHgJ37q/EdNnDcORPtkDBVasm9UziRE4djs9b6eIuQJReV9ODXmPJ0nmpQLnOALzZd4zsML8wpYW+UMdWfYnOoAvLnUvk9A1CzNzxXLvyCuEWboUwKu09tX38SKIsfc/RkxmJLyBWpm5SJc+6iZy9z1NNbR2rsIEfHCh1N7WKo= Received: from DM6PR01MB5324.prod.exchangelabs.com (20.179.54.14) by DM6PR01MB3993.prod.exchangelabs.com (20.176.72.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.18; Wed, 11 Sep 2019 02:39:00 +0000 Received: from DM6PR01MB5324.prod.exchangelabs.com ([fe80::b4d7:e0be:f3cb:9059]) by DM6PR01MB5324.prod.exchangelabs.com ([fe80::b4d7:e0be:f3cb:9059%5]) with mapi id 15.20.2241.018; Wed, 11 Sep 2019 02:39:00 +0000 From: Jerry Hao OS To: "thomas@monjalon.net" CC: "dev@dpdk.org" , Jerry Hao OS Thread-Topic: [PATCH 1/1] build: add emag(arm64) platform and default configurations; Thread-Index: AQHVaEoRM+eVAxitE0u6eH+mpifcXA== Date: Wed, 11 Sep 2019 02:39:00 +0000 Message-ID: <20190911023736.23229-2-jerryhao@os.amperecomputing.com> References: <20190911023736.23229-1-jerryhao@os.amperecomputing.com> In-Reply-To: <20190911023736.23229-1-jerryhao@os.amperecomputing.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK0PR01CA0051.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::15) To DM6PR01MB5324.prod.exchangelabs.com (2603:10b6:5:178::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=jerryhao@os.amperecomputing.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [180.167.209.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4362a728-641c-4f70-8b2d-08d736613393 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM6PR01MB3993; x-ms-traffictypediagnostic: DM6PR01MB3993:|DM6PR01MB3993: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0157DEB61B x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(4636009)(39850400004)(396003)(346002)(366004)(376002)(136003)(199004)(189003)(5660300002)(1076003)(6916009)(53936002)(446003)(11346002)(2616005)(107886003)(476003)(486006)(54906003)(316002)(6116002)(3846002)(6436002)(6486002)(102836004)(478600001)(186003)(2351001)(76176011)(14454004)(1730700003)(2906002)(386003)(52116002)(81166006)(26005)(81156014)(99286004)(66066001)(25786009)(66946007)(6512007)(305945005)(8936002)(71190400001)(71200400001)(6506007)(5640700003)(50226002)(66476007)(86362001)(7736002)(66446008)(64756008)(256004)(66556008)(4326008)(2501003)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR01MB3993; H:DM6PR01MB5324.prod.exchangelabs.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1; received-spf: None (protection.outlook.com: os.amperecomputing.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: OQh3CNYYOQqvFTSlGd0i5BfsEXgCIj7Fzzsp6FbHnE2bMGvryGIZlN8ZSTDFVbnTCsy55bQXseNCD7LPRXemVl4+yY0mkAZZwVs7eQKKgLrx0P0ALJ4bZBvO2lD+q7eiI9TuymKZK2SffxlStXPH8ObtOzFMyqBFGs2NjrbkyO88UYWNp7lGe2qFjHQmA9VPFfvwHTHDWmJad6UPNm8KwVN4N4CKFgu7DIqNslTSfuRD2udxuVpqh1SjKkh8h2X5s8QDNGt/J3eN/qpXz/jQrlYGOJKq2cOuBfAtPxKGzEewM3dFz4nr650LT7APc9rwFzttDHfQtgbo4I/32S7ghdVkP7ZYbeaNjl8GQda6Q6HwbxKEZL7cAgqBazIkYTJZ3AJ4L9T7C/qzl2BhayO0LdMbh4si5ccRjT9wgTGDoLw= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4362a728-641c-4f70-8b2d-08d736613393 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2019 02:39:00.3628 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: e2cj/TYUKnJWdooi4GkXpVe2J5gfYL7GNeHrt7x2fP3LF4pgUw66BOWX8SVN2FOOYfNWQwQYyZPEBSCH16WrvVg/2ULslv47vlwFgfi3Pgw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR01MB3993 X-Mailman-Approved-At: Wed, 11 Sep 2019 17:54:19 +0200 Subject: [dpdk-dev] [PATCH 1/1] build: add emag(arm64) platform and default configurations; X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch is to add the emag default CACHE_LINE_SIZE settings and ARCH var= iable definitions Signed-off-by: Jerry Hao --- config/defconfig_arm64-emag-linux-gcc | 1 + config/defconfig_arm64-emag-linuxapp-gcc | 8 ++++++ mk/machine/emag/rte.vars.mk | 31 ++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 120000 config/defconfig_arm64-emag-linux-gcc create mode 100644 config/defconfig_arm64-emag-linuxapp-gcc create mode 100644 mk/machine/emag/rte.vars.mk diff --git a/config/defconfig_arm64-emag-linux-gcc b/config/defconfig_arm64= -emag-linux-gcc new file mode 120000 index 000000000..21894a31a --- /dev/null +++ b/config/defconfig_arm64-emag-linux-gcc @@ -0,0 +1 @@ +defconfig_arm64-emag-linuxapp-gcc \ No newline at end of file diff --git a/config/defconfig_arm64-emag-linuxapp-gcc b/config/defconfig_ar= m64-emag-linuxapp-gcc new file mode 100644 index 000000000..f7c05044c --- /dev/null +++ b/config/defconfig_arm64-emag-linuxapp-gcc @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2019 Ampere Computing +# + +#include "defconfig_arm64-armv8a-linux-gcc" + +CONFIG_RTE_MACHINE=3D"emag" +CONFIG_RTE_CACHE_LINE_SIZE=3D64 diff --git a/mk/machine/emag/rte.vars.mk b/mk/machine/emag/rte.vars.mk new file mode 100644 index 000000000..9ce8b6bc9 --- /dev/null +++ b/mk/machine/emag/rte.vars.mk @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2019 Ampere Computing +# + +# +# machine: +# +# - can define ARCH variable (overridden by cmdline value) +# - can define CROSS variable (overridden by cmdline value) +# - define MACHINE_CFLAGS variable (overridden by cmdline value) +# - define MACHINE_LDFLAGS variable (overridden by cmdline value) +# - define MACHINE_ASFLAGS variable (overridden by cmdline value) +# - can define CPU_CFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_LDFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_ASFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - may override any previously defined variable +# + +# 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+crc+crypto --=20 2.17.1