From: Andrii Anisov <andrii_anisov@epam.com>
To: Ian Jackson <ian.jackson@eu.citrix.com>,
Julien Grall <julien.grall@arm.com>
Cc: xen-devel@lists.xenproject.org,
Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
Andrii Anisov <andrii.anisov@gmail.com>
Subject: Re: [RFC] scf: SCF device tree and configuration documentation
Date: Fri, 5 May 2017 20:07:47 +0300 [thread overview]
Message-ID: <a9c27617-c65d-d650-77a7-3e5d473b546f@epam.com> (raw)
In-Reply-To: <22796.34946.166714.199393@mariner.uk.xensource.com>
Hello Ian,
On 05.05.17 17:13, Ian Jackson wrote:
> I read this proposal.
>
> I agree that putting all the details (interrupts, mmio, etc.) in the
> libxl config file is probably undesirable.
>
> AFAICT, there, a particularly coprocessor can be identified as a
> portion of the host's DT. Is that right ? The plan seems to be to
> take one such thing (or perhaps, several) and pass it through to "the
> guest".
>
> If these regions of the DT can be marked by this "xen,coproc"
> property, can't we instead identify them (eg in the libxl domain
> configuration) by their DT path ? So then you could say "please pass
> through coprocessor /aliases/soc/coproc0" or something.
Yep, exactly this approach worked for us when there were no requirement
to spawn for one guest domain several vcoprocs from one physical
coprocessor.
That requirement leads to a need of mapping "second" vcoproc mmio ranges
to different addresses and potentially using another IRQ, in order to
let a domain treat those devices separately.
> Also, the proposal there does not seem to provide any way to say which
> guest should get any particular coprocessor.
No, its not about getting (owning) a coprocessor for some domain, but
get a virtual coprocessor (vcoproc).
Actually a vcoproc abstraction is inspired by vcpu abstraction, maybe
such view would help to get an idea.
Please also refer [1] to get the high level overview of the topic.
> It talks about "the
> domain" (implicitly, "the" guest) - as if there could only be one.
> Surely this is wrong ?
Yep, several domains (domU) could be created using the same partial
device tree describing a configuration of virtual coprocessors.
[1]
https://lists.xenproject.org/archives/html/xen-devel/2016-10/msg01966.html
--
*Andrii Anisov*
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-05-05 17:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-04 9:32 [RFC] scf: SCF device tree and configuration documentation Andrii Anisov
2017-05-04 10:03 ` Andrii Anisov
2017-05-04 10:41 ` Julien Grall
2017-05-04 12:35 ` Andrii Anisov
2017-05-04 12:46 ` Julien Grall
2017-05-04 15:50 ` Andrii Anisov
2017-05-05 13:49 ` Julien Grall
2017-05-05 14:13 ` Ian Jackson
2017-05-05 17:07 ` Andrii Anisov [this message]
2017-05-05 17:20 ` Ian Jackson
2017-05-10 9:16 ` Andrii Anisov
2017-05-10 14:22 ` Ian Jackson
2017-05-10 16:26 ` Andrii Anisov
2017-05-04 16:13 ` Andrii Anisov
2017-05-05 14:12 ` Julien Grall
2017-05-05 15:27 ` Andrii Anisov
2017-05-05 17:51 ` Julien Grall
2017-05-10 15:30 ` Andrii Anisov
2017-05-10 17:40 ` Julien Grall
2017-05-10 17:47 ` Andrii Anisov
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=a9c27617-c65d-d650-77a7-3e5d473b546f@epam.com \
--to=andrii_anisov@epam.com \
--cc=andrii.anisov@gmail.com \
--cc=ian.jackson@eu.citrix.com \
--cc=julien.grall@arm.com \
--cc=sstabellini@kernel.org \
--cc=wei.liu2@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 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).