i915: occasional hangs on Baytrail with deeper C-states
Daniel Bilik
ddb at neosystem.org
Sat Apr 2 05:13:17 PDT 2016
Hi.
Another follow-up... The story has got famous already:
http://www.phoronix.com/scan.php?page=news_item&px=Intel-Linux-Bay-Trail-Fail
But regardless pessimistic tone of the article, there are also good news,
at least for me. :)
The problem commit that introduced freezes was bisected to this:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8fb55197e64d5988ec57b54e973daeea72c3f2ff
In fact, it was mentioned earlier in bugzilla.kernel.org disscussion, but
I've missed it in those hundreds of comments.
And now good news. Mika Kuoppala has come with tentative patches...
https://bugzilla.kernel.org/show_bug.cgi?id=109051#c202
... that solve stability issues on my system. Diff against recent
DragonFly sources is attached.
I'm running this on my Baytrail system for a week now, with C6 and C7
enabled, and without a single freeze. Previously, it was freezing at least
each second day, sometimes two or three times a day.
If I read it correctly, the problem commit introduced "aggressive"
re-clocking on Valleyview, removing some specific thresholds. And
Mika's patches bring those "sane" thresholds back, in a different way,
with some additional safebelts. It touches just Valleyview-specific code
and should not affect driver behaviour on other chips. AFAICT it can
be safely imported to DragonFly, but Francois Tigeot may comment it
better.
--
Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dragonfly-i915-baytrail.diff
Type: text/x-diff
Size: 1585 bytes
Desc: not available
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20160402/ce64ff1d/attachment-0010.bin>
More information about the Users
mailing list