From: Kevin O'Connor <kevin@koconnor.net>
To: qemu-devel@nongnu.org
Cc: Igor Mitsyanko <i.mitsyanko@gmail.com>,
Paolo Bonzini <pbonzini@redhat.com>,
peter.crosthwaite@xilinx.com,
Vincent Palatin <vpalatin@chromium.org>,
Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCHv2 0/5] Add support for SDHCI PCI devices
Date: Fri, 21 Nov 2014 12:39:31 -0500 [thread overview]
Message-ID: <1416591576-10341-1-git-send-email-kevin@koconnor.net> (raw)
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 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
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 | 205 +++++++++++++++++++++++++----------------------
hw/sd/sdhci.h | 39 +++------
include/hw/pci/pci.h | 1 +
include/hw/pci/pci_ids.h | 1 +
6 files changed, 125 insertions(+), 125 deletions(-)
--
1.9.3
next reply other threads:[~2014-11-21 17:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 17:39 Kevin O'Connor [this message]
2014-11-21 17:39 ` [Qemu-devel] [PATCHv2 1/5] sdhci: Remove class "virtual" methods Kevin O'Connor
2014-11-21 17:39 ` [Qemu-devel] [PATCHv2 2/5] sdhci: Add "sysbus" to sdhci QOM types and methods Kevin O'Connor
2014-11-21 17:39 ` [Qemu-devel] [PATCHv2 3/5] sdhci: Define SDHCI PCI ids Kevin O'Connor
2014-11-21 17:39 ` [Qemu-devel] [PATCHv2 4/5] sdhci: Support SDHCI devices on PCI Kevin O'Connor
2014-11-21 17:39 ` [Qemu-devel] [PATCHv2 5/5] sdhci: Set a default frequency clock Kevin O'Connor
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=1416591576-10341-1-git-send-email-kevin@koconnor.net \
--to=kevin@koconnor.net \
--cc=i.mitsyanko@gmail.com \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.crosthwaite@xilinx.com \
--cc=qemu-devel@nongnu.org \
--cc=vpalatin@chromium.org \
/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 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).