[PATCH v7 0/7] Introduce support for LoongArch architecture

zhoumin zhoumin at loongson.cn
Fri Sep 30 12:05:28 CEST 2022


Hi, David,

Thanks a lot for your kind reply.

On Fri, Sep 30, 2022 at 16:13, David Marchand wrote:
> Hello,
>
> On Fri, Sep 30, 2022 at 10:02 AM Min Zhou <zhoumin at loongson.cn> wrote:
>> Dear team,
>>
>> The following patch set is intended to support DPDK running on LoongArch
>> architecture.
>>
>> LoongArch is the general processor architecture of Loongson Corporation
>> and is a new RISC ISA, which is a bit like MIPS or RISC-V.
>>
>> The online documents of LoongArch architecture are here:
>>      https://loongson.github.io/LoongArch-Documentation/README-EN.html
>>
>> The latest build tools for LoongArch (binary) can be downloaded from:
>>      https://github.com/loongson/build-tools
> Could you confirm which sources have been used to generate it? and
> instructions to compile it?

Only the cross compiler [1] is required. The instructions can be found in
the new added file cross_build_dpdk_for_loongarch.rst. I had added the
CI job for cross compiling DPDK for LoongArch in patch v7 7/7. The CI job
can run successfully if without the GCC warning caused by vhost.

>> v7:
>>      - rebase the patchset on the main repository
>>      - add errno.h to rte_power_intrinsics.c according with
>>        commit 72b452c5f259
> Thanks, I will look at this last revision.
>
>
> There is still one aspect that is unclear to me.
> How will the DPDK community make sure changes won't break this
> architecture? (I mean, runtime checks, not only compilation)
> IOW, what do you plan to hook to our CI to test patches submitted to
> the mailing list?

We can send our machine to UNH lab, but it may take a long time.

GHA seems to be a good choice. However, I found that the codes of CI
runner of GHA [2] are arch-specific. So the CI runner currently cannot 
run on
LoongArch machine.

Are there other CI clients which are not arch-specific and can be used 
for DPDK?
We can provide machines accessible by the public network. These machines run
Loongnix-server system which was built based on the source rpms of CentOS 8.
We can deploy DPDK CI client on these machines.


[1] 
https://github.com/loongson/build-tools/releases/download/2022.08.11/loongarch64-clfs-5.1-cross-tools-gcc-glibc.tar.xz
[2] https://github.com/actions/runner

--
Thanks,
Min Zhou



More information about the dev mailing list