Skip to content

PL061 device state cleaning

Wei Huang qemu-devel 3 versions – Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 8 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

* hook up dc->reset to existing reset function. And stop calling reset in initfn()
* add Reviewed-by

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2ARM: PL061: Clear PL061 device state after resethw/gpio/pl061.c+27 -40 replies
2/2ARM: PL061: Cleaning field of PL061 device statehw/gpio/pl061.c+2 -40 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPeter Maydell
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH V3 0/2] PL061 device state cleaning

Current QEMU doesn't reset PL061 device state. As a result the device keeps a stale state after guest reboots. This causes VM fail to recceive GPIO commands (e.g. virsh shutdown/reoot commands) after reboot. This patchset adds reset support for PL061 devices. The second patch removes an unused field.

V3:
* hook up dc->reset to existing reset function. And stop calling reset in initfn()
* add Reviewed-by
V2:
* derived from V1 after further debug. Now it resets device state instead of using pulse for GPIO IRQ.
V1:
* initial patch

-Wei

Wei Huang (2):
ARM: PL061: Clear PL061 device state after reset
ARM: PL061: Cleaning field of PL061 device state

 hw/gpio/pl061.c | 37 +++++++++++++++++++++++++++++--------
 1 file changed, 29 insertions(+), 8 deletions(-)
Signature · 1 line
1.8.3.1