Received: by 10.192.165.148 with SMTP id m20csp4878721imm; Tue, 1 May 2018 05:35:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp8rSi6kOsQVgyy1Ffb1ehN2ySlf7QZ/u3YcxR2HnnFIjsmbd4HtSFFH2xqiJEGVoTTQ61A X-Received: by 2002:a17:902:8307:: with SMTP id bd7-v6mr15733104plb.234.1525178156900; Tue, 01 May 2018 05:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525178156; cv=none; d=google.com; s=arc-20160816; b=DgHQDoq5jOXwYzyLhYcmEUjdzaGahZsaikS4iAL8+jYWqC0VrhioWSnlIfLdZ56XPe l5cJ1gJICh8Cob+XdT9iweOfyv9z+oXYvbcaFyj+xwBB55sDumNc2jdzWPNUioW5V7+e FKBVJGPQ+wKugcA7WaJSI3HJR9mkZlS/CGU8do1EZnhJ49u2f7UordYLB9DfQXO4nps/ AoMYaDUi5j6JXK3titXD3622UORImT9BwgTzDx75wtNw93yCPkgmgh/7t1Undyy87O1a 9Iw2T8nfOXo9uDaRE7rvtxBfWmSA6Ht5bBPBQPOul0L2zbYZ98FvDoihhJ+y62gPhL47 nLKQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=cH3jyZcRd9TApIwiJ/QarAwBVYOpTb9CdZrEd112Gfo=; b=pxQrpKKrqI0t6ik8RaOK4KQwgdJbLv9+iimsGpMf+dzeZQlJy0oXyDJUoZGa6e/AYb B5cFxGj51Xoj5Qk4NIsARzyn7iUtoRhSWXNuZ6QEeXmSEvR2EjhyvVn4RQmcF/6ZV+zV 899ponPYOEsm7uRgqdxrAjjLGIX9QUlnhuF2ceF+E65VJAM8LMaGJCfET3aCmxl0RB3a ltKSSWna97205JjlI4lQqDyia4yLk4Q3C7PYd79mgqk/MQvDZ7Is5tVbJ9JBTxZgWHF6 n6cntyVKM3E2yVKYRr/IuCVgpCrjYFotbi6IDo16ozNQsWNN9o8PNVx/WDwYo8fLpion ZQ1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=Flm7xRPP; 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=pass (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 q1-v6si9180531plb.549.2018.05.01.05.35.42; Tue, 01 May 2018 05:35:56 -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; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=Flm7xRPP; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755849AbeEAMfF (ORCPT + 99 others); Tue, 1 May 2018 08:35:05 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:41574 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755230AbeEAMfC (ORCPT ); Tue, 1 May 2018 08:35:02 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w41CVRrS126205; Tue, 1 May 2018 12:34:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=cH3jyZcRd9TApIwiJ/QarAwBVYOpTb9CdZrEd112Gfo=; b=Flm7xRPPnJWmjb0SO2bbUFDIbcqMHM21RrBFLWB2l9Ds/DikaBR0RXlMaTBLOPupI7hp itbVSlwb1MKGAlqXM2JSZ5tWkoJ6y51MX5OU0YU9aVUnONz/jLaGAbeWxYf8j6pc1oDD RayLvQVGnF1uYPjKVlZNytWg0wxHtiwDCWIPWLtvpONckeyQB1tHMwcQ4YAvC01KT+SK DD6m8EgrTYpUB0cEoNgJeECgc48B6lDRW/YUxxR08UPgvlyk+hbJIPF4ss9o4ZJahZV7 e+XL3enTpeudeK8PqUpbROTX0gWh6t81JYMdw9zAP07MH0ToXq0AynVEImCpjCkNGNZF pA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2hmhmffh38-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 01 May 2018 12:34:55 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w41CYtkq021076 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 1 May 2018 12:34:55 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w41CYsTV006819; Tue, 1 May 2018 12:34:54 GMT Received: from [10.0.2.15] (/108.49.193.195) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 01 May 2018 05:34:54 -0700 Subject: Re: [Xen-devel] [PATCH 4/4] xen/PVH: Remove reserved entry in PVH GDT To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, jgross@suse.com References: <20180430162339.17143-1-boris.ostrovsky@oracle.com> <20180430162339.17143-5-boris.ostrovsky@oracle.com> <20180501080009.wnjmno5pietptixo@MacBook-Pro-de-Roger.local> From: Boris Ostrovsky Message-ID: <5a357f3d-b66e-ca55-0601-18a89b549f4a@oracle.com> Date: Tue, 1 May 2018 08:34:53 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180501080009.wnjmno5pietptixo@MacBook-Pro-de-Roger.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8879 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=836 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805010126 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. The reason I added this patch was that since we are adding another segment descriptor (GS) we are now using PVH-specific GDT and so we are not sharing layout with other code anymore. (Also, the new GS segment overlaps with __BOOT_TSS so I kind of broke it already there, not unintentionally). But if people think I should stick with __BOOT_XX I can drop this patch (and then probably move GS down one entry). -boris