Re: Re: [PATCH v5]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-08-24 Thread AMAN DEEP
latest linux-next tree and share with you using git-send-email. Thanks & Regards, Aman Deep --- Original Message --- Sender : Greg KH Date : Aug 18, 2015 23:04 (GMT+06:00) Title : Re: [PATCH v5]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition betwe

[PATCH v5]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-08-18 Thread AMAN DEEP
ssary. This properly handle the updated ohci->ed_rm_list in usb_kill_urb(). Fixes:977dcfdc6031("USB:OHCI:don't lose track of EDs when a controller dies") Acked-by: Alan Stern Signed-off-by: Aman Deep CC: --- drivers/usb/host/ohci-q.c | 17 ++

Re: Re: Re: [PATCH v4]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-08-18 Thread AMAN DEEP
Hi Greg >> >> > >> >What tree are you making it against? >> > >> >> I made it for 4.2-rc6. > >I need it made against linux-next please. Thanks for information. I will make patch against latest linux-next tree (18 Aug). Thanks & Rega

Re: Re: [PATCH v4]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-08-16 Thread AMAN DEEP
> >This still does not apply properly :( Sorry for inconveince. > >What tree are you making it against? > I made it for 4.2-rc6. Thanks & Regards, Aman Deep --- Original Message --- Sender : Greg KH Date : Aug 15, 2015 05:51 (GMT+06:00) Title : Re: [PATCH v4]USB:

[PATCH v4]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-08-10 Thread AMAN DEEP
ssary. This properly handle the updated ohci->ed_rm_list in usb_kill_urb(). Fixes:977dcfdc6031("USB:OHCI:don't lose track of EDs when a controller dies") Acked-by: Alan Stern Signed-off-by: Aman Deep CC: --- drivers/usb/host/ohci-q.c | 17 ++

Re: Re: [PATCH v3]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-08-06 Thread AMAN DEEP
week ago; the topmost commit was >1209544d8a2a. > >Aman, if this matches what you've got then you can resubmit it to Greg. > Actually i am out of station till 9th August for some urgent work. I will be able to check the patch on 10th August. i will re-submit the patch on 10t

[PATCH v3]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-07-23 Thread AMAN DEEP
ssary. This properly handle the updated ohci->ed_rm_list in usb_kill_urb(). Fixes:977dcfdc6031("USB:OHCI:don't lose track of EDs when a controller dies") Acked-by: Alan Stern Signed-off-by: Aman Deep CC: --- drivers/usb/host/ohci-q.c | 17 ++

Re: Re: [PATCH v3]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-07-23 Thread AMAN DEEP
ase64 patches, >that made it really hard for me to try to figure out what was wrong with >it... > I will opt out a new email client. It will take some time because of some issues at my end. Please accept the new patch with my old email client format. Thanks & Regards, Am

[PATCH v3]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-07-11 Thread AMAN DEEP
ssary. This properly handle the updated ohci->ed_rm_list in usb_kill_urb(). Fixes: 977dcfdc6031 ("USB: OHCI: don't lose track of EDs when a controller dies") Acked-by: Alan Stern Signed-off-by: Aman Deep CC: --- drivers/usb/host/ohci-q.c | 17 ++--- 1 file changed, 1

[PATCHv.2] USB:OHCI: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-07-09 Thread AMAN DEEP
sary. This properly handles the updated ohci->ed_rm_list in usb_kill_urb(). Signed-off-by: Aman Deep --- drivers/usb/host/ohci-q.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/usb/host/ohci-q.c b/drivers/usb/host/ohci-q.c index f7d561e..496658b 10064

Re: Re: [USB][OHCI]BugFix:Insert new ed at end of ohci->ed_rm_list to accomdate race condition

2015-07-07 Thread AMAN DEEP
t the end, we can add ed back to the list >if necessary. > >How does the patch below look to you? Does it fix the problem? yes, this change is also doing the same which i wanted to do. I think it is better way of implementing the required change. Should i submit the changed patch

[USB][OHCI]BugFix:Insert new ed at end of ohci->ed_rm_list to accomdate race condition

2015-07-07 Thread AMAN DEEP
atch adds new ed in ed_rm_list at the end and it solves the usb_kill_urb hang issue for ohci controller. Signed-off-by: Aman Deep --- drivers/usb/host/ohci-q.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ohci-q.c b/drivers/usb/ho

[USB][OHCI]BugFix:Insert new ed at end of ohci->ed_rm_list to accomdate race condition

2015-07-07 Thread AMAN DEEP
adds new ed in ed_rm_list at the end and it solves the usb_kill_urb hang issue for ohci controller. Signed-off-by: Aman Deep --- drivers/usb/host/ohci-q.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ohci-q.c b/drivers/usb/host/ohc

[PATCH] USB XHCI: Bugfix for NULL pointer deference in xhci_endpoint_init() function

2015-06-30 Thread AMAN DEEP
virt_dev->eps[ep_index].new_ring = virt_dev->ring_cache[virt_dev->num_rings_cached]; virt_dev->ring_cache[virt_dev->num_rings_cached] = NULL; Signed-off-by: Aman Deep --- drivers/usb/host/xhci-mem.c |2 +- 1 file changed, 1 insertion(+), 1 deletio

[EDT][PATCH] USB XHCI: Bugfix for NULL pointer deference in xhci_endpoint_init() function

2015-06-30 Thread AMAN DEEP
ached--; virt_dev->eps[ep_index].new_ring = virt_dev->ring_cache[virt_dev->num_rings_cached]; virt_dev->ring_cache[virt_dev->num_rings_cached] = NULL; Signed-off-by: Aman Deep --- drivers/usb/host/xhci-mem.c |2 +- 1 f