Received: by 10.223.164.202 with SMTP id h10csp134008wrb; Wed, 8 Nov 2017 13:21:49 -0800 (PST) X-Google-Smtp-Source: ABhQp+QI3wO2JlRVTdIhRPZaSUtwzGUpP0kKtyB4wJVFThZvQHvi5I71EvSPSPbPtf011DihDQzj X-Received: by 10.98.215.66 with SMTP id v2mr1834934pfl.24.1510176109536; Wed, 08 Nov 2017 13:21:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510176109; cv=none; d=google.com; s=arc-20160816; b=s6lr6VQLOq11z13oTaRHBqY3omfqVu/qYZ58MgnglKm3zkXIFIT1zC/bOj9GOE13H5 kx5+ELJSMnDdzY//JuXoKDjKLmuWTVQaKpWR38Ft/aEvrOwe5kw3R4nYckW3h1CwuvWJ V4PDTwjkDnnduSH8/YylDF5fP2uYcKMBJC8LdaOmMEbTigIIpAm+P6jurLaD2A3RtoWb j9mggqw/20KdgBifm4eLnVeGuZ7SdcwtwHmvxiELF7X2DuovG+t/huvExAvIGUILQASL BhaySgCqsebIn9WgY2F1sd2OMbr8TjFSx2gGsg7K7flIfkUDWXnskkPkzgJoOdXE1ZL9 eD1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=oFBJtGOEgL03oRxhAi3KlzPd6JG9H58X3I1qEh0TU3o=; b=T0uh0+cQcNk975Kw3IxOdEALtPgZvXWDLG+NEILMhNkXco/hVtpQPCB62Xsp1akcO2 qPTRIrdyEwvHONOZEaT9eB+8mrF0/95/JQg7gqutORW9yetnh529jZlUsC+8C98Q/Ve9 rj4UAmBMwzxhZJK+7is5rlEfVG2IpuMDua3VB8Oa9vLQxOKlbQ0qUCeQ98tto19d/kgG OAqIey4qooKHe+oHBQrXtrJlUzT61AQAhIzUpw2rXgwzTY6DSBFcl0/nAsnVTvFJdqOE ZXbyY8zgJscUYvKbbIkdGrILdkRBkGd40e5E/TtB392Xx0LaeJWHEIensb9GqFkSy4g1 YQ8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s124si4581824pgc.364.2017.11.08.13.21.37; Wed, 08 Nov 2017 13:21:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753029AbdKHVVC (ORCPT + 84 others); Wed, 8 Nov 2017 16:21:02 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:31855 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752660AbdKHVVB (ORCPT ); Wed, 8 Nov 2017 16:21:01 -0500 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vA8LKuav024883 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Nov 2017 21:20:57 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id vA8LKuMT031874 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Nov 2017 21:20:56 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vA8LKtnH030149; Wed, 8 Nov 2017 21:20:56 GMT Received: from dhcp-burlington7-2nd-B-east-10-152-55-162.usdhcp.oraclecorp.com (/10.152.32.65) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 08 Nov 2017 13:20:55 -0800 Subject: Re: [PATCH v2 0/5] xen: grant table interface v2 support To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org References: <20171102091921.32344-1-jgross@suse.com> From: Boris Ostrovsky Message-ID: Date: Wed, 8 Nov 2017 16:22:26 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/06/2017 03:46 PM, Boris Ostrovsky wrote: > 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 Applied to for-linus-4.15. -boris From 1583354970942220468@xxx Mon Nov 06 21:49:29 +0000 2017 X-GM-THRID: 1582945484577497204 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread