All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] sdhci: Implement device reset
@ 2016-02-26 13:24 Peter Maydell
  2016-02-26 13:24 ` [Qemu-devel] [PATCH 1/2] sd.c: Handle NULL block backend in sd_get_inserted() Peter Maydell
  2016-02-26 13:24 ` [Qemu-devel] [PATCH 2/2] sdhci: Implement DeviceClass reset Peter Maydell
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Maydell @ 2016-02-26 13:24 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Crosthwaite, patches, Andrew Baumann, Alistair Francis,
	qemu-arm, Edgar E. Iglesias

This patchset implements the DeviceClass reset method for
the sdhci devices, so that on QEMU system reset they are
reset. (Mostly guests didn't notice this was missing I
think because they tend to do a commanded reset via the
device register as part of driver initialization.)

For the reset patch to work and not crash QEMU on startup,
we need to fix a missing NULL pointer check in sd.c's
sd_get_inserted() function.

These patchsets apply on top of Andrew's rpi quirk
patchset which is in target-arm.next.

Review/testing appreciated.


Peter Maydell (2):
  sd.c: Handle NULL block backend in sd_get_inserted()
  sdhci: Implement DeviceClass reset

 hw/sd/sd.c    |  2 +-
 hw/sd/sdhci.c | 21 +++++++++++++++++----
 2 files changed, 18 insertions(+), 5 deletions(-)

-- 
1.9.1

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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26 13:24 [Qemu-devel] [PATCH 0/2] sdhci: Implement device reset Peter Maydell
2016-02-26 13:24 ` [Qemu-devel] [PATCH 1/2] sd.c: Handle NULL block backend in sd_get_inserted() Peter Maydell
2016-02-26 22:35   ` Alistair Francis
2016-02-26 13:24 ` [Qemu-devel] [PATCH 2/2] sdhci: Implement DeviceClass reset Peter Maydell
2016-02-26 17:47   ` Andrew Baumann

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.