From: Mika Westerberg Subject: Re: [PATCH] ACPI / hotplug / PCI: Add hotplug contexts to PCI host bridges Date: Wed, 11 Jun 2014 12:16:36 +0300 Message-ID: <20140611091636.GB1657@lahna.fi.intel.com> References: <1986515.ZPZrccsmiq@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1986515.ZPZrccsmiq@vostro.rjw.lan> Sender: linux-pci-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , Linux Kernel Mailing List , Linux PCI List-Id: linux-acpi@vger.kernel.org On Tue, Jun 10, 2014 at 10:51:51PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After relatively recent changes in the ACPI-based PCI hotplug > (ACPIPHP) code, the acpiphp_check_host_bridge() executed for PCI > host bridges via acpi_pci_root_scan_dependent() doesn't do anything > useful, because those bridges do not have hotplug contexts. That > happens by mistake, so fix it by making acpiphp_enumerate_slots() > add hotplug contexts to PCI host bridges too and modify > acpiphp_remove_slots() to drop those contexts for host bridges > as appropriate. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=76901 > Fixes: 2d8b1d566a5f (ACPI / hotplug / PCI: Get rid of check_sub_bridges()) > Reported-and-tested-by: Gavin Guo > Cc: 3.15+ # 3.15+ > Signed-off-by: Rafael J. Wysocki Reviewed-by: Mika Westerberg Thanks for taking care of this!