All of lore.kernel.org
 help / color / mirror / Atom feed
From: julien.grall@citrix.com (Julien Grall)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 05/22] xen/grant: Add helper gnttab_page_grant_foreign_access_ref_one
Date: Wed, 30 Sep 2015 11:50:27 +0100	[thread overview]
Message-ID: <560BBE73.3070402@citrix.com> (raw)
In-Reply-To: <1443609937-25278-6-git-send-email-julien.grall@citrix.com>

On 30/09/15 11:45, Julien Grall wrote:
> Many PV drivers contain the idiom:
> 
> pfn = page_to_gfn(...) /* Or similar */
> gnttab_grant_foreign_access_ref
> 
> Replace it by a new helper. Note that when Linux is using a different
> page granularity than Xen, the helper only gives access to the first 4KB
> grant.
> 
> This is useful where drivers are allocating a full Linux page for each
> grant.
> 
> Also include xen/interface/grant_table.h rather than xen/grant_table.h in
> asm/page.h for x86 to fix a compilation issue [1]. Only the former is
> useful in order to get the structure definition.
> 
> [1] Interdependency between asm/page.h and xen/grant_table.h which result
> to page_mfn not being defined when necessary.
> 
> Signed-off-by: Julien Grall <julien.grall@linaro.org>

Hmmm... this should be julien.grall at citrix.com. Still mixing up with my
old address.

I've fixed it in the branch associated to this series.

Regards,

-- 
Julien Grall

WARNING: multiple messages have this Message-ID (diff)
From: Julien Grall <julien.grall@citrix.com>
To: <xen-devel@lists.xenproject.org>
Cc: <linux-arm-kernel@lists.infradead.org>, <ian.campbell@citrix.com>,
	<stefano.stabellini@eu.citrix.com>,
	<linux-kernel@vger.kernel.org>,
	"Julien Grall" <julien.grall@linaro.org>,
	David Vrabel <david.vrabel@citrix.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: Re: [PATCH v5 05/22] xen/grant: Add helper gnttab_page_grant_foreign_access_ref_one
Date: Wed, 30 Sep 2015 11:50:27 +0100	[thread overview]
Message-ID: <560BBE73.3070402@citrix.com> (raw)
In-Reply-To: <1443609937-25278-6-git-send-email-julien.grall@citrix.com>

On 30/09/15 11:45, Julien Grall wrote:
> Many PV drivers contain the idiom:
> 
> pfn = page_to_gfn(...) /* Or similar */
> gnttab_grant_foreign_access_ref
> 
> Replace it by a new helper. Note that when Linux is using a different
> page granularity than Xen, the helper only gives access to the first 4KB
> grant.
> 
> This is useful where drivers are allocating a full Linux page for each
> grant.
> 
> Also include xen/interface/grant_table.h rather than xen/grant_table.h in
> asm/page.h for x86 to fix a compilation issue [1]. Only the former is
> useful in order to get the structure definition.
> 
> [1] Interdependency between asm/page.h and xen/grant_table.h which result
> to page_mfn not being defined when necessary.
> 
> Signed-off-by: Julien Grall <julien.grall@linaro.org>

Hmmm... this should be julien.grall@citrix.com. Still mixing up with my
old address.

I've fixed it in the branch associated to this series.

Regards,

-- 
Julien Grall

  parent reply	other threads:[~2015-09-30 10:50 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 10:45 [PATCH v5 00/22] xen/arm64: Add support for 64KB page in Linux Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 01/22] net/xen-netback: xenvif_gop_frag_copy: move GSO check out of the loop Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 02/22] arm/xen: Drop pte_mfn and mfn_pte Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 03/22] xen: Add Xen specific page definition Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 04/22] xen/grant: Introduce helpers to split a page into grant Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 05/22] xen/grant: Add helper gnttab_page_grant_foreign_access_ref_one Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:50   ` Julien Grall
2015-09-30 10:50   ` Julien Grall [this message]
2015-09-30 10:50     ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 06/22] block/xen-blkfront: Split blkif_queue_request in 2 Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 07/22] block/xen-blkfront: Store a page rather a pfn in the grant structure Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 08/22] block/xen-blkfront: split get_grant in 2 Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 09/22] xen/biomerge: Don't allow biovec's to be merged when Linux is not using 4KB pages Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 10/22] xen/xenbus: Use Xen page definition Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 11/22] tty/hvc: xen: Use xen " Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 12/22] xen/balloon: Don't rely on the page granularity is the same for Xen and Linux Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-10-02 14:09   ` David Vrabel
2015-10-02 14:09   ` David Vrabel
2015-10-02 14:09     ` David Vrabel
2015-10-02 14:31     ` Julien Grall
2015-10-02 14:31       ` Julien Grall
2015-10-02 14:52       ` Julien Grall
2015-10-02 14:52         ` Julien Grall
2015-10-02 15:18         ` Boris Ostrovsky
2015-10-02 15:18         ` Boris Ostrovsky
2015-10-02 15:18           ` Boris Ostrovsky
2015-10-02 15:19         ` David Vrabel
2015-10-02 15:19         ` [Xen-devel] " David Vrabel
2015-10-02 15:19           ` David Vrabel
2015-10-02 14:52       ` Julien Grall
2015-10-02 14:31     ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 13/22] xen/events: fifo: Make it running on 64KB granularity Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 14/22] xen/grant-table: " Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 15/22] block/xen-blkfront: Make it running on 64KB page granularity Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 16/22] block/xen-blkback: " Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 17/22] net/xen-netfront: " Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 18/22] net/xen-netback: " Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 19/22] xen/privcmd: Add support for Linux " Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 20/22] arm/xen: Add support for " Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 21/22] xen/swiotlb: Pass addresses rather than frame numbers to xen_arch_need_swiotlb Julien Grall
2015-09-30 10:45 ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45 ` [PATCH v5 22/22] xen/swiotlb: Add support for 64KB page granularity Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 10:45   ` Julien Grall
2015-09-30 11:32 ` [PATCH v5 00/22] xen/arm64: Add support for 64KB page in Linux Mark Rutland
2015-09-30 11:32   ` Mark Rutland
2015-09-30 11:45   ` Julien Grall
2015-09-30 11:45   ` Julien Grall
2015-09-30 11:45     ` Julien Grall
2015-09-30 13:04     ` Mark Rutland
2015-09-30 13:04       ` Mark Rutland
2015-09-30 13:04     ` Mark Rutland
2015-09-30 11:32 ` Mark Rutland
2015-10-01 15:15 ` [Xen-devel] " David Vrabel
2015-10-01 15:15   ` David Vrabel
2015-10-02  9:51   ` Ian Campbell
2015-10-02 13:25     ` Boris Ostrovsky
2015-10-02 14:35       ` Konrad Rzeszutek Wilk
2015-10-02 13:25     ` Konrad Rzeszutek Wilk
2015-10-05 16:18       ` Ian Campbell
2015-10-01 15:15 ` David Vrabel

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=560BBE73.3070402@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=linux-arm-kernel@lists.infradead.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.