Received: by 10.192.165.148 with SMTP id m20csp333606imm; Wed, 9 May 2018 13:32:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr+TLYV/by427kDr2ghCqGrOXAHgMVOziBkaNjRZZohnbr4P7wEMBlFjebuo3vLNLn4ufJi X-Received: by 2002:a65:510a:: with SMTP id f10-v6mr26655924pgq.248.1525897941729; Wed, 09 May 2018 13:32:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525897941; cv=none; d=google.com; s=arc-20160816; b=Co+791nGWyIMuYtvkxcyooEcpIh7CmaTBNLDKN7oOWhevAdVuLQZuuXv2/7EbC6xyc secCk5iJGHL89kh6M5NFP75hiqpZU2xUI+Gg9p272J6gxAJoNEsLyDMpfiawqlJVYqgg 5b536zOqBYb0FD0j+1KVWj12mBBkPOd3QhKWZyFff/IeAzHujdB2SWcK/2Z9u+G3sIS8 6/2Mf5TmuIbxWC1tvy7GElkCv0EyENVyBXQwWYAOZ3RVw+R1vj5dA7dnPFX/qg08cvlK DBSNZzpQRCgR8X8da3pGWM+gsB7VUWASipjgnhjZajaN08a2iABd+R6IE6SQpQlklK1U NFzg== 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=g6S8JR2O3yLkcY4oGLjb0Pj+aIv3tqd8S5j6ueSPEs0=; b=b3sD+vl4/xAPJzvbcUTVq/wZBq9btpb2aSp7e0xKblAPxzNs/W6KF6jenANu6KetLw u3pkNR6kmWC0o9g4e/s7LsuCbeD+Rdl39usgJjwyprKD9UWuqhDUPEyDE6dr655SGrTf 7yFBHqeJFHQc14j/oVnND3GpS2AgGpdGQRn9QCQ6wWfJw7HPZp7I9fWajjWDxMutnUAb bW2CRFhYJe14tNU59BYLtmThsLtrQGd+pQvKHTKENhUT9ONi7THZ3kTeb76p3I9kwlEy 6+NywbBg+E3HyQUUOlv/1kSMnQTHA0Jnaxso5JXDVDasm9X6qVIhOHfiZoHWWwP8YV9o igdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=fw7DfGy/; 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 s71si16920730pfi.74.2018.05.09.13.31.54; Wed, 09 May 2018 13:32:21 -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=fw7DfGy/; 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 S965136AbeEIUbV (ORCPT + 99 others); Wed, 9 May 2018 16:31:21 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:47070 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935548AbeEIUbR (ORCPT ); Wed, 9 May 2018 16:31:17 -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 w49KUmql097367; Wed, 9 May 2018 20:31:12 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=g6S8JR2O3yLkcY4oGLjb0Pj+aIv3tqd8S5j6ueSPEs0=; b=fw7DfGy/QRamzsRxb7pJOlF1EabhxgQqk/cMfSDTyPeVBqDlrpysKOJxzgog5ouKsFD/ Vg5IPZ4EFwo9jANL9x2giT81359yc56Dt1VHmiNnhr6xPTm3hPSsBztlriXQSf1Q3cZD xAVNGIlmV/kkzr18zSUwuT+odWqc90+aeO3c8ndSdY9fMVd7trm/gs9vNXR34Yy7jqk4 pvym85/LvcLW8Shtu0B7UtOcaKsp65YyXdqvp+O7koQ3La8w9PXUNWzSL2AgckcwdeN0 lo75QigoRJ1KABI7WeefXruAs8qTXYBdEMTVZw3BN02aQPp83DJBJOd1CX8G8sL11HBn OQ== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2hv6kp0ge9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 May 2018 20:31:11 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w49KVB3Z020342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 9 May 2018 20:31:11 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w49KVAL9010441; Wed, 9 May 2018 20:31:10 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, 09 May 2018 13:31:10 -0700 From: Boris Ostrovsky To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: jgross@suse.com, Boris Ostrovsky Subject: [PATCH v2 0/2] PVH GDT fixes Date: Wed, 9 May 2018 16:33:16 -0400 Message-Id: <20180509203318.2611-1-boris.ostrovsky@oracle.com> X-Mailer: git-send-email 2.14.3 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8888 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=567 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805090191 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 v2: * Dropped first patch as this was indeed issue with my tools * Dropped second patch since the last patch should be sufficient * Added real base address for stack canary segment 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 | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) -- 2.9.3