diff mbox series

[V2,3/4] config/arm: add kunpeng920 meson cross compile target

Message ID 1615340142-19115-4-git-send-email-oulijun@huawei.com (mailing list archive)
State Superseded
Delegated to: Thomas Monjalon
Headers show
Series add Hisilicon kunpeng CPU support | expand

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Lijun Ou March 10, 2021, 1:35 a.m. UTC
Here add arm64 cross compile support for Hisilicon kunpeng920.

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
---
 config/arm/arm64_kunpeng920_linux_gcc               | 19 +++++++++++++++++++
 doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst |  4 ++++
 2 files changed, 23 insertions(+)
 create mode 100644 config/arm/arm64_kunpeng920_linux_gcc

Comments

Ruifeng Wang March 25, 2021, 7:48 a.m. UTC | #1
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Lijun Ou
> Sent: Wednesday, March 10, 2021 9:36 AM
> To: thomas@monjalon.net; ferruh.yigit@intel.com
> Cc: dev@dpdk.org; linuxarm@openeuler.org
> Subject: [dpdk-dev] [PATCH V2 3/4] config/arm: add kunpeng920 meson
> cross compile target
> 
> Here add arm64 cross compile support for Hisilicon kunpeng920.
> 
> Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
> Signed-off-by: Lijun Ou <oulijun@huawei.com>
> ---
>  config/arm/arm64_kunpeng920_linux_gcc               | 19
> +++++++++++++++++++
>  doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst |  4 ++++
>  2 files changed, 23 insertions(+)
>  create mode 100644 config/arm/arm64_kunpeng920_linux_gcc
> 
> diff --git a/config/arm/arm64_kunpeng920_linux_gcc
> b/config/arm/arm64_kunpeng920_linux_gcc
> new file mode 100644
> index 0000000..3eeb2e9
> --- /dev/null
> +++ b/config/arm/arm64_kunpeng920_linux_gcc
> @@ -0,0 +1,19 @@
> +[binaries]
> +c = 'aarch64-linux-gnu-gcc'
> +cpp = 'aarch64-linux-gnu-cpp'
> +ar = 'aarch64-linux-gnu-gcc-ar'
> +strip = 'aarch64-linux-gnu-strip'
> +pkgconfig = 'aarch64-linux-gnu-pkg-config'
> +pcap-config = ''
> +
> +[host_machine]
> +system = 'linux'
> +cpu_family = 'aarch64'
> +cpu = 'armv8-a'
> +endian = 'little'
> +
> +[properties]
> +implementer_id = '0x48'
> +part_number = '0xd01'
> +max_lcores = 128
> +max_numa_nodes = 4
> diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> index faaf24b..afe4f8e 100644
> --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> @@ -197,6 +197,7 @@ you may use various combinations of
> implementer/part number::
>        'generic': Generic armv8
>        '0x41':    Arm
>        '0x43':    Cavium
> +      '0x48':    Hisilicon
>        '0x50':    Ampere Computing
>        '0x56':    Marvell ARMADA
>        'dpaa':    NXP DPAA
> @@ -219,6 +220,9 @@ you may use various combinations of
> implementer/part number::
>        '0xaf':    thunderx2t99
>        '0xb2':    octeontx2
> 
> +   Supported part_numbers for 0x48:
> +      '0xd01':    kunpeng920
> +
>     Supported part_numbers for 0x50:
>        '0x0':     emag
> 
> --
> 2.7.4

Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Jerin Jacob March 26, 2021, 12:45 p.m. UTC | #2
On Thu, Mar 25, 2021 at 1:18 PM Ruifeng Wang <Ruifeng.Wang@arm.com> wrote:
>
> > -----Original Message-----
> > From: dev <dev-bounces@dpdk.org> On Behalf Of Lijun Ou
> > Sent: Wednesday, March 10, 2021 9:36 AM
> > To: thomas@monjalon.net; ferruh.yigit@intel.com
> > Cc: dev@dpdk.org; linuxarm@openeuler.org
> > Subject: [dpdk-dev] [PATCH V2 3/4] config/arm: add kunpeng920 meson
> > cross compile target

Suggested title: config/arm: add kunpeng920 cross target


> >
> > Here add arm64 cross compile support for Hisilicon kunpeng920.

Suggested change:

Add support for Hisilicon kunpeng920 cross target.

With the above change:
Acked-by: Jerin Jacob <jerinj@marvell.com>



> >
> > Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
> > Signed-off-by: Lijun Ou <oulijun@huawei.com>
> > ---
> >  config/arm/arm64_kunpeng920_linux_gcc               | 19
> > +++++++++++++++++++
> >  doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst |  4 ++++
> >  2 files changed, 23 insertions(+)
> >  create mode 100644 config/arm/arm64_kunpeng920_linux_gcc
> >
> > diff --git a/config/arm/arm64_kunpeng920_linux_gcc
> > b/config/arm/arm64_kunpeng920_linux_gcc
> > new file mode 100644
> > index 0000000..3eeb2e9
> > --- /dev/null
> > +++ b/config/arm/arm64_kunpeng920_linux_gcc
> > @@ -0,0 +1,19 @@
> > +[binaries]
> > +c = 'aarch64-linux-gnu-gcc'
> > +cpp = 'aarch64-linux-gnu-cpp'
> > +ar = 'aarch64-linux-gnu-gcc-ar'
> > +strip = 'aarch64-linux-gnu-strip'
> > +pkgconfig = 'aarch64-linux-gnu-pkg-config'
> > +pcap-config = ''
> > +
> > +[host_machine]
> > +system = 'linux'
> > +cpu_family = 'aarch64'
> > +cpu = 'armv8-a'
> > +endian = 'little'
> > +
> > +[properties]
> > +implementer_id = '0x48'
> > +part_number = '0xd01'
> > +max_lcores = 128
> > +max_numa_nodes = 4
> > diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> > b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> > index faaf24b..afe4f8e 100644
> > --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> > +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> > @@ -197,6 +197,7 @@ you may use various combinations of
> > implementer/part number::
> >        'generic': Generic armv8
> >        '0x41':    Arm
> >        '0x43':    Cavium
> > +      '0x48':    Hisilicon
> >        '0x50':    Ampere Computing
> >        '0x56':    Marvell ARMADA
> >        'dpaa':    NXP DPAA
> > @@ -219,6 +220,9 @@ you may use various combinations of
> > implementer/part number::
> >        '0xaf':    thunderx2t99
> >        '0xb2':    octeontx2
> >
> > +   Supported part_numbers for 0x48:
> > +      '0xd01':    kunpeng920
> > +
> >     Supported part_numbers for 0x50:
> >        '0x0':     emag
> >
> > --
> > 2.7.4
>
> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
>
diff mbox series

Patch

diff --git a/config/arm/arm64_kunpeng920_linux_gcc b/config/arm/arm64_kunpeng920_linux_gcc
new file mode 100644
index 0000000..3eeb2e9
--- /dev/null
+++ b/config/arm/arm64_kunpeng920_linux_gcc
@@ -0,0 +1,19 @@ 
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = 'aarch64-linux-gnu-cpp'
+ar = 'aarch64-linux-gnu-gcc-ar'
+strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+pcap-config = ''
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv8-a'
+endian = 'little'
+
+[properties]
+implementer_id = '0x48'
+part_number = '0xd01'
+max_lcores = 128
+max_numa_nodes = 4
diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
index faaf24b..afe4f8e 100644
--- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
+++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
@@ -197,6 +197,7 @@  you may use various combinations of implementer/part number::
       'generic': Generic armv8
       '0x41':    Arm
       '0x43':    Cavium
+      '0x48':    Hisilicon
       '0x50':    Ampere Computing
       '0x56':    Marvell ARMADA
       'dpaa':    NXP DPAA
@@ -219,6 +220,9 @@  you may use various combinations of implementer/part number::
       '0xaf':    thunderx2t99
       '0xb2':    octeontx2
 
+   Supported part_numbers for 0x48:
+      '0xd01':    kunpeng920
+
    Supported part_numbers for 0x50:
       '0x0':     emag