From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 774CFC352A2 for ; Fri, 7 Feb 2020 10:17:19 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 131DE214AF for ; Fri, 7 Feb 2020 10:17:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="XMtTYlt4"; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="sLFm8A/K" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 131DE214AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6C6DD6B0003; Fri, 7 Feb 2020 05:17:18 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 650FA6B0005; Fri, 7 Feb 2020 05:17:18 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 518396B0007; Fri, 7 Feb 2020 05:17:18 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0226.hostedemail.com [216.40.44.226]) by kanga.kvack.org (Postfix) with ESMTP id 341D76B0003 for ; Fri, 7 Feb 2020 05:17:18 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id CEC2E181AC9C6 for ; Fri, 7 Feb 2020 10:17:17 +0000 (UTC) X-FDA: 76462928514.19.team53_5cc1eb02f955c X-HE-Tag: team53_5cc1eb02f955c X-Filterd-Recvd-Size: 5531 Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) by imf10.hostedemail.com (Postfix) with ESMTP for ; Fri, 7 Feb 2020 10:17:17 +0000 (UTC) Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 017ADSRN038940; Fri, 7 Feb 2020 10:17:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : from : subject : message-id : date : mime-version : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=zxTH91K7D7cX7FUS3gIUeL8s4X9wMh4QEaiNxI+SGvc=; b=XMtTYlt4GHyDCGi6WFfOUz3gnwK8ZtQLpuWnaEcGRrZNFSdCjr/6lh7xs+8osKrudu1F SL0U5l12nNQAk9rIJLK2vujy86PyJJ+f1fyRJfkNYvbiERNs8myPyruT/EK4xGStjeeS /gep5sU+tAiHa2tD+xXnL/qxoDZ4xFj84EO5X/BBjD5TYYWvqrIBejRwRk2gb60L8Doz 2hvqcVMA8UlYFMBy6WgumyEUvWcSvhhbXFOL7qUqeFHtRy/Z1nMfh3LflSXhDLmm2tWl ksi2/eGAsAI0gJy+OBVOeQ3GtRjrN/Wr2Vr4Wb3fVxvgkExgeEQyxMg0Msm4QT+0LK7m nw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : from : subject : message-id : date : mime-version : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=zxTH91K7D7cX7FUS3gIUeL8s4X9wMh4QEaiNxI+SGvc=; b=sLFm8A/Kar1L0sjG9f2i7FoH0MI8/Kp3McbpFe+Fu1I3RfO2xYinHnFwkBjUT99rVIoG gmThEvPpqQgvOqu7cZETDww/jjpfuPZKG95S2AvCTfW4aznEtYR12n1JOj8fNWyYFNlZ BEd3AoT6ESwOAqhpkNMcvFr5F79u62U5RWs6N6DmmV9hecN8U3fMeTtjWOBeqsB5htVo z2PiF3Tw5ItzE1XYAwFbfQzg98AB8TrIo5fQ5Kg6jMVQKmrxI7MDCQxcy00U6LYxioHG i/ebMqEMRvHhIleypyaB2YhHSjabSnDRaRXUIAFYPersBYX5Sr3hWONSFUSN7B+OYRDx gA== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 2xykbpf2r2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Feb 2020 10:17:13 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 017ADNET189704; Fri, 7 Feb 2020 10:17:12 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 2y0mnn5gnd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Feb 2020 10:17:12 +0000 Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 017AH9Fp008266; Fri, 7 Feb 2020 10:17:10 GMT Received: from [192.168.8.47] (/213.41.92.70) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 07 Feb 2020 02:17:09 -0800 To: lsf-pc@lists.linux-foundation.org Cc: Linux-MM , Alexandre Chartre , Konrad Rzeszutek Wilk , Mike Rapoport , junaids@google.com, mgross@linux.intel.com, graf@amazon.de From: Alexandre Chartre Subject: [LSF/MM/BPF TOPIC] Multiple Kernel Address Spaces Organization: Oracle Corporation Message-ID: Date: Fri, 7 Feb 2020 11:17:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9523 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2002070079 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9523 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2002070079 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000002, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Multiple Kernel Address Spaces Restricting kernel mappings is used as a mitigation against speculative attacks like Meltdown with Page Table Isolation (PTI [1]), or L1TF/MDS with KVM Address Space Isolation (KVM ASI [2]). KVM ASI was refactored as Kernel Address Space Isolation [3] to provide a generic kernel framework for ASI, and Thomas Gleixner has indicated that PTI should be implemented using ASI. This work is mostly done and will be submitted as ASI RFC v3 later this month. The on-going work on ASI RFC v3 has highlighted several points I would like to discuss: * Kernel ASI framwork, and refactoring of PTI to use ASI. * Generic TLB flushing mechanism to be used for ASI (and so PTI), and for possible optimization. * Kernel page table management improvement, in particular pagetable creation and population. This is an area that Mike Rapoport is also investigating. ASI RFC v3, which will definitively be available before the MM summit, and Mike Rapoport work on kernel page table management can be used as a base for these discussions. Thanks, alex. --- [1] https://www.kernel.org/doc/html/latest/x86/pti.html [2] ASI RFC v1: https://lore.kernel.org/lkml/1557758315-12667-1-git-send-email-alexandre.chartre@oracle.com/ [3] ASI RFC v2: https://lore.kernel.org/lkml/1562855138-19507-1-git-send-email-alexandre.chartre@oracle.com/