From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sy, Dely L" Date: Tue, 08 Mar 2005 20:44:58 +0000 Subject: RE: pci-e hotplug on Intel SE7520HPAF2 board Message-Id: <468F3FDA28AA87429AD807992E22D07E047DDCEC@orsmsx408> List-Id: References: <1110243507.30761.8.camel@duffman> In-Reply-To: <1110243507.30761.8.camel@duffman> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Monday, March 07, 2005 4:58 PM, Tom Duffy wrote: > I recently got the new hotplug board from Intel with the 7520 > (lindehurst) chipset. > Hot removal seems to work OK. Before I pull the card, I see this on=20 > my lspci list: > HOWEVER, I am not getting anything on hot insert. When using acpiphp driver for hot-plug, one has to use attention button to initiate power-up of the slot for there is no defined ACPI method that=20 the acpiphp driver can call to power-up slot. The driver call _PS0 when the user uses CLI (by echo 1 > /sys/pci/bus/slots/X). However, this=20 method is not defined to do the powering-up sequence for PCI hot-plug. Maybe a standard method should be defined for such purpose so one can use CLI to power-up slot. > > pciehp: acpi_pciehprm:\_SB_.PCI0.EPC0 OSHP fails=3D0x5 > > pciehp: acpi_pciehprm:\_SB_.PCI0.EPC0 OSHP fails=3D0x5 > >=20 > > Not sure what those messages are telling me... > >=20 > It's telling you the firmware hasn't defined the ACPI OSHP methods > for those hotpluggable slots. OSHP is used to tell firmware that > the OS supports native pcie/shpc hotplug, so it shouldn't try to > emulate acpi hotplug on the slot. Lack of this method is harmless > if the firmware never supported acpi hotplug on this slot anyway. As Rajesh mentioned, the OSHP method is called to gain control of native hot-plug if the OS is ACPI enabled. 0x5 means that OSHP was not=20 implemented for those devices. The driver traverses the host-bridge and=20 p2p bridges and executes OSHP when it encountered hot-pluggable slots. =20 Don't know why this BIOS didn't implemented OSHP on hot-pluggable slots. Can you check cat /proc/interrupts to see if interrupts occurred when you do hot-plug using pciehp? Thanks, Dely ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=CCk _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel