linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John Stoffel" <john@stoffel.org>
To: Greg KH <greg@kroah.com>
Cc: Anand Kanaginhal <anand_dk@hotmail.com>,
	mjg59@srcf.ucam.org, bhelgaas@google.com,
	Linux PCI mailing <linux-pci@vger.kernel.org>,
	linux kernel mailing <linux-kernel@vger.kernel.org>,
	linux hotplug mailing <linux-hotplug@vger.kernel.org>
Subject: Re: PCIe Hotplugging not working
Date: Sat, 10 Dec 2011 14:36:00 -0500	[thread overview]
Message-ID: <20195.46240.112741.353593@quad.stoffel.home> (raw)
In-Reply-To: <20111209222520.GA24786@kroah.com>

>>>>> "Greg" == Greg KH <greg@kroah.com> writes:

Greg> On Fri, Dec 09, 2011 at 01:17:53PM -0800, Anand Kanaginhal wrote:
>> 
>> 
>> > Date: Fri, 9 Dec 2011 10:07:08 -0800
>> > From: greg@kroah.com
>> > To: anand_dk@hotmail.com
>> > CC: mjg59@srcf.ucam.org; bhelgaas@google.com; linux-pci@vger.kernel.org;
>> linux-kernel@vger.kernel.org; linux-hotplug@vger.kernel.org
>> > Subject: Re: PCIe Hotplugging not working
>> >
>> > On Fri, Dec 09, 2011 at 09:19:39AM -0800, Anand Kanaginhal wrote:
>> > > 1. With the above setup, If I hotplug card c1 and/or c2, will my driver
>> probe
>> > > get invoked.
>> >
>> > Stop right here. Please get your pci hotplug controller driver working
>> > first, for your platform. That seems to be the problem. After that,
>> > the rest of your questions should just resolve themselves.
>> Thank you Greg for your assistance, perhaps it would be little more helpful, if
>> you could tell me the basis on which you drew the conclusion. I am no kernel
>> expert :( 

Greg> As your driver's callbacks aren't being called, that's probably why this
Greg> isn't working.

Greg> Please make sure your pci hotplug driver is working first.  Try turning
Greg> on and off the power to the card slot (in the sysfs directory for the
Greg> slot) and see if that's working.

Greg> You also have failed to say exactly what pci hotplug controller
Greg> you have in your system, what is it?  You have to have one, and
Greg> the driver loaded for it, for any of this to work at all.


And it would make sense to test your hotplug setup with a known
working card that *does* support hotplugging properly already.  Then
you know your setup works and you can then concentrate on getting your
new card working.  

John

      parent reply	other threads:[~2011-12-10 19:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BAY163-W52E309F419E3588206D889FBB30@phx.gbl>
2011-11-29 11:56 ` PCIe Hotplugging not working Anand Kanaginhal
2011-11-29 14:22   ` Greg KH
2011-11-29 17:50     ` Anand Kanaginhal
2011-11-29 22:55       ` Greg KH
2011-11-29 15:17   ` Ludvig Petrossian
2011-11-30 15:40   ` Matthew Garrett
2011-11-30 17:18     ` Anand Kanaginhal
2011-11-30 18:24       ` Matthew Garrett
2011-12-07 17:23         ` Bjorn Helgaas
2011-12-09 12:41           ` Anand Kanaginhal
2011-12-09 12:45             ` Matthew Garrett
2011-12-09 15:03               ` Anand Kanaginhal
2011-12-09 16:42                 ` Greg KH
2011-12-09 17:19               ` Anand Kanaginhal
2011-12-09 18:07                 ` Greg KH
     [not found]                   ` <BAY163-W154A24444BB398F609767CFBB90@phx.gbl>
2011-12-09 22:25                     ` Greg KH
     [not found]                       ` <BAY163-W582FC4C5828B20E9487D3EFBB90@phx.gbl>
2011-12-09 23:24                         ` Anand Kanaginhal
2011-12-09 23:45                           ` Greg KH
2011-12-10 19:36                       ` John Stoffel [this message]

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=20195.46240.112741.353593@quad.stoffel.home \
    --to=john@stoffel.org \
    --cc=anand_dk@hotmail.com \
    --cc=bhelgaas@google.com \
    --cc=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    /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).