mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: Juergen Gross <jgross@suse.com>,
	linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org
Subject: Re: [PATCH v2 0/5] xen: grant table interface v2 support
Date: Mon, 6 Nov 2017 15:46:14 -0500	[thread overview]
Message-ID: <d0a558e2-721f-517c-4d48-37fb933550f9@oracle.com> (raw)
In-Reply-To: <20171102091921.32344-1-jgross@suse.com>

On 11/02/2017 05:19 AM, Juergen Gross wrote:
> In order to support Linux to run as a pv guest on machines with huge
> memory (>16TB) or as a hvm guest with more than 16TB of memory the
> kernel has to support grant table interface v2, as v1 is limited to
> 32 bit frame numbers.
>
> This series re-adds that support (it has been removed in 2015) and
> restricts usage of v2 to the features of v1 in order to support
> migration to hosts which only support v1.
>
> V2 is selected only in the following cases:
> - the user has specified v2 via module parameter
> - in a pv guest if the maximum possible memory address of the host is
>   above 16TB (memory hotplug taken into account)
> - in a hvm guest if the maximum guest memory address is above 16TB
>   (again with memory hotplug taken into account)
>
> Changes in V2:
> - patch 2: remove update_trans_entry() from gnttab_ops (Boris Ostrovsky)
> - added new patch 4
> - patch 5: use cpuid on pv and max_possible_pfn on hvm for version select
>
> Juergen Gross (5):
>   xen: re-introduce support for grant v2 interface
>   xen: limit grant v2 interface to the v1 functionality
>   xen: add grant interface version dependent constants to gnttab_ops
>   xen: update arch/x86/include/asm/xen/cpuid.h
>   xen: select grant interface version
>
>  arch/arm/xen/grant-table.c       |   9 +-
>  arch/x86/include/asm/xen/cpuid.h |  42 +++++--
>  arch/x86/xen/grant-table.c       |  60 +++++++++-
>  drivers/xen/grant-table.c        | 244 +++++++++++++++++++++++++++++++++++----
>  include/xen/grant_table.h        |   5 +-
>  5 files changed, 318 insertions(+), 42 deletions(-)
>


Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

  parent reply	other threads:[~2017-11-06 20:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-02  9:19 Juergen Gross
2017-11-02  9:19 ` [PATCH v2 1/5] xen: re-introduce support for grant v2 interface Juergen Gross
2017-11-02  9:19 ` [PATCH v2 2/5] xen: limit grant v2 interface to the v1 functionality Juergen Gross
2017-11-02  9:19 ` [PATCH v2 3/5] xen: add grant interface version dependent constants to gnttab_ops Juergen Gross
2017-11-02  9:19 ` [PATCH v2 4/5] xen: update arch/x86/include/asm/xen/cpuid.h Juergen Gross
2017-11-02  9:19 ` [PATCH v2 5/5] xen: select grant interface version Juergen Gross
2017-11-06 20:46 ` Boris Ostrovsky [this message]
2017-11-08 21:22   ` [PATCH v2 0/5] xen: grant table interface v2 support Boris Ostrovsky

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=d0a558e2-721f-517c-4d48-37fb933550f9@oracle.com \
    --to=boris.ostrovsky@oracle.com \
    --cc=jgross@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®