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-prev] [day] [month] [year] [list]
Date:	Fri, 9 Dec 2011 15:45:22 -0800
From:	Greg KH <greg@...ah.com>
To:	Anand Kanaginhal <anand_dk@...mail.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

On Fri, Dec 09, 2011 at 03:24:00PM -0800, Anand Kanaginhal wrote:
> > 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. 

Then part of the pci hotplug controller driver is working, good.

> > 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,

What exactly is that?

> 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. 

The PCI Hotplug SIG said that ACPI would be the way forward for "PCI"
hotplug capabilities.

For PCI Express, the pciehp driver should work for you, as that follows
the spec for PCI Express devices.

So it depends on your hardware, what pci hotplug driver do you have
loaded, and what does the kernel log messages say when you load it, and
then what does it say when you remove your device?

Remember, PCI devices are not supposed to be hot-removed, you have to
tell the OS ahead of time it is going to go away.  PCI Express is a bit
different, depending on the type of device (ExpressCard is allowed to be
removed without notifying the OS ahead of time, some other PCI Express
devices are not, see the spec for details.)

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