Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3201091ybi; Mon, 17 Jun 2019 19:02:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqymOi5DHKKP4If+YOyEG8pWoCPLNPuUeoV4SFaZqQEFJMiQ5kB+cE0eEaBdwUtslPqiAc5T X-Received: by 2002:a17:902:44f:: with SMTP id 73mr53686979ple.192.1560823349333; Mon, 17 Jun 2019 19:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560823349; cv=none; d=google.com; s=arc-20160816; b=qU+JzPMKLEcfHIriTSXq1YK6HT+9nQqcfKvaKXCvxbgiuwO65okOa2lpvJNrg7EVnt dzwK2tv+VkDqSQ1XuA+vCch+LQQoMrzBHYZHHVuYEzRTsvKmYNfbJY2YHhP1BYDyjX/1 rPOdrxav95O0MPw4TLqxvfdnECjTqphVBJzbBM6OeZpRKoQLQj/kU0f+HhHT4CEpBeA9 1sq9k3jB1F01vTXEt0qqPZgvpQgozYckLXzPV0Ojr+eAIc5A595itvmL7GR8eO3kSQNx DhbJHDCi9HRXjqy5f2llUN7wWUwdk0si+kEN9FphRotcVpV20zxSqNtJiNiF0XyQmnW/ CA3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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=x2wpQ4AhiN7KRVspeIae1sst5lVNYjKBsjHdOpOWzvg=; b=y9e8DQuHfY95IqwTeXofGUl3f+R81Yfvl/aQ6k6IdUpHpBd2RgSgCYLHlfsTKxoCQz e16N18V/0lRBLLNIFk4M20BKigFEce7B/457ZIKUsXz8ZgI3P0KpAzjgphGcOGFN/B/g Ug5z971On1WtzStAslBuLSuswMNaAlubgmEkkpERPZLR/objylasVq/trxVU9VHTEtle 9ZB5TjRtnph/SOq0S8LN6eeVZJoBaVArPt6MePT6HdmJWmLTE05ScWqOd8Gz+iE4xDkl LVJ7KqpHVwzdPCy4enNQx7st9AKIaNkb8iKETXs7eBJMg+MgSpz0a6MRN5M7I9s2KH5q kpuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=mhAG8Elh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h4si752953pjs.103.2019.06.17.19.02.11; Mon, 17 Jun 2019 19:02:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amdcloud-onmicrosoft-com header.b=mhAG8Elh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727731AbfFRCCG (ORCPT + 99 others); Mon, 17 Jun 2019 22:02:06 -0400 Received: from mail-eopbgr700076.outbound.protection.outlook.com ([40.107.70.76]:34816 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726026AbfFRCCD (ORCPT ); Mon, 17 Jun 2019 22:02:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x2wpQ4AhiN7KRVspeIae1sst5lVNYjKBsjHdOpOWzvg=; b=mhAG8ElhryKzlq8NJLeAv6nMuRp+RegP0f6mCBYT0LkNCClPd9iHcauNq8qXzhmzU53O+C7fAfwv/ne/DRqViKQanL0HIiwhsZVOeU2sJRkIrvrYloq0ckm3XIsIJIecgyBogTr7bTdgFLgO2zaB044Q5Q9EtMHshiwCz2+5R2g= Received: from DM6PR12MB3163.namprd12.prod.outlook.com (20.179.104.150) by DM6PR12MB3611.namprd12.prod.outlook.com (20.178.199.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.11; Tue, 18 Jun 2019 02:02:00 +0000 Received: from DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::bcaf:86d4:677f:9555]) by DM6PR12MB3163.namprd12.prod.outlook.com ([fe80::bcaf:86d4:677f:9555%6]) with mapi id 15.20.1987.014; Tue, 18 Jun 2019 02:02:00 +0000 From: "Lendacky, Thomas" To: Andy Lutomirski CC: Kai Huang , Dave Hansen , "Kirill A. Shutemov" , Andrew Morton , X86 ML , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Peter Zijlstra , David Howells , Kees Cook , Jacob Pan , Alison Schofield , Linux-MM , kvm list , "keyrings@vger.kernel.org" , LKML Subject: Re: [PATCH, RFC 45/62] mm: Add the encrypt_mprotect() system call for MKTME Thread-Topic: [PATCH, RFC 45/62] mm: Add the encrypt_mprotect() system call for MKTME Thread-Index: AQHVBaytkz7iqCERRUG2Tf+Vvry8YKagMWmAgAAF3ICAAAT1AIAALTSAgABck4D//8anAIAAVZ+AgAAF/gA= Date: Tue, 18 Jun 2019 02:02:00 +0000 Message-ID: References: <20190508144422.13171-1-kirill.shutemov@linux.intel.com> <20190508144422.13171-46-kirill.shutemov@linux.intel.com> <3c658cce-7b7e-7d45-59a0-e17dae986713@intel.com> <5cbfa2da-ba2e-ed91-d0e8-add67753fc12@intel.com> <1560815959.5187.57.camel@linux.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: DM3PR14CA0137.namprd14.prod.outlook.com (2603:10b6:0:53::21) To DM6PR12MB3163.namprd12.prod.outlook.com (2603:10b6:5:182::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 55b38e2f-3409-47ff-530a-08d6f390f307 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DM6PR12MB3611; x-ms-traffictypediagnostic: DM6PR12MB3611: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 007271867D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(376002)(346002)(136003)(39860400002)(396003)(199004)(189003)(6512007)(5660300002)(73956011)(86362001)(186003)(25786009)(6116002)(102836004)(4326008)(3846002)(7736002)(53936002)(6916009)(26005)(2906002)(81166006)(81156014)(8676002)(8936002)(68736007)(305945005)(31686004)(54906003)(478600001)(72206003)(66066001)(14444005)(256004)(6486002)(6246003)(229853002)(316002)(36756003)(66946007)(66476007)(64756008)(66446008)(99286004)(52116002)(66556008)(71200400001)(446003)(7416002)(486006)(11346002)(71190400001)(6436002)(76176011)(476003)(2616005)(386003)(6506007)(53546011)(14454004)(31696002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB3611;H:DM6PR12MB3163.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mCBZSMfEJuqEOgcFctyscRO40vl/MLZeyxHm+2GZZFFXPLSA1UxLiosr/L8sEV1/698Fd2R/ln03dJuDH4Bt/lKUfH5BQ9tyZDEx5gWC3zJcpsaUkhLFBT/M1TluLanYYyQdeOqm99iBqgJqBK60Pyrxn/IcS7DhUhf5IF2mnoTCyNQ5S+Skkrl7Eb3fK0fAd498+FQliQUfDrO0li69D4lzgu2SDCChB2OdwaIdzX3hlNq6vQ7l35K4B24JXCwkUU40DpPOur39FhTULf/jU5gP5Ji6bRuD7EEHTUPNkCKb4Vmw+OFz8serShUPsya74C2dhuJT+XOoYPGCqYYrmsbJG3P/NBJOx+wz086b8Lv0xmY9MzL8DhQPZadzSyJ7SlxFM+qBpCobm8lxoDN4nxmV/UVuEQhjSSGaAjTBQn8= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55b38e2f-3409-47ff-530a-08d6f390f307 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2019 02:02:00.0995 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tlendack@amd.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3611 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNi8xNy8xOSA4OjQwIFBNLCBBbmR5IEx1dG9taXJza2kgd3JvdGU6DQo+IE9uIE1vbiwgSnVu IDE3LCAyMDE5IGF0IDY6MzQgUE0gTGVuZGFja3ksIFRob21hcw0KPiA8VGhvbWFzLkxlbmRhY2t5 QGFtZC5jb20+IHdyb3RlOg0KPj4NCj4+IE9uIDYvMTcvMTkgNjo1OSBQTSwgS2FpIEh1YW5nIHdy b3RlOg0KPj4+IE9uIE1vbiwgMjAxOS0wNi0xNyBhdCAxMToyNyAt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