qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: qemu-devel@nongnu.org, agraf@suse.de,
	Blue Swirl <blauwirbel@gmail.com>,
	Isaku Yamahata <yamahata@valinux.co.jp>,
	paul@codesourcery.com, Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCHv2 0/3] rwhandler: introduce and switch pci_host to it
Date: Mon, 18 Jan 2010 12:56:15 +0200	[thread overview]
Message-ID: <20100118105615.GA8277@redhat.com> (raw)

Alexander, so I assume the following patchset should be enough for you
to implement u3 support, simply by creating your own rwhandler, and
using pci_data_read/write directly there. I have pushed it to a
temporary branch in my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/mst/qemu.git rwhandler

Paul, any comments on this approach?

I'll push this to my pci tree if this turns out to be helpful.
Hope this helps, and sorry about the churn.

Michael S. Tsirkin (3):
  bwap: add qemu_bswap helper
  rwhandler: simplified way to register for mem/io
  pci_host: rewrite using rwhandler

 Makefile.target        |    1 +
 bswap.h                |    6 ++
 hw/pci_host.c          |  172 +++++++++++++++++++----------------------------
 hw/pci_host.h          |    4 +
 hw/pci_host_template.h |  109 ------------------------------
 rwhandler.c            |   91 +++++++++++++++++++++++++
 rwhandler.h            |   27 ++++++++
 7 files changed, 199 insertions(+), 211 deletions(-)
 delete mode 100644 hw/pci_host_template.h
 create mode 100644 rwhandler.c
 create mode 100644 rwhandler.h

             reply	other threads:[~2010-01-18 10:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18 10:56 Michael S. Tsirkin [this message]
2010-01-18 17:50 ` [Qemu-devel] Re: [PATCHv2 0/3] rwhandler: introduce and switch pci_host to it Blue Swirl
2010-01-18 17:53   ` Michael S. Tsirkin
2010-01-18 19:41     ` Michael S. Tsirkin
2010-01-18 19:56       ` Blue Swirl

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=20100118105615.GA8277@redhat.com \
    --to=mst@redhat.com \
    --cc=agraf@suse.de \
    --cc=aurelien@aurel32.net \
    --cc=blauwirbel@gmail.com \
    --cc=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    --cc=yamahata@valinux.co.jp \
    /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).