Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3845362rwl; Mon, 27 Mar 2023 21:55:13 -0700 (PDT) X-Google-Smtp-Source: AKy350ZEIEa5Q70SNizN6KjezI+46HIaOPLa+vRvRwhE8qBvfs8pIgBsE7A1dImtYX72UcPQH/F+ X-Received: by 2002:a17:906:e08b:b0:933:3aa7:57a6 with SMTP id gh11-20020a170906e08b00b009333aa757a6mr15374168ejb.12.1679979312773; Mon, 27 Mar 2023 21:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679979312; cv=none; d=google.com; s=arc-20160816; b=XX/bfCXfnumVuS6nI6JCpLaeGGv4QvyMDiz/CgynxVNtXNcvIA6GKZp2qLiF+vXkW9 Y1xKS9oYiLbynzax37ePqmuO4CEhfpVUWAo3NOzVgvf3ihw/aipAvis8evqjRbyk2p8R zBdpcizJXS+CCfhB3OqTGN0YnM4/2o3qFWmfqZgBHk3KZAEdJeExmXSoyrvZUS8f8a68 JHMSw8WKiK7WQqoBRHQ1GDC6A1b6XsmVA8KdVATLGmoCrv38FI8hRA3hESL/L7CemAQc iIQ52WSrxlnjWPbXVr3arCtGEswxstccu05aHDUcA97l/a8+xRoHwsyPlKUgUo0ZgRDz dvOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xlPh4S+TbTgkNsO9Dt503SwDvNQzKRyfCiCNpDhlIR8=; b=WAZUPWcmfgPU4vg2cKveS1h9k7DAqzgl4yB+pen6B22SKduzPGGVxKNEkn60PPZZX3 phiCrHCLahjuz6zQ8WuUI2WBSonylG8Pc/HvftK27GlDkEx0UWSY2o8iqRUuc8e/T5VW QJ2fj4QaRrMZvPN8MOi0dJdhOJzGKAwNJW75gk+v+3vlHHHGaB+/g5kZL4jg1VFXU4Rg bG8jgrdlx3G55tvSBnoGSyoS+rPRW4ell/EUH2QPdD27cqyLwHeg09acg7iR5rZg0eR+ 24lOo6MdiQzQWkDLUWkvQS2azSms6EIRl8FWOtao2gbE8sdyEdESNScOzz/A5e6CL0UG GNmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yVjVeEwJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lv26-20020a170906bc9a00b008dc76bf3a69si24349996ejb.735.2023.03.27.21.54.48; Mon, 27 Mar 2023 21:55:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yVjVeEwJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230432AbjC1EuQ (ORCPT + 99 others); Tue, 28 Mar 2023 00:50:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230328AbjC1EuL (ORCPT ); Tue, 28 Mar 2023 00:50:11 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78A62210D for ; Mon, 27 Mar 2023 21:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xlPh4S+TbTgkNsO9Dt503SwDvNQzKRyfCiCNpDhlIR8=; b=yVjVeEwJyLcoFyXalwFYFo+Jq+ S/xBDNNvXpga8t4TgcZdnUESMN2aJKHjt8vx/pY28AnGcz+RxUIYcSoupOwhAGFstqwHLFpttRfjq bhnnVINCRXTPRzn9gf0aaIXTv3F8eMcqgTGccGEO5g/mE1oAZ9LJIF1QnkemSLjSzOkK1Up3RKIYV mJJKaaTEhqSyjjLHF7ggUnVp02CXpE0OSCitgRtx9s2m2Ms0UpSZ4jcGeyHLuQTHwnEBAuQnorgsL bmuu4lmzKNWF2OdtCNtEp7+al4UyKfB5jZ8FIleUkEP+5cxQFqNery4BKmlS7LEP8ngXoG3jeAYwe 3p+n7Nlw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1ph1HA-00D8WD-30; Tue, 28 Mar 2023 04:49:40 +0000 Date: Mon, 27 Mar 2023 21:49:40 -0700 From: Luis Chamberlain To: Dominique Martinet Cc: Albert Huang , "Michael S. Tsirkin" , Jason Wang , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, v9fs-developer@lists.sourceforge.net, Eric Van Hensbergen , Christian Schoenebeck Subject: Re: 9p regression (Was: [PATCH v2] virtio_ring: don't update event idx on get_buf) Message-ID: References: <20230325105633.58592-1-huangjie.albert@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Luis Chamberlain X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 28, 2023 at 11:13:32AM +0900, Dominique Martinet wrote: > Hi Michael, Albert, > > Albert Huang wrote on Sat, Mar 25, 2023 at 06:56:33PM +0800: > > in virtio_net, if we disable the napi_tx, when we triger a tx interrupt, > > the vq->event_triggered will be set to true. It will no longer be set to > > false. Unless we explicitly call virtqueue_enable_cb_delayed or > > virtqueue_enable_cb_prepare. > > This patch (commited as 35395770f803 ("virtio_ring: don't update event > idx on get_buf") in next-20230327 apparently breaks 9p, as reported by > Luis in https://lkml.kernel.org/r/ZCI+7Wg5OclSlE8c@bombadil.infradead.org Spot on, reverting that commit fixes it. Luis