Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2253769rwb; Mon, 15 Aug 2022 01:40:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR72SIpwwfif/fxuOxyQuQJkwDxZh9PIeffytwuHzSxBN0QWjpNKfZACQEc66m5lQybcP8jV X-Received: by 2002:a17:907:e89:b0:730:af06:e345 with SMTP id ho9-20020a1709070e8900b00730af06e345mr10087741ejc.665.1660552820496; Mon, 15 Aug 2022 01:40:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660552820; cv=none; d=google.com; s=arc-20160816; b=g91GAlm6gj3nDpF2ODeZ6WJnvH/EFzHNgVleHOf/7bQs3Tj6Zz1ejUgyqMoPHSV3Iw HRRGbV8uCFeud27j1SM5XhEiz3NEsdfXHTFC+U8zm1rE/dcL+8vOhXl6WV0yUQcFAOBC kQLMAi1BqlUM6b9/Qll2NfOBlk6stiEl2B80FAW8FKSaOxk20cYlSYiA5WO6ar/CdzSO z/neEXVlybVChX+LjadfilQmVLBBH+oIL8d4Vn766w9wL0td6N3FU1m/fr+s1QhFTnlh 2Y0YB8qa6exyL5IYMqvnlaKBpn4+i2mscCW2bQUBPcZLdta7aDpMdeWf7C+ofslx16Bs XBgg== 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=lEHWMXFZ2uct4Ktk4KY1ISQiitnDvCq9CZGYvT11o94=; b=ssukxcAJFlZAKk/mPYqb7JUrIk48rGvsBf+7vI2danF+229WMOAgZNgNkF83JsGN9l Z6TxtgUxLvtDJNkQoxM8BZFI0fPFLg5pmhxXMgIyUKigD7D1wMlnheEBdD/oQetoabr0 DvCJLk+qrEfXcehI0lha9bw/+nEzeNv1F9pPrMuXazYjGpbFNRjYI+pPxN07jg57Apns hWMaCMjsGuW4Z8Dxw/xnx95fAvO62omU3IaJm2aOeSuNamtGEJsc3FQLheT9eBrkj+4b gEjTTbGYsM65Leb/9IEjHE+dZ6NNXYs56VQj5tfaCjlvNeghGtoCFOZ4dwSnTGFEqIGq dAHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ToM+WyNE; 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 g9-20020a170906538900b00727c6ac5e27si5971061ejo.388.2022.08.15.01.39.55; Mon, 15 Aug 2022 01:40:20 -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=ToM+WyNE; 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 S241248AbiHOI2t (ORCPT + 99 others); Mon, 15 Aug 2022 04:28:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233066AbiHOI2n (ORCPT ); Mon, 15 Aug 2022 04:28:43 -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 7F9B11F639 for ; Mon, 15 Aug 2022 01:28:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660552117; 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=lEHWMXFZ2uct4Ktk4KY1ISQiitnDvCq9CZGYvT11o94=; b=ToM+WyNED1xHXruOEy9GT37AeCQV7Yme3ZiIbz7dDJ5xgMUQvA7+UkFM1zvDe4Nz8teDGJ 3YVG5o+R+5boNVTpiNwp/fCQA0ujaPQ+iREOE5dK/mOVISKMYUq58NU9A8K2sRmHXfXFRn csAjQLqmpyIZEN2nJIo8TvuuIwtU8MQ= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-619-zfq21Dw_P-6oy3bysp51dw-1; Mon, 15 Aug 2022 04:28:35 -0400 X-MC-Unique: zfq21Dw_P-6oy3bysp51dw-1 Received: by mail-ej1-f71.google.com with SMTP id ga16-20020a1709070c1000b007331af32d3aso940766ejc.4 for ; Mon, 15 Aug 2022 01:28:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=lEHWMXFZ2uct4Ktk4KY1ISQiitnDvCq9CZGYvT11o94=; b=SrohP0WFJ7IlQmxaaKYyDhbj1yswBklZjG5etCOZ9Df9NJctaR/hi1GCKrkLgmqrea 4qbnTyAJqr6TJyTGrmC7xNN97N0TWa14r3T6xttthhyWmCqS05Qwj/hDUA1HO5kqBuld QGDUHGHsRtaKZ7SSqX8Mf/HStGm/8YS/Zm9SGgmOBL7HN3ueYXf8knqTVuAgzV1bLAU+ z5BkAu9oOh3blheOZ6Hn6N5cxUHRbvERbEWOUAwcMf8axdFp1hFtcOGDVb+ttE184mIJ /+dTm+5gmnmxlrW2hGuiGeIo2dT3VMBavKZzK8+ifZ5VrjGwGSLl3atNdKJvjaOiCqcj c3sw== X-Gm-Message-State: ACgBeo0XsibVPtQDPBGjFrre03GDZyJMNnR/aBw2fOfXPyxEZhGs3mZF cDLktAQiJ876KApPlRaf+V/XMS5rdr71PnkCLfGUh+pRh4YPPFy1NBm2mx4cyBC+bW6nN7AmSyj r34Vd4KttcC9BvhEE8ajl5wuS X-Received: by 2002:a17:906:5a4f:b0:730:825a:d860 with SMTP id my15-20020a1709065a4f00b00730825ad860mr9738655ejc.143.1660552114219; Mon, 15 Aug 2022 01:28:34 -0700 (PDT) X-Received: by 2002:a17:906:5a4f:b0:730:825a:d860 with SMTP id my15-20020a1709065a4f00b00730825ad860mr9738642ejc.143.1660552114023; Mon, 15 Aug 2022 01:28:34 -0700 (PDT) Received: from redhat.com ([2.54.169.49]) by smtp.gmail.com with ESMTPSA id n18-20020aa7c452000000b0043ba437fe04sm6236573edr.78.2022.08.15.01.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 01:28:33 -0700 (PDT) Date: Mon, 15 Aug 2022 04:28:29 -0400 From: "Michael S. Tsirkin" To: Andres Freund Cc: Linus Torvalds , Jens Axboe , James Bottomley , "Martin K. Petersen" , Guenter Roeck , linux-kernel@vger.kernel.org, Greg KH Subject: Re: upstream kernel crashes Message-ID: <20220815042623-mutt-send-email-mst@kernel.org> References: <20220814212610.GA3690074@roeck-us.net> <20220814223743.26ebsbnrvrjien4f@awork3.anarazel.de> <1c057afa-92df-ee3c-5978-3731d3db9345@kernel.dk> <20220815013651.mrm7qgklk6sgpkbb@awork3.anarazel.de> <20220815071143.n2t5xsmifnigttq2@awork3.anarazel.de> <20220815034532-mutt-send-email-mst@kernel.org> <20220815081527.soikyi365azh5qpu@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220815081527.soikyi365azh5qpu@awork3.anarazel.de> X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, Aug 15, 2022 at 01:15:27AM -0700, Andres Freund wrote: > Hi, > > On 2022-08-15 03:51:34 -0400, Michael S. Tsirkin wrote: > > It is possible that GCP gets confused if ring size is smaller than the > > device maximum simply because no one did it in the past. > > > > So I pushed just the revert of 762faee5a267 to the test branch. > > Could you give it a spin? > > Seems to fix the issue, at least to the extent I can determine at 1am... :) > > Greetings, > > Andres Freund So you tested this: commit 13df5a7eaeb22561d39354b576bc98a7e2c389f9 (HEAD, kernel.org/test) Author: Michael S. Tsirkin Date: Mon Aug 15 03:44:38 2022 -0400 Revert "virtio_net: set the default max ring size by find_vqs()" This reverts commit 762faee5a2678559d3dc09d95f8f2c54cd0466a7. Signed-off-by: Michael S. Tsirkin and it fixes both issues right? No crashes no networking issue? Just making sure before I send this upstream as a stop-gap. We need to figure out what is going on since I think there's a GCP hypervisor bug that we need to find a way to detect and work around but that can wait. -- MST