Message ID | cover.1698051454.git.houwenlong.hwl@antgroup.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp1165764vqx; Mon, 23 Oct 2023 02:10:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFh49RAvEqSsXzqMn/Ci4/kMTQCvKdgD5AlgmcxACfeJjLZ+e0T9Pz+55vnd9q/8gu28csd X-Received: by 2002:a05:6808:2d1:b0:3ae:3d0:d74a with SMTP id a17-20020a05680802d100b003ae03d0d74amr9642996oid.52.1698052219498; Mon, 23 Oct 2023 02:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698052219; cv=none; d=google.com; s=arc-20160816; b=LpSvQUS0+Abg4EcvIjIpJgRqgJb4fItePyMBI82BIDEJfEX7Y8NPtvFJjOBdpUHqRm dPBdKdZHqMtn7u+2Y2jWL8niFk/SIQ4M0cB87xRaVwM5upytiaAteG9AG1A7zTi0B6AD E3trz2pcWmAWE1oDFBKFudPOJ+fFE/65uGpVjv85BE5VBQTLNbV2s1tL9dv5Awv2S+Co aPfkmYIp7mDWJ+nv2GdcMGcBqCy25lWO8+8P3DFdtdW1q0aGIKzeFZTzrV9vWSV/Dp98 pZpR5sUVumhxJ1aKBweBGe+7U0PXDr+UZ3dmzPq2o1WzGKp9OHwA0J5bKnUNrXsIWE5o z0Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=pkKmDkSQgNNntRDIgkMHuu3PclTlW4CCrB6KP+drfGU=; fh=PLO8zZlbiChx29yJ6/rVUH1l+cGxhSc4aCQ38eaGvxU=; b=u7nIdoMTF790eFZFBbC0mRLqoyYJ98QudPqlsAfJy2n6Jj/w7eBSzLct3PS97gBH10 U2ilmtG6cO416IwMMscZE2OriXp5Bt4pedZITrn7ZjOh9JKk6xydqCYVb36NTDfrM0S2 L1pFbBb/w6Y0StL7uWzwaWaRUQn+nTqXUA78aHr+szT8mO8dAs4/CQPoY0g3lgk/YodH SGq0GfyapEIaDQkX8mTjZFyLes/QVxqkqrlUIbDixmfPRiYPJBfGcHSv8vfM2bbq69M2 RZUd63BlinJYTNnXv7Adl8Nqk3ayu96WfnSL2TviFNbt6WHLu8Rgz5VmPtzR6stqc77W Hceg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.com Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id y23-20020a63de57000000b0059df1860d60si4957467pgi.424.2023.10.23.02.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 02:10:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 62C028043AFA; Mon, 23 Oct 2023 02:10:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229898AbjJWJKB (ORCPT <rfc822;aposhian.dev@gmail.com> + 27 others); Mon, 23 Oct 2023 05:10:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjJWJJ7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 23 Oct 2023 05:09:59 -0400 Received: from out0-196.mail.aliyun.com (out0-196.mail.aliyun.com [140.205.0.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FD1398; Mon, 23 Oct 2023 02:09:56 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018047193;MF=houwenlong.hwl@antgroup.com;NM=1;PH=DS;RN=14;SR=0;TI=SMTPD_---.V5pF1jV_1698052193; Received: from localhost(mailfrom:houwenlong.hwl@antgroup.com fp:SMTPD_---.V5pF1jV_1698052193) by smtp.aliyun-inc.com; Mon, 23 Oct 2023 17:09:54 +0800 From: "Hou Wenlong" <houwenlong.hwl@antgroup.com> To: linux-kernel@vger.kernel.org Cc: "Hou Wenlong" <houwenlong.hwl@antgroup.com>, "Andy Shevchenko" <andy@infradead.org>, "Borislav Petkov" <bp@alien8.de>, "Boris Ostrovsky" <boris.ostrovsky@oracle.com>, "Darren Hart" <dvhart@infradead.org>, "Dave Hansen" <dave.hansen@linux.intel.com>, "H. Peter Anvin" <hpa@zytor.com>, "Ingo Molnar" <mingo@redhat.com>, "Juergen Gross" <jgross@suse.com>, <platform-driver-x86@vger.kernel.org>, "Thomas Gleixner" <tglx@linutronix.de>, <x86@kernel.org>, <xen-devel@lists.xenproject.org> Subject: [PATCH 0/2] x86/xen/pvh: Clean up stack canary setup in PVH entry Date: Mon, 23 Oct 2023 17:09:37 +0800 Message-Id: <cover.1698051454.git.houwenlong.hwl@antgroup.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 23 Oct 2023 02:10:17 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780536804066743654 X-GMAIL-MSGID: 1780536804066743654 |
Series |
x86/xen/pvh: Clean up stack canary setup in PVH entry
|
|
Message
Hou Wenlong
Oct. 23, 2023, 9:09 a.m. UTC
Clean up the stack canary setup in the PVH entry. For a 64-bit kernel, use fixed_percpu_data to set up GSBASE. For a 32-bit kernel, set up the %fs register explicitly. Hou Wenlong (2): x86/xen/pvh: Set up percpu for stack canary in 32-bit kernel entry x86/xen/pvh: Use fixed_percpu_data to set up GS base arch/x86/platform/pvh/head.S | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) base-commit: 50dcc2e0d62e3c4a54f39673c4dc3dcde7c74d52 -- 2.31.1