On Friday 03 October 2008 02:54:12 Jesse Barnes wrote: > On Saturday, September 27, 2008 7:38 pm Sheng Yang wrote: > > The FLR mechanism enables software to quiesce and reset Endpoint hardware > > with Function-level granularity. > > > > Current the usage model for VT-d support in KVM. We'd better to do FLR > > before assigning device to the guest. > > > > This can also be used with other purpose. Please refer to PCI Express > > spec chapter 6.6.2. > > > > The patch contain two functions. pcie_reset_function() is the common one > > to be called, contain some action to quiesce device. > > pcie_execute_reset_function() just execute Function Level Reset. > > > > Updated the patch according to Matthew Wilcox's comments, and reduce the > > retry time to 1s according to Yu's comment. > > > > Signed-off-by: Sheng Yang <sheng@xxxxxxxxxxxxxxx> > > CC: Matthew Wilcox <matthew@xxxxxx> > > Matthew? How does this latest version look? > Matthew? P.S. I would like to post a patch to emulate FLR using D0/D3 later, which was proved work well on Xen. Thanks! -- regards Yang, Sheng -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html