Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3370955imm; Thu, 17 May 2018 07:46:10 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp4FMwVewyK1JOK3wv1Jt8qJyGzP23OI5Fr0ZX07w2GgXs4oyYKccnRCVi3D90JOgjN5Iw8 X-Received: by 2002:a62:4708:: with SMTP id u8-v6mr5494909pfa.89.1526568370725; Thu, 17 May 2018 07:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526568370; cv=none; d=google.com; s=arc-20160816; b=QgZ1Hyx0qJJafG3gnWjHI9zDJN0kQXP9eBHT64DN7OvLWG6oU+Crv5I/nKPAwtRDLm 7dZZRO/oouK4jZVEfYKtjVBrkWmsPlvDL+yUN+3yTwyzdb7PfoCpKuYqCXLT7TsKIrNO IDcC2R2TygvQ3ZOLptUMNikhwKQEpoO3rG2qfbFHrCygncXTP5ZayuU/WkNgKQsnos81 yJKa54R20Vdv5XK68FclHFlRfVb1hx+I0DrJFMBDaS1/CUoImD+6/6y7QD/36sjDRlzb ajltvDtBQj9YZqWES7utDfnYoQX6UJUFkVirUh3mR3F6BA+EKmGr4G8pJnPAxSXzSYUn iGCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=dlrEWF4zQuwggJnJ3K8R1Tp4Wd727TouZz/uIFiPK68=; b=WGmxSFTNqavH9jADPRjNxaL4BCl8u1YRWbTqllOpcn3pgusTG+ja6ZHshcDbINyvGX Wf1UWQ6uHBjIZbJ4Xhkm+wu3TbBQ+JBB6YnmJ8PLe3BFMS4u0cs0lhG7tH5lPCPWN0gl J6Pqas8KfABuqAm9lCTvUwP8gmyu1jihhPmnQCPq+VqrbU1tm53C0wMzTmz7n/S2XP1n Wg9+y7timR9SvGwM4SFXljU6WV3VqH7f47TaSv4WmU3wQjQ/XgRhm3Wd1NXuRr3ItRSH ES/CE1JiXKIeGtNcZxdIv9am7dU9AFMeeEE3GmU+0u/9psaKVe9W6O7D10rJRVJD2eNZ Q/0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=eRI8vYAq; 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 p1-v6si5227279pls.4.2018.05.17.07.45.50; Thu, 17 May 2018 07:46:10 -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=eRI8vYAq; 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 S1752503AbeEQOpH (ORCPT + 99 others); Thu, 17 May 2018 10:45:07 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:60708 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752473AbeEQOpF (ORCPT ); Thu, 17 May 2018 10:45:05 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4HEexhK191680; Thu, 17 May 2018 14:45:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2017-10-26; bh=dlrEWF4zQuwggJnJ3K8R1Tp4Wd727TouZz/uIFiPK68=; b=eRI8vYAqe2+Q+vdFuDT7/sZKJTnc2O56nhG9+vpvkZTzqNH5uWCpFqfjYyheYFFEZb40 8CnW+5cMqApyI4/Oaj8tB5IWH2hv4GHGBDrBMIGxbL29sbhhxGi7qY2OH9h4DEm5nZhH 73O6lyWC/R0KkKJqZ55avlgA16f5pSgaBmWyeNcDzmKU6ECVPVPJD+4m5j2qhYKVl9Hr Hm7YHHt4pDZL5ej4fxkY1xIuVWfw2VFBLzO4nN2gw6Zy+D9OURum3oOVyez+0AOIso1Y iLa16Xffkn9D0te5i8HrJIml6afGM7izax0bBM6TTccAxrMaYY8OR5HVqtEEbnM3Fc1m KA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2hx29whjgb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 May 2018 14:45:00 +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 w4HEj0XH018359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 May 2018 14:45:00 GMT Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w4HEixDE019910; Thu, 17 May 2018 14:44:59 GMT Received: from dhcp-burlington7-2nd-B-east-10-152-55-162.usdhcp.oraclecorp.com.com (/10.152.32.65) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 17 May 2018 07:44:59 -0700 From: Boris Ostrovsky To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: jgross@suse.com, JBeulich@suse.com, Boris Ostrovsky Subject: [PATCH v3 0/2] PVH GDT fixes Date: Thu, 17 May 2018 10:47:21 -0400 Message-Id: <20180517144723.21585-1-boris.ostrovsky@oracle.com> X-Mailer: git-send-email 2.14.3 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8895 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=429 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805170136 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix stack canary handling (in the first patch) and re-index PVH GDT to make it explicit that the GDT PVH-specific v3: - Use GS base MSR for 64-bit mode Boris Ostrovsky (2): xen/PVH: Set up GS segment for stack canary xen/PVH: Make GDT selectors PVH-specific arch/x86/xen/xen-pvh.S | 46 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 36 insertions(+), 10 deletions(-) -- 2.9.3