Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6748332rwb; Wed, 18 Jan 2023 08:55:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXtLYo+xWw7SnHBAGiMViJdanJVHSBXPZFHt11QRUzp21gCyS5qhVTwQfxGjxBeGYSI2wU9p X-Received: by 2002:a17:907:760e:b0:86e:fccc:bc19 with SMTP id jx14-20020a170907760e00b0086efcccbc19mr7701258ejc.43.1674060943958; Wed, 18 Jan 2023 08:55:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674060943; cv=none; d=google.com; s=arc-20160816; b=dwDaWansiXmScYPNNVwelRlT3ItNnWfONIUuT+571KDmj5BmVulHQf6Z5tx1iauNXo 0HbGoOWvmiME4O+Z4rFcEbB6iOKTthC1dKND82AZCo2DJSeeFRc7GgWxhruTcRd3feix MxJ4TUxcdHbsRpIa3ptidueSulF1ewh0iJKDATtJ9Yf4N6WAGVRfocPvEg048C8oxvzQ hmcCopAY3+mfqhjPLJ2qLuw4hWK4/aiOSQdSqTR4nCKPgTYuZ1cmMYlqR2M2V7m85sTO uCzsC1vJOjGMyN9v9WgLVyNJJxHjUy4Wlpv/w/Cu/X7rNAmpy/0hkx5EyLD3WckMEtFI V0KA== 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=bQAktCDQ6e/+wYFLFQt0v+4fjsz4txk9HXgCMtL6FbQ=; b=uOGalG4J/3SSCI/CluOdwlV6D35DMErqWZb7nFSVrlxCGsa46/q7UknE+vduBWPEGg WOJdEJ5OpOuEed5pQPT1BQeIBhIYagaOfnRbZe2wnhLvsnmbOWPggPoXETvpXwYCZOKp KFL9hmkP2Fvp681JhtPVXGQAuMAx5R7F7GwCPEuX/0bOpqK/AGtf05W5vD8uPR2f+/zF 27ZTpgpP1OzOZVSOvqkrzw7qqH3Gvs3UVNjnZ7/JZ4Jjmmure5gmQzownu8EC89jcViX U62XeoF3Cm2f+C+QcheTQ+2kGskXWL3fpwYZXTYGvBAHXOVsYHJktFbZagGXxOxp9wC2 nOkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="asK/2f3G"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg29-20020a170907971d00b008702f808455si12684843ejc.417.2023.01.18.08.55.33; Wed, 18 Jan 2023 08:55:43 -0800 (PST) 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=@infradead.org header.s=casper.20170209 header.b="asK/2f3G"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230084AbjARQuZ (ORCPT + 45 others); Wed, 18 Jan 2023 11:50:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229946AbjARQuS (ORCPT ); Wed, 18 Jan 2023 11:50:18 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2EEF5587 for ; Wed, 18 Jan 2023 08:50:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=bQAktCDQ6e/+wYFLFQt0v+4fjsz4txk9HXgCMtL6FbQ=; b=asK/2f3GS3R5f8TGamIVSQG9h4 OsikbWR4SWAueNkXv1oKDgL79gJNHYBq0E1YfeFXyrA2XlR1DZyxm3Zw+sfio8MW8N+aOnITlLoiw CAfkxsSY85E9/AZaP0RCnYuZpf3u7160C0p109rBR65GFMEqYdJPD4+JvDb8zjpOv/QvaUgt8G9Se i9OYX9YGpJPEFHp8njhltVkKAeK+jFYJ321z2BJUDB5+O/a0bMb/Jm62yfC0SCn/Yxm0yJCG8NQKu PAZel7QaAFyFJ4ml9dB/Ja0oIr5JLi2+ywnOx8OuZaYv90N3cm41kbJhiID2cX5/c5PVy1QxbpcB6 93dl5Ggw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIBdO-0009hz-AO; Wed, 18 Jan 2023 16:49:58 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id DEF53300094; Wed, 18 Jan 2023 17:49:56 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D01BB20A68C2A; Wed, 18 Jan 2023 17:49:56 +0100 (CET) Date: Wed, 18 Jan 2023 17:49:56 +0100 From: Peter Zijlstra To: "Kirill A. Shutemov" Cc: Dave Hansen , Andy Lutomirski , 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 , Linus Torvalds , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv14 00/17] Linear Address Masking enabling Message-ID: References: <20230111123736.20025-1-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230111123736.20025-1-kirill.shutemov@linux.intel.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 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)