From: aliguori@us.ibm.com (Anthony Liguori)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC v3] arm: Add platform bus driver for memory mapped virtio device
Date: Mon, 19 Sep 2011 08:28:23 -0500 [thread overview]
Message-ID: <4E774377.8030703@us.ibm.com> (raw)
In-Reply-To: <874o09ryzm.fsf@rustcorp.com.au>
On 09/18/2011 10:29 PM, Rusty Russell wrote:
> On Fri, 16 Sep 2011 12:01:49 -0500, Anthony Liguori<aliguori@us.ibm.com> wrote:
>> On 09/16/2011 11:47 AM, Pawel Moll wrote:
>>> This patch, based on virtio PCI driver, adds support for memory
>>> mapped (platform) virtio device. This should allow environments
>>> like qemu to use virtio-based block& network devices.
>>>
>>> One can define and register a platform device which resources
>>> will describe memory mapped control registers and "mailbox"
>>> interrupt. Such device can be also instantiated using the Device
>>> Tree node with compatible property equal "virtio,mmio".
>>>
>>> Cc: Rusty Russell<rusty@rustcorp.com.au>
>>> Cc: Anthony Liguori<aliguori@us.ibm.com>
>>> Cc: Michael S.Tsirkin<mst@redhat.com>
>>> Signed-off-by: Pawel Moll<pawel.moll@arm.com>
>>
>> Have you written a specification for this device?
>>
>> Rusty maintains a formal spec for all virtio devices at:
>>
>> http://ozlabs.org/~rusty/virtio-spec/
>>
>> The spec should be written before merging the code to make sure that there
>> aren't future compatibility problems.
>
> A good idea, but the current spec is for PCI. I wonder if we should
> move the PCI part out to an appendix and make it more general?
>
> Meanwhile, perhaps this would be suitable as an appendix.
I was thinking an appendix would be a good start.
Regards,
Anthony Liguori
>
> Cheers,
> Rusty.
WARNING: multiple messages have this Message-ID (diff)
From: Anthony Liguori <aliguori@us.ibm.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Pawel Moll <pawel.moll@arm.com>,
linux-kernel@vger.kernel.org,
virtualization@lists.linux-foundation.org,
linux-arm-kernel@lists.infradead.org,
"Michael S.Tsirkin" <mst@redhat.com>
Subject: Re: [RFC v3] arm: Add platform bus driver for memory mapped virtio device
Date: Mon, 19 Sep 2011 08:28:23 -0500 [thread overview]
Message-ID: <4E774377.8030703@us.ibm.com> (raw)
In-Reply-To: <874o09ryzm.fsf@rustcorp.com.au>
On 09/18/2011 10:29 PM, Rusty Russell wrote:
> On Fri, 16 Sep 2011 12:01:49 -0500, Anthony Liguori<aliguori@us.ibm.com> wrote:
>> On 09/16/2011 11:47 AM, Pawel Moll wrote:
>>> This patch, based on virtio PCI driver, adds support for memory
>>> mapped (platform) virtio device. This should allow environments
>>> like qemu to use virtio-based block& network devices.
>>>
>>> One can define and register a platform device which resources
>>> will describe memory mapped control registers and "mailbox"
>>> interrupt. Such device can be also instantiated using the Device
>>> Tree node with compatible property equal "virtio,mmio".
>>>
>>> Cc: Rusty Russell<rusty@rustcorp.com.au>
>>> Cc: Anthony Liguori<aliguori@us.ibm.com>
>>> Cc: Michael S.Tsirkin<mst@redhat.com>
>>> Signed-off-by: Pawel Moll<pawel.moll@arm.com>
>>
>> Have you written a specification for this device?
>>
>> Rusty maintains a formal spec for all virtio devices at:
>>
>> http://ozlabs.org/~rusty/virtio-spec/
>>
>> The spec should be written before merging the code to make sure that there
>> aren't future compatibility problems.
>
> A good idea, but the current spec is for PCI. I wonder if we should
> move the PCI part out to an appendix and make it more general?
>
> Meanwhile, perhaps this would be suitable as an appendix.
I was thinking an appendix would be a good start.
Regards,
Anthony Liguori
>
> Cheers,
> Rusty.
next prev parent reply other threads:[~2011-09-19 13:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-16 16:47 [RFC v3] arm: Add platform bus driver for memory mapped virtio device Pawel Moll
2011-09-16 16:47 ` Pawel Moll
2011-09-16 17:01 ` Anthony Liguori
2011-09-16 17:01 ` Anthony Liguori
2011-09-19 3:29 ` Rusty Russell
2011-09-19 3:29 ` Rusty Russell
2011-09-19 9:01 ` Pawel Moll
2011-09-19 9:01 ` Pawel Moll
2011-09-19 13:28 ` Anthony Liguori [this message]
2011-09-19 13:28 ` Anthony Liguori
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=4E774377.8030703@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=linux-arm-kernel@lists.infradead.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 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.