diff for duplicates of <4EDFBA6D.9080500@freescale.com> diff --git a/a/1.txt b/N1/1.txt index 93752dd..08f2cbd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,12 +1,15 @@ On 12/06/2011 09:55 PM, LiuShuo wrote: -> 于 2011年12月07日 08:09, Scott Wood 写道: +> =E4=BA=8E 2011=E5=B9=B412=E6=9C=8807=E6=97=A5 08:09, Scott Wood =E5=86=99= +=E9=81=93: >> On 12/03/2011 10:31 PM, shuo.liu@freescale.com wrote: >>> From: Liu Shuo<shuo.liu@freescale.com> >>> >>> Freescale FCM controller has a 2K size limitation of buffer RAM. In >>> order ->>> to support the Nand flash chip whose page size is larger than 2K bytes, ->>> we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save +>>> to support the Nand flash chip whose page size is larger than 2K byte= +s, +>>> we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and s= +ave >>> them to a large buffer. >>> >>> Signed-off-by: Liu Shuo<shuo.liu@freescale.com> @@ -32,12 +35,13 @@ the user to run the migration tool. >>> *mtd, unsigned int command, >>> * write so the HW generates the ECC. >>> */ ->>> if (elbc_fcm_ctrl->oob || elbc_fcm_ctrl->column != 0 || ->>> - elbc_fcm_ctrl->index != mtd->writesize + mtd->oobsize) +>>> if (elbc_fcm_ctrl->oob || elbc_fcm_ctrl->column !=3D 0 || +>>> - elbc_fcm_ctrl->index !=3D mtd->writesize + mtd->oobsize) >>> - out_be32(&lbc->fbcr, >>> - elbc_fcm_ctrl->index - elbc_fcm_ctrl->column); >>> - else ->>> + elbc_fcm_ctrl->index != mtd->writesize + mtd->oobsize) { +>>> + elbc_fcm_ctrl->index !=3D mtd->writesize + mtd->oobsize)= + { >>> + if (elbc_fcm_ctrl->oob&& mtd->writesize> 2048) { >>> + out_be32(&lbc->fbcr, 64); >>> + } else { @@ -45,11 +49,13 @@ the user to run the migration tool. >>> + - elbc_fcm_ctrl->column); >>> + } >> We need to limit ourselves to the regions that have actually been ->> written to in the buffer. fbcr needs to be set separately for first and +>> written to in the buffer. fbcr needs to be set separately for first a= +nd >> last subpages, with intermediate subpages having 0, 64, or 2112 as ->> appropriate. Subpages that are entirely before column or entirely after +>> appropriate. Subpages that are entirely before column or entirely aft= +er >> column + index should be skipped. -> +>=20 > I have considered this case, but I don't think it is useful. > 1.There isn't a 'length' parameter in driver interface, although we > can get it from 'index - column'. diff --git a/a/content_digest b/N1/content_digest index d2c826a..226bac2 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -12,19 +12,21 @@ shuo.liu@freescale.com linux-mtd@lists.infradead.org akpm@linux-foundation.org - leoli@freescale.com " dwmw2@infradead.org\0" "\00:1\0" "b\0" "On 12/06/2011 09:55 PM, LiuShuo wrote:\n" - "> \344\272\216 2011\345\271\26412\346\234\21007\346\227\245 08:09, Scott Wood \345\206\231\351\201\223:\n" + "> =E4=BA=8E 2011=E5=B9=B412=E6=9C=8807=E6=97=A5 08:09, Scott Wood =E5=86=99=\n" + "=E9=81=93:\n" ">> On 12/03/2011 10:31 PM, shuo.liu@freescale.com wrote:\n" ">>> From: Liu Shuo<shuo.liu@freescale.com>\n" ">>>\n" ">>> Freescale FCM controller has a 2K size limitation of buffer RAM. In\n" ">>> order\n" - ">>> to support the Nand flash chip whose page size is larger than 2K bytes,\n" - ">>> we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save\n" + ">>> to support the Nand flash chip whose page size is larger than 2K byte=\n" + "s,\n" + ">>> we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and s=\n" + "ave\n" ">>> them to a large buffer.\n" ">>>\n" ">>> Signed-off-by: Liu Shuo<shuo.liu@freescale.com>\n" @@ -50,12 +52,13 @@ ">>> *mtd, unsigned int command,\n" ">>> * write so the HW generates the ECC.\n" ">>> */\n" - ">>> if (elbc_fcm_ctrl->oob || elbc_fcm_ctrl->column != 0 ||\n" - ">>> - elbc_fcm_ctrl->index != mtd->writesize + mtd->oobsize)\n" + ">>> if (elbc_fcm_ctrl->oob || elbc_fcm_ctrl->column !=3D 0 ||\n" + ">>> - elbc_fcm_ctrl->index !=3D mtd->writesize + mtd->oobsize)\n" ">>> - out_be32(&lbc->fbcr,\n" ">>> - elbc_fcm_ctrl->index - elbc_fcm_ctrl->column);\n" ">>> - else\n" - ">>> + elbc_fcm_ctrl->index != mtd->writesize + mtd->oobsize) {\n" + ">>> + elbc_fcm_ctrl->index !=3D mtd->writesize + mtd->oobsize)=\n" + " {\n" ">>> + if (elbc_fcm_ctrl->oob&& mtd->writesize> 2048) {\n" ">>> + out_be32(&lbc->fbcr, 64);\n" ">>> + } else {\n" @@ -63,11 +66,13 @@ ">>> + - elbc_fcm_ctrl->column);\n" ">>> + }\n" ">> We need to limit ourselves to the regions that have actually been\n" - ">> written to in the buffer. fbcr needs to be set separately for first and\n" + ">> written to in the buffer. fbcr needs to be set separately for first a=\n" + "nd\n" ">> last subpages, with intermediate subpages having 0, 64, or 2112 as\n" - ">> appropriate. Subpages that are entirely before column or entirely after\n" + ">> appropriate. Subpages that are entirely before column or entirely aft=\n" + "er\n" ">> column + index should be skipped.\n" - "> \n" + ">=20\n" "> I have considered this case, but I don't think it is useful.\n" "> 1.There isn't a 'length' parameter in driver interface, although we\n" "> can get it from 'index - column'.\n" @@ -86,4 +91,4 @@ "\n" -Scott -f4382d964f361c9e867f0d93bfd9fc046bb4effd85d24009b136491b87fd9304 +58ccd43da797f08ad0daee5eddb868e4a20301caedf7d030eb2b350bad5aebc6
diff --git a/a/content_digest b/N2/content_digest index d2c826a..fb7694e 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -6,14 +6,14 @@ "Subject\0Re: [PATCH 3/3] mtd/nand : workaround for Freescale FCM to support large-page Nand chip\0" "Date\0Wed, 7 Dec 2011 13:11:41 -0600\0" "To\0LiuShuo <b35362@freescale.com>\0" - "Cc\0Artem.Bityutskiy@nokia.com" - linuxppc-dev@lists.ozlabs.org - linux-kernel@vger.kernel.org - shuo.liu@freescale.com - linux-mtd@lists.infradead.org - akpm@linux-foundation.org - leoli@freescale.com - " dwmw2@infradead.org\0" + "Cc\0<shuo.liu@freescale.com>" + <dwmw2@infradead.org> + <Artem.Bityutskiy@nokia.com> + <linux-mtd@lists.infradead.org> + <linuxppc-dev@lists.ozlabs.org> + <akpm@linux-foundation.org> + <linux-kernel@vger.kernel.org> + " <leoli@freescale.com>\0" "\00:1\0" "b\0" "On 12/06/2011 09:55 PM, LiuShuo wrote:\n" @@ -86,4 +86,4 @@ "\n" -Scott -f4382d964f361c9e867f0d93bfd9fc046bb4effd85d24009b136491b87fd9304 +a636f0693b9377104bb8d92cf677523f277672cd3dddec3d300dc839da8248f2
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.