public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [media] dib0700: get rid of on-stack dma buffers
@ 2011-04-03 17:23 Florian Mickler
  2011-04-03 17:23 ` [PATCH 1/2] " Florian Mickler
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Florian Mickler @ 2011-04-03 17:23 UTC (permalink / raw)
  To: mchehab; +Cc: oliver, linux-kernel, linux-media, patrick.boettcher

Hi,

since I got no reaction[1] on the vp702x driver, I proceed with the 
dib0700. 

There are multiple drivers in drivers/media/dvb/dvb-usb/ which use
usb_control_msg to perform dma to stack-allocated buffers. This is a bad idea
because of cache-coherency issues and on some platforms the stack is mapped
virtually and also lib/dma-debug.c warn's about it at runtime.

Patches to ec168, ce6230, au6610 and lmedm04 were already tested and reviewed
and submitted for inclusion [2]. Patches to a800, vp7045, friio, dw2102, m920x
and opera1 are still waiting for for review and testing [3].

This patch to dib0700 is a fix for a warning seen and reported by Zdenek
Kabalec in Bug #15977 [4].

Florian Mickler (2):
      [media] dib0700: get rid of on-stack dma buffers
      [media] dib0700: remove unused variable

Regards,
Flo

References:
[1]: http://www.spinics.net/lists/linux-media/msg30448.html
[2]: http://comments.gmane.org/gmane.linux.kernel/1115404
[3]: http://groups.google.com/group/fa.linux.kernel/browse_frm/thread/e169edc121b91181/f1498cd026a59fe2
[4]: https://bugzilla.kernel.org/show_bug.cgi?id=15977


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

end of thread, other threads:[~2011-04-30 12:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-03 17:23 [media] dib0700: get rid of on-stack dma buffers Florian Mickler
2011-04-03 17:23 ` [PATCH 1/2] " Florian Mickler
2011-04-03 17:23 ` [PATCH 2/2] [media] dib0700: remove unused variable Florian Mickler
2011-04-04  7:42 ` [media] dib0700: get rid of on-stack dma buffers Patrick Boettcher
2011-04-04 16:20   ` Florian Mickler
2011-04-04 19:34   ` Florian Mickler
2011-04-29 21:32   ` Mauro Carvalho Chehab
2011-04-30  9:46     ` Florian Mickler
2011-04-30 12:50       ` Mauro Carvalho Chehab

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