[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>
- Re: [Qemu-block] [PATCH v3 06/10] block/pflash_cfi02: Fix CFI in autoselect mode, (continued)
- [Qemu-block] [PATCH v3 07/10] block/pflash_cfi02: Fix reset command not ignored during erase, Stephen Checkoway, 2019/04/17
- [Qemu-block] [PATCH v3 08/10] block/pflash_cfi02: Implement multi-sector erase, Stephen Checkoway, 2019/04/17
- [Qemu-block] [PATCH v3 05/10] block/pflash_cfi02: Implement nonuniform sector sizes, Stephen Checkoway, 2019/04/17
- [Qemu-block] [PATCH v3 10/10] block/pflash_cfi02: Use the chip erase time specified in the CFI table, Stephen Checkoway, 2019/04/17
- [Qemu-block] [PATCH v3 04/10] block/pflash_cfi02: Implement intereleaved flash devices, Stephen Checkoway, 2019/04/17
- [Qemu-block] [PATCH v3 09/10] block/pflash_cfi02: Implement erase suspend/resume, Stephen Checkoway, 2019/04/17
- Re: [Qemu-block] [PATCH v3 09/10] block/pflash_cfi02: Implement erase suspend/resume,
Thomas Huth <=