Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAEF2C54EB4 for ; Tue, 24 Jan 2023 11:02:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233787AbjAXLCY (ORCPT ); Tue, 24 Jan 2023 06:02:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233680AbjAXLCJ (ORCPT ); Tue, 24 Jan 2023 06:02:09 -0500 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4945F6A6A for ; Tue, 24 Jan 2023 03:02:08 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 3DCED32002F9; Tue, 24 Jan 2023 06:02:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 24 Jan 2023 06:02:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1674558122; x=1674644522; bh=fv SQn9Hp7y3+3Sm9NAnFutWtiCWTR4CTLoKBj1d2PQE=; b=TumIdFq+4DxVoJJcEb aNVjFI4cPfA0yfiPNs7vLb8ICBNns8zP49oMJiW/K8Z+rtdOO4hzZkTCKL4G1QAY FINDGDeKBnH2YJakTwTAilX/fcgWFzrEnVFLGYC6XwflfQl0X3aoCeyGdiynupap jUAbmaA5x8o7ZtwJjyh+hQBuuHaPa+t8EHmzPuUXiWZrS7jUGevROt2gJ5q1+OMS q60k4P1Xj/qLECG3JAwZsbvVfTWKAocfmAUTkpiP6xXSbOYQmUcgtth4F0LG9wHS dsJ4S76mP6VTOyrwtMmCrunQvPZ0swnfEAWRr0BlTEJmJzwIQkMjRsEk6AYsNILp 7kKQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1674558122; x=1674644522; bh=fvSQn9Hp7y3+3Sm9NAnFutWtiCWT R4CTLoKBj1d2PQE=; b=cSUGxWOtpQOoUODjim5LeHTYyt/Y4XBg+zNJHorRTZ5S HQQqfiDFlbXiYby7sDIbHnKWeKTL7JvNS5T3YPghmQnF9HwA6eNDiKMP2foBD4fP mbOI7xCf6pG1EqzrF4COO8ag1NXhamlGdw3PMaApnbkrALTAXE5cKZJRkqgoQPLz f0GhBQ0cHQHwaeX6jin2Yc+Htva4iweSczDq1pL2JJh0Qbk9g8+bsO4HZ6/M1TPb o9A68R3mQwLqkkjEPedDEDwMHdZUsEgVdW1Pl3NsdNRnKaDkc1gwba3C0xtZsxbR JyJK0GXT3IipT30Bv2Z4deq4XBxK3TiX85iTHGCc0Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvtddgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdttddttddtvdenucfhrhhomhepfdfmihhr ihhllhcutedrucfuhhhuthgvmhhovhdfuceokhhirhhilhhlsehshhhuthgvmhhovhdrnh grmhgvqeenucggtffrrghtthgvrhhnpeelgffhfeetlefhveffleevfffgtefffeelfedu udfhjeduteeggfeiheefteehjeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhirhhilhhl sehshhhuthgvmhhovhdrnhgrmhgv X-ME-Proxy: Feedback-ID: ie3994620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 Jan 2023 06:02:01 -0500 (EST) Received: by box.shutemov.name (Postfix, from userid 1000) id B1F4810942D; Tue, 24 Jan 2023 14:01:58 +0300 (+03) Date: Tue, 24 Jan 2023 14:01:58 +0300 From: "Kirill A. Shutemov" To: Linus Torvalds Cc: "Kirill A. Shutemov" , Dave Hansen , Andy Lutomirski , Peter Zijlstra , x86@kernel.org, Kostya Serebryany , Andrey Ryabinin , Andrey Konovalov , Alexander Potapenko , Taras Madan , Dmitry Vyukov , "H . J . Lu" , Andi Kleen , Rick Edgecombe , Bharata B Rao , Jacob Pan , Ashok Raj , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv15 00/17] Linear Address Masking enabling Message-ID: <20230124110158.bwqu3v2evoa3ffw6@box.shutemov.name> References: <20230123220500.21077-1-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 23, 2023 at 06:07:20PM -0800, Linus Torvalds wrote: > On Mon, Jan 23, 2023 at 2:05 PM Kirill A. Shutemov > wrote: > > > > Linear Address Masking[1] (LAM) modifies the checking that is applied to > > 64-bit linear addresses, allowing software to use of the untranslated > > address bits for metadata. > > > > The capability can be used for efficient address sanitizers (ASAN) > > implementation and for optimizations in JITs and virtual machines. > > > > The patchset brings support for LAM for userspace addresses. Only LAM_U57 at > > this time. > > I didn't react to anything objectionable in the series. > > My only reaction was actually to ask "when / what CPU cores are > expected to support this feature"? > > Maybe it was mentioned somewhere, and I'm just blind and not finding > it. But even the "Instruction Set Extensions and Future Features" > paper seems to just be talking about the CPUID bits, not about any > actual "this is when we expect it". There's no announced CPUs that have the feature. And it is above my pay grade to disclose anything beyond that. But there's QEMU patch[1] if you want to play with the feature. The patch is not upstreamable, but it works. [1] https://lore.kernel.org/qemu-devel/20220407010107.34734-1-kirill.shutemov@linux.intel.com/ -- Kiryl Shutsemau / Kirill A. Shutemov