From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FB9E2E336E for ; Thu, 30 Oct 2025 17:32:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761845539; cv=none; b=rW+8E0AiglqhiQh+a8stY8xgzuLJqYq2AHcxc3r39G37Puwbd8HZJuSaVL9MFNCWsbwM0OmlopRgpyVImr2dqYiUoO0YOExJ3vRFl1xUygl62/I2Ba4Vtzvm8moHwofWBvjfBl8s2q14nbF5DxpS3e4mUqzUoO5mKnG3ss2Yx38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761845539; c=relaxed/simple; bh=1LWwMX8upkOTWfTHLCsISQfEujN76GC+SV8w1/AUXTE=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=JbmKdVasRvU8zsqgkqp0sUrQe5MsJ0hxu4/5zPO4Sb1jolCgJmFt3X1Qk2JLYSVMRuyE+O8I3MIMboxkP40cwdE/LhDFTQ51JlVkX5ATs2cq9OFA5ZGaNCvE0Ip7Eq2e5z6j7LqPf8ElYJX34QeltlX0i4A/i+mAijiHTFpzyUY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AWupuxld; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AWupuxld" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 482C3C4CEF8; Thu, 30 Oct 2025 17:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761845538; bh=1LWwMX8upkOTWfTHLCsISQfEujN76GC+SV8w1/AUXTE=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=AWupuxldoZVh2zaLRAsYsT+m20Y0K7Hrzo9Stood8svnVS4a+JeMfpRZmyf92pMTQ CxbEYkNIPan2oYslk3PYzCL9rhzi//pH8Q2VP8yg1LqMv69Bf1nFfsvOr65Sd8F+Ul HVtvrmALmBpGn8ohfrIZpwdkQDW3UYDCpMLsuJ72SmfqZq2+i+Z6b7tvAAhmPbL9en WXtG4u1qoGe2NwfORsprAMUEXo4AdtgnGLrzNigywACbEAhJRA9HKdd561bykrsngJ ZGlVHU4EzCQ7awhxYJ5YKYhH8wZB+bezXot8KGAe9Dv5W4pCqGWvmR1nqVALICFtsd 8q5LzlRW3/l7A== Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfauth.phl.internal (Postfix) with ESMTP id 70726F40067; Thu, 30 Oct 2025 13:32:17 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-01.internal (MEProxy); Thu, 30 Oct 2025 13:32:17 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdduieejvddvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedftehnugih ucfnuhhtohhmihhrshhkihdfuceolhhuthhosehkvghrnhgvlhdrohhrgheqnecuggftrf grthhtvghrnhepjefhvdehhfffkeetteelfeetgfethedvgeeiheehudffteefgfekjeef gefhudeknecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhguhidomhgvshhmthhprghuthhh phgvrhhsohhnrghlihhthidqudduiedukeehieefvddqvdeifeduieeitdekqdhluhhtoh eppehkvghrnhgvlhdrohhrgheslhhinhhugidrlhhuthhordhushdpnhgspghrtghpthht ohepvdeipdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegsphesrghlihgvnhekrd guvgdprhgtphhtthhopegufihmfiesrghmrgiiohhnrdgtohdruhhkpdhrtghpthhtohep rghnughrvgifrdgtohhophgvrhefsegtihhtrhhigidrtghomhdprhgtphhtthhopehsvg grnhhjtgesghhoohhglhgvrdgtohhmpdhrtghpthhtohepphgvthgvrhiisehinhhfrhgr uggvrggurdhorhhgpdhrtghpthhtoheprhguuhhnlhgrphesihhnfhhrrgguvggrugdroh hrghdprhgtphhtthhopehrihgtkhdrphdrvggughgvtghomhgsvgesihhnthgvlhdrtgho mhdprhgtphhtthhopehsohhhihhlrdhmvghhthgrsehinhhtvghlrdgtohhmpdhrtghpth htohepthhonhihrdhluhgtkhesihhnthgvlhdrtghomh X-ME-Proxy: Feedback-ID: ieff94742:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 2AD63700063; Thu, 30 Oct 2025 13:32:17 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AuvVN0AAjWd7 Date: Thu, 30 Oct 2025 10:31:56 -0700 From: "Andy Lutomirski" To: "Sohil Mehta" , "H. Peter Anvin" , "the arch/x86 maintainers" , "Dave Hansen" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" Cc: "Jonathan Corbet" , "Josh Poimboeuf" , "Peter Zijlstra (Intel)" , "Ard Biesheuvel" , "Kirill A . Shutemov" , "Xin Li" , "David Woodhouse" , "Sean Christopherson" , "Rick P Edgecombe" , "Vegard Nossum" , "Andrew Cooper" , "Randy Dunlap" , "Geert Uytterhoeven" , "Kees Cook" , "Tony Luck" , "Alexander Shishkin" , linux-doc@vger.kernel.org, "Linux Kernel Mailing List" , linux-efi@vger.kernel.org Message-Id: <202682ea-304d-43b2-8a69-c8bc9d8e3e2c@app.fastmail.com> In-Reply-To: References: <20251029210310.1155449-1-sohil.mehta@intel.com> <20251029210310.1155449-10-sohil.mehta@intel.com> <789ADBB5-F7AC-4B08-B343-F23260FB8FBC@zytor.com> <13681100-ddc3-4ef0-bd13-744282324ff1@app.fastmail.com> Subject: Re: [PATCH v11 9/9] x86/cpu: Enable LASS by default during CPU initialization Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, Oct 30, 2025, at 10:24 AM, Sohil Mehta wrote: > On 10/30/2025 9:53 AM, Andy Lutomirski wrote: > >>> On the other hand, supporting EMULATE mode during a #GP is a bit tricky, >>> which isn't worth the effort. >> >> I would say it's definitely worth the effort, but it probably does make sense to get the rest of the series in a mergeable condition such that it only works with vsyscall=none. > > I meant the full emulation mode where the Vsyscall page is readable. It > is only available via vsyscall=emulate. No one should be using that one, > right? > > I thought you and Linus agreed on removing EMULATE mode completely: > https://lore.kernel.org/all/CALCETrXHJ7837+cmahg-wjR3iRHbDJ6JtVGaoDFC4dx-L8r8OA@mail.gmail.com/ > > I agree that it would be worthwhile (and relatively easy) to support the > execute (XONLY) mode (that only does instruction fetches). That is what > the separate vsyscall series would do once the LASS base is in. Ah, I misunderstood you. I agree.