Message ID | 20230609183632.48706-11-alexander.shishkin@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1127892vqr; Fri, 9 Jun 2023 12:14:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6HjE65D/i5AATkN3IQNk8Mn1+PCPjMezbRHubKO2Xo60xXOvc7u3D/aMxyORxe4jfxdwYk X-Received: by 2002:a05:6a00:2195:b0:654:100f:c003 with SMTP id h21-20020a056a00219500b00654100fc003mr2787320pfi.6.1686338072900; Fri, 09 Jun 2023 12:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686338072; cv=none; d=google.com; s=arc-20160816; b=yCdMfta1bWllWGZVFJgZX0ix154+bwHIrti1F+KTQ2mvK/qJIQs2QIuusVhWyBPIUy AcUwr5dzKVOnPjEcpYsTzijYBz3mNSHD/LUkQQBsMgsTg7LzWgbqiJFFz5FnDRV5rXUj jYn54rgQz+WQaFo1Nh+yoBfK5u0wZzxzZqZXc3OZ6uajKjqnwSRn+vTY/lUa85wqf2Jr khhbdCrKMVEN/XQUmziU9VjY4Zgf4zvs+UpDMqWSgZ0vI3YTwb2LPGvzHACF3yAEC6Yq uKzSUv4CzwsWL+MBYDtEp7RNJD9ea6UvcKe3fAJfWZwbapo2vVlPPHh6tdB7jWMc4PmI gceg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kFAT63F3rOigITJwOF0BR5aoRwU2ve+uCaRoniXJg+w=; b=epkz9E2drJbPSkhL2TbVuBENIvkYFAyIcqKLv0Cyj4KOP4B61HCGL1In+b4TRycCYE d2UVHAaZVnNnscHACKs7f501D4oXtzbvt9Zmm8ibfVfxTqfLutmtYv+/qPbC5xxv1qws ET2Wx6kKwq5qFeUd8XEJ95u5VwkpG1S6aSZvwaKZgWBMjXqk7jV+eNjJb5o54HFzITO/ OZExakLVqIs5QcFqUuPuQKbvWGuc6aJ5UIstGKt0nid/R9r7+Z8NPH5G0zDUsNIbiPJl 8pdep4RilL+f1dNyVgmIGTscSyzHQapvxrtUSTxrA6/eUT86iIYPo531rMZX+M805mai uBmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jqZausiQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k28-20020aa7999c000000b0065f91c28592si2895960pfh.10.2023.06.09.12.14.17; Fri, 09 Jun 2023 12:14:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jqZausiQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231789AbjFISiK (ORCPT <rfc822;liningstudo@gmail.com> + 99 others); Fri, 9 Jun 2023 14:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230454AbjFIShq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Jun 2023 14:37:46 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2800B4231 for <linux-kernel@vger.kernel.org>; Fri, 9 Jun 2023 11:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686335845; x=1717871845; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=G6sE0O+Ymn27nVkvLirQB/p1cOObowjit5BY1oI6ToA=; b=jqZausiQqiliZT/hXqP1O+IG1QdCGRCqzgWrrEe8TEy8Sl5kfHOYsi6g 4T+cUj4RkdnHs0PHC4uBbqTqZcNwApAJ9iXcSClMslTgXCSzobp/X2WQD iXWFSiHYcLAL+qNN1rH2lgAmJ8v41nqlv1wDS6Om4nNxdIjLvTTLe0Ofq YGDainiuXsUl/Ll4ort/wPu0Ja7QIvHCXXhYfoJn6vhDUVFqwEAC3SGQP 92I7bLghifsegjkT0c+96uXLNAkL/cNvPHNrR8+hyanKej7GpDKEqWP19 JjT0WQKPh33RQsiP0o1uMtM+GUOWhxE1ih3SMBwFX9Xsxhp8Y+UM1HJLn w==; X-IronPort-AV: E=McAfee;i="6600,9927,10736"; a="338022207" X-IronPort-AV: E=Sophos;i="6.00,230,1681196400"; d="scan'208";a="338022207" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jun 2023 11:37:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10736"; a="710444098" X-IronPort-AV: E=Sophos;i="6.00,230,1681196400"; d="scan'208";a="710444098" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by orsmga002.jf.intel.com with ESMTP; 09 Jun 2023 11:37:17 -0700 From: Alexander Shishkin <alexander.shishkin@linux.intel.com> To: linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski <luto@kernel.org>, Dave Hansen <dave.hansen@linux.intel.com>, Ravi Shankar <ravi.v.shankar@intel.com>, Tony Luck <tony.luck@intel.com>, Sohil Mehta <sohil.mehta@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>, Dave Hansen <dave.hansen@intel.com> Subject: [PATCH v3 10/12] x86/vsyscall: Document the fact that vsyscall=emulate disables LASS Date: Fri, 9 Jun 2023 21:36:30 +0300 Message-Id: <20230609183632.48706-11-alexander.shishkin@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230609183632.48706-1-alexander.shishkin@linux.intel.com> References: <20230609183632.48706-1-alexander.shishkin@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768253631284669134?= X-GMAIL-MSGID: =?utf-8?q?1768253631284669134?= |
Series |
Enable Linear Address Space Separation support
|
|
Commit Message
Alexander Shishkin
June 9, 2023, 6:36 p.m. UTC
Since EMULATE mode of vsyscall disables LASS, because fixing the LASS
violations during the EMULATE mode would need complex instruction
decoding, document this fact in kernel-parameters.txt.
Cc: Andy Lutomirski <luto@kernel.org>
Suggested-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
---
Documentation/admin-guide/kernel-parameters.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 9e5bab29685f..efed9193107e 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -6850,7 +6850,9 @@ emulate Vsyscalls turn into traps and are emulated reasonably safely. The vsyscall page is - readable. + readable. This also disables the LASS + feature to allow userspace to poke around + the vsyscall page. xonly [default] Vsyscalls turn into traps and are emulated reasonably safely. The vsyscall