Problem while inserting pciehp (PCI Express Hot-plug) driver
n the latest update of the Intel's E7520 MCH,the very NOTFIX entry caught my eye:
//////////////////////
PCI Express Hot-Plug MSI interrupt issue ////////////////////
Problem:
During a link down state, the MCH will not send MSI interrupts to the front side bus. In general
MSI messages need not be delivered when the link is down, but in the event that MSI interrupt routing is used on Hot-Plug events, the processor will wait indefinitely for this interrupt. Waiting for command complete interrupts is a normal part of the steps in the orderly removal process, and link down will occur at the point that power is removed from the slot. Subsequent accesses to the slot control register to update indicators and power control will not generate the expected MSI interrupts from the MCH until slot power is restored, and the link is back up.
Implication:
Hot-Plug software written to wait for command complete interrupts will hang in MSI interrupt mode.
Workaround:
Run in either of the other two interrupt modes (the "legacy" method using the MCHGPE# to signal
hot-plug interrupts to the ICH or "native" interrupt mode using PCI interrupts (INTA#)).
Alternatively in MSI mode, software may poll for command complete rather than wait for MSI, or implement the command complete timeout to continue to the next slot control update rather than repeat the current slot control update
I wonder if i can workaround the MSI using the polling way on the server geared by E7520 and the firmware with no OSC implemented
Signature · 8 lines
we who r about to die,salute u! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
Quoted 3 lines · kylin
I wonder if i can workaround the MSI using the polling way on the server geared by E7520 and the firmware with no OSC implemented
Per the PCI firmware spec (I'm looking at draft 0.9, version 3.0), the OS must explicitly get control of native pcie hotplug from firmware using _OSC before trying to use it. Firmware may be deliberately not creating an _OSC because it is controlling the hotplug hardware, or may be aware of other reasons (e.g. errata) why OS native pcie hotplug should not be used on this platform. So no, I don't think we can load and use pciehp if there's no _OSC implemented in firmware.
Rajesh
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click