Re: [PATCH v3 4/8] pciehp: Don't disable the link permanently, during removal
From: Yinghai Lu
Date: Wed Dec 18 2013 - 00:14:40 EST
On Tue, Dec 17, 2013 at 7:20 PM, Rajat Jain <rajatjain@xxxxxxxxxxx> wrote:
>
> Actually I did not understand the original problem and the solution in the first
> place (so I also do not understand how might disabling of presence detect notification
> help). If you can give more details on the original problem that shall be great. Here
> is what I understood from the commit log:
>
> The believe the HW looks like this:
>
> PCIe port <----> Repeater <----> Device.
>
> An in addition there is the presence detect pin that is connected directly from
> The port to the device. Now, when the device is plugged out, the pin indicates
> No presence. But are you saying the PCIe link from port to repeater is still up?
After the card is removed from the slot.
PCIe port try to retrain the link to repeater, like the link will keep
up and down.
so the presence bit will keep report one card present and not present.
that present bit should be OR of inband input and outband input.
We check the outband input and it always report correctly.
According to HW guys and Intel, that should be bug of repeater.
Disable the link from pcie to repeater, likely to reset the repeater....
Thanks
Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/