Re: [PATCH] rtl8192ce is disabling the irqs for too long

From: Olivier Langlois
Date: Fri Jan 31 2014 - 00:23:36 EST


On Thu, 2014-01-30 at 14:19 -0600, Larry Finger wrote:
> On 01/30/2014 12:22 AM, Olivier Langlois wrote:
> > Signed-off-by: Olivier Langlois <olivier@xxxxxxxxxxxxxx>
> > ---
> > drivers/net/wireless/rtlwifi/ps.c | 2 +-
> > drivers/net/wireless/rtlwifi/rtl8192ce/hw.c | 18 ++++++++++++++++--
> > 2 files changed, 17 insertions(+), 3 deletions(-)
>
> Olivier,
>
> I like the fact that you have proposed a solution that has minimal effect on the
> other PCI drivers under rtlwifi. That certainly decreases the amount of testing
> needed. Of course, all of them may need the same kind of fix.

This has been done on purpose. I knew that you would appreciate. The
problem is probably present with the other cards but since I could not
validate or test the patch with them, I have left them unchanged. If you
were to determine that it apply to all of them then maybe the patch
could be moved to ps.c to wrap hw_init() call.

>
> The changes are certainly minimal; however, I do need to test them before giving
> my Ack.
>
> As the problem(s) fixed by this patch will affect stable kernels, you should add
> a "Cc: Stable <stable@xxxxxxxxxxxxxxx>" patch.
>
> Originally, I was going to have you add a comment to the commit message on why
> you were changing the return value in rtl_ps_enable_nic(), but now I am thinking
> that this should be a separate commit as it fixes a totally different bug. Yes
> it is involved with the callback to hw_init, but the bug is independent.

done. I am about to resend the patch splitted into 2 commits.
>
> Good work on finding this problem.
>
my pleasure. it has been fun and gratifying.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/