linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: Bhushan Bharat-R65777 <R65777@freescale.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"vapier@gentoo.org" <vapier@gentoo.org>,
	"mst@redhat.com" <mst@redhat.com>,
	"linux-sh@vger.kernel.org" <linux-sh@vger.kernel.org>,
	"virtualization@lists.linux-foundation.org"
	<virtualization@lists.linux-foundation.org>
Subject: Re: [PATCH 02/02] virtio: Add virtio platform driver
Date: Fri, 24 Jun 2011 01:14:06 +0000	[thread overview]
Message-ID: <BANLkTi=QhwBAv5GtrTpitVhx+yDZPnRN+g@mail.gmail.com> (raw)
In-Reply-To: <B8D6CA50DACE9E4AAADE9A4D56FBAAE6166661@039-SN1MPN1-004.039d.mgd.msft.net>

Hi Bhushan Bharat,

On Thu, Jun 23, 2011 at 5:54 PM, Bhushan Bharat-R65777
<R65777@freescale.com> wrote:
> What purpose this virtio platform driver serves? Are you trying to make driver layers here and each virtio device driver can hook up into this platform driver. Is that correct ?

The idea behind the virto platform driver is to have a reusable layer
that handles common virtio and vring functionality. Regular virtio
drivers for console, network and disk and interfacing to the virtio
platform driver, so these paravirtualized drivers can with this virtio
platform driver easily be reused by embedded platforms.

Vendor specific code is abstracted away from the virtio platform
driver and interfaced to using regular interrupts and SoC-specific
callbacks. So with this patch virtio can be interfaced as any regular
platform driver. This version of the driver is simply reusing the
configuration method from lguest.

If you want to see all code involved (including extremely experimental
backing drivers) then have a look at:
http://www.spinics.net/lists/linux-sh/msg07188.html

Cheers,

/ magnus

  reply	other threads:[~2011-06-24  1:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-21 10:26 [PATCH 00/02][RESEND] virtio: Virtio platform driver Magnus Damm
2011-06-21 10:26 ` [PATCH 01/02] virtio: Break out lguest virtio code to virtio_lguest.c Magnus Damm
2011-06-21 10:26 ` [PATCH 02/02] virtio: Add virtio platform driver Magnus Damm
2011-06-21 18:27   ` Mike Frysinger
2011-06-23  2:26     ` Magnus Damm
2011-06-23  8:54   ` Bhushan Bharat-R65777
2011-06-24  1:14     ` Magnus Damm [this message]
2011-06-24  4:08       ` Bhushan Bharat-R65777
2011-06-22  2:21 ` [PATCH 00/02][RESEND] virtio: Virtio " Rusty Russell
2011-06-28  5:14   ` Magnus Damm
  -- strict thread matches above, loose matches on Subject: below --
2011-03-10  7:05 [PATCH 00/02] " Magnus Damm
2011-03-10  7:06 ` [PATCH 02/02] virtio: Add virtio " Magnus Damm

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='BANLkTi=QhwBAv5GtrTpitVhx+yDZPnRN+g@mail.gmail.com' \
    --to=magnus.damm@gmail.com \
    --cc=R65777@freescale.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=vapier@gentoo.org \
    --cc=virtualization@lists.linux-foundation.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).