Re: [RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-10 Thread Greg KH
On Wed, Aug 10, 2005 at 11:36:58AM +1000, Paul Mackerras wrote: > Greg, > > Any comments on this patch? Would you be amenable to it going in post > 2.6.13? Looks fine to me. I'll hold off on applying as you said you were going to try to get a version without recursion. thanks, greg k-h - To

Re: [RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-10 Thread Paul Mackerras
Arjan van de Ven writes: > is there a way to avoid the recursion somehow? Recursion is "not fun" > stack usage wise, esp if you have really deep hierarchies Yes, since we have pointers up the tree as well as down, it should in fact be easy. I'll hack something up. Paul. - To unsubscribe

Re: [RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-10 Thread Kyle Moffett
On Aug 10, 2005, at 02:10:49, Arjan van de Ven wrote: On Wed, 2005-08-10 at 11:36 +1000, Paul Mackerras wrote: Greg, Any comments on this patch? Would you be amenable to it going in post 2.6.13? The PCI error recovery infrastructure needs to be able to contact all the drivers affected by

Re: [RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-10 Thread Arjan van de Ven
On Wed, 2005-08-10 at 11:36 +1000, Paul Mackerras wrote: > Greg, > > Any comments on this patch? Would you be amenable to it going in post > 2.6.13? > > The PCI error recovery infrastructure needs to be able to contact all > the drivers affected by a PCI error event, which may mean traversing >

Re: [RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-10 Thread Arjan van de Ven
On Wed, 2005-08-10 at 11:36 +1000, Paul Mackerras wrote: Greg, Any comments on this patch? Would you be amenable to it going in post 2.6.13? The PCI error recovery infrastructure needs to be able to contact all the drivers affected by a PCI error event, which may mean traversing all the

Re: [RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-10 Thread Kyle Moffett
On Aug 10, 2005, at 02:10:49, Arjan van de Ven wrote: On Wed, 2005-08-10 at 11:36 +1000, Paul Mackerras wrote: Greg, Any comments on this patch? Would you be amenable to it going in post 2.6.13? The PCI error recovery infrastructure needs to be able to contact all the drivers affected by

Re: [RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-10 Thread Paul Mackerras
Arjan van de Ven writes: is there a way to avoid the recursion somehow? Recursion is not fun stack usage wise, esp if you have really deep hierarchies Yes, since we have pointers up the tree as well as down, it should in fact be easy. I'll hack something up. Paul. - To unsubscribe from

Re: [RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-10 Thread Greg KH
On Wed, Aug 10, 2005 at 11:36:58AM +1000, Paul Mackerras wrote: Greg, Any comments on this patch? Would you be amenable to it going in post 2.6.13? Looks fine to me. I'll hold off on applying as you said you were going to try to get a version without recursion. thanks, greg k-h - To

[RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-09 Thread Paul Mackerras
Greg, Any comments on this patch? Would you be amenable to it going in post 2.6.13? The PCI error recovery infrastructure needs to be able to contact all the drivers affected by a PCI error event, which may mean traversing all the devices under a given PCI-PCI bridge. This patch adds a

[RFC/PATCH] Add pci_walk_bus function to PCI core

2005-08-09 Thread Paul Mackerras
Greg, Any comments on this patch? Would you be amenable to it going in post 2.6.13? The PCI error recovery infrastructure needs to be able to contact all the drivers affected by a PCI error event, which may mean traversing all the devices under a given PCI-PCI bridge. This patch adds a