Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754788Ab1CUWvh (ORCPT ); Mon, 21 Mar 2011 18:51:37 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:51499 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754506Ab1CUWvf (ORCPT ); Mon, 21 Mar 2011 18:51:35 -0400 From: "Rafael J. Wysocki" To: Sarah Sharp Subject: Re: Hot plug issue on 2.6.38 Date: Mon, 21 Mar 2011 23:51:12 +0100 User-Agent: KMail/1.13.6 (Linux/2.6.38+; KDE/4.6.0; x86_64; ; ) Cc: Yinghai Lu , linux-pci@vger.kernel.org, LKML , Jesse Barnes , ACPI Devel Mailing List , Len Brown , Matthew Garrett References: <201103052254.48515.rjw@sisk.pl> <20110317215609.GA5917@xanatos> <20110321222705.GA4139@xanatos> In-Reply-To: <20110321222705.GA4139@xanatos> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Message-Id: <201103212351.12696.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1991 Lines: 53 On Monday, March 21, 2011, Sarah Sharp wrote: > > On Thu, Mar 17, 2011 at 10:22:33PM +0100, Rafael J. Wysocki wrote: > > > On Thursday, March 17, 2011, Yinghai Lu wrote: > > > > her .config does not define PCI_MMCONFIG > > > > > > > > # > > > > # Bus options (PCI etc.) > > > > # > > > > CONFIG_PCI=y > > > > CONFIG_PCI_DIRECT=y > > > > # CONFIG_PCI_MMCONFIG is not set > > > > > > Ah, good catch, thanks! > > > > > > @Sarah: you need to set that for PCI Express to work in general. > > I compiled 2.6.38 with CONFIG_PCI_MMCONFIG=y, and I'm no longer getting > "irq nobody cared" messages. However, PCI express hot plug seems to > just not work for the xHCI PCI device. Nothing appears in dmesg when I > plug in the Express Card, and the device doesn't appear in lspci. > However, I can get the card to show up if I run > > echo 1 > /sys/bus/pci/rescan > > PCI hot-remove doesn't seem to work either. The xHCI driver notices the > device got removed when the debugging polling loop runs, but the > driver's PCI remove functions are never called. A rescan of the bus > doesn't help, and the device still shows up in lspci (although all the > registers are read as 0xffff). dmesg and lspci after the device has been > removed is attached. > > I've tried turning on all the PCI config options that look relavant; my > .config is attached. I've turned on PCI debug too. The only thing that > looks PCI related that I don't have turned on is ACPI_PCI_SLOT. Do I > need that? > > I'm not sure how to debug this hot plug issue further. Well, we still don't seem to call the _OSC on this machine. At least your dmesg output doesn't indicate so. Do you have the patch from: https://patchwork.kernel.org/patch/604371/ applied? Rafael -- 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/