Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3616705imw; Mon, 11 Jul 2022 12:08:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1th/dfcDvM8i0M9+DX/ITLJWDB/eUTNz7/3xQ05GaupJNj2CNih1wcEZVZPgUAR1oYcX9d+ X-Received: by 2002:a05:6402:3818:b0:436:f2e1:64b3 with SMTP id es24-20020a056402381800b00436f2e164b3mr27017868edb.111.1657566483746; Mon, 11 Jul 2022 12:08:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657566483; cv=none; d=google.com; s=arc-20160816; b=rvGJNe+aY4t3LsDXVsu+xRBzQ8nGqHyqGS4RaM6kEqgkKqbY29/dtQDFhXqf4SCme9 /BO0V91+/pt8dj2YFBkhB+GFjAgHP6GAy/3dz49T8ztxknfRbfWdnYen/e+4zjoTUUaq kx37n9AWpJGtUxM7KmZZSFd1eFwHaaZsXgqLTtmcA5Gcpk29WUrou3Nq6BhrbSXEFNHf UZkrlFk7xuDwy6T6URCmbgm+n7Y2153E4bVfBNfr10/dbO3trLnq1uI1RmPJFAE9GsOY BAToBKq0fAsCL1wgWEJ8LT2aEj2Cnnz7nyEUU6GRdklzzr5ntiCBrXgWQ76F/UM2mKVR CbGw== 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; bh=4TxPXEbDng0zPcNaFjZQIJsUTvNsX8wiFVkIkSJFZBQ=; b=bAcfS/a6vMPDYr1tXmqjtMrur8mdXBiXSx4si28O1Ebnd/ZV8eb9arl0kM5fMgDOpD qzrsOJVxbu32MdZbL1ehUfWMN+EZhUwwdKo/T1j8dK7hr4jx8CRNoNEicnpd3KbrUAG4 2ugVOkueJUrTwcmnXi2QszPGLJ6gxEXfYTif7siIJ6GGaC59cEjTDlHxZxVHM7cqJWAn 3QZNxC725KPV5ONo8TMuHTTjVuqitDScSM+VtbqhLaRb2mOzi3jd668pHst1izZyhQS6 vR5XW0vMy/Md6diRsbYthh8tE7HFyfThld0PgpqlNWiJYCZ98kqFOaPoDawIXseZSqiE h2SA== ARC-Authentication-Results: i=1; mx.google.com; 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 h9-20020a056402280900b0043a9e43fb69si1245498ede.234.2022.07.11.12.07.37; Mon, 11 Jul 2022 12:08:03 -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; 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 S230274AbiGKSy0 (ORCPT + 99 others); Mon, 11 Jul 2022 14:54:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbiGKSyY (ORCPT ); Mon, 11 Jul 2022 14:54:24 -0400 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC8C7286C2; Mon, 11 Jul 2022 11:54:22 -0700 (PDT) Received: by mail-wr1-f46.google.com with SMTP id v14so8195447wra.5; Mon, 11 Jul 2022 11:54:22 -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=4TxPXEbDng0zPcNaFjZQIJsUTvNsX8wiFVkIkSJFZBQ=; b=NfKklrVn6lkfFSW9Yhz6XchJC2FywFKcJGVMRwVd4iB6HKU2IE8be8Z8ZU8MSObPh+ Qzv2ViXccysz5FnFzLuxxBHUUsg81goHuXP5PLX++2a8N2tJzBTW+fRmz+FvkmOem2hs O+qI/oKOmpWkhQFCUvCQzhqQMHtKVrc+OtIvULT9AXZnafpnQ0bJqq3A0W7b8smotujN h1DeOrUF05rvVw/JlbiHwgfbqUP4aPsqUKVinVq0jsUjWBWKaDI0DenaLQDY7k8fJMvy NFkGuInOpvdXeXS+EF+4HQFh4fyLN9V2niixRtr9xnQ+4xsxvdmOoawOzojzvp3PAGl4 gaXw== X-Gm-Message-State: AJIora9EwlF6mOoBtIoTXT1s1jRSyVENNXs8t98yBX2UhdAFVNWoC1xy h/8Dbv/YHjSbT7Bk4Ca8aY0= X-Received: by 2002:a5d:51c6:0:b0:21d:7ec4:7ecb with SMTP id n6-20020a5d51c6000000b0021d7ec47ecbmr18282508wrv.645.1657565661312; Mon, 11 Jul 2022 11:54:21 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id c1-20020a5d4cc1000000b0021dac657337sm1498053wrt.75.2022.07.11.11.54.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 11:54:19 -0700 (PDT) Date: Mon, 11 Jul 2022 18:54:07 +0000 From: Wei Liu To: "Michael Kelley (LINUX)" Cc: Shradha Gupta , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Shradha Gupta , Praveen Kumar Subject: Re: [PATCH v3] Drivers: hv: vm_bus: Handle vmbus rescind calls after vmbus is suspended Message-ID: <20220711185407.nr4fythfoup7lk27@liuwe-devbox-debian-v2> References: <20220711041147.GA5569@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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, Jul 11, 2022 at 05:50:43PM +0000, Michael Kelley (LINUX) wrote: > From: Shradha Gupta Sent: Sunday, July 10, 2022 9:12 PM > > > > Add a flag to indicate that the vmbus is suspended so we should ignore > > any offer message. Add a new work_queue for rescind msg, so we could drain > > it along with other offer work_queues upon suspension. > > It was observed that in some hibernation related scenario testing, after > > vmbus_bus_suspend() we get rescind offer message for the vmbus. This would > > lead to processing of a rescind message for a channel that has already been > > suspended. > > > > Signed-off-by: Shradha Gupta [...] > > Reviewed-by: Michael Kelley > Applied to hyperv-next. Thanks.