Received: by 10.192.165.148 with SMTP id m20csp4612811imm; Tue, 24 Apr 2018 05:48:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx48CqP0xHRuRmloMT4uEakBWZPr2e9HbAxuqYjF5WkfD75dfkYwbjaX0EoWQDnoSp/wcGvgY X-Received: by 2002:a17:902:a24:: with SMTP id 33-v6mr25044507plo.72.1524574115495; Tue, 24 Apr 2018 05:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524574115; cv=none; d=google.com; s=arc-20160816; b=saTq7bnD9EijXCh+gZgsl2Q6vRuDjcqMtUnA6Wbd64pNxByhXZjjChc9FqFnBicUdR cMApdKjwud7tpNoMw6xqkQ/0yVinnaPBceyRqwW651uCOjmC3hiOvAMhTvyPSjU27/mW lOgsnaYxpoDnBRpJ7mPDNovILHEDb+rElJRwTtC6dkfwQYW39szuOriMHyd7Gh5/vnqU uWt095sFTdaUbD8ZdCXVIQQWaTYvPL93gmfubkvzo6fpo10n3L9A8EVwuuYL06vP3p7c Acf1tN+90K7F999RjrkaPtFlerIeWTF7B34KBczXTTOviW54IUnlLWhRMVNoGTKapVo3 uh7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :references:subject:to:mime-version:user-agent:from:date:message-id :arc-authentication-results; bh=DrdIeRK5tysPDAr2GGJQcxuaeIheZ9UQsLOzFA6HKDM=; b=onKrib2y/tKMiQ0OjHl3zZoJH1doiN5+W6D/qBgwr1f/NW0CP/iFqlPb3qgufk0wEd jAL8AtnI9+t8pQWuD+MUBGPJWH/SVppK2VjTyL5TrzqiGr88R8Rq7jbeUgpjDmw+gS6l n4l+ZUTh9tBt1JUAT/XeK0Gw84xbvYkAL9GfM1wsRLJj0zTgEXC72HO98c9lK/QZKmUy zTDsBOSyQ4GjyhA4fIWxEY9gKtiMaSniKz4VswmImysyCfZZE3NXN1FMDeSbLnvdJA/i LMAIULI9c8F+T7iCeSOh4JUjscbpE8G1OXOeysZAGmc3V4TrHBVnhEzxllQL8PRanK/Q TONw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x11si11324244pgr.147.2018.04.24.05.48.20; Tue, 24 Apr 2018 05:48:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757531AbeDXMh0 (ORCPT + 99 others); Tue, 24 Apr 2018 08:37:26 -0400 Received: from regular1.263xmail.com ([211.150.99.131]:59750 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264AbeDXMhV (ORCPT ); Tue, 24 Apr 2018 08:37:21 -0400 Received: from jeffy.chen?rock-chips.com (unknown [192.168.167.139]) by regular1.263xmail.com (Postfix) with ESMTP id BD2FF5D52; Tue, 24 Apr 2018 20:37:09 +0800 (CST) X-263anti-spam: KSV:0;BIG:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ADDR-CHECKED4: 1 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from [172.16.22.179] (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 932C56CB; Tue, 24 Apr 2018 20:37:09 +0800 (CST) X-IP-DOMAINF: 1 X-RL-SENDER: jeffy.chen@rock-chips.com X-FST-TO: jakob.unterwurzacher@theobroma-systems.com X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: jeffy.chen@rock-chips.com X-UNIQUE-TAG: <1f3b2bcc8989d8a9981c46e2777ee7ae> X-ATTACHMENT-NUM: 0 X-SENDER: cjf@rock-chips.com X-DNS-TYPE: 0 Received: from [172.16.22.179] (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 239364V9XYZ; Tue, 24 Apr 2018 20:37:11 +0800 (CST) Message-ID: <5ADF24F3.6070106@rock-chips.com> Date: Tue, 24 Apr 2018 20:37:07 +0800 From: JeffyChen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20130126 Thunderbird/19.0 MIME-Version: 1.0 To: Jakob Unterwurzacher , linux-kernel@vger.kernel.org, Joerg Roedel , linux-rockchip@lists.infradead.org Subject: Re: [regression, bisected] rockchip rk3399 video output breakage References: <3beabd18-0c39-be65-cfe7-8498dc7c296b@theobroma-systems.com> In-Reply-To: <3beabd18-0c39-be65-cfe7-8498dc7c296b@theobroma-systems.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jakob, Thanks for your message. On 04/24/2018 08:19 PM, Jakob Unterwurzacher wrote: > > Full dmesg: > https://gist.github.com/jakob-tsd/33cf395e355bf9bb6956c36438d999e7 > > I have bisected the "master bind failed" down to: > >> commit 9176a303d971dc0fb35469c531c0d263667d2277 >> Author: Jeffy Chen >> Date: Fri Mar 23 15:38:10 2018 +0800 >> >> iommu/rockchip: Use IOMMU device for dma mapping operations >> >> Use the first registered IOMMU device for dma mapping operations, and >> drop the domain platform device. >> >> This is similar to exynos iommu driver. >> >> Signed-off-by: Jeffy Chen >> Reviewed-by: Tomasz Figa >> Reviewed-by: Robin Murphy >> Signed-off-by: Joerg Roedel > > Moving to one commit earlier brings the screen to life. Just with > colorful garbage, but I guess that's a different problem. > > Is this a known issue with the IOMMU change? right, i think it's a known issue, as the iommu failed to get clks: [ 1.525153] rk_iommu ff8f3f00.iommu: Failed to get clk 'iface': -2 [ 1.525316] rk_iommu: probe of ff8f3f00.iommu failed with error -2 [ 1.525484] rk_iommu ff903f00.iommu: Failed to get clk 'iface': -2 [ 1.525643] rk_iommu: probe of ff903f00.iommu failed with error -2 there's a followed patch to add those clks to the dtsi, and also a fix patch to make those clks optional(by heiko): https://www.spinics.net/lists/arm-kernel/msg645696.html http://lists.infradead.org/pipermail/linux-rockchip/2018-April/020349.html > > Thanks, > Jakob