Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754804AbbGVEzS (ORCPT ); Wed, 22 Jul 2015 00:55:18 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:48995 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752284AbbGVEzP (ORCPT ); Wed, 22 Jul 2015 00:55:15 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfee68d-f79106d00000728c-75-55af22305751 Content-transfer-encoding: 8BIT Message-id: <55AF222F.1060303@samsung.com> Date: Wed, 22 Jul 2015 13:55:11 +0900 From: Inki Dae User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 To: Joonyoung Shim , Krzysztof Kozlowski , Seung-Woo Kim Cc: dri-devel@lists.freedesktop.org, Kyungmin Park , Kukjin Kim , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Marek Szyprowski Subject: Re: Linux-next, Exynos Octa boot fail, bisected to: "drm/exynos: remove drm_iommu_attach_device_if_possible" References: <55AEF9AD.6090709@samsung.com> In-reply-to: <55AEF9AD.6090709@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOIsWRmVeSWpSXmKPExsWyRsSkUNdAaX2owY/zohZXvr5ns3hx7yKL xesXhhb9j18zW5xtesNucXnXHDaLGef3MVmsPXKX3WLG5JdsDpwem1Z1snnc7z7O5NG3ZRWj x+dNcgEsUVw2Kak5mWWpRfp2CVwZb/+sYy9YJFSx/tELpgbGd3xdjJwcEgImEs/6djND2GIS F+6tZ+ti5OIQEljKKHF3xR8mmKKeN7dYIBLTGSUaX3eDdfAKCEr8mHwPKMHBwSwgL3HkUjZI mFlAXWLSvEXMEPX3GSXOb+lggajXklj4bDaYzSKgKvG6bRrYHDYge+KK+2wgtqhAhMTbyyfB FosItDNKbH3vADKIGWRQY9MMsAZhgXKJu9v/gNlCAsUS3S+ngDV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nAwK4nwKnOvDxXiTUmsrEotyo8vKs1JLT7EaAr03URm KdHkfGDiySuJNzQ2MTOyNDI3tDAyNlcS5z2Z7xMqJJCeWJKanZpakFoE08fEwSnVwJh+SfuB dMiX9SGTa2f/dHn1bu71iEaD40oX1C887znaIHpqovqr7f32gU1u1uEinDpWhncz70z+cvrQ 0oigc3rSc+bUigWd1zkSmeFr5/rV6EPnnFWPDyS9nqO8yXadgAzf1S0r39bcK2BfIGjsGHxi 8qGH57h+relT7r7/+ff5/jWTY+9Mus+pxFKckWioxVxUnAgAJDLl1QQDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2520 Lines: 68 On 2015년 07월 22일 11:02, Joonyoung Shim wrote: > On 07/21/2015 10:19 PM, Krzysztof Kozlowski wrote: >> Hi, >> >> Today's linux-next (next-20150721) encounters boot failures on Exynos >> Octa (Exynos5422) based boards. The boards hangs. I bisected it to: >> >> d80167b85024982c5f18d0481a5c248100360118 is the first bad commit >> commit d80167b85024982c5f18d0481a5c248100360118 >> Author: Joonyoung Shim >> Date: Thu Jul 2 21:49:39 2015 +0900 >> >> drm/exynos: remove drm_iommu_attach_device_if_possible >> >> Already drm_iommu_attach_device checks whether support iommu internally. >> It should clear channels always regardless iommu support. We didn't know >> because we can detect the problem when iommu is enabled, so we don't >> have to use drm_iommu_attach_device_if_possible and then we can remove >> drm_iommu_attach_device_if_possible and clear_channels function pointer. >> >> Signed-off-by: Joonyoung Shim >> Tested-by: Marek Szyprowski >> Signed-off-by: Inki Dae >> >> :040000 040000 83379efbf4960f58d680371628ec04387935bd53 >> da03c338b88e7cb6bda895b3dd52d78d9b6eba30 M drivers >> >> >> Config: exynos >> Boot log from Odroid XU3-Lite attached. >> >> Any hints or ideas? > > The point that hangs is when accesses fimd register in > fimd_clear_channels function, so i doubt clock setting for fimd. > > It's gone something that hangs after i enable gating for ACLK_200_DISP1 > clock. > > If ACLK_200_DISP1 clock needs for fimd really, i'm thinking how can it > support. Any ideas? I think bootloader should have enabled ACLK_200_DISP1 clock and also device driver should enable all relevant clocks before the device accesses its own registers. Best way would be that the clock is enabled by common clock framework but it seems there is no anything that the clock framework can do it. So I think what we have to do is to add the clock support to device tree. Other idea? Thanks, Inki Dae > > Thanks. > -- > 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/