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: 10859605 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 84093922 for ; Tue, 19 Mar 2019 13:26:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B64D2960B for ; Tue, 19 Mar 2019 13:26:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5FC292965F; Tue, 19 Mar 2019 13:26:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1BD828FF1 for ; Tue, 19 Mar 2019 13:26:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727243AbfCSN0L (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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>;