All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stuart Yoder <stuart.yoder-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
To: Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>,
	Varun Sethi <Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Cc: Linux IOMMU
	<iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: RE: SMMU 2-stage support
Date: Thu, 16 Apr 2015 15:46:59 +0000	[thread overview]
Message-ID: <CY1PR0301MB0748D6CF4A434A441442D84087E40@CY1PR0301MB0748.namprd03.prod.outlook.com> (raw)
In-Reply-To: <20150415161739.GD18864-5wv7dgnIgG8@public.gmane.org>



> -----Original Message-----
> From: Will Deacon [mailto:will.deacon-5wv7dgnIgG8@public.gmane.org]
> Sent: Wednesday, April 15, 2015 11:18 AM
> To: Sethi Varun-B16395
> Cc: Baptiste Reynal; Linux IOMMU; Yoder Stuart-B08248
> Subject: Re: SMMU 2-stage support
> 
> On Tue, Apr 14, 2015 at 02:32:26PM +0100, Varun Sethi wrote:
> > Hi Will,
> 
> Hey Varun,
> 
> > > -----Original Message-----
> > > From: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org [mailto:iommu-
> > > bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org] On Behalf Of Will Deacon
> > > Sent: Monday, April 13, 2015 4:11 PM
> > > To: Baptiste Reynal
> > > Cc: Linux IOMMU
> > > Subject: Re: SMMU 2-stage support
> > >
> > > On Fri, Apr 03, 2015 at 10:55:02AM +0100, Baptiste Reynal wrote:
> > > > We are eventually working on the vSMMU implementation. Relying on the
> > > > talk Will Deacon gave at the Linux Plumbers IOMMU Microconference on
> > > > October
> > > > 2014 (http://linuxplumbersconf.org/2014/ocw/proposals/2019), I tried
> > > > the vSMMU initialization.
> > >
> > > My position on the vSMMU still hasn't changed:
> > >
> > > > > Anyway, until somebody actually wants this feature I've put it on
> > > > > ice as it adds a whole bunch of complication to the ARM SMMU driver,
> > > > > as well as new user ABI extensions that I don't really want to maintain for
> > > fun.
> > >
> > > 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)?

Is there anything written up anywhere sketching out how the paravirt
approach would work?   Are there any limitations vs the vSMMU?

Thanks,
Stuart

  parent reply	other threads:[~2015-04-16 15:46 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 [this message]
     [not found]                         ` <CY1PR0301MB0748D6CF4A434A441442D84087E40-YrwGdl+PljkyhdUd3pz1uJwN6zqB+hSMnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2015-04-17 12:41                           ` Will Deacon

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=CY1PR0301MB0748D6CF4A434A441442D84087E40@CY1PR0301MB0748.namprd03.prod.outlook.com \
    --to=stuart.yoder-kzfg59tc24xl57midrcfdg@public.gmane.org \
    --cc=Varun.Sethi-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=will.deacon-5wv7dgnIgG8@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.