Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp870039imu; Wed, 16 Jan 2019 08:53:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN5sJtF8mcphCq1vJGZRerFBgJzPSqUgiG5tHYzuHT+WlclDxSCPLuDS1YnF9P3CfYrlz4qV X-Received: by 2002:a17:902:346:: with SMTP id 64mr11025399pld.337.1547657626682; Wed, 16 Jan 2019 08:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547657626; cv=none; d=google.com; s=arc-20160816; b=BmeumZJOa9Zy5CmUUvZ9Tr6bdx60i6aRHqkBzhNKjFXw+73mPpIzfEAtNoBqE2uLhe 2Fbb7LvfdcHnXRDVTHSWMlDjaNxqXsLfFjMfoWMtfwOrIxR57gdNJwaSdLZOM3b3DR8d 7xE3kCfZ6HKhRfIGLkPyzkjPyR5dd0fAQonjPrDfRnascAu1gXZL6h5fvDvRfAW0zPag U+5MgMcFhQy0ezoCGRASgXBQ5qS0NSu9oYXPQXETcYz+GxN3weSqXdv9++Gv8Fq0S/aw 9zuZZVvzoEYx+iclz/1IVtFBPxNdPfzJcWE+TdGNJ8eqn7F77aFIKOA4NnuiniQDSHgn nSSA== 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:spamdiagnosticmetadata:spamdiagnosticoutput:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=zuOxI1mfPcE718ss50c6wYtffm3KloGil4Sop5UUca4=; b=TfvNYmDPotnRLQvLozlR+GdqP2gZ8+Fa/C84+Ud0Q+hCtk39qBUlDXcBdTo0trDPfv H6tbW55aF7LQLW0LUzEiXe4jZahwzupKYzYHOlyFvefufZ6Mg7QUlzdUDC+A/sWYQykD e1wq2oW8+Z6jJ/aAY/rXP3igqttTGpSAYqHR0YbzJ7M33FA1csMBWDlYStcY6cKfU3Zi fYYCdFWfGMTGvxB2Jm2YVgMGOeN7yqQF/z0NzBUejPBYSP8qgOF0hK7/KyrTAVtwb2NE TYttvZjIEJucQY5UNJiL6nsu1fX8CS5OHI8huG/b2OcnFA0is4CNkcmR4BE98p63S7sy 187A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=5PuWk8RX; 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 x64si4134161pfx.87.2019.01.16.08.53.28; Wed, 16 Jan 2019 08:53:46 -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=5PuWk8RX; 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 S2388442AbfAPHgD (ORCPT + 99 others); Wed, 16 Jan 2019 02:36:03 -0500 Received: from mail-eopbgr820071.outbound.protection.outlook.com ([40.107.82.71]:38457 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727667AbfAPHgD (ORCPT ); Wed, 16 Jan 2019 02:36:03 -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=zuOxI1mfPcE718ss50c6wYtffm3KloGil4Sop5UUca4=; b=5PuWk8RXM+n3iYNo7K6lFqMSBINJA5GQvuF3okEIe2SZmuvhvCBRypJ93wnpAsG1GTVijt8I1edOiIKKZ+kkRSOKCPa3kUydb/lMXfEGtFusrd50MdcxnjTWr5FhrmZ4LBYGTE1jJ4Luv8bt5QyaDsaAzcqpoqxCA/KllOBhrU4= Received: from CY4PR12MB1717.namprd12.prod.outlook.com (10.175.62.139) by CY4PR12MB1751.namprd12.prod.outlook.com (10.175.62.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.25; Wed, 16 Jan 2019 07:35:58 +0000 Received: from CY4PR12MB1717.namprd12.prod.outlook.com ([fe80::7dec:669a:ec18:7f0f]) by CY4PR12MB1717.namprd12.prod.outlook.com ([fe80::7dec:669a:ec18:7f0f%7]) with mapi id 15.20.1516.019; Wed, 16 Jan 2019 07:35:58 +0000 From: "Koenig, Christian" To: Benjamin Herrenschmidt , Michael Ellerman , Will Deacon CC: Ard Biesheuvel , =?utf-8?B?TWljaGVsIETDpG56ZXI=?= , Linux Kernel Mailing List , Carsten Haitzler , David Airlie , dri-devel , "Huang, Ray" , "Zhang, Jerry" , linux-arm-kernel , =?utf-8?B?QmVybmhhcmQgUm9zZW5rcsOkbnplcg==?= Subject: Re: [RFC PATCH] drm/ttm: force cached mappings for system RAM on ARM Thread-Topic: [RFC PATCH] drm/ttm: force cached mappings for system RAM on ARM Thread-Index: AQHUqLYqeBA87jEBLUOvwyi3in13KaWoPfAAgAZfVICAAAyHgIAAYvAAgAAasQCAAAG3AIAAAgEAgAAEIgCAAQsEgIAA2mIAgAB2HYA= Date: Wed, 16 Jan 2019 07:35:58 +0000 Message-ID: <9dc27cbf-e109-0c32-fc92-6fce1b224cda@amd.com> References: <20190110072841.3283-1-ard.biesheuvel@linaro.org> <5d8135de-80fe-9c0e-2206-ecb809f64cdb@daenzer.net> <55facfb9-92af-86b8-40e9-d63b887b5592@amd.com> <9f956898-7973-98ee-6bf1-e1d445e9d365@amd.com> <20190114191350.GA29600@fuggles.cambridge.arm.com> <20190114193548.GB29600@fuggles.cambridge.arm.com> <87a7k2yx66.fsf@concordia.ellerman.id.au> In-Reply-To: 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.2.1 x-originating-ip: [2a02:908:1252:fb60:be8a:bd56:1f94:86e7] x-clientproxiedby: AM6PR0502CA0071.eurprd05.prod.outlook.com (2603:10a6:20b:56::48) To CY4PR12MB1717.namprd12.prod.outlook.com (2603:10b6:903:121::11) 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;CY4PR12MB1751;20:frZSrrkJOxoKWoHmJrtm3Ty33j0bCo6wgswe5gw4q93pDthP5gQJpE6m86Ty8I+IzdprITYW43qeEOpKsjSnhSqgmkVjWPRugqXBxehIiaXf0JeCDaCNqptwGP84FJTLzltZkDUG2BMgl84t/rNctlS5h62KVgeoSpvYAw1cKBVC+GJdOa4wb0WJq9wX+PYcb3S2RAJ5xuipYhI5nfoKuy8QxfRwzS6NwwwjbRiVDwm68KT9g7UHpaR6CcxDy4/R x-ms-office365-filtering-correlation-id: 24c14c0d-d4d9-431a-0ec2-08d67b85418f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:CY4PR12MB1751; x-ms-traffictypediagnostic: CY4PR12MB1751: x-microsoft-antispam-prvs: x-forefront-prvs: 091949432C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(366004)(396003)(136003)(346002)(39860400002)(189003)(199004)(71190400001)(71200400001)(11346002)(97736004)(25786009)(229853002)(4326008)(53936002)(6246003)(7416002)(6512007)(446003)(6116002)(86362001)(6486002)(31696002)(486006)(476003)(46003)(64126003)(68736007)(2906002)(6436002)(2616005)(7736002)(31686004)(305945005)(105586002)(106356001)(8676002)(81156014)(8936002)(316002)(99286004)(186003)(478600001)(52116002)(36756003)(102836004)(386003)(72206003)(110136005)(54906003)(65826007)(65806001)(14444005)(256004)(65956001)(5660300001)(58126008)(81166006)(93886005)(14454004)(76176011)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1751;H:CY4PR12MB1717.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: sPiZ0r48goOCDcE+Ocz9Ik/Qw2jt9QKb5KbJtK/w6wYPWRZd5H1hwpkzA+mhO6EEibnoiazt0rTTgFAjjfowY7XlmTaGZRhXkPM5nBmABS2W2QzSp/bTlk1KMsM2Xc7baPcrYZOj+7HCY7ZWOIQw0zh1LdYz4guGGPwgRwX99aFDzk5Up0sDI75d0aZZhwazJovCD3GzAJL/ZauUbAWhmf7udjD0KtieDJwe0LltUNDOEff9WjtyLOOmpaYwcn5udx/2go51FuH3Zxpzm3LK8NEvFDK+4tmV9I+L4w7XYm191eA5v+7tRu1+DVCf1/T9LY82pjuvLTH5okfE6xTaR3NputKVpum9NkfVIcLN6q7+jILDRG22i9lGjGqtVje7Io0GVCVJpzuoUjmJh/6YptJrVVWktCU7hRBmes5QcR8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <4A8E14009A14C34A840EDD336B706F9B@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24c14c0d-d4d9-431a-0ec2-08d67b85418f X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2019 07:35:55.6747 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1751 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW0gMTYuMDEuMTkgdW0gMDE6MzMgc2NocmllYiBCZW5qYW1pbiBIZXJyZW5zY2htaWR0Og0KPiBP biBUdWUsIDIwMTktMDEtMTUgYXQgMjI6MzEgKzExMDAsIE1pY2hhZWwgRWxsZXJtYW4gd3JvdGU6 DQo+Pj4+IEFzIGZhciBhcyBJIGtub3cgUG93ZXIgZG9lc24ndCByZWFsbHkgc3VwcG9ydHMgdW4t Y2FjaGVkIG1lbW9yeSBhdCBhbGwsDQo+Pj4+IGV4Y2VwdCBmb3IgYSB2ZXJ5IHZlcnkgb2xkIGFu ZCBvZGQgY29uZmlndXJhdGlvbiB3aXRoIEFHUC4NCj4+PiBIb3BlZnVsbHkgTWljaGFlbC9CZW4g Y2FuIGVsYWJvcmF0ZSBoZXJlLCBidXQgSSB3YXMgdW5kZXIgdGhlIChwb3NzaWJseQ0KPj4+IG1p c3Rha2VuKSBpbXByZXNzaW9uIHRoYXQgbWlzbWF0Y2hlZCBhdHRyaWJ1dGVzIGNvdWxkIGNhdXNl IGEgbWFjaGluZS1jaGVjaw0KPj4+IG9uIFBvd2VyLg0KPj4gVGhhdCdzIHdoYXQgSSd2ZSBhbHdh eXMgYmVlbiB0b2xkLCBidXQgSSBjYW4ndCBhY3R1YWxseSBmaW5kIHdoZXJlIGl0J3MNCj4+IGRv Y3VtZW50ZWQsIEknbGwga2VlcCBzZWFyY2hpbmcuDQo+Pg0KPj4gQnV0IHlvdSdyZSByaWdodCB0 aGF0IG1peGluZyBjYWNoZWQgLyB1bmNhY2hlZCBpcyBub3QgcmVhbGx5IHN1cHBvcnRlZCwNCj4+ IGFuZCBwc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