Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1899659iog; Thu, 16 Jun 2022 16:54:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tU3T0jt7wQ+R5xHErsHPfaE3+hUbvr4bgBxf7oOCZlAcB67Asy6zSzNWSxVN/ZxyCddDR5 X-Received: by 2002:a05:6402:388b:b0:42b:5f20:c616 with SMTP id fd11-20020a056402388b00b0042b5f20c616mr9437116edb.50.1655423687818; Thu, 16 Jun 2022 16:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655423687; cv=none; d=google.com; s=arc-20160816; b=Rn3otEaTQ5iQvigNb0GyLpb9VpSUVzItQKrYTDPFfW9E99BcTqoheGeBnbkgWEO7r/ koKTvK3j9O0hXdTDzJSy+/t5jBxohXiXHfnOmTesGxsGee+ZtcSmZ6eey3lg9xPJVNIQ 1WXbUGtDuOfirUHrIwO2a/YE/mWFGv3lBktGGIDZ+S5qt3jnwHGsDkles/zCgp/9GRWp zzjOioYbquqei/f6uYe4PVcV+5rSuN7tXaSZnCfKCdfVP11Du0N3e+ky/mT19TlndL0Q p5yDYt5H5FU9/xSUt7HdpfTRx4Br/6EQsOf8hTBPemckRpCeat7vjUz0RVi3NkHRL466 acCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=o+BO/xnLdE8RGMMBtzovyw+DSvtFeQyUJsztJzSZq+g=; b=jdPi0cj+31NrU76eRKXTHu18np/2NOdHA+rld8jejxRDk9/BJCyG89nJxS70/cLhh3 Cvszf3enJWfyl+mKlCCzM3GtL9/UAUBDigMD2BsU+Ze9PSKwGYc1/IV9rsEn/YmnXymu 0qRdlbLJI4kVAnzRFvclIuWxXdZr29b8Ql4eR7563wxwqpmj7fX1PrZwIfgDkG3IDEm9 uMOfAwm4vjd6eudARarp4sqbTi1nJ88AeTC/AVWp11D/syFAXfqhPdzWiPWXRvBn1MKq d+o2hYG6VSMSp1BQ3WIVAfMeFUY+GUgXO5GBI6dmAzFWVXR68vQiWrwn2cvgZXefaDu7 EUWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Vzw9uXPA; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc33-20020a1709071c2100b006feef4981aesi3592804ejc.946.2022.06.16.16.54.22; Thu, 16 Jun 2022 16:54:47 -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=Vzw9uXPA; 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 S1379340AbiFPXnz (ORCPT + 99 others); Thu, 16 Jun 2022 19:43:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229995AbiFPXnx (ORCPT ); Thu, 16 Jun 2022 19:43:53 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A8F843393 for ; Thu, 16 Jun 2022 16:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655423032; x=1686959032; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gvd8jlhw50cWYlW87KaSp82+5jOEFw1C0vFTcwNzk9I=; b=Vzw9uXPAso2hnzmLJGq/H/TAqXKf34RfuzZ1Rp9DjFPY0+l3Myhee2C3 aVc0py3IZIZFQIztP58e2647pEjEgWrGTrrAy6vnc9R0M9P4ysz34gt2x aUdysVeK+ANsrl+K60zX2Ghfe6iQX8ZiBMiN080+0/T/bTxekEhdkHGTb AMTKSiPnPTbtTMfSqVjVrliXTFkAmKQ85XD015nFZHl5SEWD0XxyGH8RB BFi5PcMN+G7PFj4Rhvz7/b0usteXUCNckJmF0G+3G4eWffxMpskWQqlAr 1rXnxp6LV9glxuMqIKAqUySFO6yZIHHZ0DjD2vjbNeP6i5+Zd1F6/GkbR w==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="262398404" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="262398404" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2022 16:43:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="576182859" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga002.jf.intel.com with ESMTP; 16 Jun 2022 16:43:47 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 473B5109; Fri, 17 Jun 2022 02:43:52 +0300 (EEST) Date: Fri, 17 Jun 2022 02:43:52 +0300 From: "Kirill A. Shutemov" To: "Edgecombe, Rick P" Cc: "peterz@infradead.org" , "Lutomirski, Andy" , "dave.hansen@linux.intel.com" , "linux-kernel@vger.kernel.org" , "hjl.tools@gmail.com" , "linux-mm@kvack.org" , "kcc@google.com" , "andreyknvl@gmail.com" , "ak@linux.intel.com" , "dvyukov@google.com" , "x86@kernel.org" , "ryabinin.a.a@gmail.com" , "glider@google.com" Subject: Re: [PATCHv3 0/8] Linear Address Masking enabling Message-ID: <20220616234352.2h4f64a4fw46atrs@black.fi.intel.com> References: <20220610143527.22974-1-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 16, 2022 at 10:52:14PM +0000, Edgecombe, Rick P wrote: > On Fri, 2022-06-10 at 17:35 +0300, 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 patchset brings support for LAM for userspace addresses. > > Arm has this documentation about which memory operations support being > passed tagged pointers, and which do not: > Documentation/arm64/tagged-address-abi.rst > > Is the idea that LAM would have something similar, or exactly mirror > the arm ABI? It seems like it is the same right now. Should the docs be > generalized? It is somewhat similar, but not exact. ARM TBI interface implies tag size and placement. ARM TBI is per-thread and LAM is per-process. -- Kirill A. Shutemov