Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-24 Thread Felipe Balbi
Hi, On Fri, Nov 21, 2014 at 01:28:43AM +0400, Alexander Kochetkov wrote: > In a multimaster environment, after IP software reset, BB-bit value doesn't > correspond to the current bus state. It may happen what BB-bit will be 0, > while the bus is busy due to another I2C master activity. > > Any

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-24 Thread Felipe Balbi
On Sun, Nov 23, 2014 at 04:18:40PM +0300, Alexander Kochetkov wrote: > > 23 нояб. 2014 г., в 7:43, Felipe Balbi написал(а): > > > maybe there was a typo? I tested on v3.18-rc3 :-) > > I do my tests on kernel from angstrom with almost all i2c-omap patches > backported from linux/master. > Then

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-24 Thread Felipe Balbi
On Sun, Nov 23, 2014 at 04:18:40PM +0300, Alexander Kochetkov wrote: 23 нояб. 2014 г., в 7:43, Felipe Balbi ba...@ti.com написал(а): maybe there was a typo? I tested on v3.18-rc3 :-) I do my tests on kernel from angstrom with almost all i2c-omap patches backported from linux/master.

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-24 Thread Felipe Balbi
Hi, On Fri, Nov 21, 2014 at 01:28:43AM +0400, Alexander Kochetkov wrote: In a multimaster environment, after IP software reset, BB-bit value doesn't correspond to the current bus state. It may happen what BB-bit will be 0, while the bus is busy due to another I2C master activity. Any

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-23 Thread Alexander Kochetkov
23 нояб. 2014 г., в 7:43, Felipe Balbi написал(а): > maybe there was a typo? I tested on v3.18-rc3 :-) I do my tests on kernel from angstrom with almost all i2c-omap patches backported from linux/master. Then I rebased them to wrong (old) kernel version and posted to the list. Angstrom

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-23 Thread Alexander Kochetkov
23 нояб. 2014 г., в 7:43, Felipe Balbi ba...@ti.com написал(а): maybe there was a typo? I tested on v3.18-rc3 :-) I do my tests on kernel from angstrom with almost all i2c-omap patches backported from linux/master. Then I rebased them to wrong (old) kernel version and posted to the list.

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-22 Thread Felipe Balbi
On Sat, Nov 22, 2014 at 07:02:22PM +0100, Wolfram Sang wrote: > On Sat, Nov 22, 2014 at 05:06:10PM +0300, Alexander Kochetkov wrote: > > > > 22 нояб. 2014 г., в 16:23, Wolfram Sang написал(а): > > > > > Huh, I can't apply this one? Which kernel version is this based on? > > > > v.3.13-rc8 > >

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-22 Thread Wolfram Sang
On Sat, Nov 22, 2014 at 05:06:10PM +0300, Alexander Kochetkov wrote: > > 22 нояб. 2014 г., в 16:23, Wolfram Sang написал(а): > > > Huh, I can't apply this one? Which kernel version is this based on? > > v.3.13-rc8 Wow, that's old. Can you please rebase the series on top of 3.18-rc4? Or my

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-22 Thread Alexander Kochetkov
22 нояб. 2014 г., в 16:23, Wolfram Sang написал(а): > Huh, I can't apply this one? Which kernel version is this based on? v.3.13-rc8 It depends on PATCH 1/4 alexander@ubuntu:git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable$ git log --pretty=oneline --abbrev-commit -6 204c058 i2c:

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-22 Thread Wolfram Sang
On Fri, Nov 21, 2014 at 10:08:08AM -0600, Felipe Balbi wrote: > On Fri, Nov 21, 2014 at 01:28:43AM +0400, Alexander Kochetkov wrote: > > In a multimaster environment, after IP software reset, BB-bit value doesn't > > correspond to the current bus state. It may happen what BB-bit will be 0, > >

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-22 Thread Wolfram Sang
On Fri, Nov 21, 2014 at 10:08:08AM -0600, Felipe Balbi wrote: On Fri, Nov 21, 2014 at 01:28:43AM +0400, Alexander Kochetkov wrote: In a multimaster environment, after IP software reset, BB-bit value doesn't correspond to the current bus state. It may happen what BB-bit will be 0, while the

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-22 Thread Alexander Kochetkov
22 нояб. 2014 г., в 16:23, Wolfram Sang w...@the-dreams.de написал(а): Huh, I can't apply this one? Which kernel version is this based on? v.3.13-rc8 It depends on PATCH 1/4 alexander@ubuntu:git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable$ git log --pretty=oneline --abbrev-commit

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-22 Thread Wolfram Sang
On Sat, Nov 22, 2014 at 05:06:10PM +0300, Alexander Kochetkov wrote: 22 нояб. 2014 г., в 16:23, Wolfram Sang w...@the-dreams.de написал(а): Huh, I can't apply this one? Which kernel version is this based on? v.3.13-rc8 Wow, that's old. Can you please rebase the series on top of

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-22 Thread Felipe Balbi
On Sat, Nov 22, 2014 at 07:02:22PM +0100, Wolfram Sang wrote: On Sat, Nov 22, 2014 at 05:06:10PM +0300, Alexander Kochetkov wrote: 22 нояб. 2014 г., в 16:23, Wolfram Sang w...@the-dreams.de написал(а): Huh, I can't apply this one? Which kernel version is this based on? v.3.13-rc8

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-21 Thread Felipe Balbi
On Fri, Nov 21, 2014 at 01:28:43AM +0400, Alexander Kochetkov wrote: > In a multimaster environment, after IP software reset, BB-bit value doesn't > correspond to the current bus state. It may happen what BB-bit will be 0, > while the bus is busy due to another I2C master activity. > > Any

Re: [PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-21 Thread Felipe Balbi
On Fri, Nov 21, 2014 at 01:28:43AM +0400, Alexander Kochetkov wrote: In a multimaster environment, after IP software reset, BB-bit value doesn't correspond to the current bus state. It may happen what BB-bit will be 0, while the bus is busy due to another I2C master activity. Any transfer

[PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-20 Thread Alexander Kochetkov
In a multimaster environment, after IP software reset, BB-bit value doesn't correspond to the current bus state. It may happen what BB-bit will be 0, while the bus is busy due to another I2C master activity. Any transfer started when BB=0 and bus is busy wouldn't be completed by IP and results in

[PATCH 2/4] i2c: omap: implement workaround for handling invalid BB-bit values

2014-11-20 Thread Alexander Kochetkov
In a multimaster environment, after IP software reset, BB-bit value doesn't correspond to the current bus state. It may happen what BB-bit will be 0, while the bus is busy due to another I2C master activity. Any transfer started when BB=0 and bus is busy wouldn't be completed by IP and results in