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 97528A0C43 for ; Thu, 30 Sep 2021 10:25:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F921410EF; Thu, 30 Sep 2021 10:25:15 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 6C4C6410EA for ; Thu, 30 Sep 2021 10:25:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632990312; 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=TWK2KMj1+K6SSsd8gH9nWapcVe1ZhAbI3HQGWiwvvxc=; b=eTtUN268xv/Bc0dbe+O4hMtfGY02PAbu7qyYya2peL+RFu+qldid7lDraccSt8iW0I+/de 8JUXpIR74NJiEVThDvoiwkL6s2gLnsEr5INx9jF/quTQdGgirGJUCoaYVcS2ZApd5oe/Qc D9LDy/bvDU4+VpHfPkI33gZekx4tAWM= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-455-wSpNvhugPW2bIma7PC5jMQ-1; Thu, 30 Sep 2021 04:25:10 -0400 X-MC-Unique: wSpNvhugPW2bIma7PC5jMQ-1 Received: by mail-lf1-f71.google.com with SMTP id s28-20020a056512203c00b003f42015e912so4896015lfs.4 for ; Thu, 30 Sep 2021 01:25:10 -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=TWK2KMj1+K6SSsd8gH9nWapcVe1ZhAbI3HQGWiwvvxc=; b=Ev8Hd32KkG+DASL3qwES7tshSM3tyKi489tD6EW/y5mJhtTjkwRxW3ejP1xEO5Dqd4 OFj8rMFsIjMr19mDl9aSjqRQR/5nOVto8RYKynWc+TYbpQCuujNhJMEXAk/3GsczY2hG Ho4tJTobpPajlR91SzRFtHaCvb4zvFFj8OWU0sN9ilK3NIhyQ8Gd6/roqRI7FdrsNnWW kpMmgqPGGiNA9uhhHxw2CcKcmOLoWVNrm0aLSZaPlX7aTk81y0y7TCIcB3U/iyjgYdGV XHSB2HGKkYPWP+Z8N2A8L3JlfCgFi0WoxpUjEMG892rrtPhKpQtaiQg2sLkNcUoClI0h ZeQA== X-Gm-Message-State: AOAM533u5L2pZonuHXllGBqxI/n/Aq8XsjcY0xlt1vZbRtYGfzvK0eN+ GdPC2r/UofGbABfWHsuCmBhTnWvpHfTfZl26rguKGxO9f8jc0Jm5DcQAgbA/8UJtWnKb6ksC9Rn DlIdjQ78zUEFhYtZrep/BTQU= X-Received: by 2002:a2e:b707:: with SMTP id j7mr4326631ljo.297.1632990309006; Thu, 30 Sep 2021 01:25:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw610lGgaXAr6JCzY39CXyezbDJA7+C636/yTwm6gydt8HLxcBjSgHYWsPja39WmJhqYS6AYWgG/kLkfsM/tGo= X-Received: by 2002:a2e:b707:: with SMTP id j7mr4326606ljo.297.1632990308708; Thu, 30 Sep 2021 01:25:08 -0700 (PDT) MIME-Version: 1.0 References: <20210930081259.232706-1-maxime.coquelin@redhat.com> In-Reply-To: <20210930081259.232706-1-maxime.coquelin@redhat.com> From: David Marchand Date: Thu, 30 Sep 2021 10:24:56 +0200 Message-ID: To: Maxime Coquelin Cc: Olivier Matz , "Xia, Chenbo" , dev , dpdk stable 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" Subject: Re: [dpdk-stable] [PATCH v2] net/virtio: revert forcing IOVA as VA mode for virtio-user X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, Sep 30, 2021 at 10:13 AM Maxime Coquelin wrote: > > This patch removes the simplification in Virtio descriptors > handling, where their buffer addresses are IOVAs for Virtio > PCI devices, and VA-only for Virtio-user devices, which > added a requirement on Virtio-user that it only supported > IOVA as VA. > > This change introduced a regression for applications using > Virtio-user and other physical PMDs that require IOVA as PA > because they don't use an IOMMU. > > This patch reverts to the old behaviour, but needed to be > reworked because of the refactoring that happened in v21.02. > > Fixes: 17043a2909bb ("net/virtio: force IOVA as VA mode for virtio-user") > Cc: stable@dpdk.org > > Reported-by: Olivier Matz > Signed-off-by: Maxime Coquelin I think you can keep: Tested-by: Olivier Matz Reviewed-by: David Marchand Thanks. -- David Marchand