Message ID | 20230111123736.20025-1-kirill.shutemov@linux.intel.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C690C54EBC for <linux-mm@archiver.kernel.org>; Wed, 11 Jan 2023 13:24:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 404CF900005; Wed, 11 Jan 2023 08:24:02 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 38C46900002; Wed, 11 Jan 2023 08:24:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 22DE0900005; Wed, 11 Jan 2023 08:24:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 14F7E900002 for <linux-mm@kvack.org>; Wed, 11 Jan 2023 08:24:02 -0500 (EST) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id C9389120DA3 for <linux-mm@kvack.org>; Wed, 11 Jan 2023 13:24:01 +0000 (UTC) X-FDA: 80342586282.20.A4BD858 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf01.hostedemail.com (Postfix) with ESMTP id DC45040022 for <linux-mm@kvack.org>; Wed, 11 Jan 2023 13:23:58 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=lR1giKW2; spf=none (imf01.hostedemail.com: domain of kirill.shutemov@linux.intel.com has no SPF policy when checking 134.134.136.24) smtp.mailfrom=kirill.shutemov@linux.intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1673443439; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=5O0EKUKcFsE0LGPKjzC/MtxjZMpwo0X5GfDZBF+GNWU=; b=2qrJUoAYkonYlYR5KnkvKnHUTLCgg+mp8Uo70zvdSBDjPX889kh5+7R7SVSo7hossN0FoW ZKGt5mftwqq2wmbZzPtDFVATkhHuh4nOIvelysfCQw0ZlOOaggUfHBI+7rHjP1syrTJ7Jx Ti8LretkASHs28WL/PWUuWbLBbCFprQ= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=lR1giKW2; spf=none (imf01.hostedemail.com: domain of kirill.shutemov@linux.intel.com has no SPF policy when checking 134.134.136.24) smtp.mailfrom=kirill.shutemov@linux.intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1673443439; a=rsa-sha256; cv=none; b=uyuwN36wP9ZOC6RoqaiEFBkt1hj42s6X+MddF5w0JyvhuZcah/aS8QYz2/7UFRQEdYIhN6 Vv855uqsxxMQhA8vrU9X5BdlqDIldlBdiJCEZI587Mm5/+dPHmT1BmJDbOP2qXIxFqu3XT qsU7KR4C/oa6WWDllTBvDAyy1qn2psc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673443439; x=1704979439; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GdA/zTzLr8yY1P/t2Boc1VaCkucAkbRxVceefJytuzY=; b=lR1giKW28v51TyK3Aiv0ZNCxe0vhDlMDxdUwzr7OXRcMmoX7rBvPkPhZ n1V4M/sasqD6feDP7NzaOXS6eR3V8qA2Ae4glFIsKwEC3RxeVe0/Q5wBd zA/8E7fjV16gf6DNMEvlWLtDdlxvSb80uDJCRtmFSs4hU51X0jw8kEhdD kW7s8NA32WXlL6C7TgXxsA1Wi/8N0gxKe3Ce9L1CrMtPF4wgJnPApMhdz QEIjGBhYSMhn7sqzGveA1tKL/WEKxOKpOZOK73xlCAndOO91rNnnOyo7x jOpMLC+7RsS3kDuonRpR6ghzzJOOOK0Nm1r5w3tOAl1QNuyfHFXhYdeJO g==; X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="324646049" X-IronPort-AV: E=Sophos;i="5.96,317,1665471600"; d="scan'208";a="324646049" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2023 05:23:47 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="720725456" X-IronPort-AV: E=Sophos;i="5.96,317,1665471600"; d="scan'208";a="720725456" Received: from bachaue1-mobl1.ger.corp.intel.com (HELO box.shutemov.name) ([10.252.37.250]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2023 05:23:43 -0800 Received: by box.shutemov.name (Postfix, from userid 1000) id F33D2109C71; Wed, 11 Jan 2023 15:37:40 +0300 (+03) From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> To: Dave Hansen <dave.hansen@linux.intel.com>, Andy Lutomirski <luto@kernel.org>, Peter Zijlstra <peterz@infradead.org> Cc: x86@kernel.org, Kostya Serebryany <kcc@google.com>, Andrey Ryabinin <ryabinin.a.a@gmail.com>, Andrey Konovalov <andreyknvl@gmail.com>, Alexander Potapenko <glider@google.com>, Taras Madan <tarasmadan@google.com>, Dmitry Vyukov <dvyukov@google.com>, "H . J . Lu" <hjl.tools@gmail.com>, Andi Kleen <ak@linux.intel.com>, Rick Edgecombe <rick.p.edgecombe@intel.com>, Bharata B Rao <bharata@amd.com>, Jacob Pan <jacob.jun.pan@linux.intel.com>, Ashok Raj <ashok.raj@intel.com>, Linus Torvalds <torvalds@linux-foundation.org>, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Subject: [PATCHv14 00/17] Linear Address Masking enabling Date: Wed, 11 Jan 2023 15:37:19 +0300 Message-Id: <20230111123736.20025-1-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.38.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Stat-Signature: g78egmn1gs7bzdonrtpm8bd7gss5sh4a X-Rspam-User: X-Rspamd-Queue-Id: DC45040022 X-Rspamd-Server: rspam06 X-HE-Tag: 1673443438-905008 X-HE-Meta: U2FsdGVkX18uG3nCYsWF9dKhEFCDkNP4Ca2+hMyhHT3jrImTL31WlMnJxyun0HXezpol8VFY8XUciuNOfdjp4nNdv1HgnQIM9Sg73pw7oEjJgOhMleYwE82qDwI2NRL53VVkAI5XMc7CRM/wVh6ScD3r8QP8IW8nwTokt90F5cdy8vWkJdDiWsHQHW/dkvCPV6PsxmblggCx9+uTw1dU468VKk6lCgQ/5TdduhaSo0KWyNlq0yNn9gQTQZg83QHp0qlsP2H8CAywLPnpHP4e06zioyRUMSFGnXJaVB38uP3ymv4GiSMDuUCPS2gr37t66iEpJcKS0e3eF/IJeiW0Lh6gycoiBb/Oe59VSxatAKJtOkrQEqNlML4O7HuS33CqG7YkPkrGLKiXIFLrAhrayzO15K3Szu3R/CrrotT/nQCpVFeDwEGUQ8wDHWiR9msRdlNh4RDhEeAtwglwvwK/ipFKU6hZ9cNGBkluKrZl8ySdDn9B1iVeFRB4nscXmfUiQ49oflTe7rrO00vng3GAQ/SPjJKZ2AArfEmm/Uli1oOUMAjxImJx5YdPujvaKoooRKwhHsPG8FZB4MvQpy58X0Ih+JjD1CaB6OtfxhSBIfn9kyggIFSEud0+UpRX8nisb9sqRWtAbyPO1tNHFQ3QmPSFuKNqd3YDhvIAF/duOd/LmLXzIqnbHpYN6L47Os3K4bV7nD+UMsIw197kEzbqazhBQxlGdmmiE8qc+PnFH7jwEemPMCuMZRTiSMsVMmEPZRJoYyahoBn+ns0c5yKA37dBgrdOp24ajBDpFExc+kWaFubq2BcPfhYxk6EGIlPFuHWnAasGzZAwYwPZ9ccR92m5wWN5nOlLavGIuRuFJilPHB7SCi6PPTVOxt8qkMAtKMcsYgizYD295dYRT3wqC2Jc/2x2DEcyLnDVtnzeidghko1is8ILNuCN1VRdP+oPQkp1alDAme0= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Linear Address Masking enabling
|
expand
|
On Wed, Jan 11, 2023 at 03:37:19PM +0300, Kirill A. Shutemov wrote: > Kirill A. Shutemov (12): > x86/mm: Rework address range check in get_user() and put_user() > x86: Allow atomic MM_CONTEXT flags setting > x86: CPUID and CR3/CR4 flags for Linear Address Masking > x86/mm: Handle LAM on context switch > mm: Introduce untagged_addr_remote() > x86/uaccess: Provide untagged_addr() and remove tags before address > check > x86/mm: Provide arch_prctl() interface for LAM > x86/mm: Reduce untagged_addr() overhead until the first LAM user > mm: Expose untagging mask in /proc/$PID/status > iommu/sva: Replace pasid_valid() helper with mm_valid_pasid() > x86/mm/iommu/sva: Make LAM and SVA mutually exclusive +- the static_branch() thing, Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>