[PATCH 1/1] mtd: fsl-quadspi: Add mutex for accessing different SPI-NOR devices

Han Xu xhnjupt at gmail.com
Thu Jul 23 08:31:05 PDT 2015


Hi Alexander,

I think it is the same patch

 http://patchwork.ozlabs.org/patch/429631/

On Mon, Jul 20, 2015 at 1:50 AM, Alexander Stein
<alexander.stein at systec-electronic.com> wrote:
> Hello Cory,
>
> On Thursday 16 July 2015 13:29:30, Cory Tusar wrote:
>> On 07/16/2015 10:13 AM, Alexander Stein wrote:
>> > Access is only serialized for each NOR device in spi_nor_lock_and_prep(),
>> > but not for the QSPI device.
>>
>> Are both devices that you're testing with in the below scenario QSPI, or
>> is it a combination of QSPI + some other MTD device?
>
> On my board a s70fl01gs is connected to QSPI bank A. As this is a dual-die
> chip it uses both chip-selcts on bank A. So in the end it's 2 QSPI devices.
> When accessing different flashs on those 2 chip-selects i get the following
> error message:
>> [  233.157410] fsl-quadspi 1550000.quadspi: cmd 0x05 timeout, addr at 00000000,
>> FR:0x08000000, SR:0x00003c00 [  233.166731] error -110 reading SR
>> [  233.170097] end_request: I/O error, dev mtdblock3, sector 72
>> [  233.175740] Buffer I/O error on device mtdblock3, logical block 9
>
> This seems to be caused by simultaneously access to different chips.
>
> Best regards,
> Alexander
> --
> Dipl.-Inf. Alexander Stein
> SYS TEC electronic GmbH
> alexander.stein at systec-electronic.com
>
> Legal and Commercial Address:
> Am Windrad 2
> 08468 Heinsdorfergrund
> Germany
>
> Office: +49 (0) 3765 38600-11xx
> Fax:    +49 (0) 0) 3765 38600-41xx
>
> Managing Directors:
>         Director Technology/CEO: Dipl.-Phys. Siegmar Schmidt;
>         Director Commercial Affairs/COO: Dipl. Ing. (FH) Armin von Collrepp
> Commercial Registry:
>         Amtsgericht Chemnitz, HRB 28082; USt.-Id Nr. DE150534010
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/



More information about the linux-mtd mailing list