On Thu, Mar 05, 2015 at 23:14:41 -0700, Alex Williamson wrote: > On Fri, 2015-03-06 at 05:24 +0000, Hariprasad S wrote: > > Hi Alex, > > > > I am a newbie to PCIE driver. > > How can we achieve PCIE link reset in older kernels? > > > > I do see that in newer kernels we can achieve it by pci_try_reset_slot(). Is there a similar API available for older kernels. > > pci_reset_function() has been around for quite a while, but it has the > limitation that it will only do a bus reset if there are no other reset > mechanisms available and the bus only hosts a single device. Otherwise, > no, there's no API I'm aware of that would be available on older > kernels, which is why I created the bus/slot reset interfaces we have > today on newer kernels. Thanks, > > Alex > Thanks. Will have a look into it. Hariprasad -- 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