On 04/18/2018 07:49 AM, Olli Salonen wrote:
Thank you for your response Peter!
Indeed, it seems strange. dvbsky.c driver seems to use mutex_lock in
very much the same way as many other drivers. I've now confirmed that
I can get a 4.10 kernel with working DVBSky S960 by reverting the
following 4 patches:
549bdd3 Revert "locking/mutex: Add lock handoff to avoid starvation"
3210f31 Revert "locking/mutex: Restructure wait loop"
418a170 Revert "locking/mutex: Simplify some ww_mutex code in
__mutex_lock_common()"
0b1fb8f Revert "locking/mutex: Enable optimistic spinning of woken waiter"
c470abd Linux 4.10
These kind of issues tend to be timing issues very often. Just add some
sleeps to i2c adapter algo / usb control messages and test.
regards
Antti
--
http://palosaari.fi/