Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1697835ybl; Thu, 19 Dec 2019 01:15:47 -0800 (PST) X-Google-Smtp-Source: APXvYqx6bFCKN0FqcSPeAGl6YFgQoDyv+u+Vlavt3+hRkBZkHhZb0/X5ixNas9FRmHmDdgV1iJSB X-Received: by 2002:a9d:10b:: with SMTP id 11mr655966otu.222.1576746947002; Thu, 19 Dec 2019 01:15:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576746946; cv=none; d=google.com; s=arc-20160816; b=h141r6en/7PZiwIqizdXS8zF2toqA5SnoS7RDSfrsTjZjKcWICN4DfhS5BRaiBaXRT CqfBhmSvHlT9iWUlmodYW/wtyw7zAargbKIezNL0OhL3j9Fr4Qkm/JWlKFeQ1f5hSXWY +R/TxeNdklcCO+sm7BgO2c4MA0PJjETASzQdTlR3jeHVnvFcdDaSNU1zyLpJKwDTwLTe KOQpIaoobDrRPO3PTnGjdmXNijv6fSj0Qwh380C5doDZ8kCvw7jZdl7WDQFjNDlCAiKn ecl/dOLx6YZfCF7HQGbtMXXlWOICTGW/Y5iAxb8IyQPjxkiywEhM9NYteZ9XSEC1NKR0 svCw== 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=xS6uGwF2TUpF+zZAT7Jn9SOfXWgqUWrRbm+1dq7ZFXA=; b=AnOlW7WkDVqIXtDdENFh0EV8x7nV1ZGn1/Pcv4KoSvImlb2mwryaogeGzA95bBTQZi RkbL3qKlFVJJD2rz74xFuXxAv7hzf6rVQH41z+4sHwlwBhUEQibpCWAsnoq1VCxbgP7I /BiW5XRFyAWN9FrcQfbr6JbHdrm0diFjhclZHTsZTf1aKHzu5EMq28QUP/VlSTHmBLjM fwz8/vUI9OaX+ulnj48wZ8XQ0n+gaNExbVeLlisJnnfKzafTzs0LcAd9nV7RpBICLTfN mif2Kfck5KS3iZyg0EPuRLEBCF4HXdNxTFSwOWKBSSUqYvdd00XZhfwr2/qlLUp5FpbA /+AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=Y6NuE2Pf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si2704701oia.98.2019.12.19.01.15.34; Thu, 19 Dec 2019 01:15: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=@st.com header.s=STMicroelectronics header.b=Y6NuE2Pf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726699AbfLSJOe (ORCPT + 99 others); Thu, 19 Dec 2019 04:14:34 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:29318 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbfLSJOd (ORCPT ); Thu, 19 Dec 2019 04:14:33 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xBJ96eEa022726; Thu, 19 Dec 2019 10:14:27 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=xS6uGwF2TUpF+zZAT7Jn9SOfXWgqUWrRbm+1dq7ZFXA=; b=Y6NuE2Pfo5DUYEsLav71dVLq27xL0a1Q0/BgOW1oScUoAK8Tueu3GaKCHjvL5dAWADgK t7r/YOsa8GSlkU1+2tSEFpWqYsDrhthI94jymkp9WGaw34HpvfY2ILoc2DMaz6pivR5E vWIOedANfOI71csVlnQ9OJWIaSmSghbZI1gO4aPtGQokyJar63+mEWoai/yOd0C/usQJ RYOEcMQtvWKqIdedzru10Cg78aGCR4HJ/9EHWUc6fnMmU325bCF1csDEiRJ0CZp78P10 JuoSCz99IYsmAzuxuYGNA2Z7U/z3PAyNstFJV6ZwJHWGVZvRsJ9XxnSSMCvfSGfnGqOj Og== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2wvpd1rmsy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Dec 2019 10:14:27 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6232D10002A; Thu, 19 Dec 2019 10:14:23 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 568A721CA82; Thu, 19 Dec 2019 10:14:23 +0100 (CET) Received: from SFHDAG5NODE3.st.com (10.75.127.15) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 19 Dec 2019 10:14:20 +0100 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.1473.003; Thu, 19 Dec 2019 10:14:20 +0100 From: Fabien DESSENNE To: Jia-Ju Bai , "mchehab@kernel.org" CC: "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run() Thread-Topic: [PATCH] media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run() Thread-Index: AQHVtaxEax7uyZMMgkib5/WTY24ilKfBGaKAgAADpgA= Date: Thu, 19 Dec 2019 09:14:20 +0000 Message-ID: <52df5013-3188-d27c-7ad7-e05cd4912a3d@st.com> References: <20191218140537.12193-1-baijiaju1990@gmail.com> <705a5381-4edd-211e-9602-78a2b4b67ea9@st.com> In-Reply-To: <705a5381-4edd-211e-9602-78a2b4b67ea9@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.9.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.48] 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:6.0.95,18.0.572 definitions=2019-12-19_01:2019-12-17,2019-12-19 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW5kIGNhbGxpbmcgcmVhZGxfcG9sbF90aW1lb3V0X2F0b21pYygpIHdvdWxkIHByb2JhYmx5IGJl IGJldHRlciA6KQ0KDQoNCk9uIDE5LzEyLzIwMTkgMTA6MDEgQU0sIEZhYmllbiBERVNTRU5ORSB3 cm90ZToNCj4gSGkgSmlhX0p1LA0KPg0KPg0KPiBUaGlzIGlzIGEgZ29vZCBmaW5kaW5nLiBTZWUg bXkgcmVtYXJrcyBiZWxvdy4NCj4NCj4NCj4gT24gMTgvMTIvMjAxOSAzOjA1IFBNLCBKaWEtSnUg QmFpIHdyb3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