From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 1C9A9A0C43;
	Tue, 16 Nov 2021 13:13:42 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id C9D2140141;
	Tue, 16 Nov 2021 13:13:41 +0100 (CET)
Received: from mailgw01.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26])
 by mails.dpdk.org (Postfix) with ESMTP id 6879340040
 for <dev@dpdk.org>; Tue, 16 Nov 2021 13:13:40 +0100 (CET)
Received: from mailgw01.pantheon.sk (localhost.localdomain [127.0.0.1])
 by mailgw01.pantheon.sk (Proxmox) with ESMTP id 0F55A2021EA;
 Tue, 16 Nov 2021 13:13:40 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech;
 h=cc:cc:content-transfer-encoding:content-type:content-type
 :date:from:from:in-reply-to:message-id:mime-version:references
 :reply-to:subject:subject:to:to; s=dkim; bh=mdqoYciGvjzdb/ZuZ9Nx
 Rv0eyome/W27vmahEqBVlLU=; b=lhFytspyPZv8NSGJXKKZ7/agA/OUijG2G2RR
 PxANinwml5zcfZfdThUIp6pWbjNapTUnU4d/TWASolO+FOJ/zBUimWGK4pvoxfmz
 nILiMuvFBoYZ2rQzF9tmms6G9vMaHM21xuFeSx7xxpk1dpJ6CIlazAHmpLixmmpU
 2Nge2Jc+iWofuV/7pwSNUGZggynC6pQA9sK0esE/lIoa1N2fEgCFc2mzsWaypInh
 B38YFx8H7ASI5DicfdZWRnZUw2WHlLvhYdKGk9dqGslSfyK5cQyO7fm8iAr2Fzet
 iBg9yemK+S+4XWaFYIYdLQ1DBxgpiPoLJvxyrjHu3ArFG22o/g==
From: =?iso-8859-2?Q?Juraj_Linke=B9?= <juraj.linkes@pantheon.tech>
To: "s.chandrakant@globaledgesoft.com" <s.chandrakant@globaledgesoft.com>,
 "dev@dpdk.org" <dev@dpdk.org>
CC: "zaheer.rm@globaledgesoft.com" <zaheer.rm@globaledgesoft.com>,
 "gurusidhesh.gh@globaledgesoft.com" <gurusidhesh.gh@globaledgesoft.com>,
 "sm.supriya@globaledgesoft.com" <sm.supriya@globaledgesoft.com>, Ruifeng Wang
 <ruifeng.wang@arm.com>
Subject: RE: [dpdk-dev] [PATCH] Add Armv7 support
Thread-Topic: [dpdk-dev] [PATCH] Add Armv7 support
Thread-Index: AQHXXeppwqs0KPn7Yk2n8IdtM+e/x6wHCUmA
Date: Tue, 16 Nov 2021 12:13:38 +0000
Message-ID: <ba7059b44dd24170a535c4b99457c495@pantheon.tech>
References: <20210610111839.7481-1-s.chandrakant@globaledgesoft.com>
In-Reply-To: <20210610111839.7481-1-s.chandrakant@globaledgesoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.101.4.10]
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org



> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of
> s.chandrakant@globaledgesoft.com
> Sent: Thursday, June 10, 2021 1:19 PM
> To: dev@dpdk.org
> Cc: zaheer.rm@globaledgesoft.com; gurusidhesh.gh@globaledgesoft.com;
> sm.supriya@globaledgesoft.com; Chandrakant Sharpa
> <s.chandrakant@globaledgesoft.com>
> Subject: [dpdk-dev] [PATCH] Add Armv7 support
>=20
> From: Chandrakant Sharpa <s.chandrakant@globaledgesoft.com>
>=20
> Adding support for Armv7 based platforms.
> Used latest GNU cross compiler toolchain
> version(10.2) for testing.
>=20
> Signed-off-by: Chandrakant Sharpa <s.chandrakant@globaledgesoft.com>
> ---
>  config/arm/arm_armv7a_linux_gcc | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 config/arm/arm_armv7a_linux_gcc
>=20
> diff --git a/config/arm/arm_armv7a_linux_gcc
> b/config/arm/arm_armv7a_linux_gcc new file mode 100644 index
> 000000000..65949cc83
> --- /dev/null
> +++ b/config/arm/arm_armv7a_linux_gcc
> @@ -0,0 +1,17 @@
> +[binaries]
> +c =3D 'arm-none-linux-gnueabi-gcc'
> +cpp =3D 'arm-none-linux-gnueabi-cpp'
> +ar =3D 'arm-none-linux-gnueabi-ar'
> +strip =3D 'arm-none-linux-gnueabi-strip'
> +pkgconfig =3D 'arm-none-linux-gnueabi-pkg-config'
> +pcap-config =3D ''
> +
> +[host_machine]
> +system =3D 'linux'
> +cpu_family =3D 'arm'
> +cpu =3D 'armv7-a'
> +endian =3D 'little'
> +
> +[properties]
> +# Generate binaries that are portable across all Armv7 machines
> +platform =3D 'generic'
> --

platform =3D 'generic' will select the aarch64 generic build configuration,=
 so that's probably not what we want here.

I'd suggest create a new soc (such as generic_armv7) in the 'soc' dictionar=
y in arm/meson.build and follow the existing structure:
1. Create the soc dictionary
2. Create an implementer for the soc (we need a new one for armv7, such as =
implementer_generic_armv7)
3. Create a generic part_number_config

And populate it with generic armv7 config - Ruifeng may be able to help wit=
h what sensible generic config looks like.

> 2.17.1
>=20
>=20
> --
> Disclaimer:This message is intended only for the designated recipient(s).
> It may contain confidential or proprietary information and may be subject
> to other confidentiality protections. If you are not a designated
> recipient, you may not review, copy or distribute this message. Please
> notify the sender by e-mail and delete this message. GlobalEdge does not
> accept any liability for virus infected mails.
>=20