Received: by 10.223.176.5 with SMTP id f5csp1570637wra; Wed, 31 Jan 2018 08:21:06 -0800 (PST) X-Google-Smtp-Source: AH8x224yqKzpMh80X+u1NLbPeRN4zM0mda7E1raZVQhMTnXktQTs4UowLZrp4NHMPSV051rCV+Nv X-Received: by 2002:a17:902:6115:: with SMTP id t21-v6mr29915868plj.322.1517415666793; Wed, 31 Jan 2018 08:21:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517415666; cv=none; d=google.com; s=arc-20160816; b=qGWqOE6sKvZt0bZXek12Efbmxl/8l+L/EcUXtIm/r//tTE0aOFAhKEeLIop4WAKWZU +dgx0GVmLN7VETjwVKvGc3mYPC/kHzm59FTkhusw/LNR7OO9iMHORvMt9OfsRTrwnLkY fxcfY2o8P9qQLXB1/9FEcqayCR3AvuwuWymXQUVir9SbbDI96HCODgZuNji5LQB6uzgW aP9vlLkt3POVY9TTAi+tnCKKNy8NobZhs4kfOIrVty3heJJAPl2e8JYXwzlWPEhdorA9 HcpvUqssjCvHZ8OjPj/7LjM5osw7cZW6fRkhHjp9HLwT6fLc6UZpajXcd2hGeYyyCr0G 8p6Q== 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=Yqk+JbTQn+cH9emlDjngFZJE+4q78KeFANSrILTV110=; b=FbpWFRnEfMJwq0t7lEeAXfbPbLPusXLpxs4eHtaYWnlEJ0D8SMLw2aKp3UtT93prak HOV51uVQ1e+Hc+xSNka8zhGq7/aEhFwbW2p0+K6h9j56DHBRFR8c99cyI1k5aB8aHbEz r9CoPsZfNra++VU/1rg47FOHtFdWbIalelPtXk/NCRbSLRpE7cpm/ILP6hsihz+Th+b1 8AvKMX0c+BTWI58MN4beX35l+yUVgeP8ZzjcbQ4y/9x8LNuXo89RtEJDMM26I34p6Apx ajERWaDIz1lsVOiJ/xI7hrmXwfrVMQwtS1MT60QKKU0SUcucTiZzlJC9YU2JrclAlGqg AlZg== 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 f3si1631299pgu.546.2018.01.31.08.20.46; Wed, 31 Jan 2018 08:21:06 -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; 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 S932139AbeAaPzv (ORCPT + 99 others); Wed, 31 Jan 2018 10:55:51 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:10554 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752610AbeAaPzu (ORCPT ); Wed, 31 Jan 2018 10:55:50 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w0VFnYh3019664; Wed, 31 Jan 2018 16:55:42 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2fubnysxtv-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 31 Jan 2018 16:55:42 +0100 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 53F0C31; Wed, 31 Jan 2018 15:55:41 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 241CC2D76; Wed, 31 Jan 2018 15:55:41 +0000 (GMT) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 31 Jan 2018 16:55:40 +0100 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.1347.000; Wed, 31 Jan 2018 16:55:40 +0100 From: Philippe CORNU To: Benjamin Gaignard , Yannick FERTRE , Vincent ABRIOU , "laurent.pinchart@ideasonboard.com" CC: "airlied@linux.ie" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] drm/stm: check pitch and size calculations even if !CONFIG_MMU Thread-Topic: [PATCH v2] drm/stm: check pitch and size calculations even if !CONFIG_MMU Thread-Index: AQHTmmpApfoADTvM1UuDNlLVosfTS6OOEkmA Date: Wed, 31 Jan 2018 15:55:40 +0000 Message-ID: <8c2364a4-9085-1a7e-4ac9-b9d4db6baa7f@st.com> References: <20180131080508.14356-1-benjamin.gaignard@linaro.org> In-Reply-To: <20180131080508.14356-1-benjamin.gaignard@linaro.org> 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.6.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: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-31_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-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