[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PATCH 0/5] hw/block/pflash: Add DeviceReset() handlers
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-stable] [PATCH 0/5] hw/block/pflash: Add DeviceReset() handlers |
Date: |
Sun, 5 May 2019 22:05:57 +0200 |
The pflash device lacks a reset() function.
When a machine is resetted, the flash might be in an
inconsistent state, leading to unexpected behavior:
https://bugzilla.redhat.com/show_bug.cgi?id=1678713
Resolve this issue by adding a DeviceReset() handler.
Both CFI01/CFI02 devices are fixed by this series.
Regards,
Phil.
Philippe Mathieu-Daudé (5):
hw/block/pflash_cfi01: Removed an unused timer
hw/block/pflash_cfi01: Extract the pflash_reset() code
hw/block/pflash_cfi01: Add the DeviceReset() handler
hw/block/pflash_cfi02: Extract the pflash_reset() code
hw/block/pflash_cfi02: Add the DeviceReset() handler
hw/block/pflash_cfi01.c | 31 ++++++++++++-------------------
hw/block/pflash_cfi02.c | 31 +++++++++++++++++++++----------
2 files changed, 33 insertions(+), 29 deletions(-)
--
2.20.1
- [Qemu-stable] [PATCH 0/5] hw/block/pflash: Add DeviceReset() handlers,
Philippe Mathieu-Daudé <=