From patchwork Tue Mar 19 13:26:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 160575 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp3880198jad; Tue, 19 Mar 2019 06:26:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJ5zGL44fMDUIMI/0v9cQUVQRQ4mNOH+oH7WQPu9NVI9Jn66vDmmYYgRs/k65QkbDlFi4z X-Received: by 2002:a63:2c3:: with SMTP id 186mr1840036pgc.161.1553001972065; Tue, 19 Mar 2019 06:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553001972; cv=none; d=google.com; s=arc-20160816; b=isK5S24fXrX0UGxtaV/FNrIRmyW2+jkoHUSoecLLVtUCwo5o43m6Xi2d9NLmyICGrG w5JYr4mHUEwkIDXqK5wyAOinypbPy8GIt2sUcgjlyegxqhEuchu77ZK9+d4MLtrt2bef D5tyu/ov67Vilq4dzI7Nz4AH299j9UjqSpiP+TMp8kXM09/cioO8vDi0IUZ8C8OWvhry ll4GSxy2elYFUQT43TE6jgDW4PRtbQLqtR1sUn4yd2eFosWiLxns5pklTpyzsV9vcn5Y dEnKgk/aE4JmPXP8MvF6Qld8CXSlaqKom0OXcWlUCMa8p9wJzTUic5/UHY7qBAePJKY0 K9pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=/inffkFWxH6K4ds9JJkIaFNtsYXoKc9gEqD+byld3nk=; b=VzDNGdAFmNlLl4MzuSlEXQPtXBwXqUNQ6KW0IKvcKZrxiTeMdm9gX1Xq2KkoilI82N R/wByB4KYb5xYLLHhlps02PbmVOuphWrHzJR2FfkDHICksjih4uolZnlpSeGEsHdlvQI Tz3DNOljyDlp3lB5oziEAjZ2EEYGYlO8eozAdUQNK67HyWc2jnYD8AhWLnINxbZca4WH bpILdKc7y0f3lxB3rD6jP99OJLxyS07jkMCqsvx2bJM6Uvi6LFYveTWfRLPangzOg1ES VuothuuxWH+lE8PlWrAKcOmkKSOAyLcedJKD7e0JtfDRyX+Xu79LfCaVchXQTpVdEdVp HOLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=nqzbFswK; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 37si12269651plq.275.2019.03.19.06.26.11; Tue, 19 Mar 2019 06:26:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-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=@samsung.com header.s=mail20170921 header.b=nqzbFswK; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727243AbfCSN0L (ORCPT + 3 others); Tue, 19 Mar 2019 09:26:11 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60179 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727218AbfCSN0L (ORCPT ); Tue, 19 Mar 2019 09:26:11 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190319132609euoutp014e214a0975479774d98641fcfb3ad616~NXxAi6e5m0274402744euoutp018; Tue, 19 Mar 2019 13:26:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190319132609euoutp014e214a0975479774d98641fcfb3ad616~NXxAi6e5m0274402744euoutp018 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1553001969; bh=/inffkFWxH6K4ds9JJkIaFNtsYXoKc9gEqD+byld3nk=; h=From:To:Cc:Subject:Date:References:From; b=nqzbFswKX9Wv2ZJAQ7CWUcSz6bZGsFsDftjbUTg58xaEpIduRiYbH+Eq1fTPWth5/ bP4i5S3guUxVXPWe/UL+r+OVptoYKqZGZBYhPHMqd9eXZDH1kGJVd+Rj6kkupxc97N haJJYhBGDNWbTi/Xd0BzA7WkNOBeaEvQCPrKxqcs= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190319132609eucas1p2b0f6da5730c800b114033961e0eac0d1~NXxAMb9qE1384613846eucas1p2H; Tue, 19 Mar 2019 13:26:09 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 1C.57.04294.0FDE09C5; Tue, 19 Mar 2019 13:26:08 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190319132608eucas1p2aad43f53df1cadf3a4c5ab48752644be~NXw-mvxpw1528415284eucas1p2y; Tue, 19 Mar 2019 13:26:08 +0000 (GMT) X-AuditID: cbfec7f4-c77a99c0000010c6-da-5c90edf000ac Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 0A.59.04128.0FDE09C5; Tue, 19 Mar 2019 13:26:08 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0POM00GG57ZG5750@eusync4.samsung.com>; Tue, 19 Mar 2019 13:26:08 +0000 (GMT) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Inki Dae , Seung-Woo Kim , Bartlomiej Zolnierkiewicz , Andrzej Hajda , Marian Mihailescu , Chanwoo Choi Subject: [PATCH] ARM: dts: exynos: Increase minimal ACLK400_DISP1 frequency on Exynos542x Date: Tue, 19 Mar 2019 14:26:01 +0100 Message-id: <20190319132601.3589-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsWy7djPc7of3k6IMehZZGhxa905VouNM9az Wlz/8pzV4srX92wWk+5PYLGYcX4fk8XaI3fZLdZP+8lqMWPySzYHTo+ds+6ye9zvPs7k0bdl FaPH501yASxRXDYpqTmZZalF+nYJXBm7F+1iL/jKW/Hs2wy2BsZj3F2MnBwSAiYSbZ2vmboY uTiEBFYwSpz6P5kdwvnMKLFn8SImmKqD725BVS1jlFi3cD0zhNPAJDH1+iRmkCo2AUOJrrdd bCC2iICbRNPhmawgRcwCa5kkDrzZC1YkLBAt8ez4dbCxLAKqEj0zL4A18ArYSHTufMkCsU5e YvWGA2AbJAS+skqsef6XFSLhInF1zWZmCFtG4vLkbhaIomZGiYfn1rJDOD2MEpebZjBCVFlL HD5+EaybWYBPYtK26UDdHEBxXomONiGIEg+J97f2gZUICcRKnFyygm0Co/gCRoZVjOKppcW5 6anFRnmp5XrFibnFpXnpesn5uZsYgfF1+t/xLzsYd/1JOsQowMGoxMN74fmEGCHWxLLiytxD jBIczEoivDbbgUK8KYmVValF+fFFpTmpxYcYpTlYlMR5qxkeRAsJpCeWpGanphakFsFkmTg4 pRoYBQK2eJ9i06+1iF8WdcX1Rl9ikJRej8/LM9oiCpH7f63JE9Jgu1p7IG3elL+bdt6bzHtE 6LVQz+SGnXcOSz9cKjfFwNiBd+cqptmfW1ctLVBqMbAt3ftz5opTrftuFCwr/dnyTv7OBa2C OuG+3THdu54t12hb6Mq9tuLMxZiQ1/cnZeX/tDRuUmIpzkg01GIuKk4EALQFLyCrAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKJMWRmVeSWpSXmKPExsVy+t/xa7of3k6IMTh9UNzi1rpzrBYbZ6xn tbj+5TmrxZWv79ksJt2fwGIx4/w+Jou1R+6yW6yf9pPVYsbkl2wOnB47Z91l97jffZzJo2/L KkaPz5vkAliiuGxSUnMyy1KL9O0SuDJ2L9rFXvCVt+LZtxlsDYzHuLsYOTkkBEwkDr67xdTF yMUhJLCEUWLtv9lsEE4Tk8T0T7NYQarYBAwlut52sYHYIgJuEk2HZ7KCFDELrGeS+DplHyNI QlggWuLh71YWEJtFQFWiZ+YFsAZeARuJzp0vWSDWyUus3nCAeQIj1wJGhlWMIqmlxbnpucVG esWJucWleel6yfm5mxiBgbHt2M8tOxi73gUfYhTgYFTi4a14OiFGiDWxrLgy9xCjBAezkgiv zXagEG9KYmVValF+fFFpTmrxIUZpDhYlcd7zBpVRQgLpiSWp2ampBalFMFkmDk6pBsZNk0V+ +857PL9D4UfS8b1KKmmya48WfJU4cI391SOR484nt8lq5mh83TVNr+3lrGvPp9j16Ztq1XVY dG/5W+tRf5wx8pRK05KygzofGaYEiB7fsy0pIWbD+SM1YptOWkxevoujzmalQtSSqpXnlVpv PBKfI+d81eaRjuJuCZ3gsw99GHgEGNcosRRnJBpqMRcVJwIAfDQBHQgCAAA= X-CMS-MailID: 20190319132608eucas1p2aad43f53df1cadf3a4c5ab48752644be CMS-TYPE: 201P X-CMS-RootMailID: 20190319132608eucas1p2aad43f53df1cadf3a4c5ab48752644be References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org ACLK400_DISP1 bus feeds some internal buses of the display subsystem, some of which are also related to TV/Mixer hardware modules. When that bus is set to 120MHz, Exynos Mixer is not able to properly handle two XRGB display planes at FullHD-60MHz. DMA underrun happens, which in turn might result in reading data out of the configured buffer, what causes IOMMU page fault and kernel panic. This change fixes the following IOMMU fault, observed, when 2 Mixer planes were enabled: exynos-sysmmu 14650000.sysmmu: 14450000.mixer: PAGE FAULT occurred at 0x20fe9000 ------------[ cut here ]------------ kernel BUG at ../drivers/iommu/exynos-iommu.c:450! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM Modules linked in: CPU: 5 PID: 0 Comm: swapper/5 Not tainted 5.0.0-00003-g1b03088168ea #149 Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) PC is at exynos_sysmmu_irq+0x1c0/0x264 LR is at lock_is_held_type+0x44/0x64 ... Reported-by: Marian Mihailescu Fixes: 5d99cc59a3c6 ("ARM: dts: exynos: Move Exynos5250 and Exynos5420 nodes under soc") Fixes: b04a62d3ade3 ("ARM: dts: exynos: Add bus nodes using VDD_INT for Exynos542x SoC") Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5420.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index aaff15880761..250f4d7182e0 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1294,7 +1294,7 @@ compatible = "operating-points-v2"; opp00 { - opp-hz = /bits/ 64 <120000000>; + opp-hz = /bits/ 64 <150000000>; }; opp01 { opp-hz = /bits/ 64 <200000000>;