From patchwork Fri Mar 2 16:07:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10255087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9D4786037F for ; Fri, 2 Mar 2018 16:07:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E634287AE for ; Fri, 2 Mar 2018 16:07:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8306F287BD; Fri, 2 Mar 2018 16:07:54 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 92DDD287AE for ; Fri, 2 Mar 2018 16:07:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423196AbeCBQHw (ORCPT ); Fri, 2 Mar 2018 11:07:52 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:59331 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423191AbeCBQHu (ORCPT ); Fri, 2 Mar 2018 11:07:50 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180302160747euoutp01754e10795d27734523386d99c2eef0e2~YJjFizQeK0654806548euoutp01U; Fri, 2 Mar 2018 16:07:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180302160747euoutp01754e10795d27734523386d99c2eef0e2~YJjFizQeK0654806548euoutp01U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520006867; bh=ZZm8jfYwVUW840apc45Jm2PpTLvCZIy+O9e14rIt1vQ=; h=From:To:Cc:Subject:Date:References:From; b=MqFuJqPnfA9x+q4Vr9j1zD/jBD8Dy8IIelnjGeSOxU4P+Skyt9stuXKztMu9/RPls G6qkIDNbOB2iiuv4lBCQ2ahS+g9CswS2udV2OqpfFvC1AZs6MOIKnWd6pqEVuR/Oq7 L7DmyL9+uuy26O54r27ZVYCg+VDOfyDoh7TRvoRI= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180302160746eucas1p293e00e10e26127ce26cb26fa433a09c8~YJjExpyU81068310683eucas1p2D; Fri, 2 Mar 2018 16:07:46 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 39.E4.10409.2D6799A5; Fri, 2 Mar 2018 16:07:46 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180302160746eucas1p2274e7b1cba7f90acc9beec511c09e279~YJjED78gD1068310683eucas1p2C; Fri, 2 Mar 2018 16:07:46 +0000 (GMT) X-AuditID: cbfec7f5-b5fff700000028a9-f1-5a9976d2b3be Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id E9.E9.04183.2D6799A5; Fri, 2 Mar 2018 16:07:46 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P4Z00DDE0SVW0A0@eusync1.samsung.com>; Fri, 02 Mar 2018 16:07:46 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: stable@vger.kernel.org, Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Andrzej Hajda Subject: [PATCH] ARM: dts: exynos: Fix IOMMU support for GScaler devices on Exynos5250 Date: Fri, 02 Mar 2018 17:07:42 +0100 Message-id: <20180302160742.16947-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.15.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsWy7djP87qXymZGGWw7q2Zxa905VouNM9az Wpw/v4HdYsb5fUwWa4/cZbdYsPERowObx6ZVnWwefVtWMXp83iQXwBzFZZOSmpNZllqkb5fA lXHmwi+2grm8FY/v6zQwbuTqYuTkkBAwkbiy7SlrFyMXh5DACkaJQ88nMUI4nxklni5Zz97F yAFWtX6fJUR8GaPEtMs72SGcBiaJa3t7WEBGsQkYSnS97WIDsUUEVCU+ty0AK2IWOMsoceLA SiaQhLBAhMTP/v3sIDYLUNGJxQsYQTbwCthKLF5TCnGSvMTi7zvZQHolBG6ySnx7/YIJIuEi sXPPb1YIW1ji1fEt7BC2jMTlyd0sEHa9RN/3I0wQzT2MEntbpkI1W0scPn4RrJlZgE9i0rbp zBCv8Up0tAlBlHhIrJtxmRnCdpS48/4TI4gtJBAr0brqJuMERskFjAyrGMVTS4tz01OLjfNS y/WKE3OLS/PS9ZLzczcxAuPr9L/jX3cw7vuTdIhRgINRiYd3RsrMKCHWxLLiytxDjBIczEoi vC0fZkQJ8aYkVlalFuXHF5XmpBYfYpTmYFES543TqIsSEkhPLEnNTk0tSC2CyTJxcEo1MAYW dM5338115EY6J99J43l3TB9uvVn09OXb3O2sv7+wbG+94LRghra2770l5ly5RxNmpsz/LX1q U9LF5ntNK//Njs34+25KRxOnVdSC/sRTHI9ePdkTanupmbOFwyP+5OO/utyPzvHq7vDXdva4 1bJ60eMeRjMLhU6OzGfGLW8PNDvZiT+sF1ZiKc5INNRiLipOBABI/jxKqwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHJMWRmVeSWpSXmKPExsVy+t/xy7qXymZGGSxbz2Zxa905VouNM9az Wpw/v4HdYsb5fUwWa4/cZbdYsPERowObx6ZVnWwefVtWMXp83iQXwBzFZZOSmpNZllqkb5fA lXHmwi+2grm8FY/v6zQwbuTqYuTgkBAwkVi/z7KLkYtDSGAJo8Tv1uXMEE4Tk8T+1RcZuxg5 OdgEDCW63naxgdgiAqoSn9sWsIMUMQucZ5TobvzODJIQFoiQ+Nm/nx3EZgEqOrF4ASPIBl4B W4nFa0pBwhIC8hKLv+9km8DItYCRYRWjSGppcW56brGRXnFibnFpXrpecn7uJkagr7cd+7ll B2PXu+BDjAIcjEo8vDNSZkYJsSaWFVfmHmKU4GBWEuFt+TAjSog3JbGyKrUoP76oNCe1+BCj NAeLkjjveYPKKCGB9MSS1OzU1ILUIpgsEwenVANjlhKr+im/yzXNzIdZzknHn2/o6OTxONZ2 5PG0tBP+v08cYbxYndOyW4Ol4wBb8QZuRgZrud+R2R+WRVl5Plmycl3znEUWdRWHvM9NDdW4 ZaMf7nf6iqH2t12PzwRvUeX+sD519V/NqYktDt1mWWFaD8PKP53r1LR4EvxX9fnu6OtbPnVy 8VgqsRRnJBpqMRcVJwIA1aZlDvEBAAA= X-CMS-MailID: 20180302160746eucas1p2274e7b1cba7f90acc9beec511c09e279 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180302160746eucas1p2274e7b1cba7f90acc9beec511c09e279 X-RootMTR: 20180302160746eucas1p2274e7b1cba7f90acc9beec511c09e279 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 The proper name for the property, which assign given device to IOMMU is 'iommus', not 'iommu'. Fix incorrect name and let all GScaler devices to be properly handled when IOMMU support is enabled. Reported-by: Andrzej Hajda Signed-off-by: Marek Szyprowski Fixes: 6cbfdd73a94f ("ARM: dts: add sysmmu nodes for exynos5250") CC: stable@vger.kernel.org # v4.8+ --- This issue has been introduced in kernel v4.2-rc1, but this patch applies cleanly only on v4.8+ kernels. --- arch/arm/boot/dts/exynos5250.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 56626d1a4235..cf89385e7888 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -655,7 +655,7 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL0>; clock-names = "gscl"; - iommu = <&sysmmu_gsc0>; + iommus = <&sysmmu_gsc0>; }; gsc_1: gsc@13e10000 { @@ -665,7 +665,7 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL1>; clock-names = "gscl"; - iommu = <&sysmmu_gsc1>; + iommus = <&sysmmu_gsc1>; }; gsc_2: gsc@13e20000 { @@ -675,7 +675,7 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL2>; clock-names = "gscl"; - iommu = <&sysmmu_gsc2>; + iommus = <&sysmmu_gsc2>; }; gsc_3: gsc@13e30000 { @@ -685,7 +685,7 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL3>; clock-names = "gscl"; - iommu = <&sysmmu_gsc3>; + iommus = <&sysmmu_gsc3>; }; hdmi: hdmi@14530000 {