From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756419Ab3AOLPz (ORCPT ); Tue, 15 Jan 2013 06:15:55 -0500 Received: from hydra.sisk.pl ([212.160.235.94]:41152 "EHLO hydra.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756151Ab3AOLPx (ORCPT ); Tue, 15 Jan 2013 06:15:53 -0500 From: "Rafael J. Wysocki" To: Yinghai Lu Cc: Bjorn Helgaas , Len Brown , Taku Izumi , Jiang Liu , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v8 02/22] PCI: Add root bus children dev's res to fail list Date: Tue, 15 Jan 2013 12:21:45 +0100 Message-ID: <5313709.Qx2p1IPKbV@vostro.rjw.lan> User-Agent: KMail/4.9.5 (Linux/3.8.0-rc3+; KDE/4.9.5; x86_64; ; ) In-Reply-To: References: <1357944049-29620-1-git-send-email-yinghai@kernel.org> <6423213.ATyOvMNh1o@vostro.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, January 14, 2013 10:23:47 PM Yinghai Lu wrote: > On Sat, Jan 12, 2013 at 1:37 PM, Rafael J. Wysocki wrote: > > On Friday, January 11, 2013 02:40:29 PM Yinghai Lu wrote: > >> We can stop trying according to try number now and do not need to use > >> root_bus checking as stop sign anymore. > >> > >> In extreme case we could need to reallocate resource for device just > >> under root bus. > > > > Well, the above says that we _can_ do the change, but it doesn't explain why it > > is needed. So what's the reason why we need to do that? > > In extreme case we could need to reallocate resource for device just > under root bus. > > otherwise, those devices just under root bus will not be assigned > resources again. IOW, our current code will not cover the case when we hot plug a host bridge and need to reassign resources for devices integrated into it? Rafael -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.