Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp200766pxb; Wed, 23 Mar 2022 16:16:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7+yFsdDA3UJ/MjXKD1zn1mCCS37ZPIFuq3sAY9JRiQ7M1UhfMzOdpp0iVVyhSa4GPR0dl X-Received: by 2002:a17:906:dc8b:b0:6df:7a71:1321 with SMTP id cs11-20020a170906dc8b00b006df7a711321mr2670662ejc.476.1648077396315; Wed, 23 Mar 2022 16:16:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648077396; cv=none; d=google.com; s=arc-20160816; b=Lc7WHpJRWiOuEHTl7hxdyHJqPghqH8YB0DODJAUWfMav6d4QpncE4YOd55xzKPMW/1 p5FxtX1ArZgB5lRGsqrERxbegU8WLhK7/rTvVPCI+t6tm+oXTtC/uEMNIGoIkxhtX8UG EPVvGOC54NagSxALV114sbFdI/HgLMHowJP8Jc+ddQIy4gvlnZ0xxzY34e/wRVsQ9/qq ExMNejkxLtp2JzrTL3qjNkUnwwjKZb/pNBjVJ9SutHTmMTAJ4yUdj293eMd/jtEi4WrO e4n33B94C5pT45a5OU41U0d/XhwKwDglMiBH/MOQHGfNL+Vd9rE8YZdw8ZgFGTMfUu3H GHHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=suvndhg5i90sE3alVpWaoy01Es5EJ/QlvWcm+elPd0I=; b=eOYa03fhGyqSphUkbBf2Rlu+PytPlQ1sPtURIvW/dn/oEM2NgL+6QiHZoF6t7zUA/q lIkwHrcCLxUzk8m2mrVt3Ncyqdoq6fL+PIB3dlEbp3ZDZAQhsLXdGjZAJK5lCkwAnKnJ jpPGH6tSo/4SPPKZM5jgtIpRkjeuRwQNqvEHriUXFnCV/1pCAmBN3GvXjUCShdutHYGF g+l7Lv8+rL0HFHLMHx7stRfl+qR2wmGCRgOfdlKDKPqeZoY/aSUEtrtm8mDf1U96QLXl +hbbE6QxngRLAIagqxzxYviI0GpkjNkRnjbBp5HKvHJVU//jx+m+h02GHKPEe0GZDGMm 4wHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NEbEknhs; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h15-20020a50c38f000000b00418c2b5bd78si15764205edf.90.2022.03.23.16.16.08; Wed, 23 Mar 2022 16:16:36 -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=@redhat.com header.s=mimecast20190719 header.b=NEbEknhs; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244238AbiCWNXt (ORCPT + 99 others); Wed, 23 Mar 2022 09:23:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbiCWNXs (ORCPT ); Wed, 23 Mar 2022 09:23:48 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6B5B47CDEA for ; Wed, 23 Mar 2022 06:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648041736; 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=suvndhg5i90sE3alVpWaoy01Es5EJ/QlvWcm+elPd0I=; b=NEbEknhsaIXKoeZUiPegBXB2l55E6SkDGeiW9q9i6s7ei8B0HiH2bVjs/0YWmVLHiRzras V/QsttWDPEsuYr2TUUkFDQDosu3Weke7Yd35yQ14RuoIFNv2/gpcXVdjv9IsOJvJJ5rnxU 1nBgMXd7sUJsyG4jObIfkjgV9MjmALc= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-625-VhNlyeOmM_K12Wmkzll6EQ-1; Wed, 23 Mar 2022 09:22:11 -0400 X-MC-Unique: VhNlyeOmM_K12Wmkzll6EQ-1 Received: by mail-wr1-f69.google.com with SMTP id h11-20020a5d430b000000b001f01a35a86fso509440wrq.4 for ; Wed, 23 Mar 2022 06:22:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=suvndhg5i90sE3alVpWaoy01Es5EJ/QlvWcm+elPd0I=; b=FOyAmwg1AXVFeNcqVdqWwROTBCLHF+TWrH5DEbL2LyzHPtP11b7jPg7XkX+QVv2P44 J5rCrQUUmNHqqhNk0B7fTaF7FpJb9xByvi26GN+q2TSJnxkoBTD+065PAycI95UY9P4y xKLxYKSkOn7m7D5Yg1umToZNtuBhHmxRPzdTUk81RxmhthOCcpfDl6MXs9qKS2z2vjdW qFfjLID2KoyJ103swWJQfjQQsevbtJQGH/eLrMGq98du4H1SBuPXTAQclWx5Y6TCkW/H Eo2hc+ncbTfMo61IXa7uBMEdUddQoWm/LEuzyokTegTNvnlwGwIacOsEWKI9bmuRp3M7 Zhmw== X-Gm-Message-State: AOAM533xmbD7uGsf0aJAz5MoU1lh7TmJFLCaCeRxM6sJsCfjkhiHUzXR 3m4I9Zp27+5qpEspc0llPlb7hmkqYY86bDpOvkoAETZuCtUsuq73wAEowjVvE5YILWyoJ5OU4Ue QDj9RVOauwIg19FYUaJgUXfSw X-Received: by 2002:a05:6000:15c7:b0:205:87a2:87bc with SMTP id y7-20020a05600015c700b0020587a287bcmr2861197wry.260.1648041728540; Wed, 23 Mar 2022 06:22:08 -0700 (PDT) X-Received: by 2002:a05:6000:15c7:b0:205:87a2:87bc with SMTP id y7-20020a05600015c700b0020587a287bcmr2861171wry.260.1648041728292; Wed, 23 Mar 2022 06:22:08 -0700 (PDT) Received: from redhat.com ([2.55.151.118]) by smtp.gmail.com with ESMTPSA id g17-20020a05600c4ed100b0038ca32d0f26sm4091594wmq.17.2022.03.23.06.22.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 06:22:06 -0700 (PDT) Date: Wed, 23 Mar 2022 09:22:02 -0400 From: "Michael S. Tsirkin" To: Stefano Garzarella Cc: netdev@vger.kernel.org, Stefan Hajnoczi , Paolo Abeni , Arseny Krasnov , "David S. Miller" , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Asias He , Jakub Kicinski Subject: Re: [PATCH net v2 0/3] vsock/virtio: enable VQs early on probe and finish the setup before using them Message-ID: <20220323092118-mutt-send-email-mst@kernel.org> References: <20220323084954.11769-1-sgarzare@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220323084954.11769-1-sgarzare@redhat.com> X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 Wed, Mar 23, 2022 at 09:49:51AM +0100, Stefano Garzarella wrote: > The first patch fixes a virtio-spec violation. The other two patches > complete the driver configuration before using the VQs in the probe. > > The patch order should simplify backporting in stable branches. Ok but I think the order is wrong. It should be 2-3-1, otherwise bisect can pick just 1 and it will have the issues previous reviw pointed out. > v2: > - patch 1 is not changed from v1 > - added 2 patches to complete the driver configuration before using the > VQs in the probe [MST] > > v1: https://lore.kernel.org/netdev/20220322103823.83411-1-sgarzare@redhat.com/ > > Stefano Garzarella (3): > vsock/virtio: enable VQs early on probe > vsock/virtio: initialize vdev->priv before using VQs > vsock/virtio: read the negotiated features before using VQs > > net/vmw_vsock/virtio_transport.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > -- > 2.35.1