qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH v3 09/10] block/pflash_cfi02: Implement erase su


From: Thomas Huth
Subject: Re: [Qemu-block] [PATCH v3 09/10] block/pflash_cfi02: Implement erase suspend/resume
Date: Thu, 18 Apr 2019 06:54:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 18/04/2019 00.01, Stephen Checkoway wrote:
> During a sector erase (but not a chip erase), the embeded erase program
> can be suspended. Once suspended, the sectors not selected for erasure
> may be read and programmed. Autoselect mode is allowed during erase
> suspend mode. Presumably, CFI queries are similarly allowed so this
> commit allows them as well.
> 
> Since guest firmware can use status bits DQ7, DQ6, DQ3, and DQ2 to
> determine the current state of sector erasure, these bits are properly
> implemented.
> 
> Signed-off-by: Stephen Checkoway <address@hidden>
> ---
>  hw/block/pflash_cfi02.c   | 153 ++++++++++++++++++++++++++++++++++----
>  tests/pflash-cfi02-test.c | 112 ++++++++++++++++++++++++++++
>  2 files changed, 251 insertions(+), 14 deletions(-)

Acked-by: Thomas Huth <address@hidden>



reply via email to

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