Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1494100 > unrolled thread

Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with workqueue for host interface"

Started byGreg KH <gregkh@linuxfoundation.org>
First post2016-09-30 15:30 +0200
Last post2016-10-06 12:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with  workqueue for host interface" Greg KH <gregkh@linuxfoundation.org> - 2016-09-30 15:30 +0200
    Re: [PATCH 2/2] Revert  "staging: wilc1000: Replace kthread with workqueue for host interface" Aditya Shankar <aditya.shankar@microchip.com> - 2016-10-06 12:00 +0200
      Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with  workqueue for host interface" Greg KH <gregkh@linuxfoundation.org> - 2016-10-06 12:40 +0200

#1494100 — Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with workqueue for host interface"

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-09-30 15:30 +0200
SubjectRe: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with workqueue for host interface"
Message-ID<sn62Z-2jW-13@gated-at.bofh.it>
On Fri, Sep 30, 2016 at 03:43:18PM +0530, Aditya Shankar wrote:
> This reverts commit 2518ac59eb27 ("staging: wilc1000: Replace kthread
> with workqueue for host interface")
> 
> This commit breaks wilc1000 driver init. A crash was seen
> everytime the wlan interface was brought up and wilc device
> open was attempted. This change is being reverted until we
> figure out the problem in this change. The driver is
> usable now with this change reverted.
> 
> Signed-off-by: Aditya Shankar <Aditya.Shankar@microchip.com>
> 
> Conflicts:
> 	drivers/staging/wilc1000/host_interface.c

What is this line doing here?

And shouldn't we add a cc: stable tag as well?  Or at the least, put a
"fixes:" tag to let people know exactly what commit it is fixing (the
id that it is reverting.)

thanks,

greg k-h

[toc] | [next] | [standalone]


#1496544 — Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with workqueue for host interface"

FromAditya Shankar <aditya.shankar@microchip.com>
Date2016-10-06 12:00 +0200
SubjectRe: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with workqueue for host interface"
Message-ID<spdD4-6OZ-11@gated-at.bofh.it>
In reply to#1494100
On Fri, 30 Sep 2016 15:22:15 +0200
Greg KH <gregkh@linuxfoundation.org> wrote:

> On Fri, Sep 30, 2016 at 03:43:18PM +0530, Aditya Shankar wrote:
> > This reverts commit 2518ac59eb27 ("staging: wilc1000: Replace kthread
> > with workqueue for host interface")
> > 
> > This commit breaks wilc1000 driver init. A crash was seen
> > everytime the wlan interface was brought up and wilc device
> > open was attempted. This change is being reverted until we
> > figure out the problem in this change. The driver is
> > usable now with this change reverted.
> > 
> > Signed-off-by: Aditya Shankar <Aditya.Shankar@microchip.com>
> > 
> > Conflicts:
> > 	drivers/staging/wilc1000/host_interface.c
> 
> What is this line doing here?
> 
> And shouldn't we add a cc: stable tag as well?  Or at the least, put a
> "fixes:" tag to let people know exactly what commit it is fixing (the
> id that it is reverting.)
> 
> thanks,
> 
> greg k-h

Apologies for this bad commit message.

I have an update on this wilc1000 crash issue. I've figured out
the cause for the crash and fixed it. Therefore,
I request you to ignore the patch I sent out to
revert the change causing the regression. The cause was a misplaced
call to destroy workqueue soon after creating it.
With this removed, the issue is not seen.

I will send out a separate patch to fix the issue.

Thanks,
Aditya

[toc] | [prev] | [next] | [standalone]


#1496580

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-10-06 12:40 +0200
Message-ID<spefL-7nn-5@gated-at.bofh.it>
In reply to#1496544
On Thu, Oct 06, 2016 at 03:26:59PM +0530, Aditya Shankar wrote:
> On Fri, 30 Sep 2016 15:22:15 +0200
> Greg KH <gregkh@linuxfoundation.org> wrote:
> 
> > On Fri, Sep 30, 2016 at 03:43:18PM +0530, Aditya Shankar wrote:
> > > This reverts commit 2518ac59eb27 ("staging: wilc1000: Replace kthread
> > > with workqueue for host interface")
> > > 
> > > This commit breaks wilc1000 driver init. A crash was seen
> > > everytime the wlan interface was brought up and wilc device
> > > open was attempted. This change is being reverted until we
> > > figure out the problem in this change. The driver is
> > > usable now with this change reverted.
> > > 
> > > Signed-off-by: Aditya Shankar <Aditya.Shankar@microchip.com>
> > > 
> > > Conflicts:
> > > 	drivers/staging/wilc1000/host_interface.c
> > 
> > What is this line doing here?
> > 
> > And shouldn't we add a cc: stable tag as well?  Or at the least, put a
> > "fixes:" tag to let people know exactly what commit it is fixing (the
> > id that it is reverting.)
> > 
> > thanks,
> > 
> > greg k-h
> 
> Apologies for this bad commit message.
> 
> I have an update on this wilc1000 crash issue. I've figured out
> the cause for the crash and fixed it. Therefore,
> I request you to ignore the patch I sent out to
> revert the change causing the regression. The cause was a misplaced
> call to destroy workqueue soon after creating it.
> With this removed, the issue is not seen.
> 
> I will send out a separate patch to fix the issue.

Wonderful, thanks for doing that, I'll drop these and use your fix when
you send it.

greg k-h

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web