All of lore.kernel.org
 help / color / mirror / Atom feed
* USB host issue on 2.6.35
@ 2013-07-26  0:29 Fabio Estevam
  2013-08-19 12:40 ` Otavio Salvador
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2013-07-26  0:29 UTC (permalink / raw)
  To: meta-freescale; +Cc: Angolini Daiane-B19406, Otavio Salvador

Hi,

Today I have been debugging an issue with the USB Host1 on mx53qsb
with kernel 3.11-rc2 and the good news is that it is working now.

However, when I tried it with the latest 2.6.35 maintain branch I get
the following crash whenever I insert a USB thumb:

usb wakeup is here
irq 14: nobody cared (try booting with the "irqpoll" option)
[<80036b20>] (unwind_backtrace+0x0/0xe0) from [<8041f7c0>]
(__report_bad_irq+0x34/0x8c)
[<8041f7c0>] (__report_bad_irq+0x34/0x8c) from [<80096f78>]
(note_interrupt+0x148/0x1d8)
[<80096f78>] (note_interrupt+0x148/0x1d8) from [<800975d8>]
(handle_level_irq+0xf8/0x184)
[<800975d8>] (handle_level_irq+0xf8/0x184) from [<80032068>]
(asm_do_IRQ+0x68/0x88)
[<80032068>] (asm_do_IRQ+0x68/0x88) from [<8042620c>] (__irq_svc+0x4c/0xcc)
Exception stack(0xdf0b7ec0 to 0xdf0b7f08)
7ec0: 80849d78 00000001 00001f08 00000002 8042bb5c df0aacd0 df0b6000 80866a08
7ee0: df11ba1c 80849d78 df11b880 df0b7f34 00000001 df0b7f08 80423ec4 80423fac
7f00: 00000013 ffffffff
[<8042620c>] (__irq_svc+0x4c/0xcc) from [<80423fac>] (schedule+0x24c/0x3cc)
[<80423fac>] (schedule+0x24c/0x3cc) from [<8042484c>]
(schedule_timeout+0x18/0x1d8)
[<8042484c>] (schedule_timeout+0x18/0x1d8) from [<804243c8>]
(wait_for_common+0xc8/0x1ac)
[<804243c8>] (wait_for_common+0xc8/0x1ac) from [<804244ec>]
(wait_for_completion_interruptible+0x14/0x20)
[<804244ec>] (wait_for_completion_interruptible+0x14/0x20) from
[<8004d5e0>] (wakeup_event_thread+0x3c/0x16c)
[<8004d5e0>] (wakeup_event_thread+0x3c/0x16c) from [<800774d8>]
(kthread+0x78/0x84)
[<800774d8>] (kthread+0x78/0x84) from [<80033294>] (kernel_thread_exit+0x0/0x8)
handlers:
[<8004d4cc>] (usb_wakeup_handler+0x0/0xd8)
[<802c4d3c>] (ehci_fsl_pre_irq+0x0/0x60)
[<802b1014>] (usb_hcd_irq+0x0/0x80)
Disabling IRQ #14

I don't have the time to fix this for 2.6.35, but doing the following
reverts I no longer get the crashes:

commit 3de0c5d3b991c68cc523b46379cb3aa6276d2f3a
Author: Fabio Estevam <fabio.estevam@freescale.com>
Date:   Thu Jul 25 21:22:39 2013 -0300

    Revert "ENGR00238974-2: mx28-usb: Fix kinds of usb wakeup problems"

    This reverts commit 08c82b59a39b41dfb2afe5dfa8249fe9642bf20d.

commit 68ab0caabc9463882debd40a7acbc264adf9f717
Author: Fabio Estevam <fabio.estevam@freescale.com>
Date:   Thu Jul 25 21:22:18 2013 -0300

    Revert "ENGR00238974-3: mx28-usb: Fix the bug of incorrect data
type of wakeup_event"

    This reverts commit cb5eabef73b4f362332f5bd4a11b28b92fd18e47.

commit 40e5e30aed7224f4fe57fe630c2d2d231bad4a66
Author: Fabio Estevam <fabio.estevam@freescale.com>
Date:   Thu Jul 25 21:20:37 2013 -0300

    Revert "ENGR00239205: mx28-usb: disable usb wakeup before module unload"

    This reverts commit a074aa4a9d95b84fa8709a4d3d4aad5ac2ed38a4.

,so I would suggest that someone creates a patch for meta-fsl-arm
reverting the three patches above.

Regards,

Fabio Estevam


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: USB host issue on 2.6.35
  2013-07-26  0:29 USB host issue on 2.6.35 Fabio Estevam
@ 2013-08-19 12:40 ` Otavio Salvador
  2013-08-19 12:45   ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Otavio Salvador @ 2013-08-19 12:40 UTC (permalink / raw)
  To: Fabio Estevam, Mahesh Mahadevan; +Cc: meta-freescale, Angolini Daiane-B19406

Hello Fabio, +Mahesh,

On Thu, Jul 25, 2013 at 9:29 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Today I have been debugging an issue with the USB Host1 on mx53qsb
> with kernel 3.11-rc2 and the good news is that it is working now.
>
> However, when I tried it with the latest 2.6.35 maintain branch I get
> the following crash whenever I insert a USB thumb:
>
> usb wakeup is here
> irq 14: nobody cared (try booting with the "irqpoll" option)
> [<80036b20>] (unwind_backtrace+0x0/0xe0) from [<8041f7c0>]
> (__report_bad_irq+0x34/0x8c)
> [<8041f7c0>] (__report_bad_irq+0x34/0x8c) from [<80096f78>]
> (note_interrupt+0x148/0x1d8)
> [<80096f78>] (note_interrupt+0x148/0x1d8) from [<800975d8>]
> (handle_level_irq+0xf8/0x184)
> [<800975d8>] (handle_level_irq+0xf8/0x184) from [<80032068>]
> (asm_do_IRQ+0x68/0x88)
> [<80032068>] (asm_do_IRQ+0x68/0x88) from [<8042620c>] (__irq_svc+0x4c/0xcc)
> Exception stack(0xdf0b7ec0 to 0xdf0b7f08)
> 7ec0: 80849d78 00000001 00001f08 00000002 8042bb5c df0aacd0 df0b6000 80866a08
> 7ee0: df11ba1c 80849d78 df11b880 df0b7f34 00000001 df0b7f08 80423ec4 80423fac
> 7f00: 00000013 ffffffff
> [<8042620c>] (__irq_svc+0x4c/0xcc) from [<80423fac>] (schedule+0x24c/0x3cc)
> [<80423fac>] (schedule+0x24c/0x3cc) from [<8042484c>]
> (schedule_timeout+0x18/0x1d8)
> [<8042484c>] (schedule_timeout+0x18/0x1d8) from [<804243c8>]
> (wait_for_common+0xc8/0x1ac)
> [<804243c8>] (wait_for_common+0xc8/0x1ac) from [<804244ec>]
> (wait_for_completion_interruptible+0x14/0x20)
> [<804244ec>] (wait_for_completion_interruptible+0x14/0x20) from
> [<8004d5e0>] (wakeup_event_thread+0x3c/0x16c)
> [<8004d5e0>] (wakeup_event_thread+0x3c/0x16c) from [<800774d8>]
> (kthread+0x78/0x84)
> [<800774d8>] (kthread+0x78/0x84) from [<80033294>] (kernel_thread_exit+0x0/0x8)
> handlers:
> [<8004d4cc>] (usb_wakeup_handler+0x0/0xd8)
> [<802c4d3c>] (ehci_fsl_pre_irq+0x0/0x60)
> [<802b1014>] (usb_hcd_irq+0x0/0x80)
> Disabling IRQ #14
>
> I don't have the time to fix this for 2.6.35, but doing the following
> reverts I no longer get the crashes:
>
> commit 3de0c5d3b991c68cc523b46379cb3aa6276d2f3a
> Author: Fabio Estevam <fabio.estevam@freescale.com>
> Date:   Thu Jul 25 21:22:39 2013 -0300
>
>     Revert "ENGR00238974-2: mx28-usb: Fix kinds of usb wakeup problems"
>
>     This reverts commit 08c82b59a39b41dfb2afe5dfa8249fe9642bf20d.
>
> commit 68ab0caabc9463882debd40a7acbc264adf9f717
> Author: Fabio Estevam <fabio.estevam@freescale.com>
> Date:   Thu Jul 25 21:22:18 2013 -0300
>
>     Revert "ENGR00238974-3: mx28-usb: Fix the bug of incorrect data
> type of wakeup_event"
>
>     This reverts commit cb5eabef73b4f362332f5bd4a11b28b92fd18e47.
>
> commit 40e5e30aed7224f4fe57fe630c2d2d231bad4a66
> Author: Fabio Estevam <fabio.estevam@freescale.com>
> Date:   Thu Jul 25 21:20:37 2013 -0300
>
>     Revert "ENGR00239205: mx28-usb: disable usb wakeup before module unload"
>
>     This reverts commit a074aa4a9d95b84fa8709a4d3d4aad5ac2ed38a4.
>
> ,so I would suggest that someone creates a patch for meta-fsl-arm
> reverting the three patches above.

Any news on this patches? Are anyone looking at fixing the regression
in the maintain branch?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: USB host issue on 2.6.35
  2013-08-19 12:40 ` Otavio Salvador
@ 2013-08-19 12:45   ` Fabio Estevam
  2013-08-19 18:24     ` Mahadevan Mahesh-R9AADQ
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2013-08-19 12:45 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Angolini Daiane-B19406

On Mon, Aug 19, 2013 at 9:40 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:

> Any news on this patches? Are anyone looking at fixing the regression
> in the maintain branch?

I am not working on this issue. Maybe Mahesh is?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: USB host issue on 2.6.35
  2013-08-19 12:45   ` Fabio Estevam
@ 2013-08-19 18:24     ` Mahadevan Mahesh-R9AADQ
  2013-09-16 15:17       ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Mahadevan Mahesh-R9AADQ @ 2013-08-19 18:24 UTC (permalink / raw)
  To: Fabio Estevam, Otavio Salvador
  Cc: meta-freescale, Angolini Daiane-B19406, Post Lauren-RAA013

Hi Otavio, Fabio,
Checking with the USB driver owner for his input.

Best regards,
-Mahesh

-----Original Message-----
From: Fabio Estevam [mailto:festevam@gmail.com] 
Sent: Monday, August 19, 2013 7:46 AM
To: Otavio Salvador
Cc: Mahadevan Mahesh-R9AADQ; meta-freescale@yoctoproject.org; Angolini Daiane-B19406; Post Lauren-RAA013
Subject: Re: USB host issue on 2.6.35

On Mon, Aug 19, 2013 at 9:40 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:

> Any news on this patches? Are anyone looking at fixing the regression
> in the maintain branch?

I am not working on this issue. Maybe Mahesh is?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: USB host issue on 2.6.35
  2013-08-19 18:24     ` Mahadevan Mahesh-R9AADQ
@ 2013-09-16 15:17       ` Fabio Estevam
  2013-09-16 17:25         ` Otavio Salvador
  2013-10-01  1:54         ` Fabio Estevam
  0 siblings, 2 replies; 10+ messages in thread
From: Fabio Estevam @ 2013-09-16 15:17 UTC (permalink / raw)
  To: Mahadevan Mahesh-R9AADQ
  Cc: meta-freescale, Angolini Daiane-B19406, Post Lauren-RAA013,
	Otavio Salvador

Mahesh,

On Mon, Aug 19, 2013 at 3:24 PM, Mahadevan Mahesh-R9AADQ
<r9aadq@freescale.com> wrote:
> Hi Otavio, Fabio,
> Checking with the USB driver owner for his input.

Any update on this?

It's been more than a month that I reported this issue and haven't
seen a fix yet.

Should we go ahead and revert the 3 commits I mentioned?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: USB host issue on 2.6.35
  2013-09-16 15:17       ` Fabio Estevam
@ 2013-09-16 17:25         ` Otavio Salvador
  2013-10-01  1:54         ` Fabio Estevam
  1 sibling, 0 replies; 10+ messages in thread
From: Otavio Salvador @ 2013-09-16 17:25 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: meta-freescale, Mahadevan Mahesh-R9AADQ, Angolini Daiane-B19406,
	Post Lauren-RAA013

On Mon, Sep 16, 2013 at 12:17 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Mahesh,
>
> On Mon, Aug 19, 2013 at 3:24 PM, Mahadevan Mahesh-R9AADQ
> <r9aadq@freescale.com> wrote:
>> Hi Otavio, Fabio,
>> Checking with the USB driver owner for his input.
>
> Any update on this?
>
> It's been more than a month that I reported this issue and haven't
> seen a fix yet.
>
> Should we go ahead and revert the 3 commits I mentioned?

It'd be a shame to add 3 reverts as part of a commit but if we don't
get this fixed in 2.6.35.3 maintain branch this will be our workaround
:-(

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: USB host issue on 2.6.35
  2013-09-16 15:17       ` Fabio Estevam
  2013-09-16 17:25         ` Otavio Salvador
@ 2013-10-01  1:54         ` Fabio Estevam
  2013-10-01  2:09           ` Otavio Salvador
  2013-10-01 12:11           ` Mahadevan Mahesh-R9AADQ
  1 sibling, 2 replies; 10+ messages in thread
From: Fabio Estevam @ 2013-10-01  1:54 UTC (permalink / raw)
  To: Mahadevan Mahesh-R9AADQ
  Cc: meta-freescale, Angolini Daiane-B19406, Post Lauren-RAA013,
	Otavio Salvador

Hi Otavio,

On Mon, Sep 16, 2013 at 12:17 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Mahesh,
>
> On Mon, Aug 19, 2013 at 3:24 PM, Mahadevan Mahesh-R9AADQ
> <r9aadq@freescale.com> wrote:
>> Hi Otavio, Fabio,
>> Checking with the USB driver owner for his input.
>
> Any update on this?
>
> It's been more than a month that I reported this issue and haven't
> seen a fix yet.
>
> Should we go ahead and revert the 3 commits I mentioned?

What will be the resolution to this problem?

Regards,

Fabio Estevam


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: USB host issue on 2.6.35
  2013-10-01  1:54         ` Fabio Estevam
@ 2013-10-01  2:09           ` Otavio Salvador
  2013-10-01 12:11           ` Mahadevan Mahesh-R9AADQ
  1 sibling, 0 replies; 10+ messages in thread
From: Otavio Salvador @ 2013-10-01  2:09 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: meta-freescale, Mahadevan Mahesh-R9AADQ, Angolini Daiane-B19406,
	Post Lauren-RAA013

On Mon, Sep 30, 2013 at 10:54 PM, Fabio Estevam <festevam@gmail.com> wrote:
> On Mon, Sep 16, 2013 at 12:17 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> On Mon, Aug 19, 2013 at 3:24 PM, Mahadevan Mahesh-R9AADQ
>> <r9aadq@freescale.com> wrote:
>>> Hi Otavio, Fabio,
>>> Checking with the USB driver owner for his input.
>>
>> Any update on this?
>>
>> It's been more than a month that I reported this issue and haven't
>> seen a fix yet.
>>
>> Should we go ahead and revert the 3 commits I mentioned?
>
> What will be the resolution to this problem?

Fabio, can you send a patch reverting those?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: USB host issue on 2.6.35
  2013-10-01  1:54         ` Fabio Estevam
  2013-10-01  2:09           ` Otavio Salvador
@ 2013-10-01 12:11           ` Mahadevan Mahesh-R9AADQ
  2013-10-01 12:20             ` Otavio Salvador
  1 sibling, 1 reply; 10+ messages in thread
From: Mahadevan Mahesh-R9AADQ @ 2013-10-01 12:11 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: meta-freescale, Angolini Daiane-B19406, Post Lauren-RAA013,
	Otavio Salvador

Per the developer these patches should be applied for MX28 only.

Best regards,
-Mahesh

-----Original Message-----
From: Fabio Estevam [mailto:festevam@gmail.com] 
Sent: Monday, September 30, 2013 8:55 PM
To: Mahadevan Mahesh-R9AADQ
Cc: Otavio Salvador; meta-freescale@yoctoproject.org; Angolini Daiane-B19406; Post Lauren-RAA013
Subject: Re: USB host issue on 2.6.35

Hi Otavio,

On Mon, Sep 16, 2013 at 12:17 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Mahesh,
>
> On Mon, Aug 19, 2013 at 3:24 PM, Mahadevan Mahesh-R9AADQ
> <r9aadq@freescale.com> wrote:
>> Hi Otavio, Fabio,
>> Checking with the USB driver owner for his input.
>
> Any update on this?
>
> It's been more than a month that I reported this issue and haven't
> seen a fix yet.
>
> Should we go ahead and revert the 3 commits I mentioned?

What will be the resolution to this problem?

Regards,

Fabio Estevam


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: USB host issue on 2.6.35
  2013-10-01 12:11           ` Mahadevan Mahesh-R9AADQ
@ 2013-10-01 12:20             ` Otavio Salvador
  0 siblings, 0 replies; 10+ messages in thread
From: Otavio Salvador @ 2013-10-01 12:20 UTC (permalink / raw)
  To: Mahadevan Mahesh-R9AADQ
  Cc: meta-freescale, Angolini Daiane-B19406, Post Lauren-RAA013

On Tue, Oct 1, 2013 at 9:11 AM, Mahadevan Mahesh-R9AADQ
<r9aadq@freescale.com> wrote:
> Per the developer these patches should be applied for MX28 only.

Yes but they applied to MX53 as well. We share same branch for both.
For example in i.MX Community we have:

---
Dear i.MX Developers,

We have created a maintenance GIT branch for both MX28 EVK and MX53
QSB platforms. The branch is called "imx_2.6.35_maintain" and can be
found at this location:
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/.

In the future we will be making bug fix/maintain releases for MX53QSB
and MX28EVK platform from this branch. For instructions on submitting
patches to the branch, please refer to this discussion: Submit i.MX53
& i.MX28 Linux kernel patches.
---

So the goal is for the branch to be used for both.

Can you fix the changes to apply to MX28 only?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-10-01 12:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26  0:29 USB host issue on 2.6.35 Fabio Estevam
2013-08-19 12:40 ` Otavio Salvador
2013-08-19 12:45   ` Fabio Estevam
2013-08-19 18:24     ` Mahadevan Mahesh-R9AADQ
2013-09-16 15:17       ` Fabio Estevam
2013-09-16 17:25         ` Otavio Salvador
2013-10-01  1:54         ` Fabio Estevam
2013-10-01  2:09           ` Otavio Salvador
2013-10-01 12:11           ` Mahadevan Mahesh-R9AADQ
2013-10-01 12:20             ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.