Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4692714pxb; Tue, 31 Aug 2021 10:57:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy25Sw1RAx0QTwCVJ7Q8hPkzuuF8/m3IYNSl+tu4yrcADjTSu1qUCHd+EDwV+oTWEDfwi6A X-Received: by 2002:a17:906:2cd6:: with SMTP id r22mr31448667ejr.398.1630432665490; Tue, 31 Aug 2021 10:57:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1630432665; cv=pass; d=google.com; s=arc-20160816; b=gYum8Y1u0YypqIfKKMZrTmqEwOB4UQ+2IRBd4y69lnQgvHbD1XVsExDCMM/1Hboprf eZk+YJhXL9r8dvQfxUlnpPzu7+FhTFlP25qFd89muAT48TG/5fvQwCtUkEn+FMyvzWMx Q4RaBV5iFHNdaSLRsuErpbuYYg60+F079Ki326ukjiQlOaVy2a+A9YUnwRWTobGjIkJy OEY8jOS+PcvSbOqxZHxQxwlv7QkM7j/CYKpzeEqkM3PBOMaeQWmsciJF3Bt8g0hu+CW1 IQbUCbr5RGe+YSTOwruqdoCXP6oZRgPZViTaO+LVX/C7lSNJRILAzSCy2onLhUFBUCxZ 1yRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=4SDt1eAVFScwlfCesRmtqDG/pcAVWz4MZLo87sbNTRk=; b=JyFsU6sxCuN6nwfA8mYInWl8bJ6jObLkkyrpiRhcUiETf7yHCkBBvVLjdIM9IruH0/ uVds2i7aocnsp0uxcAtIttMs5m4mdkGNwU7H0I1/v/gb2xA2WFQdLR2D1MeLw5G3S/HD 78qqylvvZH17AeWAAL3MU8Cgjy3cCcZlAMVQZU6QUbUoEust663ll8mOnpC/PemHrH18 /pTp23IufeHogwjYsqFVYYkabBRYyUJBuUvMHtsXa1tGTY966BAQTq397H6np4S7nH/D 9wUVct5MMB+wwf24zxwEu3Sk4sk5Ip4No0VN2XO8zP5AFxtxMDUVMCMZ+1dwJ0T3rJ0R 2RiQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=AhFPFrzy; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si11881895ejj.616.2021.08.31.10.57.21; Tue, 31 Aug 2021 10:57:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=AhFPFrzy; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240536AbhHaR4f (ORCPT + 99 others); Tue, 31 Aug 2021 13:56:35 -0400 Received: from mga02.intel.com ([134.134.136.20]:7662 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233945AbhHaR4d (ORCPT ); Tue, 31 Aug 2021 13:56:33 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10093"; a="205758145" X-IronPort-AV: E=Sophos;i="5.84,367,1620716400"; d="scan'208";a="205758145" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2021 10:55:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,367,1620716400"; d="scan'208";a="645408297" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga005.jf.intel.com with ESMTP; 31 Aug 2021 10:55:37 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 31 Aug 2021 10:55:37 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Tue, 31 Aug 2021 10:55:37 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.44) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Tue, 31 Aug 2021 10:55:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YcpeGUW/9EwZftHyjkAnvTf8ktPxEGhCrCbmPGoET3/a/sQgwymvbdHV3paiPhNDIj2YJPGM/R5xQX1AmYXPqVdD5rbIEKVHbxpJ/e7wSSS1bu5Zv0kwM1QLx5aKXwZ3iE/iqGtlJan7lThJYcK30jc5JjSjmvJyTC5f7ygBlYYd+LCaWUVxN4sw9Nvkn8Pp5mRsYBS4LWPku+xYTh4wE/73dmHLrv7zznPXfWWN7MEdiS04PwI/XBWc+YcSEUluyAM2LOs0CjleQ+YLsmFPQsl5NtSetxz4Vj0tDZz1YNOh5mfHUMY5K2XH+R5cLIU4riWaG+dYWL7Fu1Qur5F5yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4SDt1eAVFScwlfCesRmtqDG/pcAVWz4MZLo87sbNTRk=; b=IoOqQLM9ENXzy7LgcvhiPXaHeEAnjkDHUoVZbSWDc1amSYfQeBgtVnW5uh6zm7xBpbxxgWVK7Wr//kVRqPVe34foUPKGnGneew88TizlQpL3uf7O0fayg2aa3HN71bsF3My7VuJjI+AAabncXanO6zCNQY1hHaEYEEzgDCaIKGvFrz+WXYqnZ2kcFNQ8XMiSAwU0oI9V1GN+UrwcVYYtdZy+XV5uU2wXKmP/msMMf5leTltw6vHtmts9c/wNqjmiP0gcRC0GJwsMar5xj7KH5JGtGs4c1tS+Zj+voCAbw9LzkUr2tDVt9RaJmT/DKPTTGWwe7rV70bDjdHZOxen05Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4SDt1eAVFScwlfCesRmtqDG/pcAVWz4MZLo87sbNTRk=; b=AhFPFrzy3MYKtLzTnMjoTP8zjVJFg9TJEfxZMm/oPXFSX8dJwwiw4AIcxS9u9fT0FuhZIVmwBEHCWwaZ4R8NJeCyUwwe8agjzzDkr/tnnOQbCnlFwfN/mKNBbog8trV3i0YvJYGYOWpkfHPsRV78UFAs8+0sja9NUsYhoSzGva4= Received: from SN6PR11MB3184.namprd11.prod.outlook.com (2603:10b6:805:bd::17) by SN6PR11MB3072.namprd11.prod.outlook.com (2603:10b6:805:d8::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.23; Tue, 31 Aug 2021 17:55:18 +0000 Received: from SN6PR11MB3184.namprd11.prod.outlook.com ([fe80::892e:cae1:bef0:935e]) by SN6PR11MB3184.namprd11.prod.outlook.com ([fe80::892e:cae1:bef0:935e%6]) with mapi id 15.20.4457.024; Tue, 31 Aug 2021 17:55:17 +0000 From: "Edgecombe, Rick P" To: "peterz@infradead.org" , "keescook@chromium.org" , "rdunlap@infradead.org" , "rppt@kernel.org" , "vbabka@suse.cz" , "x86@kernel.org" , "akpm@linux-foundation.org" , "Lutomirski, Andy" , "Hansen, Dave" , "shakeelb@google.com" CC: "Williams, Dan J" , "linux-hardening@vger.kernel.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "kernel-hardening@lists.openwall.com" , "Weiny, Ira" Subject: Re: [RFC PATCH v2 18/19] x86/mm: Add PKS table soft mode Thread-Topic: [RFC PATCH v2 18/19] x86/mm: Add PKS table soft mode Thread-Index: AQHXnftBX/vcpSfYlUWInlizZDpM2KuM+o8AgADsMYA= Date: Tue, 31 Aug 2021 17:55:17 +0000 Message-ID: <402a645ddb31326c80d6d0eb649813816eaa6634.camel@intel.com> References: <20210830235927.6443-1-rick.p.edgecombe@intel.com> <20210830235927.6443-19-rick.p.edgecombe@intel.com> <052d20c6-347d-6340-1a62-d62bf53d3315@infradead.org> In-Reply-To: <052d20c6-347d-6340-1a62-d62bf53d3315@infradead.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2 authentication-results: infradead.org; dkim=none (message not signed) header.d=none;infradead.org; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5908ba8f-40bd-4ef5-75a2-08d96ca87e5a x-ms-traffictypediagnostic: SN6PR11MB3072: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2657; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NjZ3UH6Jp8coiu3pWYEO9/cQmJqU7lkIW20vgdrdN/Zxw2Hs3qv8glaE46fFsYnRIMIIba9Plx2aYVRprDDL0rpL1sVrO89SWqoUl2FSScS/cfoy1ZIf5VDHCLEK8kdgtvL4K4ga81FV08gnU/RrGqAJDLN3BK9UmdzHucuat5J7vycv4WF3qtPp0UTIePc3ilF2n128xDHkBrPncbriXqD5VYSX+aPXQht4uRuGltM/K5dr+EWkeNQ3mRNs2YsrZrn2V1LTc61iGFLw0BxKStfdXVKyJJPKf5/OehyhgfnzPn+UIiiTxeYgdxCeTujoNzzqwu+5MevXAW0fYunRGjegi4b92//6BGj/KL2YcfKh5u2kUljAYf75T47NKpnm8/XTlYZZH2I2IAm7EwFD563nY1cX+gly6EtHU84QeK6wHGaaX3wNWpIHJk0Lre3zZzByjCioTDUOCH69MYlYn6EuQkgKymaL89fJaoFOyW6VWORC6upVuaDpUiYmxxMFpUfZ1wpaQg0UUBv7nO1vaa5zLmLA6TXzqhvL3Ycsmx1vXjytvUv3L30tGHfVdHoJcFBk4Khip8ryqkYDADxKrMCD6sCQWG5bbEI6l7aL6JjOcwhDj8GknyMz2a0D95ezpsNMkHiF//My5FcO5BUHBsrhDlsylyQ5uB2tpeuF5D47a2RFI0fxYRl7ZcYYBVqqmpms+ibguZV1wroQ4LJpxGf3je67tK5gDemUPzy5sxoL0evAfuLIG9ogq8pOufsj x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR11MB3184.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(346002)(376002)(366004)(136003)(396003)(478600001)(2906002)(8676002)(66476007)(38070700005)(6512007)(2616005)(4326008)(921005)(36756003)(6486002)(66946007)(53546011)(4744005)(316002)(71200400001)(54906003)(5660300002)(7416002)(186003)(76116006)(26005)(64756008)(66556008)(66446008)(8936002)(91956017)(38100700002)(122000001)(6506007)(110136005)(86362001)(83380400001)(99106002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?b0RVc3FHNGhEL201LytUZHFyVURQK1JaMVZZMHBGY0hFamRKeXF4K3loSU9B?= =?utf-8?B?eVZaZWkyNDdYS3hFMzI3a3NlcmU4S3dxNGw2MUNnL1JGTExDUE5WbzRRNzNa?= =?utf-8?B?TzQxbFc5ekRVNHlBcm1pcVFEeTRJM21SUUc2T2FYWkhCUzE2TVBEOVNyejNn?= =?utf-8?B?WGR2Z2F0RW03NXhDamljbGNuaFd1VGEyWGxRWDRUeENkQ25aaDFtRWdrYjdZ?= =?utf-8?B?dVdUTndjWFMyN2IwT0l3Zmtla3J2VzdCQTR3UG1KNzNnSnVQS1JBOTh6OGxW?= =?utf-8?B?dUpNTzBjUUxRTVNVVFNpam1SV1R4Q2lhOEZ2YW5YekcrYWRPRFFSdDFNWWNQ?= =?utf-8?B?aFVMT2NDMDdlTG1KWGhKUnBoUk5iazZCOTZpYmtWU2FtUjJwb1dEMXNUSEtz?= =?utf-8?B?MmdkWFhtWmo5NnRsS3hIU0gwVmo3RDErREFSTjR3RFJ3SmlJenkvNlJDTm5r?= =?utf-8?B?Z0xmVEhkWVRqR1FzNDlOU2lUd0Y5WGVONlNldzNTVVkwTVJDOTV6R3hWRVky?= =?utf-8?B?SkgrVVZSWE9tbGVrRnY1c1RIb0NvRFJRWGpEdkkzekJnTlR0UDNYNFp0czlH?= =?utf-8?B?VXFVZUgrZlNSQmJ6dnE5QkV5SmVLdUVLMitVdjIzaVNGU1ViVXl5WXgvNzB4?= =?utf-8?B?YVNocTNxbk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sk5MOGcyNmFGMFE1NXBNaGs1cW1kUXYzTUU3Z2k1bjIzSWNlNzJwUy9VODg5?= =?utf-8?B?RGFWUEVIRGdEVkgyM2M5OXl4Vm5tbks5NzgvMEpvd1VZV3RhZmh2NXpzSGlk?= =?utf-8?B?UXFKWm1hN252RHE0d2dhRXRlcU9DWGFXTnMweThyWnRZcWFSSjJ1WTJWc3Rt?= =?utf-8?B?ZnErSjlibVhYOHlYQStmc2hBV1RYWjhHRkVTWnAzOElyY3BGOEZoMDJkd0Z4?= =?utf-8?B?UjBkeWF4dU5XY3FNdDE2UT09?= Content-Type: text/plain; charset="utf-8" Content-ID: <62345EED40A0224DAFDAEC89EE9861DA@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3184.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5908ba8f-40bd-4ef5-75a2-08d96ca87e5a X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2021 17:55:17.8519 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Xym6VujxAuGJDSXE/2zSZ3F1kTazVJd/xCgZL9eREzqpOux9HdcVNYvFEvIpO9SANQ767O/Q6o/0C14ROvDFR+dTB5S4BuuFEMFgFxvOYX0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3072 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIxLTA4LTMwIGF0IDIwOjQ5IC0wNzAwLCBSYW5keSBEdW5sYXAgd3JvdGU6DQo+ IE9uIDgvMzAvMjEgNDo1OSBQTSwgUmljayBFZGdlY29tYmUgd3JvdGU6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