From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DE417C83F10 for ; Mon, 28 Aug 2023 04:44:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 588C08175C; Mon, 28 Aug 2023 04:44:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 588C08175C Authentication-Results: smtp1.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=gl6Eoabz X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dUcTTawGnzap; Mon, 28 Aug 2023 04:44:06 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id 173DA81774; Mon, 28 Aug 2023 04:44:06 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 173DA81774 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id DBB33C0071; Mon, 28 Aug 2023 04:44:05 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id A8D21C0032 for ; Mon, 28 Aug 2023 04:44:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 7B56781774 for ; Mon, 28 Aug 2023 04:44:04 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 7B56781774 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yCQ_bn-_zJ4W for ; Mon, 28 Aug 2023 04:44:03 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp1.osuosl.org (Postfix) with ESMTPS id A59AA8175C for ; Mon, 28 Aug 2023 04:44:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A59AA8175C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693197841; 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=Fi86TLb/jHVvg9zjn7XHlWr0cwJimP6upmcGlNZVzgY=; b=gl6Eoabzry/KtpaYlImFgtZwpGUGxRjz4ZiClAWuR24BjqhYBDR8/O6jjRYh8q9/jZ+Ca3 XUM1jvmhVWxOEow9/YbrLxpvInIEZZEKSDiQl3OeBxrYZtfsQE0L/TrjmTc0/y1T4LwuHj YsnRuSeUxXkD7LQ7sl33at5O6b6iJ3o= 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.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-693-PHRTpFa0OFyFD2Sd8Q9Rqg-1; Mon, 28 Aug 2023 00:43:59 -0400 X-MC-Unique: PHRTpFa0OFyFD2Sd8Q9Rqg-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-94a355c9028so206588366b.3 for ; Sun, 27 Aug 2023 21:43:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693197839; x=1693802639; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Fi86TLb/jHVvg9zjn7XHlWr0cwJimP6upmcGlNZVzgY=; b=Xx/b/mKVfK+lygP4XEPV92/RqI80t3ZHZ7srOUF7by4olV+F1aKyE/vsOYgtFaiex9 6hyBuB9gUmDXKgzP+yB/3MCCx9QBSIIY8zaDdwCxzAuwZJnzzQp6lDlu89azsfiJ7KRy umzUCVY41v/R4aPQaWsPuvLDcQEopdPuZdg3zJefa+T0YbAeQa8Q+nNpGVPnj2R+XnzE E+fq94o7kTl7l1H6t22rMZhm3YJEIr/pYTwvRoJP+qJLgVbFf2Jq74SL17EVZXvoA1am iUGTMjSUa6wdS3byhJfySlF5UaR96nC9F48zkerlMzdVk9wNJHMzSbqqeD+2YidAKqZQ Up1g== X-Gm-Message-State: AOJu0YyFD+4ubH/9QhsPdYLMXMSFkX+QNKGVrrmVtbNR6QhHsx7f2dZD Orv7AO67zNBPn6jGK2rlwq13v3C7XxmKKkPAdgsKlRcTVYGayQTziVm/5gAZpWocOXdiCLPaatD ptFgRrxXfMxyIFQ//eZYZyTUKZ7KQDy3UO13wrh6deg== X-Received: by 2002:a17:906:2102:b0:99d:e8da:c20b with SMTP id 2-20020a170906210200b0099de8dac20bmr17292943ejt.24.1693197838865; Sun, 27 Aug 2023 21:43:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWMCQLqR83SRHv6bXmH/xQXTYbezZysqjUu1htVMzC8mLUN54SpnfBWNxtyVsQbnhcqrpwWg== X-Received: by 2002:a17:906:2102:b0:99d:e8da:c20b with SMTP id 2-20020a170906210200b0099de8dac20bmr17292931ejt.24.1693197838501; Sun, 27 Aug 2023 21:43:58 -0700 (PDT) Received: from redhat.com ([2.52.30.217]) by smtp.gmail.com with ESMTPSA id y22-20020a17090614d600b0099cfd0b2437sm4206104ejc.99.2023.08.27.21.43.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 21:43:57 -0700 (PDT) Date: Mon, 28 Aug 2023 00:43:53 -0400 From: "Michael S. Tsirkin" To: Yuan Yao Subject: Re: [PATCH] virtio_ring: fix avail_wrap_counter in virtqueue_add_packed Message-ID: <20230828004323-mutt-send-email-mst@kernel.org> References: <20230808051110.3492693-1-yuanyaogoog@chromium.org> <20230808051304-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Cc: Junichi Uekawa , LKML , virtualization@lists.linux-foundation.org, Takaya Saeki , Xuan Zhuo , "David S. Miller" X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" Tm9wZSAtIGl0IHdpbGwgYmUgaW4gdGhlIG5leHQgbGludXggcmVsZWFzZS4KCk9uIE1vbiwgQXVn IDI4LCAyMDIzIGF0IDEyOjMzOjQ2UE0gKzA5MDAsIFl1YW4gWWFvIHdyb3RlOgo+IEknbSB3cml0 aW5nwqB0byBjb25maXJtIHRoZSBwcm9jZXNzIGZvciB0aGUgcGF0Y2gswqBzaW5jZSBJJ20gbm90 IHN1cmUgaWYgdGhpcwo+IHRocmVhZCBpcyBkb25lIGZvciB0aGlzIHBhdGNoLgo+IERvIEkgbmVl ZCBhbnkgZnVydGhlciBzdGVwcyB0byB0YWtlIHRvIG1ha2UgdGhpcyBwYXRjaCBiZSBsYXVuY2hl ZD8KPiAKPiBPbiBUdWUsIEF1ZyA4LCAyMDIzIGF0IDc6MDDigK9QTSBZdWFuIFlhbyA8eXVhbnlh b2dvb2dAY2hyb21pdW0ub3JnPiB3cm90ZToKPiAKPiAgICAgU29ycnkgZm9yIHRoZSBjb25mdXNp bmcgbWFpbCwgSSBkaWRuJ3QgdW5kZXJzdGFuZMKgaG93IGl0IHdvcmtzLgo+ICAgICBUaGFua3MK PiAKPiAgICAgT24gVHVlLCBBdWcgOCwgMjAyMyBhdCA2OjEz4oCvUE0gTWljaGFlbCBTLiBUc2ly a2luIDxtc3RAcmVkaGF0LmNvbT4gd3JvdGU6Cj4gCj4gICAgICAgICBPbiBUdWUsIEF1ZyAwOCwg MjAyMyBhdCAwNTozNzoyOVBNICswOTAwLCBZdWFuIFlhbyB3cm90ZToKPiAgICAgICAgID4gVGhh bmsgeW91IGZvciByZXZpZXdpbmcsIHNlbnQgYSBwYXRjaCB3aXRoIHlvdXIgYWNrLgo+IAo+ICAg ICAgICAgRG9uJ3QgZG8gdGhpcyBwbHMuIEFuZCBkb24ndCB0b3AgcG9zdCBwbGVhc2UuCj4gCj4g CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpWaXJ0dWFs aXphdGlvbiBtYWlsaW5nIGxpc3QKVmlydHVhbGl6YXRpb25AbGlzdHMubGludXgtZm91bmRhdGlv bi5vcmcKaHR0cHM6Ly9saXN0cy5saW51eGZvdW5kYXRpb24ub3JnL21haWxtYW4vbGlzdGluZm8v dmlydHVhbGl6YXRpb24= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA237C71153 for ; Mon, 28 Aug 2023 04:45:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229548AbjH1EpP (ORCPT ); Mon, 28 Aug 2023 00:45:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjH1Eov (ORCPT ); Mon, 28 Aug 2023 00:44:51 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C5DB124 for ; Sun, 27 Aug 2023 21:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693197842; 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=Fi86TLb/jHVvg9zjn7XHlWr0cwJimP6upmcGlNZVzgY=; b=cvqiR1IhtOOX6w3JSRg1Av17hF0j+DzOGnFNW55Ac9gOUODqtIzu8PZ/BuzdXNAIOa+uYS yhPLyQOXA6Uplv6QIV4/iLi6QLy3MHo4RiOnkWxAhG4VuL3onmgEKfGpiRFZFt2rDoyCLS uv6kNd8qR75EfItZb42A8clKPnHEpxk= 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.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-516-6SOYEKjdNLyFOUTqEliaKw-1; Mon, 28 Aug 2023 00:44:00 -0400 X-MC-Unique: 6SOYEKjdNLyFOUTqEliaKw-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-94a355c9028so206588966b.3 for ; Sun, 27 Aug 2023 21:44:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693197839; x=1693802639; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Fi86TLb/jHVvg9zjn7XHlWr0cwJimP6upmcGlNZVzgY=; b=MbUj4/DjZU4PO0YNHM8Pv5r+gNRoD6rW4Dyj/rF4338rS67T4p4l3v9+ODCQKR93Ya LWQBjeqen+enswwbBr2lgR5uiBETwTPKj4fYSKv0ID2i3uWTlZL785Ryk+oCBC4sswEO 2l5rDKRmzH/m4fpC4+w071vljARAOKnD4p0qJJ3ML6THC/+R6uP7SlK+K6mG1DaAM/6B b9gIa8FzsJdvX3bXHo0ARNsOiWWww91ak3KCWAd2fizcU+BPTOKrG/eoWK2I2nsNrrcQ Flx41NcQQ5Zytp67kth1fiOpWBepWFNBli5Ljzh/E+YNRWXXl/J42/j+tQVvDdlADzr/ 7p7g== X-Gm-Message-State: AOJu0YwhQJjYThlE6uZlpxPhoQFYfGIQdzVEuMlzOEbXNJ0aRPRX3xSB mre7KMfBPTJZQ7t1nubJ4Oa1xY8qCE6U+BhANIQ/b8UXL2gM1XiDuKCP2CjEVwnHQj/2q1oEzdx mDy4WW8pUnnccplqBBn5efJ711y7xyShNHWY= X-Received: by 2002:a17:906:2102:b0:99d:e8da:c20b with SMTP id 2-20020a170906210200b0099de8dac20bmr17292945ejt.24.1693197838865; Sun, 27 Aug 2023 21:43:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWMCQLqR83SRHv6bXmH/xQXTYbezZysqjUu1htVMzC8mLUN54SpnfBWNxtyVsQbnhcqrpwWg== X-Received: by 2002:a17:906:2102:b0:99d:e8da:c20b with SMTP id 2-20020a170906210200b0099de8dac20bmr17292931ejt.24.1693197838501; Sun, 27 Aug 2023 21:43:58 -0700 (PDT) Received: from redhat.com ([2.52.30.217]) by smtp.gmail.com with ESMTPSA id y22-20020a17090614d600b0099cfd0b2437sm4206104ejc.99.2023.08.27.21.43.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 21:43:57 -0700 (PDT) Date: Mon, 28 Aug 2023 00:43:53 -0400 From: "Michael S. Tsirkin" To: Yuan Yao Cc: Jason Wang , LKML , Keiichi Watanabe , Daniel Verkamp , Takaya Saeki , Junichi Uekawa , "David S. Miller" , Xuan Zhuo , virtualization@lists.linux-foundation.org Subject: Re: [PATCH] virtio_ring: fix avail_wrap_counter in virtqueue_add_packed Message-ID: <20230828004323-mutt-send-email-mst@kernel.org> References: <20230808051110.3492693-1-yuanyaogoog@chromium.org> <20230808051304-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nope - it will be in the next linux release. On Mon, Aug 28, 2023 at 12:33:46PM +0900, Yuan Yao wrote: > I'm writing to confirm the process for the patch, since I'm not sure if this > thread is done for this patch. > Do I need any further steps to take to make this patch be launched? > > On Tue, Aug 8, 2023 at 7:00 PM Yuan Yao wrote: > > Sorry for the confusing mail, I didn't understand how it works. > Thanks > > On Tue, Aug 8, 2023 at 6:13 PM Michael S. Tsirkin wrote: > > On Tue, Aug 08, 2023 at 05:37:29PM +0900, Yuan Yao wrote: > > Thank you for reviewing, sent a patch with your ack. > > Don't do this pls. And don't top post please. > >