From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DAFC2A054F; Wed, 8 Jun 2022 11:32:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A7D5D40689; Wed, 8 Jun 2022 11:32:13 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 03DF94021D for ; Wed, 8 Jun 2022 11:32:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654680731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=frKMm9VOe6thMbFqRf/PIy8thn4V3GW+NHo32pcCR6Q=; b=GTkKDboFSZUdLz6fClQMmU3W5IGfiwpLbcriueK1HJaJcPEocA7L3IsHPbj86k4XhsnpPZ UftFlj01qwOGt7s59fBpsc5Ps5j3pOvv1kOUE6JkHbyuuCpb7t/Oc5TWoQjKdQt1ZWL+1W txCk0S56SflrC/ykhYEcZyzvJeD6DJE= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-199-IK1IVwqhNTqVMsteANoOPA-1; Wed, 08 Jun 2022 05:32:10 -0400 X-MC-Unique: IK1IVwqhNTqVMsteANoOPA-1 Received: by mail-ej1-f72.google.com with SMTP id nb10-20020a1709071c8a00b006e8f89863ceso9167370ejc.18 for ; Wed, 08 Jun 2022 02:32:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=frKMm9VOe6thMbFqRf/PIy8thn4V3GW+NHo32pcCR6Q=; b=02tfOAPx+ROfebiwJIq6WdtbgkZyefLQzojHWPgTYR+4ex0nS4gLS8lkMv6owJJQOc iayVgq4UJubFM4dBwQwDnraaePsaGX/dUqCGWw5LNyyRpqea117ULyUeMVowpC8b4ogG uXQZ2+pUozAF99+74EXEgN9OBF/ScFW76fQ0/GWGpZGauuWn77qJkG2ho1r9ItVuSv7h TW+g2uPiAMscRSoP8eq3byf9yuaOVA5U5DfEzk7cx/t7+PK6twbZD7bgy7jlnSmTqvfB EskqF6phsoUhLw7fzWLQ/exrz3PSU8mIvMDDClsvcPR0yEBH3D9FfTqP51cPAwsUSxeu Oj8Q== X-Gm-Message-State: AOAM533gaEz3hJPpGZZqlAnhAn4aGsv6Upn9kKb8pFjxpYn48sBoL6pL iRZoe/9cureFU1sBl4rzsMIRFyHEEOfxTzg35v/uJ2+UvtSSSkejgHTtqRYPpOKUbCnMgIloOxH fcHv6kz7ENGyMBlyGNB0= X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr71277123lfa.499.1654680718725; Wed, 08 Jun 2022 02:31:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzk7mgQxzdu1RRzviqvuge50+8H2Dto2F97C8m/460BaVPFG1Vd15VaL3h44hJc0w1K53fFLzHBjYNbfrVmsAM= X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr71277093lfa.499.1654680717957; Wed, 08 Jun 2022 02:31:57 -0700 (PDT) MIME-Version: 1.0 References: <20220531141307.253385-1-kda@semihalf.com> In-Reply-To: From: David Marchand Date: Wed, 8 Jun 2022 11:31:46 +0200 Message-ID: Subject: Re: [PATCH v4 0/8] Introduce support for RISC-V architecture To: Stanislaw Kardach Cc: dev , Frank Zhao , Sam Grove , Marcin Wojtas , upstream@semihalf.com, Heinrich Schuchardt , Thomas Monjalon Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, Jun 8, 2022 at 10:41 AM David Marchand wrote: > On Tue, May 31, 2022 at 4:14 PM Stanislaw Kardach wrote: > > > > This patchset adds support for building and running DPDK on 64bit RISC-V > > architecture. The initial support targets rv64gc (rv64imafdc) ISA and > > was tested on SiFive Unmatched development board with the Freedom U740 > > SoC running Linux (freedom-u-sdk based kernel). > > I have tested this codebase using DPDK unit and perf tests as well as > > test-pmd, l2fwd and l3fwd examples. > > The NIC attached to the DUT was Intel X520-DA2 which uses ixgbe PMD. > > On the UIO side, since U740 does not have an IOMMU, I've used igb_uio, > > uio_pci_generic and vfio-pci noiommu drivers. > > > > Functional verification done using meson tests. fast-tests suite passing with > > the default config. > > > > PMD verification done using a Intel x520-DA2 NIC (ixgbe) and the test-pmd > > application. Packet transfer checked using all UIO drivers available for > > non-IOMMU platforms: uio_pci_generic, vfio-pci noiommu and igb_uio. > > > > The i40e PMD driver is disabled on RISC-V as the rv64gc ISA has no vector > > operations. > > > > RISCV support is currently limited to Linux as the time measurement frequency > > discovery is tied to reading a device-tree node via procfs. > > > > Clang compilation currently not supported due to issues with missing relocation > > relaxation. > > > > Commit 1 introduces EAL and build system support for RISC-V architecture > > as well as documentation updates. > > Commits 2-5 add missing defines and stubs to enable RISC-V operation in > > non-EAL parts. > > Commit 6 adds RISC-V specific cpuflags test. > > Commits 7-8 add RISC-V build testing to test-meson-builds.sh and github CI. > > Overall, the series lgtm. > It did not get much reviews, but the porting is straightforward and > clean enough. > > I'm waiting for some compilation to finish and I will merge it for 22.07-rc1. Welcome to RISC-V in DPDK! Let's work out the last details in -rc2. Series applied, thanks. -- David Marchand