Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758143AbZCBRHg (ORCPT ); Mon, 2 Mar 2009 12:07:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754129AbZCBRH2 (ORCPT ); Mon, 2 Mar 2009 12:07:28 -0500 Received: from accolon.hansenpartnership.com ([76.243.235.52]:59012 "EHLO accolon.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753141AbZCBRH1 (ORCPT ); Mon, 2 Mar 2009 12:07:27 -0500 Subject: Re: ACPI hotplug panic with current git head From: James Bottomley To: Jesse Barnes Cc: Kenji Kaneshige , LKML In-Reply-To: <200902181141.06997.jbarnes@virtuousgeek.org> References: <1231604250.3642.33.camel@localhost.localdomain> <200902181059.26779.jbarnes@virtuousgeek.org> <1234984088.3225.44.camel@localhost.localdomain> <200902181141.06997.jbarnes@virtuousgeek.org> Content-Type: text/plain Date: Mon, 02 Mar 2009 11:07:22 -0600 Message-Id: <1236013642.3275.17.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2855 Lines: 62 On Wed, 2009-02-18 at 11:41 -0800, Jesse Barnes wrote: > On Wednesday, February 18, 2009 11:08 am James Bottomley wrote: > > On Wed, 2009-02-18 at 10:59 -0800, Jesse Barnes wrote: > > > On Monday, February 16, 2009 9:10 pm Kenji Kaneshige wrote: > > > > Jesse Barnes wrote: > > > > > On Wednesday, January 28, 2009 3:47 am Kenji Kaneshige wrote: > > > > >> I made several patches to fix the wrong assumption described > > > > >> above. It is very difficult for me to check all the code that > > > > >> refers pci_bus->self. So I checked include/linux/pci-acpi.h and > > > > >> the code under drivers/pci/ only. And I made patches for the code > > > > >> like below: > > > > >> > > > > >> - The code that clearly chooses host bridge operation or > > > > >> PCI-to-PCI bridge operation based on pci_bus->self. > > > > >> > > > > >> - The code that might cause endless loop if pci_bus->self is > > > > >> not NULL on the PCI root bus. > > > > > > > > > > Kenji-san, can you re-send these to my private mail so I can apply > > > > > them? (Outlook/Exchange can't let plain text through without > > > > > molesting it for some reason.) > > > > > > > > > > Thanks, > > > > > > > > Sure. Resending the following patches. I made those patches against > > > > 2.6.29-rc2. I've confirmed they can be applied to 2.6.29-rc5. > > > > > > > > - [PATCH 1/8] PCI/ACPI: fix wrong assumption in > > > > acpi_pci_get_bridge_handle - [PATCH 2/8] PCI/ACPI: fix wrong assumption > > > > in > > > > acpi_find_root_bridge_handle - [PATCH 3/8] PCI hotplug: fix wrong > > > > assumption in acpi_get_hp_params_from_firmware - [PATCH 4/8] PCI > > > > hotplug: fix wrong assumption in acpi_get_hp_hw_control_from_firmware - > > > > [PATCH 5/8] PCI: fix wrong assumption in pci_find_upstream_pcie_bridge > > > > - [PATCH 6/8] PCI: fix wrong assumption in pci_read_bridge_bases > > > > - [PATCH 7/8] PCI: fix wrong assumption in pci_get_interrupt_pin > > > > - [PATCH 8/8] PCI: fix wrong assumption in pci_common_swizzle > > > > > > James have you tested this set? I didn't see your tested-by in the > > > changelogs... Just want to make sure if I'm going to send these to Linus > > > for 2.6.29. > > > > Um ... no. I have enough trouble picking up my own patches from email. > > Is there a git tree of this? I can pull that in to the box in question > > if so. > > Just pushed the set to the hotplug-test branch of my PCI repo: > git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 hotplug-test Sorry, been away a lot. Finally got this compiled and installed on 2.6.29-rc6: it works just fine. Thanks, James -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/