[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQUuHrsNPhPWAc9koOrW6Xc+ryOhf_nv2ZyWvG9XMAdNoA@mail.gmail.com>
Date: Sat, 21 Apr 2012 11:46:07 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Martin Mokrejs <mmokrejs@...d.natur.cuni.cz>
Cc: Sarah Sharp <sarah.a.sharp@...ux.intel.com>,
linux-pci@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: 3.2.11: PCI Express card cannot be re-detected withing cca 60sec timeframe
On Sat, Apr 21, 2012 at 6:25 AM, Sarah Sharp
<sarah.a.sharp@...ux.intel.com> wrote:
> On Fri, Apr 20, 2012 at 05:09:48PM -0700, Yinghai Lu wrote:
>> On Fri, Apr 20, 2012 at 4:17 PM, Sarah Sharp
>> <sarah.a.sharp@...ux.intel.com> wrote:
>> > On Fri, Apr 20, 2012 at 11:47:14AM -0700, Yinghai Lu wrote:
>> >> On Fri, Apr 20, 2012 at 10:28 AM, Martin Mokrejs
>> >> <mmokrejs@...d.natur.cuni.cz> wrote:
>> >> > [30720.175637] pciehp 0000:00:1c.7:pcie04: pcie_isr: intr_loc 108
>> >> > [30720.175639] pciehp 0000:00:1c.7:pcie04: LinkState change
>> >> > [30720.175643] pciehp 0000:00:1c.7:pcie04: lnk_status = 5011
>> >> > [30720.175644] pciehp 0000:00:1c.7:pcie04: Presence/Notify input change
>> >> > [30720.175648] pciehp 0000:00:1c.7:pcie04: Card not present on Slot(7)
>> >> > [30720.175687] pciehp 0000:00:1c.7:pcie04: Surprise Removal
>> >> > [30720.175718] pciehp 0000:00:1c.7:pcie04: Disabling domain:bus:device=0000:11:00
>> >> > [30720.175721] pciehp 0000:00:1c.7:pcie04: pciehp_unconfigure_device: domain:bus:dev = 0000:11:00
>> >> >
>> >>
>> >> So the USB host control driver xhci put that 11:00.0 in strange power state.
>> >
>> > What do you mean "strange power state"? The only PCI power states the
>> > xHCI driver will use is D0 or D3hot. D3hot is entered automatically by
>> > the USB core runtime PM system when all USB devices are disconnected or
>> > suspended. So what strange power state are we talking about?
>>
>> that's helpful. Can that feature to be disabled?
>
> Yes. There are several ways to disable automatic entry into D3hot.
> The easiest way is to turn off CONFIG_USB_SUSPEND, which will disable
> USB autosuspend (and subsequent runtime PM entry into D3hot) for all USB
> hosts and devices.
Please try to boot with
usbcore.autosuspend=0
Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists