Re: atmel_nand: kernel panic when ecc_strength==4

2017-09-27 Thread Boris Brezillon
On Wed, 27 Sep 2017 13:01:51 +0200 Richard Genoud wrote: > 2017-09-27 12:15 GMT+02:00 Richard Genoud : > > 2017-09-27 12:04 GMT+02:00 Boris Brezillon > > : > >> On Wed, 27 Sep 2017 11:05:57 +0200 > >> Richard Genoud wrote: > >> > >>> Hi Boris, Nicolas ! > >>> > >>> Since commit f88fc122cc34

Re: atmel_nand: kernel panic when ecc_strength==4

2017-09-27 Thread Richard Genoud
2017-09-27 12:15 GMT+02:00 Richard Genoud : > 2017-09-27 12:04 GMT+02:00 Boris Brezillon > : >> On Wed, 27 Sep 2017 11:05:57 +0200 >> Richard Genoud wrote: >> >>> Hi Boris, Nicolas ! >>> >>> Since commit f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand >>> driver") >>> strange things happ

Re: atmel_nand: kernel panic when ecc_strength==4

2017-09-27 Thread Richard Genoud
2017-09-27 12:04 GMT+02:00 Boris Brezillon : > On Wed, 27 Sep 2017 11:05:57 +0200 > Richard Genoud wrote: > >> Hi Boris, Nicolas ! >> >> Since commit f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver") >> strange things happen when nand-ecc-strength = <4>; (previously >> atmel,pmecc-

Re: atmel_nand: kernel panic when ecc_strength==4

2017-09-27 Thread Boris Brezillon
On Wed, 27 Sep 2017 11:05:57 +0200 Richard Genoud wrote: > Hi Boris, Nicolas ! > > Since commit f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver") > strange things happen when nand-ecc-strength = <4>; (previously > atmel,pmecc-cap). > > I first saw that a NULL pointer dereference

atmel_nand: kernel panic when ecc_strength==4

2017-09-27 Thread Richard Genoud
Hi Boris, Nicolas ! Since commit f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver") strange things happen when nand-ecc-strength = <4>; (previously atmel,pmecc-cap). I first saw that a NULL pointer dereference happened when "udevadm trigger" was launched. With strace, I nailed it