From: Wei Huang <wei@redhat.com>
To: qemu-devel@nongnu.org
Cc: wei@redhat.com, peter.maydell@linaro.org, mjt@tls.msk.ru,
shannon.zhao@linaro.org, zhaoshenglong@huawei.com,
imammedo@redhat.com
Subject: [Qemu-devel] [PATCH V3 0/2] PL061 device state cleaning
Date: Wed, 17 Feb 2016 12:19:10 -0500 [thread overview]
Message-ID: <1455729552-28026-1-git-send-email-wei@redhat.com> (raw)
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
next reply other threads:[~2016-02-17 17:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 17:19 Wei Huang [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455729552-28026-1-git-send-email-wei@redhat.com \
--to=wei@redhat.com \
--cc=imammedo@redhat.com \
--cc=mjt@tls.msk.ru \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=shannon.zhao@linaro.org \
--cc=zhaoshenglong@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.