qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv3 0/5] Add support for SDHCI PCI devices
@ 2014-12-08 23:10 Kevin O'Connor
  2014-12-08 23:10 ` [Qemu-devel] [PATCHv3 1/5] sdhci: Remove class "virtual" methods Kevin O'Connor
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Kevin O'Connor @ 2014-12-08 23:10 UTC (permalink / raw)
  To: qemu-devel
  Cc: Igor Mitsyanko, Paolo Bonzini, peter.crosthwaite, Vincent Palatin,
	Gerd Hoffmann

I'd like to be able to emulate SD cards on x86 machines for testing
purposes.  This patch series modifies the existing SDHCI code so that
it can also be used as a PCI device, and can thus be used on any PCI
platform (such as x86).

I have done basic sdhci testing of this series with Linux on x86 by
adding the following to the qemu command line: -device sdhci-pci -sd
my-test-drive

I have also done basic sdhci sysbus testing on an arm "vexpress-a9"
machine by following the directions at:
  https://wiki.linaro.org/PeterMaydell/QemuVersatileExpress

I don't see an owner for the SD code in the MAINTAINERS file - let me
know if I'm missing anyone on the CC list.

Changes since V2:
 - Some additional compile warnings fixed when debugging is enabled
Changes since V1:
 - Use RedHat PCI IDs instead of inventing new "qemu" IDs
 - Fix compile warnings when debugging is enabled

-Kevin


Kevin O'Connor (5):
  sdhci: Remove class "virtual" methods
  sdhci: Add "sysbus" to sdhci QOM types and methods
  sdhci: Define SDHCI PCI ids
  sdhci: Support SDHCI devices on PCI
  sdhci: Set a default frequency clock

 default-configs/pci.mak  |   2 +
 docs/specs/pci-ids.txt   |   2 +
 hw/sd/sdhci.c            | 209 +++++++++++++++++++++++++----------------------
 hw/sd/sdhci.h            |  39 +++------
 include/hw/pci/pci.h     |   1 +
 include/hw/pci/pci_ids.h |   1 +
 6 files changed, 127 insertions(+), 127 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2014-12-10 11:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-08 23:10 [Qemu-devel] [PATCHv3 0/5] Add support for SDHCI PCI devices Kevin O'Connor
2014-12-08 23:10 ` [Qemu-devel] [PATCHv3 1/5] sdhci: Remove class "virtual" methods Kevin O'Connor
2014-12-08 23:10 ` [Qemu-devel] [PATCHv3 2/5] sdhci: Add "sysbus" to sdhci QOM types and methods Kevin O'Connor
2014-12-08 23:10 ` [Qemu-devel] [PATCHv3 3/5] sdhci: Define SDHCI PCI ids Kevin O'Connor
2014-12-08 23:10 ` [Qemu-devel] [PATCHv3 4/5] sdhci: Support SDHCI devices on PCI Kevin O'Connor
2014-12-08 23:10 ` [Qemu-devel] [PATCHv3 5/5] sdhci: Set a default frequency clock Kevin O'Connor
2014-12-10 11:00 ` [Qemu-devel] [PATCHv3 0/5] Add support for SDHCI PCI devices Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).