linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Yinghai Lu <yinghai.lu@oracle.com>
Cc: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] pciehp: Disable/enable link during slot power off/on
Date: Mon, 5 Dec 2011 11:23:27 -0800	[thread overview]
Message-ID: <20111205112327.24102fc8@jbarnes-desktop> (raw)
In-Reply-To: <4ED95AD0.7090003@oracle.com>

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2011-12-05 19:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02 23:10 [PATCH] pciehp: Disable/enable link during slot power off/on Yinghai Lu
2011-12-05 19:23 ` Jesse Barnes [this message]
2012-01-27 17:26 ` Jesse Barnes
2012-01-27 17:39   ` Yinghai Lu
2012-01-27 18:33     ` Jesse Barnes
2012-01-27 19:08       ` Yinghai Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111205112327.24102fc8@jbarnes-desktop \
    --to=jbarnes@virtuousgeek.org \
    --cc=kaneshige.kenji@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=yinghai.lu@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).