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: 10859607 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 CC5391708 for ; Tue, 19 Mar 2019 13:26:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0F1A2965F for ; Tue, 19 Mar 2019 13:26:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A515A29554; Tue, 19 Mar 2019 13:26:15 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F26EA29093 for ; Tue, 19 Mar 2019 13:26:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4820A89183; Tue, 19 Mar 2019 13:26:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id E00CD88E37 for ; Tue, 19 Mar 2019 13:26:10 +0000 (UTC) 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 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 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+NgFprBIsW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lsEE4Tk8T0T7NYQarYBAwlut52sYHYIgJuEk2HZ7KCFDELrGeS+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: X-Mailman-Original-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= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chanwoo Choi , Bartlomiej Zolnierkiewicz , Seung-Woo Kim , Marian Mihailescu , Marek Szyprowski MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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>;