From: Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>
To: Stuart Yoder <stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Cc: Varun Sethi <Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
Linux IOMMU
<iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: Re: SMMU 2-stage support
Date: Fri, 17 Apr 2015 13:41:28 +0100 [thread overview]
Message-ID: <20150417124128.GB29348@arm.com> (raw)
In-Reply-To: <CY1PR0301MB0748D6CF4A434A441442D84087E40-YrwGdl+PljkyhdUd3pz1uJwN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
On Thu, Apr 16, 2015 at 04:46:59PM +0100, Stuart Yoder wrote:
> > > > So, whilst it's great that you're looking at the code, I'm not very keen on
> > > > merging anything until we have people committed to using it. Right now, the
> > > > only feedback I've had has been going in the para-virt direction and I don't
> > > > think we should do this "for fun".
> > > Freescale would be interested in using the vSMMU implementation. We have
> > > use cases for assigning devices to guest user space. Are you suggesting
> > > that you are more inclined to using the para virtualized approach?
> >
> > I can see arguments either way; the vSMMU means that the guest can use the
> > same SMMU driver as the host but a para-virtualised approach could
> > theoretically be used across multiple SMMU implementations as well as
> > potentially being kinder on the TLB.
>
> In the paravirt approach is the guest managing its own stage 1
> page tables (read directly by the hardware SMMU)?
No; ideally the paravirtualised interface would abstract any details of
the hardware, including page table format. So you might have a "map" hvc
call that takes iova, (guest) phys, size, for example. Then the hypervisor
would manually collapse that into the current page tables using iommu_map.
> Is there anything written up anywhere sketching out how the paravirt
> approach would work? Are there any limitations vs the vSMMU?
Not yet, and that's exactly the kind of research/investigation I'd like to
see happening before we commit ourselves one way or the other.
Will
prev parent reply other threads:[~2015-04-17 12:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 17:04 SMMU 2-stage support Baptiste Reynal
[not found] ` <CAN9JPjFf1Lb+L8sWq0SWt8f6P6DX2i308OeF+TdnFdstRoU3hA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-18 18:56 ` Will Deacon
[not found] ` <20150218185600.GN22017-5wv7dgnIgG8@public.gmane.org>
2015-04-03 9:55 ` Baptiste Reynal
[not found] ` <CAN9JPjFvg=e948ZLLtrUTnvDp8UWHCX2NGB4iUEES733T9YytQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-13 10:41 ` Will Deacon
[not found] ` <20150413104122.GC2869-5wv7dgnIgG8@public.gmane.org>
2015-04-14 13:32 ` Varun Sethi
[not found] ` <BN3PR0301MB12194C697DBE9D721BC97F5DEAE60-CEkquS/Gb81uuip9JPHoc5wN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-04-15 16:17 ` Will Deacon
[not found] ` <20150415161739.GD18864-5wv7dgnIgG8@public.gmane.org>
2015-04-16 15:46 ` Stuart Yoder
[not found] ` <CY1PR0301MB0748D6CF4A434A441442D84087E40-YrwGdl+PljkyhdUd3pz1uJwN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-04-17 12:41 ` Will Deacon [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=20150417124128.GB29348@arm.com \
--to=will.deacon-5wv7dgnigg8@public.gmane.org \
--cc=Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.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.