Re: [RFCv2 08/10] xhci: Add a global command queue

2014-02-05 Thread Sarah Sharp
On Tue, Feb 04, 2014 at 10:57:09PM -0800, Dan Williams wrote: > On Thu, Jan 30, 2014 at 6:10 AM, Mathias Nyman > wrote: > > @@ -1722,6 +1723,12 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci) > > kfree(cur_cd); > > } > > > > + list_for_each_entry_safe(cur_cmd, next_c

Re: [RFCv2 08/10] xhci: Add a global command queue

2014-02-04 Thread Dan Williams
On Thu, Jan 30, 2014 at 6:10 AM, Mathias Nyman wrote: > Create a list to store command structures, add a strucure to it every time > a command is submitted, and remove it from the list once we get a > command completion event matching the command. > > Signed-off-by: Mathias Nyman > --- > drivers

[RFCv2 08/10] xhci: Add a global command queue

2014-01-30 Thread Mathias Nyman
Create a list to store command structures, add a strucure to it every time a command is submitted, and remove it from the list once we get a command completion event matching the command. Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-mem.c | 8 drivers/usb/host/xhci-ring.c |