Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp915898imm; Wed, 23 May 2018 07:29:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpOvBRPz+03k/ii2Q2LOfINdOlgLfYhKjAyl01YqF0+YEmZnFmSRxrbAexO+38Qs6ICGPeI X-Received: by 2002:a63:a312:: with SMTP id s18-v6mr2521653pge.187.1527085779194; Wed, 23 May 2018 07:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527085779; cv=none; d=google.com; s=arc-20160816; b=rfD4CA+k4Y8xZMUcMIJ4+V3kNxg4bctMlaNiDvDy0q7bvzJU/xr6cFaOHMIEAqwigR TIQyobdZDVEIUhpRA34Eb0UcEBSUDqjSJekJ6KD/SL9MvtyeM7ovtXFY6XqTUeK4oDLo QYJ2lgzrC3PcPMF4AKC8rTP5XF8ZUhBtZWcUBHoxIxTlGjogWpKz+SO0ykzJg5z5c133 yFKsuw42uGaTgp974TS8BFYz0mt1ZjRLVRbUaaRBvommpAjX45VsLUCn+8VS9DIVjAid MZ4PNpOxyxLKvthMhw60jvxBpV+HKIms8TF9qrDrz9dhIk8ifAG1TDqb/vue0Qi5fwVH UXFg== 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=GgLaTHNJIi9CyvQ5oBOpkqIDuayAHnrfUFquhrpZM2w=; b=uMlVZEHvvBaZmOu9PYH6Mkl9YtX4UsSQ29bJkULTTyGKAYv0Gwk9/zTCRyvhvQRc2E nmB8po8BD+MhhYKTtq7gFGBGtwZ8yiCN+3FWVGVqjX25bgH+r/fCX5n4S/wUeEvqCEHl XMS8yX4444/m/b5ozIEArmXFSOQYniUXljZMHWEVHFYZnux0Wi2XV2ZOeI8WQG8jHVxv th4cKmw4F/XE69+Ou2PA+LQSVSwqPUv2mNKPGlqzMTw9q3FanhqYf6Ufc77o/7UyoW5g qQ90A3Vc7LQF7mIV5D4hgtQw1xmLu9UdItmUyWbjiVOpl6Aw9zKlhCU/Z6sK7Lua4S/r aP1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=LirIZ4UD; 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 r144-v6si19065692pfr.286.2018.05.23.07.29.22; Wed, 23 May 2018 07:29:39 -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=LirIZ4UD; 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 S933366AbeEWO2O (ORCPT + 99 others); Wed, 23 May 2018 10:28:14 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:38358 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933114AbeEWO2J (ORCPT ); Wed, 23 May 2018 10:28:09 -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 w4NEQNnb012033; Wed, 23 May 2018 14:28:00 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=GgLaTHNJIi9CyvQ5oBOpkqIDuayAHnrfUFquhrpZM2w=; b=LirIZ4UDcU660NVO1Z+5jOq3WX/qCJ8glPmZwBSxRmz+b/yVOAEgatNWb5qoQTIGUhxp ovCdwH/X3AQOvZlohwBCCCgorwt8anB7ylvVe9321tdPbcFI4MIRCw9KJ41MMszYMOHy NOCsoculyRItq9aLzmIZufNKxqTHt+/D5H9wCH6Jb77VYIWoSgHeuxcsT0QdplihbbIv BKSlXr9jknqU2e5etnsORknDSPjwJW9orJyC8wU1upukvvwGPKzU/AvG5p2ymOi+ngU7 YJBeZzvkRTfy/AoXyEFozr53+8oZF0zmzzXS9OcsNQ6rXu21J8XU/RClatEH/mR5+DI+ yg== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2j4nh7m8ja-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 May 2018 14:27:59 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w4NERxbt017295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 May 2018 14:27:59 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w4NERwnb002016; Wed, 23 May 2018 14:27:58 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 ; Wed, 23 May 2018 07:27:58 -0700 From: Boris Ostrovsky To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: jgross@suse.com, JBeulich@suse.com, brgerst@gmail.com, Boris Ostrovsky Subject: [PATCH v5 0/2] PVH GDT fixes Date: Wed, 23 May 2018 10:30:00 -0400 Message-Id: <20180523143002.29252-1-boris.ostrovsky@oracle.com> X-Mailer: git-send-email 2.14.3 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8901 signatures=668700 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=450 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805230146 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 v5: - Load canary's physical address and clear %edx 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 | 47 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 10 deletions(-) -- 2.9.3