Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5729316imu; Wed, 30 Jan 2019 02:34:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Kop7gPIwd22yEbeJhhyjVLBCPYPxNJQ6QkZQr6hD+LdhCBhAbPyDFGVnWbYlBcoOwe6mp X-Received: by 2002:a63:c64f:: with SMTP id x15mr26385504pgg.16.1548844490374; Wed, 30 Jan 2019 02:34:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548844490; cv=none; d=google.com; s=arc-20160816; b=G7Xn0e3ayq9mJ+8zwC1FOnfaYFNJI7iHqgnn10pha7nUxxDD367DIWFL06vjSRz2lC xn6x3KW+gdBz7GSUyyacBOf/KZMmOD7jyw+aYcanJa2hVGNOqO4xcYxahDgDqcA4PuhV JJsYlNxZCmVwqO8V0WDaRL4Q1TqxnxTNzffm2SLnj0b/y4FN/HoJmIKR33Ia7XX1IqjJ Tqu0frzPjvYV1OY3BjVDhAVSrSESIbgnhWqW9VCFi6PQk6ScCHl7FGsLlwvi9bs8GCnq dBvIIyyZgjr+Ec/YjrJRQV9dREreLF/nEGNYP8tM1Y1ztFzUZMUs+Q4C7SxieOGXNik/ XWKg== 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:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=D+ebTc0+10tslO8wD4HXKAboq0wLl7gDqKO2drmwrK0=; b=zfgiapvATnVvIhmQJnuFV8fKIOzyOffHV6MHe+uH3XpQoWhPznnSJWVsRoSMhCOgmm Y3lx9AX6vnZglBzCSxJo2KtJRjFFALsNWFsc1qQ2yBhVf2gpgltlfuGH3qQCNS+Rc9O4 8gj9Y1gyP71sWa+i1ssdOekx1DcH9tVQtHkGgddnCMxFgLQJ0KIcbbXOnHsShenWscJY cl46+nYy0ieCtl9tidm2P4UhMCX02fqd5EwpP9x6LfOE1k6csFS+71eXCV2M6zpwuaDI OVT7OsxbrUM+al8GW/gAXL+DIst9L8nTJZYcf2oAoROtbXTjs321c/BOJDkZjsklBMc9 QFhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=xoadB6Lr; 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 64si1227759pfe.74.2019.01.30.02.34.35; Wed, 30 Jan 2019 02:34:50 -0800 (PST) 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-amd-com header.b=xoadB6Lr; 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 S1730802AbfA3Kdp (ORCPT + 99 others); Wed, 30 Jan 2019 05:33:45 -0500 Received: from mail-eopbgr700046.outbound.protection.outlook.com ([40.107.70.46]:31125 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727555AbfA3Kdn (ORCPT ); Wed, 30 Jan 2019 05:33:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D+ebTc0+10tslO8wD4HXKAboq0wLl7gDqKO2drmwrK0=; b=xoadB6Lrys/AU7ic2NaXXhgQ7gnN3HzQ/i1w6cgHRvsLrUvdROGkP61fZ+kBl4ZR3HNBEkjs3taGd4kVKAJuIrkF3hhE3sCVwuaF2Q9stKYraS7YA3ujrcE9tE4RHAKGsB2WmyBTvsSf/2eRdFnaBoXOVW525vxWvQ9z1r9Rctk= Received: from DM5PR12MB1546.namprd12.prod.outlook.com (10.172.36.23) by DM5PR12MB1531.namprd12.prod.outlook.com (10.172.34.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.18; Wed, 30 Jan 2019 10:33:40 +0000 Received: from DM5PR12MB1546.namprd12.prod.outlook.com ([fe80::35a3:c1b4:5ad0:ec6e]) by DM5PR12MB1546.namprd12.prod.outlook.com ([fe80::35a3:c1b4:5ad0:ec6e%10]) with mapi id 15.20.1558.023; Wed, 30 Jan 2019 10:33:40 +0000 From: "Koenig, Christian" To: Christoph Hellwig , Jason Gunthorpe CC: Logan Gunthorpe , Jerome Glisse , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , "Rafael J . Wysocki" , Bjorn Helgaas , "Kuehling, Felix" , "linux-pci@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Marek Szyprowski , Robin Murphy , Joerg Roedel , "iommu@lists.linux-foundation.org" Subject: Re: [RFC PATCH 3/5] mm/vma: add support for peer to peer to device vma Thread-Topic: [RFC PATCH 3/5] mm/vma: add support for peer to peer to device vma Thread-Index: AQHUt/rAgVEbp32b0EuMjAjrX5/WJ6XGkyOAgAAJwICAAAYHgIAAEq6AgAAFP4CAALlkAIAAKk0A Date: Wed, 30 Jan 2019 10:33:39 +0000 Message-ID: <4e0637ba-0d7c-66a5-d3de-bc1e7dc7c0ef@amd.com> References: <20190129174728.6430-1-jglisse@redhat.com> <20190129174728.6430-4-jglisse@redhat.com> <20190129191120.GE3176@redhat.com> <20190129193250.GK10108@mellanox.com> <99c228c6-ef96-7594-cb43-78931966c75d@deltatee.com> <20190129205827.GM10108@mellanox.com> <20190130080208.GC29665@lst.de> In-Reply-To: <20190130080208.GC29665@lst.de> 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.4.0 x-originating-ip: [2a02:908:1252:fb60:be8a:bd56:1f94:86e7] x-clientproxiedby: AM6PR05CA0027.eurprd05.prod.outlook.com (2603:10a6:20b:2e::40) To DM5PR12MB1546.namprd12.prod.outlook.com (2603:10b6:4:8::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR12MB1531;20:FloESh8INSWxgfyoZKWhQ8zAB+q9wNINSjE+hwqS7lrM+vEfhaK9aXKHPCBnCjjKY/vIJDY8Uw7bRc9l/dQ/ji5rz5ipoN3frBcblJ5BAozuR2tzzbYUsqTHvERtSlM3w0xiWVT5Xa5h+okk7ReCZprJI+JzDUMfk7FXxmhSDpXL/jrfoHkCBVDa/GI5Ud0e5ImKSpHsnRODwxxuLyoCaD2b6h2GcpzamDKHS5jHfvrNi3cCAjVN0FrN+Q6tPk5j x-ms-office365-filtering-correlation-id: 6c32b3c0-d7dc-4204-2d2e-08d6869e6629 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);SRVR:DM5PR12MB1531; x-ms-traffictypediagnostic: DM5PR12MB1531: x-microsoft-antispam-prvs: x-forefront-prvs: 0933E9FD8D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(396003)(39860400002)(366004)(136003)(199004)(189003)(305945005)(4326008)(64126003)(110136005)(86362001)(54906003)(316002)(53936002)(58126008)(256004)(72206003)(81166006)(8676002)(8936002)(81156014)(2906002)(217873002)(7736002)(478600001)(93886005)(386003)(25786009)(186003)(99286004)(65826007)(76176011)(65806001)(52116002)(68736007)(65956001)(102836004)(36756003)(6246003)(229853002)(14454004)(46003)(6116002)(446003)(7416002)(71200400001)(6506007)(11346002)(105586002)(31696002)(6486002)(97736004)(6436002)(71190400001)(486006)(2616005)(6512007)(31686004)(476003)(106356001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1531;H:DM5PR12MB1546.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: 9aiyJXBkI1aV6nhi+ENcbwQFQxjsBTCy2lYBNKahnq+5cEWYvFhhKrxgA1BWYUzd8gy7mm7Tj27e/bUh2uK6c6D0AqGjc2rpQ1sx+TM2OFsYbcm2WfRXE/j7at3jBWf2HvyKK76tvScRL5Oczng23TCDog6Ep/4aI0qhYWp0GvG9hPGOnXsKopcW61Ex0kIIaeW/NC2FUgLbWqxPcGAoSM81E440DAlSwpR19qg2rThXlHChI80Hde8uUoYKCybh25e21kclDxSLPadh43ar4Q4zfVhwJsxAGSA3HJk0YZWFSGOdP1k5ajfj8gn/cVWi81N/9BFVo9u+ubJA3sfGe/ns5AJwsqZv4EjYX57MEdIuhTQJX5UHQkafZ30cQ/nxJaxUJKOeK4QxVB1Qef832IozbGFtXJTMa0VhwukVFh0= Content-Type: text/plain; charset="utf-8" Content-ID: <0297C7D5305B774FB9CFD8B1E00EE95C@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c32b3c0-d7dc-4204-2d2e-08d6869e6629 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2019 10:33:36.8750 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1531 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW0gMzAuMDEuMTkgdW0gMDk6MDIgc2NocmllYiBDaHJpc3RvcGggSGVsbHdpZzoNCj4gT24gVHVl LCBKYW4gMjksIDIwMTkgYXQgMDg6NTg6MzVQTSArMDAwMCwgSmFzb24gR3VudGhvcnBlIHdyb3Rl Og0KPj4gT24gVHVlLCBKYW4gMjksIDIwMTkgYXQgMDE6Mzk6NDlQTSAtMDcwMCwgTG9nYW4gR3Vu dGhvcnBlIHdyb3RlOg0KPj4NCj4+PiBpbXBsZW1lbnQgdGhlIG1hcHBpbmcuIEFuZCBJIGRvbid0 IHRoaW5rIHdlIHNob3VsZCBoYXZlICdzcGVjaWFsJyB2bWEncw0KPj4+IGZvciB0aGlzICh0aG91 Z2ggd2UgbWF5IG5lZWQgc29tZXRoaW5nIHRvIGVuc3VyZSB3ZSBkb24ndCBnZXQgbWFwcGluZw0K Pj4+IHJlcXVlc3RzIG1peGVkIHdpdGggZGlmZmVyZW50IHR5cGVzIG9mIHBhZ2VzLi4uKS4NCj4+ IEkgdGhpbmsgSmVyb21lIGV4cGxhaW5lZCB0aGUgcG9pbnQgaGVyZSBpcyB0byBoYXZlIGEgJ3Nw ZWNpYWwgdm1hJw0KPj4gcmF0aGVyIHRoYW4gYSAnc3BlY2lhbCBzdHJ1Y3QgcGFnZScgYXMsIHJl YWxseSwgd2UgZG9uJ3QgbmVlZCBhDQo+PiBzdHJ1Y3QgcGFnZSBhdCBhbGwgdG8gbWFrZSB0aGlz IHdvcmsuDQo+Pg0KPj4gSWYgSSByZWNhbGwgeW91ciBlYXJsaWVyIGF0dGVtcHRzIGF0IGFkZGlu ZyBzdHJ1Y3QgcGFnZSBmb3IgQkFSDQo+PiBtZW1vcnksIGl0IHJhbiBhZ3Jvd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