Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp193496ybn; Tue, 24 Sep 2019 21:09:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1RtSShIuYLvON+aEhO7WzJKUgmD8BekEIaBAXrRuVYgF2kRllHfKAgta0coggA8eaL8QM X-Received: by 2002:adf:e392:: with SMTP id e18mr6283052wrm.87.1569384547061; Tue, 24 Sep 2019 21:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569384547; cv=none; d=google.com; s=arc-20160816; b=tEMO1GbhrOmqnuFNUqFwEe1FP/5HimH3444+FI1p3Maiw3QqUKtQHhGnzGonarPhzG h4iOb/Tq+H+EF0WiWtdSkdMpU0NLZnBpYFzn+bI4ocQjlT/Y/xCk3AjRNZk1B9jABuL7 qFfVWcmdc0YmG9/hGfaYF2QhMLM3brHtXfUqXPO7plxLwvRmIdITPZXHVaOBC0qSwSFe IzaMqNIWbt8VnLHq7cRJZn70+l8P37YOlKJbEvdASx3IySqyHBtbSWrOOYhMfHSqbCFo gqzq2Z9OgoWZuxDTPHKPcNG5AaLbQ+0NTAkWpZLNxkSpjp0B8irezLKwv5+VI+ImA53V uHXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Gypo5/LPDZHb/uY/oDwhZRG2JHSZKCWexSnx2zBswWk=; b=OMNtfD/+2gzCYVlC2onjmeTmcTEizxxOkBOenUExQZTGZ1QPnmG7EhVLwqv9VSp0wF ZQjMurC9En2qVuV/QToDEN2AG6jT0vXjLlT4Ix7PC3F9VOIYDMOdcDqrcD0HBn7jigZf Y6zYhNoAiRPivtaBYPs6LtOw8QVefBeT6KdkgyWa561L1dMrefWOw9XDaYWLgctm/VM6 Jl1GU2lfPJGfcWr50kNYmH94QL73m6w8RhHwU63nbssYFfGBY6w53Ol4yM27Lxc8Jx3i N/g+Gct6bxlUZZQY8mS/XiUnwabkblQ/MIaaYHjITRkpQgIZm1zMckPFBw+5/dEPlrUF B3aA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2si2001048ejj.90.2019.09.24.21.08.30; Tue, 24 Sep 2019 21:09:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729298AbfIWFeH (ORCPT + 99 others); Mon, 23 Sep 2019 01:34:07 -0400 Received: from bmailout3.hostsharing.net ([176.9.242.62]:49889 "EHLO bmailout3.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729173AbfIWFeG (ORCPT ); Mon, 23 Sep 2019 01:34:06 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout3.hostsharing.net (Postfix) with ESMTPS id 45F3E10059367; Mon, 23 Sep 2019 07:34:04 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id F066E14983A; Mon, 23 Sep 2019 07:34:03 +0200 (CEST) Date: Mon, 23 Sep 2019 07:34:03 +0200 From: Lukas Wunner To: Mika Westerberg Cc: Bjorn Helgaas , "Rafael J. Wysocki" , Keith Busch , Andy Shevchenko , Frederick Lawler , "Gustavo A . R . Silva" , Sinan Kaya , Kai-Heng Feng , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] PCI: pciehp: Prevent deadlock on disconnect Message-ID: <20190923053403.jdjw6ed3sub6iuou@wunner.de> References: <20190812143133.75319-1-mika.westerberg@linux.intel.com> <20190812143133.75319-2-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190812143133.75319-2-mika.westerberg@linux.intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 12, 2019 at 05:31:33PM +0300, Mika Westerberg wrote: > If there are more than one PCIe switch with hotplug downstream ports > hot-removing them leads to a following deadlock: For the record, I think my comments on v1 of this patch still apply: https://patchwork.ozlabs.org/patch/1117870/#2230798