lkml.org 
[lkml]   [2011]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pciehp: Disable/enable link during slot power off/on
On Fri, 02 Dec 2011 15:10:08 -0800
Yinghai Lu <yinghai.lu@oracle.com> wrote:

>
> One system have repeater in system board to support gen2 hotplug.
>
> Found when EM is removed from some slots, /var/log/message will be full of
> "card present/not present" warning.
>
> It turns out root complex still try to train the link to repeater because
> repeater is not reset.
>
> This patch will disable link to make repeater could reset properly.
> Also could kill AER during EM removal.
>
> Recently when testing hotplug on one system under development, found if boot
> the system without EM, and later hotplug does not work with Linux.
> But other OS is ok.
> The root cause is that bios left link disabled when slot is empty,
> and other OS is playing link disable bit in link ctrl during power on/off.
>
> So We could do the same thing to disable/enable link during power off/on.
>
> Signed-off-by: Yinghai Lu <yinghai.lu@oracle.com>
>

Kenji-san, any comment or chance to test?

Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-12-05 20:23    [W:0.198 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site