On 11/11/2016 12:51 PM, Steven J. Hill wrote:
On 11/11/2016 02:57 AM, Jan Glauber wrote:
we can reproduce the problem on our side, but I don't have direct access
to a MIPS system so I'm still just guessing what happens. If you want
you can try the attached patches.
I'm trying to get rid of the polling around the interrupt altogether.
It works fine on Thunderx, sometimes I run into an interrupt timeout
after a lost-arbitration but recovery/retry is able to clean that up.
Please also revert 70121f7 as before. The last patch adds some debugging
output to see if we run into timeouts or recovery.
Using your three patches without reverting 70121f7 fails on both 71xx
and 78xx boards. Paul's "[PATCH 1/2] i2c: octeon: Fix register access"
eliminates the i2c probe hang and both boards boot properly. Tested
on top of Linus' v4.9-rc4 tag.
We need a definitive set of patches to apply. If Paul's patches are not
sufficient, work with Jan to create and test a set (perhaps including
reversions) that will make it work on both OCTEON and Thunder, noting
any dependencies on Paul's patches. Then get that posted ASAP so that
I2C can work again
David.
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html