From: Julien Grall <julien.grall@linaro.org>
To: manish jaggi <manishjaggi.oss@gmail.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
manish.jaggi@caviumnetworks.com,
Ian Campbell <ian.campbell@citrix.com>,
Christoffer Dall <christoffer.dall@linaro.org>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [ARM] SMMU and PCI passthrough Was: Re: Xen 4.5-rc1 update (RC1 is out 2014-Oct-24th)
Date: Mon, 03 Nov 2014 09:52:25 +0000 [thread overview]
Message-ID: <54575059.8080905@linaro.org> (raw)
In-Reply-To: <CAAiw7J=PvYq6s_DQ0gyaZx8gs_Xw2Z-X1BpKe6a3KwhNTkd+Uw@mail.gmail.com>
On 03/11/2014 05:08, manish jaggi wrote:
> On 2 November 2014 15:47, Julien Grall <julien.grall@linaro.org> wrote:
>> (Renaming the subject of the thread).
>>
>> On 02/11/2014 06:03, manish jaggi wrote:
>>>
>>> On 1 November 2014 23:13, Julien Grall <julien.grall@linaro.org> wrote:
>>>>
>>>> Hi Konrad,
>>>>
>>>>
>>>> On 31/10/2014 21:01, Konrad Rzeszutek Wilk wrote:
>>>>>
>>>>>
>>>>> On Fri, Oct 31, 2014 at 02:31:41PM +0000, Julien Grall wrote:
>>>>>>
>>>>>>
>>>>>> On 10/31/2014 02:24 PM, Konrad Rzeszutek Wilk wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> * PVH - PCI passthrough for DomU.
>>>>>>>>
>>>>>>>>
>>>>>>>> I am working on Cavium Thunder (ARM64) on this feature.
>>>>>>>> [Xen SMMU driver changes + PCI passthrough changes in Xen and Linux]
>>>>>>
>>>>>>
>>>>>>
>>>>>> FYI, I'm currently reworking the SMMU drivers to resync with Linux.
>>>>>> With
>>>>>> thoses changes, you should not need to modify the SMMU code.
>>>>>
>>>>>
>>>>>
>>>>> Thank you for the update. Put your name behind that for 4.6.
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Ok, replaced Julien's name with yours. Please make sure
>>>>>>> that for the Linux patches you CC xen-devel and the
>>>>>>> maintainers (David, Stefano, Boris and me).
>>>>>>
>>>>>>
>>>>>>
>>>>>> There is 2 distinct passthrough: platform (i.e non-PCI) and PCI one.
>>>>>>
>>>>>> While Manish is working on PCI passthrough, I'm still working the
>>>>>> non-PCI one. Please don't drop my name.
>>>>>
>>>>>
>>>>>
>>>>> I thought that Arianna's patches had taken care of that (the MMIO
>>>>> part?). Or does each platform need a different implementation of
>>>>> that?
>>>>
>>>>
>>>>
>>>> To passthrough a platform device you need to be able to assign the device
>>>> to
>>>> the guest via the IOMMU and map MMIOs (done by Arianna's series) and
>>>> interrupts.
>>>>
>>> For a PCI passthrough SMMU ops are to be added. The way the smmu for a
>>> pci device is found needs to be updated in the smmu.c, so there are
>>> some substantial changes to smmu.c for pci passthrough.
>>
>>
>> The SMMU drivers in Linux already supports PCI. As I'm currently resync our
>> driver with this version PCI assignment in the SMMU should come freely.
>>
>> I expect the only plumbing for the Xen callback and few bugs fixes will be
>> necessary.
>>
> we can discuss more on design level. There are changes
What kind of changes? Do you have a tree with them?
>>> Also MMIO mapping code the same pci device to be added.
>>
>>
>> Hmmm? What do you mean? MMIO mapping code is definitely not part of the SMMU
>> drivers.
>>
>> IIRC, this should be done by either the toolstack or PCI back in Linux.
>>
>>> So in short there changes, and as they are in the same files and
>>> features are also similar, is it possible that we work together may
>>> be julien can provide a design document (simple txt file would do).
>>
>>
>> There is no need of design document for the SMMU drivers. Everything for DT
>> passthrough is already there.
>>
> It would be helpful if you can provide a basic flow.
http://lists.xen.org/archives/html/xen-devel/2014-07/msg04090.html
--
Julien Grall
prev parent reply other threads:[~2014-11-03 9:52 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-24 18:08 Xen 4.5-rc1 update (RC1 is out 2014-Oct-24th) konrad.wilk
2014-10-24 19:16 ` Andrew Cooper
2014-10-27 8:39 ` Paul Durrant
2014-10-27 10:01 ` Andrew Cooper
2014-10-27 13:48 ` Konrad Rzeszutek Wilk
2014-10-24 21:22 ` Boris Ostrovsky
2014-10-24 21:25 ` Andrew Cooper
2014-10-25 8:10 ` Fabio Fantoni
2014-10-27 16:15 ` Konrad Rzeszutek Wilk
2014-10-28 13:22 ` Fabio Fantoni
2014-10-28 17:18 ` Is: QXL in Xen (busted) Was :Re: " Konrad Rzeszutek Wilk
2014-10-28 18:25 ` Fabio Fantoni
2014-10-31 14:33 ` Konrad Rzeszutek Wilk
2014-11-03 11:05 ` Fabio Fantoni
2014-11-03 16:03 ` Konrad Rzeszutek Wilk
2014-11-06 15:12 ` Fabio Fantoni
2014-11-12 10:32 ` Fabio Fantoni
2014-10-27 16:07 ` Konrad Rzeszutek Wilk
2014-10-31 7:09 ` manish jaggi
2014-10-31 14:24 ` Konrad Rzeszutek Wilk
2014-10-31 14:31 ` Julien Grall
2014-10-31 21:01 ` Konrad Rzeszutek Wilk
2014-11-01 17:43 ` Julien Grall
2014-11-02 6:03 ` manish jaggi
2014-11-02 10:17 ` [ARM] SMMU and PCI passthrough Was: " Julien Grall
2014-11-03 5:08 ` manish jaggi
2014-11-03 9:52 ` Julien Grall [this message]
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=54575059.8080905@linaro.org \
--to=julien.grall@linaro.org \
--cc=christoffer.dall@linaro.org \
--cc=ian.campbell@citrix.com \
--cc=manish.jaggi@caviumnetworks.com \
--cc=manishjaggi.oss@gmail.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xenproject.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.