public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pwc driver bugs
@ 2012-05-24 15:03 Udo van den Heuvel
  2012-05-24 15:56 ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Udo van den Heuvel @ 2012-05-24 15:03 UTC (permalink / raw)
  To: linux-kernel

Hello,

I discovered some issues in the pwc driver for certain USB webcams.
I opened some bugs[1].
I do think both issues might be related and the crash issue is quite
serious.

Please have a look, I can assist by testing any patches with fixes. (for
~3.3.7)

Kind regards,
Udo


[1]: https://bugzilla.kernel.org/show_bug.cgi?id=43291  		
     https://bugzilla.kernel.org/show_bug.cgi?id=43290

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

* Re: pwc driver bugs
  2012-05-24 15:03 pwc driver bugs Udo van den Heuvel
@ 2012-05-24 15:56 ` Alan Cox
  2012-05-24 16:37   ` Udo van den Heuvel
  2012-05-24 19:10   ` Hans de Goede
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Cox @ 2012-05-24 15:56 UTC (permalink / raw)
  To: Udo van den Heuvel; +Cc: linux-kernel, hdegoede

On Thu, 24 May 2012 17:03:49 +0200
Udo van den Heuvel <udovdh@xs4all.nl> wrote:

> Hello,
> 
> I discovered some issues in the pwc driver for certain USB webcams.
> I opened some bugs[1].
> I do think both issues might be related and the crash issue is quite
> serious.
> 
> Please have a look, I can assist by testing any patches with fixes. (for
> ~3.3.7)

commit ceede9fa8939e40ad0ddb4ad1355f45c6f1d3478

looks rather relevant here.

commit ceede9fa8939e40ad0ddb4ad1355f45c6f1d3478
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Wed May 9 04:43:12 2012 -0300

    [media] pwc: Fix locking
    
    My last locking rework for pwc mistakenly assumed that videbuf2 does
    its own locking, but it does not! This patch fixes the missing
    locking by moving over the the video_device lock, and introducing a
    separate lock for the videobuf2_queue.
    
    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

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

* Re: pwc driver bugs
  2012-05-24 15:56 ` Alan Cox
@ 2012-05-24 16:37   ` Udo van den Heuvel
  2012-05-24 19:10   ` Hans de Goede
  1 sibling, 0 replies; 4+ messages in thread
From: Udo van den Heuvel @ 2012-05-24 16:37 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel, hdegoede

On 2012-05-24 17:56, Alan Cox wrote:
> commit ceede9fa8939e40ad0ddb4ad1355f45c6f1d3478
> 
> looks rather relevant here.

The commit does not apply cleanly to 3.3.7.
What are the dependencies for this patch to apply, so I can try to test
this code?

Kind regards,
Udo


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

* Re: pwc driver bugs
  2012-05-24 15:56 ` Alan Cox
  2012-05-24 16:37   ` Udo van den Heuvel
@ 2012-05-24 19:10   ` Hans de Goede
  1 sibling, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2012-05-24 19:10 UTC (permalink / raw)
  To: Alan Cox; +Cc: Udo van den Heuvel, linux-kernel

Alan,

Thanks for adding me to the CC on this. Udo, I've
responded to your bugs in bugzilla.

Regards,

Hans


On 05/24/2012 05:56 PM, Alan Cox wrote:
> On Thu, 24 May 2012 17:03:49 +0200
> Udo van den Heuvel<udovdh@xs4all.nl>  wrote:
>
>> Hello,
>>
>> I discovered some issues in the pwc driver for certain USB webcams.
>> I opened some bugs[1].
>> I do think both issues might be related and the crash issue is quite
>> serious.
>>
>> Please have a look, I can assist by testing any patches with fixes. (for
>> ~3.3.7)
>
> commit ceede9fa8939e40ad0ddb4ad1355f45c6f1d3478
>
> looks rather relevant here.
>
> commit ceede9fa8939e40ad0ddb4ad1355f45c6f1d3478
> Author: Hans de Goede<hdegoede@redhat.com>
> Date:   Wed May 9 04:43:12 2012 -0300
>
>      [media] pwc: Fix locking
>
>      My last locking rework for pwc mistakenly assumed that videbuf2 does
>      its own locking, but it does not! This patch fixes the missing
>      locking by moving over the the video_device lock, and introducing a
>      separate lock for the videobuf2_queue.
>
>      Signed-off-by: Hans de Goede<hdegoede@redhat.com>
>      Signed-off-by: Mauro Carvalho Chehab<mchehab@redhat.com>

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

end of thread, other threads:[~2012-05-24 19:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-24 15:03 pwc driver bugs Udo van den Heuvel
2012-05-24 15:56 ` Alan Cox
2012-05-24 16:37   ` Udo van den Heuvel
2012-05-24 19:10   ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox