qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] [M25P80] Make sure not to overrun the internal


From: mar.krzeminski
Subject: Re: [Qemu-devel] [PATCH] [M25P80] Make sure not to overrun the internal data buffer.
Date: Tue, 3 Jan 2017 18:08:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1



W dniu 02.01.2017 o 22:24, Jean-Christophe DUBOIS pisze:
Le 30/12/2016 à 19:09, mar.krzeminski a écrit :
Can you check spi controller model code?

I'll double check.

But why is the SPI memory/device even responding if CS is not set ?
Looking at ssi code it should not.
Flash (so the m25p80) is responding when CS line is low and it seem that this is default.

So I fixed the CS handling in the i.MX SPI device emulator and I don't experience crashes anymore. Thanks for your help.

Cool!

You may still want to harden the m25p80 code to make sure it doesn't overrun its internal buffer.

Yeap, for me it is a bug.
I understand you will not finish this patch, won't you ?:)

Thanks,
Marcin


Thanks,
Marcin



Thanks,
Marcin












reply via email to

[Prev in Thread] Current Thread [Next in Thread]