All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Keir Fraser <keir@xen.org>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Oleksandr Dmytryshyn <oleksandr.dmytryshyn@globallogic.com>,
	Tim Deegan <tim@xen.org>, xen-devel <xen-devel@lists.xen.org>,
	Stefano Stabellini <stefano.stabellini@citrix.com>,
	Jan Beulich <jbeulich@suse.com>
Subject: Re: Question about mapping between domains
Date: Wed, 15 Jul 2015 13:00:58 +0100	[thread overview]
Message-ID: <1436961658.32371.20.camel@citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1507151248180.17378@kaball.uk.xensource.com>

On Wed, 2015-07-15 at 12:51 +0100, Stefano Stabellini wrote:
> On Wed, 15 Jul 2015, Oleksandr Dmytryshyn wrote:
> > Hi, Ian. Thank You for the response.
> > 
> > > Look at how the balloon driver does it, the hypercalls you want are
> > > XENMEM_(increase|decrease)_reservation.
> > I'll try to use those hypercalls.
> 
> In the modern Linux kernels, you just need to call gnttab_alloc_pages
> (see drivers/xen/grant-table.c:gnttab_alloc_pages).

The problem here is to grant map pages to fill and existing buffer which
is already allocated/supplied elswhere (in the GPU stack I suppose).

  reply	other threads:[~2015-07-15 12:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 13:31 Question about mapping between domains Oleksandr Dmytryshyn
2015-07-13  9:04 ` Ian Campbell
2015-07-14 15:31   ` Oleksandr Dmytryshyn
2015-07-14 15:41     ` Oleksandr Dmytryshyn
2015-07-14 15:50       ` Ian Campbell
2015-07-15  8:28         ` Oleksandr Dmytryshyn
2015-07-15 11:51           ` Stefano Stabellini
2015-07-15 12:00             ` Ian Campbell [this message]
2015-07-14 15:49     ` Ian Campbell
2015-07-17  7:43   ` Oleksandr Dmytryshyn
2015-07-17  8:59     ` Ian Campbell
2015-07-22 12:07       ` Oleksandr Dmytryshyn

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=1436961658.32371.20.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=oleksandr.dmytryshyn@globallogic.com \
    --cc=stefano.stabellini@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.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.