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 2182EC77B75 for ; Mon, 8 May 2023 16:52:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233552AbjEHQwV (ORCPT ); Mon, 8 May 2023 12:52:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233974AbjEHQwU (ORCPT ); Mon, 8 May 2023 12:52:20 -0400 Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 412064C03; Mon, 8 May 2023 09:52:15 -0700 (PDT) Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-24e4e23f378so3369841a91.3; Mon, 08 May 2023 09:52:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683564734; x=1686156734; h=in-reply-to: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=lKlpAB8AKIxo4dSlH4+cwNzwviO7i4BXcMDofbP4/Y4=; b=VNYUsDpNxh8iUcl/Z+qy3L6GTWsvnbQrE8TZOflMUCT7Krg4Hp3tqfye6eVYkRjbI7 hRMowKsZ9FYtne5q5YwNUJTA11384VA7QtmKmata04a/st3S98DlCcQzyAdEf5fSYg98 fI/M6FAS+Vb3KIl51a/JILvEgnuWrMpoR2Rgg6IrnG0aZ36ORJ/pyngDT5WONDw9iHic POCFWZiYdj7tJykZnguy4WpylegsVVgpAYgrR/nriNv88gFblHt3hpfHwRq6ginubBQp ACXglcQfbUSoalNLyZpLcRmjXCiBDXcncXx8izrs1rPvX9b3qKEV9d0hK8SHrXycyAuK NqFQ== X-Gm-Message-State: AC+VfDwG2UgEj44L6o6rnlaPflJ5gk6xAjEaQ9cRsLlg7zGOEpiBLlWJ tXx/427sSakEaNX743ap0Tw= X-Google-Smtp-Source: ACHHUZ5YAZBJRuwObeE+RUnkQ/prDCWbYAQOh6GSzcmna/vKchpEna9OA/ygjsSnyZEa3ijepdKOrw== X-Received: by 2002:a17:90a:880b:b0:250:484e:355f with SMTP id s11-20020a17090a880b00b00250484e355fmr8509250pjn.49.1683564734648; Mon, 08 May 2023 09:52:14 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id f5-20020a170902ce8500b001ab016e7916sm7536143plg.234.2023.05.08.09.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 09:52:14 -0700 (PDT) Date: Mon, 8 May 2023 16:52:12 +0000 From: Wei Liu To: Dexuan Cui Cc: "'bhelgaas@google.com'" , "'davem@davemloft.net'" , "'edumazet@google.com'" , Haiyang Zhang , Jake Oshins , "'kuba@kernel.org'" , "'kw@linux.com'" , KY Srinivasan , "'leon@kernel.org'" , "'linux-pci@vger.kernel.org'" , "'lpieralisi@kernel.org'" , "Michael Kelley (LINUX)" , "'pabeni@redhat.com'" , "'robh@kernel.org'" , "'saeedm@nvidia.com'" , "'wei.liu@kernel.org'" , Long Li , "'boqun.feng@gmail.com'" , Saurabh Singh Sengar , "'helgaas@kernel.org'" , "'linux-hyperv@vger.kernel.org'" , "'linux-kernel@vger.kernel.org'" , "'linux-rdma@vger.kernel.org'" , "'netdev@vger.kernel.org'" , Jose Teuttli Carranco Subject: Re: [PATCH v3 0/6] pci-hyper: Fix race condition bugs for fast device hotplug Message-ID: References: <20230420024037.5921-1-decui@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-hyperv@vger.kernel.org On Fri, Apr 21, 2023 at 10:23:03PM +0000, Dexuan Cui wrote: > > From: Dexuan Cui > > Sent: Thursday, April 20, 2023 7:04 PM > > > ... > > > > > > Dexuan Cui (6): > > > PCI: hv: Fix a race condition bug in hv_pci_query_relations() > > > PCI: hv: Fix a race condition in hv_irq_unmask() that can cause panic > > > PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev > > > Revert "PCI: hv: Fix a timing issue which causes kdump to fail > > > occasionally" > > > PCI: hv: Add a per-bus mutex state_lock > > > PCI: hv: Use async probing to reduce boot time > > > > > > drivers/pci/controller/pci-hyperv.c | 145 +++++++++++++++++----------- > > > 1 file changed, 86 insertions(+), 59 deletions(-) > > > > Hi Bjorn, Lorenzo, since basically this patchset is Hyper-V stuff, I would > > like it to go through the hyper-v tree if you have no objection. > > > > The hyper-v tree already has one big PCI patch from Michael: > > https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git/commit/?h= > > hyperv-next&id=2c6ba4216844ca7918289b49ed5f3f7138ee2402 > > > > Thanks, > > Dexuan > > Hi Lorenzo, thanks for Ack'ing the patch: > Re: [PATCH v2] PCI: hv: Replace retarget_msi_interrupt_params with hyperv_pcpu_input_arg > > It would be great if you and/or Bjorn can Ack this patchset as well :-) > Lorenzo and Bjorn, are you happy with these patches? I can collect them via the hyperv-fixes tree. Thanks, Wei. > v1 of this patchset was posted on 3/28: > https://lwn.net/ml/linux-kernel/20230328045122.25850-1-decui%40microsoft.com/ > and v3 got Michael Kelley's and Long Li's Reviewed-by. > > I have done a long-haul testing against the patchset and it worked > reliably without causing any issue: without the patchset, usually the VM > can crash within 1~2 days; with the patchset, the VM is still running fine > after 2 weeks. > > Thanks, > Dexuan