All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V3 0/2] PL061 device state cleaning
@ 2016-02-17 17:19 Wei Huang
  2016-02-17 17:19 ` [Qemu-devel] [PATCH V3 1/2] ARM: PL061: Clear PL061 device state after reset Wei Huang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wei Huang @ 2016-02-17 17:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: wei, peter.maydell, mjt, shannon.zhao, zhaoshenglong, imammedo

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(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-18 11:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-17 17:19 [Qemu-devel] [PATCH V3 0/2] PL061 device state cleaning Wei Huang
2016-02-17 17:19 ` [Qemu-devel] [PATCH V3 1/2] ARM: PL061: Clear PL061 device state after reset Wei Huang
2016-02-17 17:19 ` [Qemu-devel] [PATCH V3 2/2] ARM: PL061: Cleaning field of PL061 device state Wei Huang
2016-02-18 11:25 ` [Qemu-devel] [PATCH V3 0/2] PL061 device state cleaning Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.