Received: by 10.192.165.148 with SMTP id m20csp365760imm; Wed, 2 May 2018 01:28:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoPg/VihSC66adSp5jlodzElmr3htf/HbPR04GCgvbAxhDzkcRv91snuWGdWpezreSjE5by X-Received: by 10.98.227.15 with SMTP id g15mr18603118pfh.68.1525249688046; Wed, 02 May 2018 01:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525249688; cv=none; d=google.com; s=arc-20160816; b=AphDc17/TWJHLUHUbK3fRU51LCTzaV4SC94gm4iabup4YHxbJaf6vcrTWU5gU2iHG8 8PY147MqrYgXIJtUVJr9qYhm43p7aiHzw+T0pWQMf29X6jCrUxBikmUG3+o06zfzUa2H 6QKbXqJa5g/4Bw9g4cXO6gvLnuaZahqGaUdVq2rGITQArFPELDkukg8/dIQEH/gKx4ph WM/SYzjxrMhLlM+k0eT6Ekj5mY4h8GsPL/SRdWbtOIdKRp466fPY+37Ev0NoJw50tHdD 2cnSkblCl7D737AKO8tcxOMDWnDJRMHKP7cSON8kMWaYcCOtq29su4grpQuMQX1vAWzj F04A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references :subject:cc:to:from:date:message-id:arc-authentication-results; bh=qKLECnd4Be172p/sYa25/r+Cg1XGCQywBhQ9Dxhrj9g=; b=PoE9Jb468nfzvmYTwRuHLjsp1jLCWoEPYEO0zgf8Zec+hNQLet3nkxooG77vlGdDsR Fna+dvLVKooIh56jePvtFgGjFMGBf1pZMpG7mX5zIqF79oc/1AO/KHvNT4gOZTNuufG0 rQqM3Ctc151dIaB4+IeCd3kLkYnIBVYGnEwnJRv6cEShalA1Kl7uqFRUSEmVwqNwb+S6 CzSCJ5NCLKR+8XTcu6xkIkSovbLbXIVR9itkHBnUKAolWb98EQJm1arDXW9bsxDcHIUz ZzwK1N+pY7zJnQx5mfMpR9imUuJAPKSP6TPgMguYN7gFBQWvWH3S8d+d91x0mIy/Tpvs 2jCA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d15si11183434pfh.281.2018.05.02.01.27.53; Wed, 02 May 2018 01:28:08 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751202AbeEBI1n (ORCPT + 99 others); Wed, 2 May 2018 04:27:43 -0400 Received: from prv1-mh.provo.novell.com ([137.65.248.33]:43976 "EHLO prv1-mh.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750867AbeEBI1k (ORCPT ); Wed, 2 May 2018 04:27:40 -0400 Received: from INET-PRV1-MTA by prv1-mh.provo.novell.com with Novell_GroupWise; Wed, 02 May 2018 02:26:58 -0600 Message-Id: <5AE9764D02000078001C00BE@prv1-mh.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 18.0.0 Date: Wed, 02 May 2018 02:26:53 -0600 From: "Jan Beulich" To: "Boris Ostrovsky" Cc: "Roger Pau Monne" , "xen-devel" , "Juergen Gross" , Subject: Re: [Xen-devel] [PATCH 4/4] xen/PVH: Remove reserved entry in PVH GDT References: <20180430162339.17143-1-boris.ostrovsky@oracle.com> <20180430162339.17143-5-boris.ostrovsky@oracle.com> <20180501080009.wnjmno5pietptixo@MacBook-Pro-de-Roger.local> <5a357f3d-b66e-ca55-0601-18a89b549f4a@oracle.com> In-Reply-To: <5a357f3d-b66e-ca55-0601-18a89b549f4a@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> On 01.05.18 at 14:34, wrote: > On 05/01/2018 04:00 AM, Roger Pau Monné wrote: >> On Mon, Apr 30, 2018 at 12:23:39PM -0400, Boris Ostrovsky wrote: >>> And without it we can't use _BOOT_XX macros any longer so define new ones. >> >> Not being that familiar with Linux internals I'm not sure I see the >> benefit of this. Isn't there a risk that some other code is going to >> use the __BOOT_XX defines? > > The startup code we are jumping to loads their own GDT and I don't see > any explicit references to segments. No explicit references to segments isn't enough: You also need to make sure no exceptions at all can occur while loaded selectors and GDT are out of sync - in particular NMI might be of concern here (this isn't PV after all, where not having a callback registered effectively masks NMI). Jan