[SkyHigh Memory SPI NAND Driver]

Mohamed Sardi moh.sardi at skyhighmemory.com
Fri Feb 2 08:17:43 PST 2024


Hello Miquel
Maybe my question is not clear. Is ti possible to setup a time to discuss further next week. 

I am located in Pacific Time. I can setup a conference call... Can you let me know what day and time work for you so I can send the ZOOM call?


Thanks
Mohamed 
On 2/2/24, 12:11 PM, "Miquel Raynal" <miquel.raynal at bootlin.com <mailto:miquel.raynal at bootlin.com>> wrote:


Hi Mohamed,


moh.sardi at skyhighmemory.com <mailto:moh.sardi at skyhighmemory.com> wrote on Thu, 1 Feb 2024 19:40:51 +0000:


> Dear Miquel,
> We understand that your plan to turn off the ECC for Bad Block marking and checking... for Linux V6...


No, it's always been like this, I don't think we ever changed that.
Turning ECC on in the raw NAND world was maybe a mistake and was proven
not useful to SPI-NANDs so, it was disabled in the SPI-NAND world from
day 1, AFAIR.


> We also understand that in Linux5.4 the driver did not have ECC control...


Not sure what "driver" means here.


> My question is as follow:
> 1) From which version of Linux ,the ECC control was added in the driver? Was it implemented in Linux 5.xx?


Again, what is "driver"? ECC correction is mandatory for page accesses,
it's always been there.


> 2) What was the leading reason/customer leading to turn off the ECC for bad block marking/checking?
> Note: We saw that MTK was turning off the ECC for Bad block marking on Linux 5.4...


It's not been turned off or on, as I told you in my previous mail.


> 3) We think that the ECC should be turned off for bad block marking and checking, is it possible for us to provide a patch/driver (SHM_core.c) for Linux version version 6... where SHM devices keep the ECC on...


It is already off in the SPI-NAND world. Sorry if I am not
understanding what you say correctly, but I'll need more precise
information to answer correctly.


Thanks,
Miquèl





More information about the linux-mtd mailing list