Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1727728ybn; Thu, 26 Sep 2019 01:01:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQfsCFoIJi13Aa2XSbzrx8JQlb+xuL5lg/9aKaXkls8O5aEB/AxcS5TqhtPqkkMC1tZi8B X-Received: by 2002:aa7:d501:: with SMTP id y1mr2108186edq.226.1569484900767; Thu, 26 Sep 2019 01:01:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569484900; cv=pass; d=google.com; s=arc-20160816; b=LzIridrtsqNYwZK7AHcNG70DZIXCCT6md7ig6GxYc8BsRu7JXATdpMqjlQeVnZEwLQ mz5eHYfmOPWRklNoGL/LwEj+El0h/kPU6c9yMhlKh70lWZ0K09doYhp2ni+VFuVHkjbD nZqJknZK0soxn7SgRXcNWakif4tN53XElFAc+vzWsNWKefEY8ORZW5XX7HPg4TsMhBB/ vazoDGIqtE5h2U8GmcFP34YrJsOUz4wGGVRPcPDKTf0qEGSip6jIg8fJiE3SNKEKzIZW IMdTOaXzC+cstQcZB4EcfLextq8MAZUAqDwuu4gYUDZhOQjKfIlpJk/YPDDHsaiaGfXH KbuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=zLbPwhrP6VZzzI+PA7ItVdyZa/XmHzD6/saHV/V4oxA=; b=qqze6ACByBWwnQkGVKY490QE0H+EzVBYwVoYVQhybsCaYpjZH2H3bQJpgP/Ckbq5OC vcieWk/n+ED4KIUiqSsHJt7X5IGIHmfPbDgny7BkkqABRCAp4z+3Q9VMakrpeAyMgk+4 NJiPVVbhdXF4SQszw7uAffnbHAxtkQIoScjFdHPVSwygj+6KNtxOChw69G4vTjR1X5Du 7HX6CphKKxe6IlWQ4lrXOYEc29POcKxVRIZrFFCuoUJpaTp9U12BJfRCYNvXBqcdYST4 Zgdveaw3IJdHz9JCxzCj2VhN7U26fxxs4WQETWw6fE4YnzTGweY6cGCkq+9GEzE1VXv0 V+WA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=Pa7yE3iU; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 o46si837751edc.124.2019.09.26.01.01.16; Thu, 26 Sep 2019 01:01:40 -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=selector2-amdcloud-onmicrosoft-com header.b=Pa7yE3iU; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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 S2504793AbfIXMDO (ORCPT + 99 others); Tue, 24 Sep 2019 08:03:14 -0400 Received: from mail-eopbgr750059.outbound.protection.outlook.com ([40.107.75.59]:14723 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726923AbfIXMDN (ORCPT ); Tue, 24 Sep 2019 08:03:13 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GMXiJtACir+PWVc4iPFyg61NwlVd2DnfQqWDZywH8A19KZe3sJiDuu/VuFtmDqyPdxxPSoWJfsskfsBIBKbXuaRfGkMRGMtVO4SkbUQKRfM7SSPBMy+IuoLz8kEIEdVtYr4Eqfv2kt0xx/VBK3BdfIrQCvNawzhE78WPtos2rPrZtawwerVlcrlF3fjfBprO0bJrGH9UJRCkp4SMefSmGB2drGU0J2ZKjLX8CsGmqSCfokC8tGNstPAmGEvqhjd2Rnfu4l34Gs3h+OzDkjr7Pv5L1d+ovejoM6zXU+16hy9yA7s8RRw4tkfme0VYU67gmiCArHEclqLSSIPbXCeOXg== 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=zLbPwhrP6VZzzI+PA7ItVdyZa/XmHzD6/saHV/V4oxA=; b=F/NfpIM35EoNDmXkriOoXQPsM1BDmDrjAZQbT1W6I7041Ls5k8+545kooYDBTj8akkTuw0ZopzCotTF9pg042RSvmGXaQ47Nz5KTt/KBOsaD6c0kIdOTWINNZoCbgq1knNWpZeiXQXpDdgKRWuvHaUwsA9fS6aDxx3owZ1MgJ8DHuqJ8EPcGYEx5Pc2MMuKLC/XWKtr+k+3FL5mH12PywYQXLRqCR8jATLj3PIcMOAPUmqdULOQUBsA6TqMr/yIyc1XBkZF26BXpmucGBNmJOt3snLU5t7COCls0zgJhI7vec09s0Ibcj8PV9+N89we+86KkZcPOo9yjvSLwTQgJxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zLbPwhrP6VZzzI+PA7ItVdyZa/XmHzD6/saHV/V4oxA=; b=Pa7yE3iU2/ksjkLPeCZsMjK1uBHxmXo/xWTz3rszXuhvUz8tI6FOL8EBXpaQNg/CeTNZ9dM9QGbyd/f/PYsAxZnwv18BXff2e7V16DYiFA7B7lj5680KAcTKMLSTgYulGhIlrSXsoKb1sTiz3Mu3VNT+YlhyNHja3fQFhrrsXQM= Received: from DM5PR12MB1705.namprd12.prod.outlook.com (10.175.88.22) by DM5PR12MB1417.namprd12.prod.outlook.com (10.168.236.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.23; Tue, 24 Sep 2019 12:03:09 +0000 Received: from DM5PR12MB1705.namprd12.prod.outlook.com ([fe80::9d43:b3d4:9ef:29fc]) by DM5PR12MB1705.namprd12.prod.outlook.com ([fe80::9d43:b3d4:9ef:29fc%8]) with mapi id 15.20.2284.023; Tue, 24 Sep 2019 12:03:09 +0000 From: "Koenig, Christian" To: =?utf-8?B?VGhvbWFzIEhlbGxzdHLDtm0gKFZNd2FyZSk=?= CC: "linux-kernel@vger.kernel.org" , "pv-drivers@vmware.com" , Thomas Hellstrom , "dri-devel@lists.freedesktop.org" Subject: Re: TTM huge page-faults WAS: Re: [RFC PATCH 1/2] x86: Don't let pgprot_modify() change the page encryption bit Thread-Topic: TTM huge page-faults WAS: Re: [RFC PATCH 1/2] x86: Don't let pgprot_modify() change the page encryption bit Thread-Index: AQHVY9W/NbX8l5jE2EqdnkeqDdb24qcdIPeAgAAShQCAAADnAIAH6LoAgAA2koCAAOVxgIAAEXGAgABB0YCAABGEAIAUOneA Date: Tue, 24 Sep 2019 12:03:09 +0000 Message-ID: References: <20190905103541.4161-1-thomas_os@shipmail.org> <20190905103541.4161-2-thomas_os@shipmail.org> <608bbec6-448e-f9d5-b29a-1984225eb078@intel.com> <20190905152438.GA18286@infradead.org> <10185AAF-BFB8-4193-A20B-B97794FB7E2F@amacapital.net> <92171412-eed7-40e9-2554-adb358e65767@shipmail.org> <46a21ca5-a395-e644-9eed-77ea26fc871e@shipmail.org> In-Reply-To: <46a21ca5-a395-e644-9eed-77ea26fc871e@shipmail.org> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 x-originating-ip: [2a02:908:1252:fb60:be8a:bd56:1f94:86e7] x-clientproxiedby: PR0P264CA0118.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:19::34) To DM5PR12MB1705.namprd12.prod.outlook.com (2603:10b6:3:10c::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 76803cd5-8a72-4b4e-6700-08d740e72a89 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DM5PR12MB1417; x-ms-traffictypediagnostic: DM5PR12MB1417: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 0170DAF08C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(39860400002)(136003)(376002)(396003)(366004)(199004)(189003)(51444003)(6116002)(14454004)(6246003)(25786009)(478600001)(486006)(58126008)(14444005)(65806001)(186003)(446003)(65956001)(31686004)(31696002)(66556008)(66446008)(81166006)(11346002)(64756008)(8676002)(256004)(2616005)(316002)(66476007)(66946007)(6916009)(54906003)(476003)(102836004)(8936002)(81156014)(71200400001)(46003)(71190400001)(76176011)(386003)(229853002)(6512007)(53546011)(6506007)(86362001)(7736002)(66574012)(52116002)(6486002)(99286004)(2906002)(4326008)(6436002)(5660300002)(36756003)(305945005)(14583001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1417;H:DM5PR12MB1705.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: lqRlDSAaMrDJfLWNch4jGCh1ZKSYti4pV4uRvQVIoqW13XBhZbyIydu0b2vgmtbbxjBh94UGgwySZgR0epjKMmZmehZ91gFocv0aG4DKjKRIRxpiRkFIFhWk+NVsJcYVQXOFgOvg1K8ZrIOYxsukCMryzbJpD04PpNW4gxH+xL54+JU4HbZ0fw3Y82+u1qPnB14tBv+rHjrz765Ms6dGNlMEi68DY98S6J+zYMyyAMZOmxv0N/FUadNAytBsKVL5GJnSHvQsvjcNHQnc6Fmd3HSo2LJdDs3PH3ILjANjGRUbjGxIqCxYQzYHs8rV/basY7i2woFRr1dky5fzyZJltL4DU4aSF7MS0eUsYyXRxhkpsP94BxsEgsANV7JnZC0sxTQZ90V8vFjnZRtbWL4wdGthFFmDxxH6SS8WsuRGWv8= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <07F22D1394BF424F82E36F80465161B0@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76803cd5-8a72-4b4e-6700-08d740e72a89 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2019 12:03:09.3834 (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: 6/Xz3GzRn4xFbZlyt6PYcZ+tbnE51DqpU1h+9nioGjmlxrpfWEpAe3k56tB103/u X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1417 Sender: linux-kernel-owner@vger.kernel.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