Received: by 10.223.164.202 with SMTP id h10csp133767wrb; Wed, 8 Nov 2017 13:21:29 -0800 (PST) X-Google-Smtp-Source: ABhQp+RQWjm2B90g3n2EJzx/9zqRWRvXDFYP8R9cpAAwKNDHGQYU10X+otuDsqH7G1ML4n3ci93z X-Received: by 10.98.139.220 with SMTP id e89mr1310181pfl.41.1510176089097; Wed, 08 Nov 2017 13:21:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510176089; cv=none; d=google.com; s=arc-20160816; b=zGAFTDN5SGD5GQjBaBaDm88HfgXJyQ1/fDfnhxdypBdPeQ0vTyrW09/n6EOFf1JhkY ooJV2cglT47YY46EhwaebOvRCVikSBPSwHWO7pg8607Vesf5IRLJ2mSjUKuu98pAC2t6 yUROR+G/i2TfEQ8siW0EChrljxfamqdUgwSkHNzRZaB5bmlwnwNVqfi5/NyCaMSFr8V6 kO5sADZ8VwbIuwGOM2ndI8eThMQWRCqAJbozn2DYDZbHFoGYlzVpEFZbgGzFdNRj3aRb +lXyP+SjSei4zsX9TCqRMUrWH295VSZ7tqZBZBYl8PkDmVC6Q2v5ZyrhODb3YeIY2HxI VPZA== 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:cc:references:to :subject:arc-authentication-results; bh=1A3VFIGbnzn4Ykk7ZnFaWG5fu7nIvsVA7YM59g4xAmM=; b=nUcGPi9w9JargDKZi/8I5uzrhcIfsuXuJHBGHswU4UnnQn3dFLlbHuNQNqHIHk5Ej5 24SH61BVyEjAm4JBgjBgIKnfsSVkigPjUZbuVHdkcQb0m1z+RUfEp9DrbXYfkHzBwUAe xlpDLj+4ue3lv4PakDlNJCD8xfBStDU+TAQHudCcoFNwd4lovTihj7Nq2pzEpTSrg0/w eydyBiEjDkIgRYpUxkbZ2POlID/Yw5zgDMdJ1Oaa/WO4hE1zjbieOrFokkas0Tw1YINU vmLtn2LSRabSY4VOvhWPLfGv+agYuDREeooLTJKmpOevZJf7N/SAkT5CMJmlqYxkg6eG mZ7w== 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 g127si4479593pgc.553.2017.11.08.13.21.17; Wed, 08 Nov 2017 13:21:29 -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 S1753286AbdKHVUp (ORCPT + 84 others); Wed, 8 Nov 2017 16:20:45 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:47186 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752644AbdKHVUl (ORCPT ); Wed, 8 Nov 2017 16:20:41 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vA8LK87G030157 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Nov 2017 21:20:09 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vA8LK8iQ019673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Nov 2017 21:20:08 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vA8LK7pv029706; Wed, 8 Nov 2017 21:20:07 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:07 -0800 Subject: Re: [PATCH v4] xen: support priv-mapping in an HVM tools domain To: Paul Durrant , x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20171103170411.32239-1-paul.durrant@citrix.com> <7e3f125b-7384-52cf-6c48-aa0a7cb7e047@oracle.com> Cc: Juergen Gross , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" From: Boris Ostrovsky Message-ID: Date: Wed, 8 Nov 2017 16:21:37 -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: <7e3f125b-7384-52cf-6c48-aa0a7cb7e047@oracle.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/03/2017 04:51 PM, Boris Ostrovsky wrote: > On 11/03/2017 01:04 PM, Paul Durrant wrote: >> If the domain has XENFEAT_auto_translated_physmap then use of the PV- >> specific HYPERVISOR_mmu_update hypercall is clearly incorrect. >> >> This patch adds checks in xen_remap_domain_gfn_array() and >> xen_unmap_domain_gfn_array() which call through to the approprate >> xlate_mmu function if the feature is present. A check is also added >> to xen_remap_domain_gfn_range() to fail with -EOPNOTSUPP since this >> should not be used in an HVM tools domain. >> >> Signed-off-by: Paul Durrant > Reviewed-by: Boris Ostrovsky > Applied to for-linus-4.15. -boris From 1583079555212652178@xxx Fri Nov 03 20:51:52 +0000 2017 X-GM-THRID: 1583064975085269959 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread