Re: [PATCH v2] i2c: cpm: Fix i2c_ram structure

2020-09-27 Thread Wolfram Sang
On Wed, Sep 23, 2020 at 04:08:40PM +0200, nico.vi...@gmail.com wrote: > From: Nicolas VINCENT > > the i2c_ram structure is missing the sdmatmp field mentionned in > datasheet for MPC8272 at paragraph 36.5. With this field missing, the > hardware would write past the allocated memory done through

Re: [PATCH v2] i2c: cpm: Fix i2c_ram structure

2020-09-23 Thread Christophe Leroy
Le 23/09/2020 à 18:08, Wolfram Sang a écrit : On Wed, Sep 23, 2020 at 04:08:40PM +0200, nico.vi...@gmail.com wrote: From: Nicolas VINCENT the i2c_ram structure is missing the sdmatmp field mentionned in datasheet for MPC8272 at paragraph 36.5. With this field missing, the hardware would wri

Re: [PATCH v2] i2c: cpm: Fix i2c_ram structure

2020-09-23 Thread Wolfram Sang
On Wed, Sep 23, 2020 at 04:08:40PM +0200, nico.vi...@gmail.com wrote: > From: Nicolas VINCENT > > the i2c_ram structure is missing the sdmatmp field mentionned in > datasheet for MPC8272 at paragraph 36.5. With this field missing, the > hardware would write past the allocated memory done through

Re: [PATCH v2] i2c: cpm: Fix i2c_ram structure

2020-09-23 Thread Jochen Friedrich
Acked-by: Jochen Friedrich Am 23.09.2020 um 16:08 schrieb nico.vi...@gmail.com: From: Nicolas VINCENT the i2c_ram structure is missing the sdmatmp field mentionned in datasheet for MPC8272 at paragraph 36.5. With this field missing, the hardware would write past the allocated memory done thro

[PATCH v2] i2c: cpm: Fix i2c_ram structure

2020-09-23 Thread nico . vince
From: Nicolas VINCENT the i2c_ram structure is missing the sdmatmp field mentionned in datasheet for MPC8272 at paragraph 36.5. With this field missing, the hardware would write past the allocated memory done through cpm_muram_alloc for the i2c_ram structure and land in memory allocated for the b