From patchwork Thu Oct 27 10:29:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9399679 X-Patchwork-Delegate: horms@verge.net.au 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 A89206057E for ; Thu, 27 Oct 2016 14:58:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94F5A2A313 for ; Thu, 27 Oct 2016 14:58:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89A832A312; Thu, 27 Oct 2016 14:58:21 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 621272A316 for ; Thu, 27 Oct 2016 14:58:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932471AbcJ0O50 (ORCPT ); Thu, 27 Oct 2016 10:57:26 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36393 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932498AbcJ0O5Z (ORCPT ); Thu, 27 Oct 2016 10:57:25 -0400 Received: by mail-pf0-f194.google.com with SMTP id n85so2870209pfi.3 for ; Thu, 27 Oct 2016 07:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=yqTORk5gKU6BMk3rbX94sng6/MkLAL+c6Emmry/O7QQ=; b=Pg+Nj9/wesScf1kamd21vsU27098xibt/gwDtiCLRp+2Ca39VJy53WtqgUgwnyTK+d UBh3qNloylDJnQzF6cpkGheYNk7eLtYtWbQMY8uF3AjLtS91UjzleW4wLmui17lnDMCo teBmMvB8KcyLCuYLLMkUJKx6lkds2z832S9oW1Ltaj6Yy24NSxSZQz8sYI2o8z3W0P2R UKwiz7KB5ny454Y1r+chwL9yiRvPIUfZxdxy5oxQgmTyzpYXi2UZqmr+AdA3HiIR8xEc GaRFYLd/M+SJdB3WNLNhtN72Yf0k+xEaMpYIrkQrkLR1DF/C+BpfbWSnq12cl4EjNoEh cNUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=yqTORk5gKU6BMk3rbX94sng6/MkLAL+c6Emmry/O7QQ=; b=H2pBajeS2H9uAMOU8AAP/ut1Z9iuHVErLh5Cs7OpF9ljkdUej13ezpGJ2R9BzToylB jmuBBS8eC9Rld1CkpJhJvJg8seGIWz2F1/FbcLb0ewWAeZ+Er0JFYNgV0kGm0NmenfsB GtoeLjRe4yF6hrQjQNznGb02+XPG19uk8sxn8r+L8404laqH3B2cvMM6a/siQOqDD/YT ZHR5xyqq0Xzj/aFUrmXGljsk9chHNFZMpGoRAAmZtXOFE01OVLLV72dBdeB+MXHH7RQ+ r66QF3OBsduDbBJSLdCZ3/q4yEn3LAkRFvdNaZ/MbLbSqgkvo4x4viQGZ/jd+WfQsaN3 9FkA== X-Gm-Message-State: ABUngvcYVABgqbiaC1x6kSCFySvWBb/KlJLY26HyRNd+6Ro2UHfL2TFc49mMQY5EZ+Wb9A== X-Received: by 10.99.37.196 with SMTP id l187mr10762745pgl.91.1477564630066; Thu, 27 Oct 2016 03:37:10 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id k89sm10718707pfg.6.2016.10.27.03.37.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Oct 2016 03:37:08 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: horms+renesas@verge.net.au, Magnus Damm , laurent.pinchart+renesas@ideasonboard.com, joro@8bytes.org, geert+renesas@glider.be Date: Thu, 27 Oct 2016 19:29:25 +0900 Message-Id: <20161027102925.26426.6785.sendpatchset@little-apple> In-Reply-To: <20161027102856.26426.48132.sendpatchset@little-apple> References: <20161027102856.26426.48132.sendpatchset@little-apple> Subject: [PATCH 03/04] arm64: dts: r8a7795: Point FCP devices to IPMMU Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Hook in the FCP devices to allow use of the VSP and DU together with the IPMMU. Signed-off-by: Magnus Damm --- The patch can be merged as is, but it is recommended not to enable IPMMU-VI until the DU driver gets updated in mainline with the following patch series and further updates: [PATCH 0/6] R-Car DU: Fix IOMMU operation when connected to VSP arch/arm64/boot/dts/renesas/r8a7795.dtsi | 4 ++++ 1 file changed, 4 insertions(+) --- 0004/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a7795.dtsi 2016-10-27 18:06:14.180607110 +0900 @@ -1569,6 +1569,7 @@ reg = <0 0xfea27000 0 0x200>; clocks = <&cpg CPG_MOD 603>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + iommus = <&ipmmu_vi 8>; }; vspd1: vsp@fea28000 { @@ -1586,6 +1587,7 @@ reg = <0 0xfea2f000 0 0x200>; clocks = <&cpg CPG_MOD 602>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + iommus = <&ipmmu_vi 9>; }; vspd2: vsp@fea30000 { @@ -1603,6 +1605,7 @@ reg = <0 0xfea37000 0 0x200>; clocks = <&cpg CPG_MOD 601>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + iommus = <&ipmmu_vi 10>; }; vspd3: vsp@fea38000 { @@ -1620,6 +1623,7 @@ reg = <0 0xfea3f000 0 0x200>; clocks = <&cpg CPG_MOD 600>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; + iommus = <&ipmmu_vi 11>; }; fdp1@fe940000 {