On 13.01.2015 19:55, Raimonds Cicans wrote:
On 13.01.2015 16:01, Hans Verkuil wrote:
Hi Raimonds, Jurgen,
Can you both test this patch? It should (I hope) solve the problems you
both had with the cx23885 driver.
This patch fixes a race condition in the vb2_thread that occurs when
the thread is stopped. The crucial fix is calling kthread_stop much
earlier in vb2_thread_stop(). But I also made the vb2_thread more
robust.
With this patch I am unable to get any error except first
(AMD-Vi: Event logged [IO_PAGE_FAULT...).
But I am not convinced, because before patch I get
first error much often and earlier than almost any other error,
so it may be just "bad luck" and other errors do not
appear because first error appear earlier.
I noticed that if I "initialize" card with commands:
/usr/bin/dvb-fe-tool -a 4 -d DVBS
/usr/bin/dvb-fe-tool -a 5 -d DVBS
and then run load which starts on first front-end and
only after some time on second, then I receive first
error much later or do not receive at all (for example
I was able to run VDR whole night without problems)
Raimonds Cicans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html