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: 130562 Delivered-To: patch@linaro.org Received: by 10.80.172.132 with SMTP id x4csp548770edc; Fri, 2 Mar 2018 08:07:53 -0800 (PST) X-Google-Smtp-Source: AG47ELtctbOmQKGTvpW5+pEchgLpqjnAG0y3MZ0vZxiYT2oN5ozLHcHcjObHSBZy+g1LBDvBbtt/ X-Received: by 10.99.173.79 with SMTP id y15mr4910360pgo.136.1520006873796; Fri, 02 Mar 2018 08:07:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520006873; cv=none; d=google.com; s=arc-20160816; b=pentnT9Y9KRMbAQU+FCutQUiDtPPk5K/89lXyThe1zX4/aliSyFRuw1pDAJlAAN3jA Ar0F0IE1HXO0cQf2W/DD28GaXxqiuI1JhMyhzZKe0NrE49G4XPS4qVOyUDpkjbLMXEno h3hsP4cW39h0X6ZmUVtpA7ySwCUeCKPRFfWakGZDUkRyscnH1e11EfvJMCK4EW3u58og Q+TvEyY83sjml9aEqQPDO49ViNn7YjJFajnmCzvwQOjQ5FhgRuS1Nd0QKlszty+EZbjZ z2VjvvnCe7RkUh/f8u9XmVlpSBVixIVb1X90P4ivh1Yo2GvG9xc+xpyk/rLyLd3h52Nu 9bVg== 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 :arc-authentication-results; bh=DfkHs1yFO/IN4k94jmb4SGPJ0gmpj0AHB4o+pbdx7fI=; b=BSXNaDOhjvtkrnJ6ifufzdrSIuDena598J7UJkumaPQzOOvsxubAodEzewgn7mYWA5 TORibT6ILUd1Q4jcY1IiFCL7omgoqaDLN0n+nTFV7BTyMYxkcRZuGM9NaljKssRN0Iya u1i7hSr92W6dmIO08nNT4g8svyyGfufzel/l4nG1R+6y0jhOv9QJDPNLJikkR4M+uiD6 F5jfV+NqA8Zda7F1GmAkqX5Sl+CKwPOiUJzWZwX4/JMlOoM2+viBn1dxPMXfPx/6wj91 61C3mLF08ZAOAeOGxCEqhxNBFaIBgqrjskryeGz/GJ09nUmmWYBPVNyxKWM1hhmmwE7a pK+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=MqFuJqPn; 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=fail (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 i35-v6si4937435plg.144.2018.03.02.08.07.53; Fri, 02 Mar 2018 08:07:53 -0800 (PST) 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=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=MqFuJqPn; 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=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423196AbeCBQHw (ORCPT + 3 others); 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 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(-) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 {