Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3566348ybi; Tue, 18 Jun 2019 02:58:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJ9C5tCgS+D810VaFt3zf52/4wBKm4xidpP5FBgkf5RzTsX81qfJk62cvG4pTh0GoUuU8h X-Received: by 2002:a17:902:aa83:: with SMTP id d3mr88995035plr.74.1560851892126; Tue, 18 Jun 2019 02:58:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560851892; cv=none; d=google.com; s=arc-20160816; b=R9qKEvNiR0zh11ze+N0k50UKxQF3hZLhqzanrtI3VcH8wW9cZVr5CENnd5++aW9V1W Vyb/2ZQfmgDlntrFnSDS6+VdZVB+tDCbaQbnNme9obP2gOEn+gA0NIswiqdVdBq7t8Oa D0elyqTCUhSQ70FSYfGmUqb3FhPYLj6sQUuG34Yzfwc58y1MTCPhjqNNpQ1yTGXev6tL yI1gZB99dBHryY4YeCDb4SSLyPbuh+w0Q/fLBBV/8BJa93Cttt9xT2F/QjNhNNKumFDx uMG3s+3kaSyNpTB7oSBpkiySTFDaYypFutS6/Qr8azvNSp5w3fO23OXyJq1Gd5YLq2Wu /qaw== 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:to :from:dkim-signature; bh=stn6VY8/mD5ZefE09LCqZtOZMuTRoV8O+VbLHK8wlag=; b=vgXvlxsLOFb/utLnzy8/oMjoWsRTAlS7NVaX1Xi3EiJh+LmmnPZ1B9IIu0Yh6T3dC8 QbbhQ2m6yNte7a+unvgd9bdYk3pwdlW1tQFKjTKAC+hRXJvv+Z8OJkbEMO0Cmbdn+vjL QOTVLVtRE/iehrmkWafOYssuGyP2hSIX9PjyJl579sq3fvl6KVX7q2eeezL47gXxiKGi a3KV9me2QIgS+/XQnjZSlaV/yGNDlyDU+2t9s6zTYj0ZNLAwHrFHou+7y6m+DQtkmNjf TkwNEVuVlNBaQUexjRwveFMz84OV5k5rupu0ywPatJQg3ssfM4qmRqCHi5drWsnh+/ig f3mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=A+NVeecV; 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 w4si12557587pgr.150.2019.06.18.02.57.56; Tue, 18 Jun 2019 02:58:12 -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=@st.com header.s=STMicroelectronics header.b=A+NVeecV; 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 S1728195AbfFRJ5h (ORCPT + 99 others); Tue, 18 Jun 2019 05:57:37 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:17720 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725900AbfFRJ5h (ORCPT ); Tue, 18 Jun 2019 05:57:37 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5I9ufeL007558; Tue, 18 Jun 2019 11:57:28 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=stn6VY8/mD5ZefE09LCqZtOZMuTRoV8O+VbLHK8wlag=; b=A+NVeecVL65i4SorepSWrkddZhoJCr9+F2/ROXo+HxkT+v45vF1IVmrRA9fGrYnRGIso KXlU+j768EZOcSydA0Xd4qCjaYtuZknGPM+eh82T7pm4FvC9rI/qe29mG4zwMTUbt54c AGjga+Rmd+hcfF9p1qsNmI3GA+XnYw/36B3JnVGGU1JAaEECogSpU5GqC/hbJzYcT2M9 ARfg4mTEOj1ZeZOB7icfuLukh/WJsLtthQXUGllhd6q8aXDnrQ/4VlPqgBB9NTzDlCgB 5rPDm9koiyhMrZUE349h4KWksGC2GWHCvitOADyokwvi4v42TCbco8LAPZTpEUtWs4ET 3g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2t4nt882mp-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 18 Jun 2019 11:57:28 +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 61CA13D; Tue, 18 Jun 2019 09:57:26 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 866DA25C4; Tue, 18 Jun 2019 09:57:26 +0000 (GMT) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 18 Jun 2019 11:57:26 +0200 Received: from SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6]) by SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6%20]) with mapi id 15.00.1473.003; Tue, 18 Jun 2019 11:57:26 +0200 From: Philippe CORNU To: Yannick FERTRE , Benjamin GAIGNARD , Vincent ABRIOU , "David Airlie" , Daniel Vetter , Maxime Coquelin , Alexandre TORGUE , "dri-devel@lists.freedesktop.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/3] drm/stm: drv: fix suspend/resume Thread-Topic: [PATCH 1/3] drm/stm: drv: fix suspend/resume Thread-Index: AQHVJNzXyLfazNf0rE+kj6DQpMP/WqahDTWA Date: Tue, 18 Jun 2019 09:57:26 +0000 Message-ID: <7e6a87b6-e442-20cb-0d4e-68eb40c56042@st.com> References: <1560755897-5002-1-git-send-email-yannick.fertre@st.com> In-Reply-To: <1560755897-5002-1-git-send-email-yannick.fertre@st.com> 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:60.0) Gecko/20100101 Thunderbird/60.7.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.47] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-18_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgWWFubmljaywNCg0KVGhhbmsgeW91IGZvciB5b3VyIHBhdGNoLg0KDQpBY2tlZC1ieTogUGhp bGlwcGUgQ29ybnUgPHBoaWxpcHBlLmNvcm51QHN0LmNvbT4NCg0KUGhpbGlwcGUgOi0pDQoNCk9u IDYvMTcvMTkgOToxOCBBTSwgWWFubmljayBGZXJ0csOpIHdyb3RlOg0KPiBXaXRob3V0IHRoaXMg Zml4LCB0aGUgc3lzdGVtIGNhbiBub3QgZ28gaW4gInN1c3BlbmQiIG1vZGUNCj4gZHVlIHRvIGFu IGVycm9yIGluIGRydl9zdXNwZW5kIGZ1bmN0aW9uLg0KPiANCj4gRml4ZXM6IDM1YWI2Y2YgKCJk cm0vc3RtOiBzdXBwb3J0IHJ1bnRpbWUg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