Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp110272pxk; Thu, 24 Sep 2020 00:28:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwF7NgQ/Y+ebOmlpVtniIqCsWDm1Mwrwo+LA3VQBGgdSo2n8vOmHSYArA3NVfoEkEkqFgFs X-Received: by 2002:aa7:c98d:: with SMTP id c13mr3261643edt.199.1600932491595; Thu, 24 Sep 2020 00:28:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600932491; cv=none; d=google.com; s=arc-20160816; b=EUYA6W/flz4pSXn5GlXbH6lkkdBcbOp4Zpa3cEkYjV4vCtEAPeURcEp9Leu6nDEeJM /ABGT8WAqKk5Dn68EuiwviM0FSOZMzeGUE0APut0yBWRIo4ESXNyDbw/RcZG7IzweddS /09ECppxFUgWaUaeNZ7ELEcysoAx8ZuDXfVP1fAKmGoOMzYELi9bSuLO6SYL9hIqHgGc 2pbDk5IqVivGnYyNsaq0LRxPMnSc7SuN+wa2cavroJrxLmXdayu9BQBel8ZLk2MRcyhM 06K5kBbpFM0lE2ibKXfY0z4Qd8+icwa5EgFDRNhvQsMC6ShLVqClIZkhV6PhceEQPq0h CeGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=K3pWzi6XBSxvJ/VWL3fyEt5ORCYjFGoEK4Nlb2X8zSM=; b=O9L4APOr5Bo+tQh+C/T41yAK4aZ1hl0FPZayLNVvv0kvXZTX+J8Mtq+V9FegQ6Qz+o xLkX6FudcF7v0UnWzpLCQ6bLZu8z7CS2XX/SJdjP6mYBNJJmffO2pOG//M79hLByKrbl VEjmbgx0LxzJ/cAorMls9QV29+5phQHENL/L3KlBoMuu88vkduM7LszWEU0ZUsT8pnef ftTkEyZr1jb9L6jjLOXo3RpNIdxM6qQKTnPoGQ+d1a0SpKx/x48Hhhx7wqI1vDuh5rYP ZWHgEvnC7ZxIa/tVLnO1lEurdXkBQv+JtCv6muMI7tjLUF6vafHd6ZXwph37xR2WaD2x mTIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GZi0Yoqk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 24si2156244edv.45.2020.09.24.00.27.48; Thu, 24 Sep 2020 00:28:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GZi0Yoqk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727164AbgIXH0b (ORCPT + 99 others); Thu, 24 Sep 2020 03:26:31 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:36207 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727136AbgIXH0b (ORCPT ); Thu, 24 Sep 2020 03:26:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600932390; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K3pWzi6XBSxvJ/VWL3fyEt5ORCYjFGoEK4Nlb2X8zSM=; b=GZi0YoqkHbu1RzAz6dgg9A6MQh8h+JRiFyK1FRawGz8AExYq5o5pwYJ/bcI1RMNuLdMZjF T/oAX8wdWDLcM0lPSHs0w8f/itbpPQUZKChl8pfZDGqX/d3+gCBkBJmE3Y/QCMK5LgimQw IdrXpY4Mjl+VOelMdEy7RBYEsVLCNu4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-57-KhdlLsU5M-qlpT4HD7pE3w-1; Thu, 24 Sep 2020 03:26:26 -0400 X-MC-Unique: KhdlLsU5M-qlpT4HD7pE3w-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DC2AD186DD33; Thu, 24 Sep 2020 07:26:24 +0000 (UTC) Received: from [10.72.13.193] (ovpn-13-193.pek2.redhat.com [10.72.13.193]) by smtp.corp.redhat.com (Postfix) with ESMTP id CD64A60C15; Thu, 24 Sep 2020 07:26:10 +0000 (UTC) Subject: Re: [RFC PATCH 01/24] vhost-vdpa: fix backend feature ioctls To: Eli Cohen Cc: mst@redhat.com, lulu@redhat.com, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, rob.miller@broadcom.com, lingshan.zhu@intel.com, eperezma@redhat.com, hanand@xilinx.com, mhabets@solarflare.com, eli@mellanox.com, amorenoz@redhat.com, maxime.coquelin@redhat.com, stefanha@redhat.com, sgarzare@redhat.com References: <20200924032125.18619-1-jasowang@redhat.com> <20200924032125.18619-2-jasowang@redhat.com> <20200924071609.GA170403@mtl-vdi-166.wap.labs.mlnx> From: Jason Wang Message-ID: <042dc3f9-40f0-f740-7ffc-611d315bc150@redhat.com> Date: Thu, 24 Sep 2020 15:26:08 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200924071609.GA170403@mtl-vdi-166.wap.labs.mlnx> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/9/24 下午3:16, Eli Cohen wrote: > On Thu, Sep 24, 2020 at 11:21:02AM +0800, Jason Wang wrote: >> Commit 653055b9acd4 ("vhost-vdpa: support get/set backend features") >> introduces two malfunction backend features ioctls: >> >> 1) the ioctls was blindly added to vring ioctl instead of vdpa device >> ioctl >> 2) vhost_set_backend_features() was called when dev mutex has already >> been held which will lead a deadlock >> > I assume this patch requires some patch in qemu as well. Do you have > such patch? > It's this series: [PATCH 0/3] Vhost-vDPA: batch IOTLB updating. You were copied. Thanks