[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQUxoHvUWFXv5LLcBT9vVGnQKp1-Tg7M3XPPULWwtX1iUw@mail.gmail.com>
Date: Tue, 17 Apr 2012 12:02:04 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Martin Mokrejs <mmokrejs@...d.natur.cuni.cz>
Cc: 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 Tue, Apr 17, 2012 at 10:07 AM, Yinghai Lu <yinghai@...nel.org> wrote:
> On Tue, Apr 17, 2012 at 2:34 AM, Martin Mokrejs
> <mmokrejs@...d.natur.cuni.cz> wrote:
>> Yinghai Lu wrote:
>>> On Tue, Apr 17, 2012 at 1:46 AM, Yinghai Lu <yinghai@...nel.org> wrote:
>>>> On Tue, Apr 17, 2012 at 12:27 AM, Martin Mokrejs
>>>> <mmokrejs@...d.natur.cuni.cz> wrote:
>>>>>>
>>>>>> can you send out lspci -vvxxxx -s 00:1c.7 after removing USB 3.0 express card?
>>>>>
>>>>> No, that did not help (tried on 3.4-rc3). First I plugged in the NEC uPD720200 USB3.0 card
>>>>> and unplugged it (card removal not reported :(), saved the lspci output.
>>>>> Then I inserted the FireWire card, unplugged, again saved the lspci output.
>>>>> Finally, saved the dmesg. All three files are attached.
>>>>
>>>> for USB 3.0:
>>>> SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
>>>> Changed: MRL- PresDet- LinkState+
>>>
>>> LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+
>>> BWMgmt+ ABWMgmt-
>>>
>>> link still active even that card get removed, that looks like chipset
>>> have problem.
>>
>> Yinghai,
>> so what should I ask Dell for? To fix BIOS of the laptop? What exactly? Or do you think
>> this is a hardware issue with the chipset?
>
> after the expresscard get removed, that root port socket status bits
> still report Data Link Active, and
> the card still present.
>
> Better check with Dell at first, and ask them to talk with intel if
> there is silicon bug with that chipset that report wrong status.
>
> Let me check if i could rebase one my local patch do reset pcie link
> to prove that problem it silicon related.
Rebase patches about pcie link disable/enable in /sys. please check them at
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git
for-pci-test
PCI, sysfs: merge dev and bus cpuaffinity show handling
PCI, sys: Use is_visable() with boot_vga attribute for pci_dev
PCI, sysfs: Put resource_alignment info pci_bus_attrs array
PCI: Move pcie_link_disable to pcie-link.c
PCI, sysfs: Add pcie attrs for pcie device under pci dev dir.
PCI: Add link_disable in /sysfs for pcie device
it is based on for-pci-root-bus-hotplug branch
Or you can just master branch like
git clone git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git
After you remove USB3 expresscard, you need to
echo 1 > /sys/devices/pci0000\:00/0000\:00\:1c.7/pcie_link_disable
then
echo 0 > /sys/devices/pci0000\:00/0000\:00\:1c.7/pcie_link_disable
Thanks
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