lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <BAY163-W61A8DF92159F5C3E26103FBB90@phx.gbl>
Date:	Fri, 9 Dec 2011 15:24:00 -0800
From:	Anand Kanaginhal <anand_dk@...mail.com>
To:	<greg@...ah.com>
CC:	<mjg59@...f.ucam.org>, <bhelgaas@...gle.com>,
	Linux PCI mailing <linux-pci@...r.kernel.org>,
	linux kernel mailing <linux-kernel@...r.kernel.org>,
	linux hotplug mailing <linux-hotplug@...r.kernel.org>
Subject: RE: PCIe Hotplugging not working


Thanks for the feedback again Greg, MY Comments inline

> Date: Fri, 9 Dec 2011 14:25:20 -0800
> From: greg@...ah.com
> To: anand_dk@...mail.com
> CC: mjg59@...f.ucam.org; bhelgaas@...gle.com; linux-pci@...r.kernel.org; linux-kernel@...r.kernel.org; linux-hotplug@...r.kernel.org
> Subject: Re: PCIe Hotplugging not working
> 
> On Fri, Dec 09, 2011 at 01:17:53PM -0800, Anand Kanaginhal wrote:
> > 
> > 
> > > Date: Fri, 9 Dec 2011 10:07:08 -0800
> > > From: greg@...ah.com
> > > To: anand_dk@...mail.com
> > > CC: mjg59@...f.ucam.org; bhelgaas@...gle.com; linux-pci@...r.kernel.org;
> > linux-kernel@...r.kernel.org; linux-hotplug@...r.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 :( 
> 
> As your driver's callbacks aren't being called, that's probably why this
> isn't working.
> 
Right that makes sense

> Please make sure your pci hotplug driver is working first.  Try turning
> on and off the power to the card slot (in the sysfs directory for the
> slot) and see if that's working.
When I do this, my driver probe and remove gets invoked. 

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

We are using plx 8533 in our system, it hasnt provided controller driver for linux, however the support team insists that any hotplug controller driver which is compliant to PCI SIG, should work fine.My assumption was shpc in linux would work just fine. 

ThanksAnand
> greg k-h
 		 	   		   		 	   		  --
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ