Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1809555ybn; Thu, 26 Sep 2019 02:32:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQRi6wJDehtySmIJbCz2mMs0xHu9H03haewfhedxL5qR1LC82anzN+2FEs9Tb2/jKpJ9UB X-Received: by 2002:a17:906:fc11:: with SMTP id ov17mr2116567ejb.288.1569490351026; Thu, 26 Sep 2019 02:32:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569490351; cv=none; d=google.com; s=arc-20160816; b=lg5MjzWt/Tt+WiLMlfyYxgaEP2HPsocYebJgkRDXoCoZorEwsnhFZS9jTm/DX+TiAy 9f/ZOGImNTcQE2LLDOJUiEKM6v0baxABWwoUigZYeJN2Gg4xj/uvV74sbwFp17xMl9Bz m4ERYMvFSbYnaRcBLfE0+tPHbsAkWFcoX+LkZTdUlwsXD4HaqjJnEY1burXU2mj85+8a CNXabWksOeoDg6Ho8bgJ45v4Y4IQgEoz9GcDZMlHssteaq2FRvL3/OVX4SjW61Ro3RfG gx5jjSSxiEczaG1xyKvBQRFbUYGmDEQyuQK8tq8u3XFbK5KwlKKK1vAN8Ba6HeYbLkEh H3jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=PiW5IuKZD/NfXrZqx02OBgBPZCw2Czs9b8f2OOPRlk0=; b=tXiUb0jIRAkU0zKZiAmUdRXP4jbSNnUXnVwjRanHZkrbe6VSTNQJ+KC//ZH4qXpBn/ N0xvbmlxE7F6HBl5O4/0r9nOxZfaOMk8ZJ61fnnZaD4OAm+CSZ/vxpSwYITWi7ocxorg E+IDrcznbamrkYJOOyGPCpuBLlxyP+MKgDv7IIw/XOZEqUaMr39w4Evan4WhP+sIJIaa HmKhUWigIikh0d4S+j/Q5ReYqgXpRjCYuO/Yme2SMjYXRahJu2CPIsbJJvuIGvGcMoK/ 9C5jVb9YInt8Im00G+T0p+bKNu7j/397+BaTQsPIrEMwB1pr6QBAyUUskGCUVMWJUqWS 9D5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id np3si683805ejb.384.2019.09.26.02.32.07; Thu, 26 Sep 2019 02:32:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405092AbfIYL5e (ORCPT + 99 others); Wed, 25 Sep 2019 07:57:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55054 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727569AbfIYL5d (ORCPT ); Wed, 25 Sep 2019 07:57:33 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 116A256F9; Wed, 25 Sep 2019 11:57:33 +0000 (UTC) Received: from [10.72.12.148] (ovpn-12-148.pek2.redhat.com [10.72.12.148]) by smtp.corp.redhat.com (Postfix) with ESMTP id CC7305C21F; Wed, 25 Sep 2019 11:56:40 +0000 (UTC) Subject: Re: [PATCH 5/6] vringh: fix copy direction of vringh_iov_push_kern() To: Alex Williamson , "Michael S. Tsirkin" Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org, kwankhede@nvidia.com, tiwei.bie@intel.com, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, cohuck@redhat.com, maxime.coquelin@redhat.com, cunming.liang@intel.com, zhihong.wang@intel.com, rob.miller@broadcom.com, xiao.w.wang@intel.com, haotian.wang@sifive.com, zhenyuw@linux.intel.com, zhi.a.wang@intel.com, jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, airlied@linux.ie, daniel@ffwll.ch, farman@linux.ibm.com, pasic@linux.ibm.com, sebott@linux.ibm.com, oberpar@linux.ibm.com, heiko.carstens@de.ibm.com, gor@linux.ibm.com, borntraeger@de.ibm.com, akrowiak@linux.ibm.com, freude@linux.ibm.com, lingshan.zhu@intel.com, idos@mellanox.com, eperezma@redhat.com, lulu@redhat.com, parav@mellanox.com References: <20190923130331.29324-1-jasowang@redhat.com> <20190923130331.29324-6-jasowang@redhat.com> <20190923094559.765da494@x1.home> <20190923115930-mutt-send-email-mst@kernel.org> <20190924080413.0cc875c5@x1.home> From: Jason Wang Message-ID: <2f145744-cbfb-5bc3-0e2c-e8c23c20b42d@redhat.com> Date: Wed, 25 Sep 2019 19:56:33 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190924080413.0cc875c5@x1.home> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 25 Sep 2019 11:57:33 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/9/24 下午10:04, Alex Williamson wrote: > On Mon, 23 Sep 2019 12:00:41 -0400 > "Michael S. Tsirkin" wrote: > >> On Mon, Sep 23, 2019 at 09:45:59AM -0600, Alex Williamson wrote: >>> On Mon, 23 Sep 2019 21:03:30 +0800 >>> Jason Wang wrote: >>> >>>> We want to copy from iov to buf, so the direction was wrong. >>>> >>>> Signed-off-by: Jason Wang >>>> --- >>>> drivers/vhost/vringh.c | 8 +++++++- >>>> 1 file changed, 7 insertions(+), 1 deletion(-) >>> Why is this included in the series? Seems like an unrelated fix being >>> held up within a proposal for a new feature. Thanks, >>> >>> Alex >> It's better to have it as patch 1/6, but it's a dependency of the >> example driver in the series. I can reorder when I apply. > It's a fix, please submit it separately through virtio/vhost channels, > then it will already be in the base kernel we use for the rest of the > series. The remainder of the series certainly suggests a workflow > through the vfio tree rather than virtio/vhost. Thanks, > > Alex Ok. Thanks