Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Bin Liu <b-liu-l0cyMroinI0@public.gmane.org>
To: "Matwey V. Kornilov" <matwey-TTlVxmypnbovJsYlp49lxw@public.gmane.org>
Cc: Bin Liu <binmlist-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Linux OMAP List
	<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [OOPS] cppi41_dma_channel_program: Unable to handle kernel NULL pointer dereference
Date: Mon, 23 May 2016 08:35:22 -0500	[thread overview]
Message-ID: <20160523133522.GA3942@uda0271908> (raw)
In-Reply-To: <CAJs94EYePeENwsHD--E6cGVP22-nfYcy_yTK-V2Hc1wWYb04vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi,

On Sat, May 21, 2016 at 08:50:32PM +0300, Matwey V. Kornilov wrote:
> 2016-05-21 6:13 GMT+03:00 Bin Liu <binmlist-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
> > Hi,
> >
> > On Fri, May 20, 2016 at 4:20 PM, Matwey V. Kornilov <matwey-TTlVxmypnbovJsYlp49lxw@public.gmane.org> wrote:
> >> 2016-05-21 0:12 GMT+03:00 Bin Liu <b-liu-l0cyMroinI0@public.gmane.org>:
> >>> Hi,
> >>>
> >>> On Sat, May 21, 2016 at 12:05:06AM +0300, Matwey V. Kornilov wrote:
> >>>> By the way, is it ok that function musb_rx_dma_iso_cppi41 uses
> >>>> hw_ep->tx_channel? I would suppose that it should use rx_channel
> >>>> instead.
> >>>
> >>> I just got here, and am wondering the same. But the question is why just
> >>> your case hit the problem. I will try to look at it more next week.
> >>>
> >>> I had an impression the linux-usb@ has a discussion before about
> >>> rx/tx-channel messing up, will have to look it up.
> >>>
> >>
> >> Thank you.
> >> If you need additional info, I can use kgdb with this issue.
> >
> > After reviewed the code, it must be hw_ep->rx_channel instead. It is likely a
> > bug caused by commit 069a3fd (usb: musb: Remove ifdefs for musb_host_rx
> > in musb_host.c part1). Please test with the following patch.
> >
> 
> I've just tested this patch. Indeed, it helps to avoid kernel panic.

Thanks for testing it.

> Now, I can interact with my webcam and watch video-stream in  xawtv.
> It would be great if the patch could become a part of 4.6.x stable tree.

Sure.

Would you mind to add your Reported-by in the patch?

Regards,
-Bin.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-05-23 13:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-20 13:19 [OOPS] cppi41_dma_channel_program: Unable to handle kernel NULL pointer dereference matwey-TTlVxmypnbovJsYlp49lxw
     [not found] ` <1463750386-6259-1-git-send-email-matwey-TTlVxmypnbovJsYlp49lxw@public.gmane.org>
2016-05-20 13:32   ` Matwey V. Kornilov
     [not found]     ` <CAJs94EZjWi0KGn_siyXNGvjO2DTh2aXtYqKzy7Km7mA_bYTeKg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-20 20:10       ` Bin Liu
2016-05-20 20:55         ` Matwey V. Kornilov
     [not found]           ` <CAJs94EZSwJ=sJv6NtR6RNdiugiSQQpam-TFRTn0uZZJ4MLsr5g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-20 20:58             ` Matwey V. Kornilov
     [not found]               ` <CAJs94EY3BfQjkk+0hKR5WfKggvmtgV0yz77awiX8Lt_pLYs3ug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-20 21:05                 ` Matwey V. Kornilov
     [not found]                   ` <CAJs94EZm3aV23x3hGHLpM4dAC+C9rH-ro3JbWU=se_QWv9jRmw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-20 21:12                     ` Bin Liu
2016-05-20 21:20                       ` Matwey V. Kornilov
     [not found]                         ` <CAJs94Eb6tfJHV7YeAA0UATF2A5oNrCDTSqTAdHbacmrm4Qw=8w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-21  3:13                           ` Bin Liu
     [not found]                             ` <CADYTM3bcTWSBf9HXKpsud6i--_04tsKZX1J3p9_6TqL1gp9YnA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-21 17:50                               ` Matwey V. Kornilov
     [not found]                                 ` <CAJs94EYePeENwsHD--E6cGVP22-nfYcy_yTK-V2Hc1wWYb04vw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-21 19:04                                   ` Matwey V. Kornilov
     [not found]                                     ` <CAJs94EaxaQ4U9T48Lz-jox4VkS-ThDQ3DkSB+1SvnFzMXM_+FA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-23 13:36                                       ` Bin Liu
2016-05-23 13:41                                         ` Matwey V. Kornilov
2016-05-28 13:33                                         ` Matwey V. Kornilov
2016-05-23 13:35                                   ` Bin Liu [this message]
2016-05-23 13:38                                     ` Matwey V. Kornilov
     [not found]                                       ` <CAJs94EZkDGhoUmQe8LdAUwoaYJM8eGH=0nyEbUzv6YNsJPX2Qw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-23 15:13                                         ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160523133522.GA3942@uda0271908 \
    --to=b-liu-l0cymroini0@public.gmane.org \
    --cc=binmlist-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=matwey-TTlVxmypnbovJsYlp49lxw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox