|
|
Log in / Subscribe / Register

xen: grant table interface v2 support

From:  Juergen Gross <jgross-AT-suse.com>
To:  linux-kernel-AT-vger.kernel.org, xen-devel-AT-lists.xenproject.org
Subject:  [PATCH 0/4] xen: grant table interface v2 support
Date:  Fri, 8 Sep 2017 16:48:45 +0200
Message-ID:  <20170908144849.2958-1-jgross@suse.com>
Cc:  boris.ostrovsky-AT-oracle.com, Juergen Gross <jgross-AT-suse.com>

In order to support Linux to run as a pv guest on machines with huge
memory (>16TB) 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 case the host has memory frames populated
above the 16TB border.

Juergen Gross (4):
  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: select grant interface version

 arch/arm/xen/grant-table.c |   9 +-
 arch/x86/xen/grant-table.c |  60 +++++++++++-
 drivers/xen/grant-table.c  | 234 ++++++++++++++++++++++++++++++++++++++++-----
 include/xen/grant_table.h  |   5 +-
 4 files changed, 276 insertions(+), 32 deletions(-)

-- 
2.12.3




Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds