From: "Rafael J. Wysocki" Subject: Re: [PATCH v2 3/8] PCI: acpiphp: enable_device(): rescan even if no new devices on slot Date: Fri, 12 Jul 2013 00:48:55 +0200 Message-ID: <4143023.cHEf6DNHsh@vostro.rjw.lan> References: <1372860295-8306-1-git-send-email-mika.westerberg@linux.intel.com> <1827270.u1sYdQ8l8y@vostro.rjw.lan> <20130711051144.GF4898@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Return-path: Received: from hydra.sisk.pl ([212.160.235.94]:38903 "EHLO hydra.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750976Ab3GKWjK (ORCPT ); Thu, 11 Jul 2013 18:39:10 -0400 In-Reply-To: <20130711051144.GF4898@intel.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Mika Westerberg Cc: "Kirill A. Shutemov" , Bjorn Helgaas , Jesse Barnes , Yinghai Lu , Heikki Krogerus , linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org On Thursday, July 11, 2013 08:11:44 AM Mika Westerberg wrote: > On Thu, Jul 11, 2013 at 02:25:42AM +0200, Rafael J. Wysocki wrote: > > On Wednesday, July 03, 2013 05:04:50 PM Mika Westerberg wrote: > > > From: "Kirill A. Shutemov" > > > > > > pci_scan_slot() returns number of new devices connected *directly* > > > connected to the slot. Current enable_device() checks the return value > > > and stops if it doesn't see a new device. > > > > > > In Thunderbolt chaining case the new device can be deeper in hierarchy, so > > > do the rescan anyway. > > > > > > Because of that we must make sure that pcibios_resource_survey_bus() and > > > check_hotplug_bridge() get called only for a just found bus and not the > > > ones already added to the system. Failure to do so will lead to resource > > > conflicts. > > > > Well, I wonder what we're doing to this end, because there's nothing in that > > area in the patch? > > We forgot to update the changelog of this patch. The last paragraph should > not be there. Yeah, I noticed that later. Never mind. :-) -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.