Re: Regression: at24 eeprom writing

2015-10-13 Thread Peter Rosin
On 2015-10-13 14:57, Nicolas Ferre wrote: > Le 13/10/2015 12:38, Peter Rosin a écrit : >> On 2015-10-12 18:13, Cyrille Pitchen wrote: >>> Le 12/10/2015 17:13, Peter Rosin a écrit : On 2015-10-05 17:09, Peter Rosin wrote: > But what trouble does the i2c bus driver see? Admittedly I only >>>

Re: Regression: at24 eeprom writing

2015-10-13 Thread ludovic.desroc...@atmel.com
Hi Peter, On Tue, Oct 13, 2015 at 12:38:39PM +0200, Peter Rosin wrote: > On 2015-10-12 18:13, Cyrille Pitchen wrote: > > Le 12/10/2015 17:13, Peter Rosin a écrit : > >> On 2015-10-05 17:09, Peter Rosin wrote: [...] > Anyway, I find it unnecessarily hard to grasp exactly what you mean > (wasteful

Re: Regression: at24 eeprom writing

2015-10-13 Thread Nicolas Ferre
Le 13/10/2015 12:38, Peter Rosin a écrit : > On 2015-10-12 18:13, Cyrille Pitchen wrote: >> Le 12/10/2015 17:13, Peter Rosin a écrit : >>> On 2015-10-05 17:09, Peter Rosin wrote: But what trouble does the i2c bus driver see? Admittedly I only have a simple logic level bus viewer, and not

Re: Regression: at24 eeprom writing

2015-10-13 Thread Peter Rosin
On 2015-10-12 18:13, Cyrille Pitchen wrote: > Le 12/10/2015 17:13, Peter Rosin a écrit : >> On 2015-10-05 17:09, Peter Rosin wrote: >>> But what trouble does the i2c bus driver see? Admittedly I only >>> have a simple logic level bus viewer, and not a full-blown >>> oscilloscope, so there might be

Re: Regression: at24 eeprom writing

2015-10-12 Thread Cyrille Pitchen
Le 12/10/2015 17:13, Peter Rosin a écrit : > On 2015-10-05 17:09, Peter Rosin wrote: >> But what trouble does the i2c bus driver see? Admittedly I only >> have a simple logic level bus viewer, and not a full-blown >> oscilloscope, so there might be something analogue going on? >> I don't think so t

Re: Regression: at24 eeprom writing

2015-10-12 Thread Peter Rosin
On 2015-10-05 17:09, Peter Rosin wrote: > But what trouble does the i2c bus driver see? Admittedly I only > have a simple logic level bus viewer, and not a full-blown > oscilloscope, so there might be something analogue going on? > I don't think so though, those signals looked fine last time we > l

Re: Regression: at24 eeprom writing

2015-10-06 Thread Peter Rosin
On 2015-10-05 08:16, Christian Gmeiner wrote: > Hi Peter. > > Sorry for the late answer - I am currently on my way to Dublin. Maybe > it helps if you enable > I2C_DEBUG_CORE and I2C_DEBUG_BUS. In theory you should see a little > bit better what > happens on the bus. Good suggestion. I did a new r

Re: Regression: at24 eeprom writing

2015-10-05 Thread Peter Rosin
On 2015-10-05 17:28, Cyrille Pitchen wrote: > Le 05/10/2015 10:45, Peter Rosin a écrit : >> On 2015-10-03 01:05, Peter Rosin wrote: >>> Hi! >>> >>> I recently upgraded from the atmel linux-3.18-at91 kernel to vanilla 4.2 >>> and everything seemed fine. Until I tried to write to the little eeprom >>

Re: Regression: at24 eeprom writing

2015-10-05 Thread Cyrille Pitchen
Le 05/10/2015 10:45, Peter Rosin a écrit : > On 2015-10-03 01:05, Peter Rosin wrote: >> Hi! >> >> I recently upgraded from the atmel linux-3.18-at91 kernel to vanilla 4.2 >> and everything seemed fine. Until I tried to write to the little eeprom >> chip. I then tried the linux-4.1-at91 kernel and t

Re: Regression: at24 eeprom writing

2015-10-05 Thread Peter Rosin
On 2015-10-05 17:00, Ludovic Desroches wrote: > Hi Peter > > On Mon, Oct 05, 2015 at 10:45:29AM +0200, Peter Rosin wrote: >> On 2015-10-03 01:05, Peter Rosin wrote: > > [...] > >> Ok, I found the culprit, and I double and triple checked it this time... >> >> If I move to the very latest on the l

Re: Regression: at24 eeprom writing

2015-10-05 Thread Ludovic Desroches
Hi Peter On Mon, Oct 05, 2015 at 10:45:29AM +0200, Peter Rosin wrote: > On 2015-10-03 01:05, Peter Rosin wrote: [...] > Ok, I found the culprit, and I double and triple checked it this time... > > If I move to the very latest on the linux-3.18-at91 branch, the bug is > there too. Which made it

Re: Re: Regression: at24 eeprom writing

2015-10-05 Thread kbuild test robot
Hi Peter, [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore] config: arm-at91_dt_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/b

Re: Regression: at24 eeprom writing

2015-10-05 Thread Peter Rosin
On 2015-10-03 01:05, Peter Rosin wrote: > Hi! > > I recently upgraded from the atmel linux-3.18-at91 kernel to vanilla 4.2 > and everything seemed fine. Until I tried to write to the little eeprom > chip. I then tried the linux-4.1-at91 kernel and that suffers too. > > The symptoms are that it se

Re: Regression: at24 eeprom writing

2015-10-04 Thread Christian Gmeiner
Hi Peter. Sorry for the late answer - I am currently on my way to Dublin. Maybe it helps if you enable I2C_DEBUG_CORE and I2C_DEBUG_BUS. In theory you should see a little bit better what happens on the bus. Greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner 2015-10-04 21

Re: Regression: at24 eeprom writing

2015-10-04 Thread Peter Rosin
On 2015-10-03 01:05, Peter Rosin wrote: > I looked around and found that if I revert > a839ce663b3183209fdf7b1fc4796bfe2a4679c3 > "eeprom: at24: extend driver to allow writing via i2c_smbus_write_byte_data" > eeprom writing starts working again. > > AFAICT, the i2c-at91 bus driver makes the eepro

Regression: at24 eeprom writing

2015-10-02 Thread Peter Rosin
Hi! I recently upgraded from the atmel linux-3.18-at91 kernel to vanilla 4.2 and everything seemed fine. Until I tried to write to the little eeprom chip. I then tried the linux-4.1-at91 kernel and that suffers too. The symptoms are that it seems like writes get interrupted, and restarted again w