RE: [PATCH v3 2/2] mtd: rawnand: fsl_ifc: use bit-wise majority to recover the contents of ONFI parameter

2018-05-08 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Boris, I've sent v4 of the patches based on the comments. Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Tuesday, May 08, 2018 2:09 AM > To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.com> > Cc: miqu

RE: [PATCH v3 2/2] mtd: rawnand: fsl_ifc: use bit-wise majority to recover the contents of ONFI parameter

2018-05-08 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Thomas, I've sent v4 of the patches based on the comments. Thank you. Jane > -Original Message- > From: Thomas Petazzoni [mailto:thomas.petazz...@bootlin.com] > Sent: Tuesday, May 08, 2018 6:13 AM > To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.com>

RE: [PATCH v4 2/2] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-09 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Boris, I've sent v5 of the patch based on your comment. Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Wednesday, May 09, 2018 7:19 AM > To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.com> > Cc: miqu

RE: [PATCH v5 2/2] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-10 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Boris, I've sent v6 of the patch based on your comments. Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, May 10, 2018 5:03 AM > To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.com> > Cc: miqu

RE: [PATCH v6] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-12 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Boris, I've sent v7 of the patch. Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Saturday, May 12, 2018 1:21 AM > To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.com> > Cc: miquel.ray...@bootlin.com

[PATCH v7] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-12 Thread Wan, Jane (Nokia - US/Sunnyvale)
Per ONFI specification (Rev. 4.0), if all parameter pages have invalid CRC values, the bit-wise majority may be used to recover the contents of the parameter pages from the parameter page copies present. Signed-off-by: Jane Wan --- v7: change debug print messages v6:

RE: [PATCH v2 2/2] mtd: rawnand: fsl_ifc: use bit-wise majority to recover the contents of ONFI parameter

2018-05-07 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi, I've sent v3 of this patch through git send-email. Please also see the inline answer. Thanks. Jane > -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: Saturday, May 05, 2018 1:59 AM > To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.co

RE: [PATCH 1/2] Fix FSL NAND driver to read all ONFI parameter pages

2018-04-30 Thread Wan, Jane (Nokia - US/Sunnyvale)
ootlin.com] Sent: Saturday, April 28, 2018 4:42 AM To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.com> Cc: dw...@infradead.org; computersforpe...@gmail.com; Bos, Ties (Nokia - US/Sunnyvale) <ties@nokia.com>; linux-...@lists.infradead.org; linux-kernel@vger.kernel.org;

RE: [PATCH 2/2] Use bit-wise majority to recover the contents of ONFI parameter

2018-04-30 Thread Wan, Jane (Nokia - US/Sunnyvale)
oto free_onfi_param_page; + } } /* Check version */ -- 1.7.9.5 -Original Message- From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] Sent: Saturday, April 28, 2018 5:07 AM To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.com> Cc: dw...@infradead.o

[PATCH v2 1/2] mtd: rawnand: fsl_ifc: fix FSL NAND driver to read

2018-05-03 Thread Wan, Jane (Nokia - US/Sunnyvale)
ray...@bootlin.com] > Sent: Wednesday, May 02, 2018 1:10 AM > To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.com> > Cc: Boris Brezillon <boris.brezil...@bootlin.com>; dw...@infradead.org; > computersforpe...@gmail.com; Bos, Ties (Nokia - US/Sunnyvale) > <ties@no

[PATCH v2 2/2] mtd: rawnand: fsl_ifc: use bit-wise majority to

2018-05-03 Thread Wan, Jane (Nokia - US/Sunnyvale)
} /* Check version */ -- 1.7.9.5 Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Wednesday, May 02, 2018 3:32 AM > To: Wan, Jane (Nokia - US/Sunnyvale) <jane@nokia.com> > Cc: dw...@i

RE: [PATCH 1/2] Fix FSL NAND driver to read all ONFI parameter pages

2018-04-30 Thread Wan, Jane (Nokia - US/Sunnyvale)
32(len, >ifc_nand.nand_fbcr); + ifc_nand_ctrl->read_bytes = len; set_addr(mtd, 0, 0, 0); fsl_ifc_run_command(mtd); -- 1.7.9.5 -Original Message- From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] Sent: Saturday, April 28, 2018

RE: [PATCH 2/2] Use bit-wise majority to recover the contents of ONFI parameter

2018-04-30 Thread Wan, Jane (Nokia - US/Sunnyvale)
} /* Check version */ -- 1.7.9.5 -Original Message- From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] Sent: Saturday, April 28, 2018 5:07 AM To: Wan, Jane (Nokia - US/Sunnyvale) Cc: dw...@infradead.org; computersforpe...@gmail.com; Bos, Ties (Nokia - US/Sunnyvale) ; linux-...

RE: [PATCH v2 2/2] mtd: rawnand: fsl_ifc: use bit-wise majority to recover the contents of ONFI parameter

2018-05-07 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi, I've sent v3 of this patch through git send-email. Please also see the inline answer. Thanks. Jane > -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: Saturday, May 05, 2018 1:59 AM > To: Wan, Jane (Nokia - US/Sunnyvale) > Cc: kb

RE: [PATCH v4 2/2] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-09 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Boris, I've sent v5 of the patch based on your comment. Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Wednesday, May 09, 2018 7:19 AM > To: Wan, Jane (Nokia - US/Sunnyvale) > Cc: miquel.ray...@bootlin.com; dw..

RE: [PATCH v5 2/2] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-10 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Boris, I've sent v6 of the patch based on your comments. Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Thursday, May 10, 2018 5:03 AM > To: Wan, Jane (Nokia - US/Sunnyvale) > Cc: miquel.ray...@bootlin.com; dw..

[PATCH v7] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-12 Thread Wan, Jane (Nokia - US/Sunnyvale)
Per ONFI specification (Rev. 4.0), if all parameter pages have invalid CRC values, the bit-wise majority may be used to recover the contents of the parameter pages from the parameter page copies present. Signed-off-by: Jane Wan --- v7: change debug print messages v6: support the cases that

RE: [PATCH v6] mtd: rawnand: use bit-wise majority to recover the contents of ONFI parameter

2018-05-12 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Boris, I've sent v7 of the patch. Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Saturday, May 12, 2018 1:21 AM > To: Wan, Jane (Nokia - US/Sunnyvale) > Cc: miquel.ray...@bootlin.com; dw...@infradead.org; &

[PATCH v2 1/2] mtd: rawnand: fsl_ifc: fix FSL NAND driver to read

2018-05-03 Thread Wan, Jane (Nokia - US/Sunnyvale)
; Sent: Wednesday, May 02, 2018 1:10 AM > To: Wan, Jane (Nokia - US/Sunnyvale) > Cc: Boris Brezillon ; dw...@infradead.org; > computersforpe...@gmail.com; Bos, Ties (Nokia - US/Sunnyvale) > ; linux-...@lists.infradead.org; linux- > ker...@vger.kernel.org; rich...@nod.at; marek.va...@gmail

[PATCH v2 2/2] mtd: rawnand: fsl_ifc: use bit-wise majority to

2018-05-03 Thread Wan, Jane (Nokia - US/Sunnyvale)
rsion */ -- 1.7.9.5 Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Wednesday, May 02, 2018 3:32 AM > To: Wan, Jane (Nokia - US/Sunnyvale) > Cc: dw...@infradead.org; computersforpe...@gmail.com; Bos, Ties (Nokia - > US/S

RE: [PATCH v3 2/2] mtd: rawnand: fsl_ifc: use bit-wise majority to recover the contents of ONFI parameter

2018-05-08 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Boris, I've sent v4 of the patches based on the comments. Thanks. Jane > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > Sent: Tuesday, May 08, 2018 2:09 AM > To: Wan, Jane (Nokia - US/Sunnyvale) > Cc: miquel.ray...@bootlin.com; dw..

RE: [PATCH v3 2/2] mtd: rawnand: fsl_ifc: use bit-wise majority to recover the contents of ONFI parameter

2018-05-08 Thread Wan, Jane (Nokia - US/Sunnyvale)
Hi Thomas, I've sent v4 of the patches based on the comments. Thank you. Jane > -Original Message- > From: Thomas Petazzoni [mailto:thomas.petazz...@bootlin.com] > Sent: Tuesday, May 08, 2018 6:13 AM > To: Wan, Jane (Nokia - US/Sunnyvale) > Cc: boris.brezil...@bootlin.