Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp234586imm; Tue, 15 May 2018 00:31:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr/NrVs5bOleslAZYr2c83ts2Lq/jIxaxOz53ra7gocrnlUrjUSc6EW6N4qxKJY1UO47TnD X-Received: by 2002:a62:9342:: with SMTP id b63-v6mr14014421pfe.130.1526369480312; Tue, 15 May 2018 00:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526369480; cv=none; d=google.com; s=arc-20160816; b=KVYkoX3qOaIXT94cMmGw48Pc9ImeTSPpI6CsBGWubDho9ema/EGM4JTHSA+OWwqfcu opAAHGGYBQ/3g8fVWu4pLYGnMldGMZpySwmJfA+bb/B+IXgo0vb3HUEHDwgQ9WEYIbRn jcrylM3+KjeisqOcoX/Ux974Suf/ftxnzz/g5NRkEX0GTJXx2vTB6Ynz1V9X4+MrNEkX CI72HwFtOOh7vAHn0C74CMKVq24JRKbhVjbCz437AifeGbuvUF646sbaOQYMGmsZeFy3 rYV7u99d85D8BVMCJ/HRMO+/hafnzzZMwLzhlFXiy7xKKya5wg1a7Cd5nxrcMvl+ufdQ GLng== 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:arc-authentication-results; bh=WSStzsJk3gxNMyvNRRL8gRJvmgh54X6LiJzqR1hyfM8=; b=0Toh/zVJ1UWXPIn3/9TNXe8RpfX1tDkBlo4QVGL+L7xnF9zOALcPFWn/XyIon5uvvA HM6XOe0e71yVr3hDtnOe3AuHJi5eBjPqoJCodSL8aeU/VUikdXbRm2C4zTFbYhUitD7s GpsnBS00vj8j21Ou45MqDTKpMGTK9sT6cWAsXmi4ZDKuBUtuU/6o9mHA/MG4Ruh341Y+ LdaVD7q2W+sYOcW5jCnEf4L1WT8sFXEcZvFKqvGjkg2nJwhM0BT1ASo/KWgFO7ga++pi fm4zyaxsQ7QRCSoW1QiD/LGefTJhArfY/eRdOj7hOLFgSlfpsWbXWb9HG1ZJjzxm81HD Fp9Q== ARC-Authentication-Results: i=1; mx.google.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 u3-v6si11335109plj.338.2018.05.15.00.31.06; Tue, 15 May 2018 00:31:20 -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; 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 S1752525AbeEOHas (ORCPT + 99 others); Tue, 15 May 2018 03:30:48 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:56375 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752433AbeEOHan (ORCPT ); Tue, 15 May 2018 03:30:43 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w4F7Sslr015190; Tue, 15 May 2018 09:30:30 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2hwnqxepjk-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 15 May 2018 09:30:30 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 52EB931; Tue, 15 May 2018 07:30:29 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1038E1611; Tue, 15 May 2018 07:30:29 +0000 (GMT) Received: from SFHDAG5NODE3.st.com (10.75.127.15) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 15 May 2018 09:30:28 +0200 Received: from SFHDAG5NODE3.st.com ([fe80::7c09:5d6b:d2c7:5f47]) by SFHDAG5NODE3.st.com ([fe80::7c09:5d6b:d2c7:5f47%20]) with mapi id 15.00.1347.000; Tue, 15 May 2018 09:30:28 +0200 From: Fabien DESSENNE To: Mauro Carvalho Chehab CC: Laurent Pinchart , "Jean Christophe TROTIN" , Yasunari Takiguchi , Sakari Ailus , "Luis R. Rodriguez" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "linux-media@vger.kernel.org" Subject: Re: Are media drivers abusing of GFP_DMA? - was: Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love Thread-Topic: Are media drivers abusing of GFP_DMA? - was: Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love Thread-Index: AQHT5ItQQSTYoFbpC0CKaMHEuUh6r6QkI0wAgAAfnACACoXDgIAAKyaAgAABHwCAAV2igA== Date: Tue, 15 May 2018 07:30:28 +0000 Message-ID: <63607d94-b974-2bcd-c15e-fcb9350d8470@st.com> References: <20180426215406.GB27853@wotan.suse.de> <20180505130815.53a26955@vento.lan> <3561479.qPIcrWnXEC@avalon> <20180507121916.4eb7f5b2@vento.lan> <547252fc-dc74-93c6-fc77-be1bfb558787@st.com> <20180514073503.3da05fc6@vento.lan> <20180514073857.7fd69136@vento.lan> In-Reply-To: <20180514073857.7fd69136@vento.lan> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.50] Content-Type: text/plain; charset="utf-8" Content-ID: <4D18BD365F868A45B91D8CD65F3EB881@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-15_01:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDE0LzA1LzE4IDEyOjM5LCBNYXVybyBDYXJ2YWxobyBDaGVoYWIgd3JvdGU6DQo+IEVt IE1vbiwgMTQgTWF5IDIwMTggMDc6MzU6MDMgLTAzMDANCj4gTWF1cm8gQ2FydmFsaG8gQ2hlaGFi IDxtY2hlaGFiK3NhbXN1bmdAa2VybmVsLm9yZz4gZXNjcmV2ZXU6DQo+DQo+PiBIaSBGYWJpZW4s DQo+Pg0KPj4gRW0gTW9uLCAxNCBNYXkgMjAxOCAwODowMDozNyArMDAwMA0KPj4gRmFiaWVuIERF U1NFTk5FIDxmYWJpZW4uZGVzc2VubmVAc3QuY29tPiBlc2NyZXZldToNCj4+DQo+Pj4gT24gMDcv MDUvMTggMTc6MTksIE1hdXJvIENhcnZhbGhvIENoZWhhYiB3cm90ZToNCj4+Pj4gRW0gTW9uLCAw NyBNYXkgMjAxOCAxNjoyNjowOCArMDMwMA0KPj4+PiBMYXVyZW50IFBpbmNoYXJ0IDxsYXVyZW50 LnBpbmNoYXJ0QGlkZWFzb25ib2FyZC5jb20+IGVzY3JldmV1Og0KPj4+PiAgIA0KPj4+Pj4gSGkg TWF1cm8sDQo+Pj4+Pg0KPj4+Pj4gT24gU2F0dXJkYXksIDUgTWF5IDIwMTggMTk6MDg6MTUgRUVT VCBNYXVybyBDYXJ2YWxobyBDaGVoYWIgd3JvdGU6DQo+Pj4+Pj4gVGhlcmUgd2FzIGEgcmVjZW50 IGRpc2N1c3Npb24g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