From patchwork Fri Jun 6 00:15:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 31461 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 20041203AC for ; Fri, 6 Jun 2014 00:15:49 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id va2sf7478515obc.9 for ; Thu, 05 Jun 2014 17:15:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :user-agent:mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=mG74iSIY1EiAo3oxVzKkHu42SxT3mZDE9SughJ3PTZ4=; b=ZyLfRaYFN4t6fsQyN04UtNJEidMC/8v7oO1SeObLHQgsyqcP5zITENEgHjIRPEMihB dZ3YLoDTTQI+DdJ6Oa0LAXBTJx2y/cHTwWPCcMjVcECNklJ2ZymH6gAZMf590d9CfFi/ bq3yDza0kbKubxV69TzkSkxt+6vFXwkOnRuJbRSohYR/4FrF5wLH3h3jexqqVbfTg6vB HX3snGBwjmMjYzoaNZQpVX4X+7l/iC01ZX46NVGyaPYCecelnVgl8Xd+SyJY5GP0JI38 6vXWzbk1Tv7nA/NMrcPh8+Znvt9zLO81MSt+q+WZEgUgPml1ynSMvHZlPOa4VHu75Lje PYzw== X-Gm-Message-State: ALoCoQlCDQ8M/BGe0bjTXuipiZzVZLBCNAqy8UYyLyS8vjhHdwrZXZQzLH+dskmum+IGPMaK5gUM X-Received: by 10.43.156.13 with SMTP id lk13mr790578icc.29.1402013748535; Thu, 05 Jun 2014 17:15:48 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.90.48 with SMTP id w45ls428435qgd.73.gmail; Thu, 05 Jun 2014 17:15:48 -0700 (PDT) X-Received: by 10.58.227.193 with SMTP id sc1mr1085916vec.43.1402013748398; Thu, 05 Jun 2014 17:15:48 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id cd10si3573297vcb.54.2014.06.05.17.15.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Jun 2014 17:15:48 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.171 as permitted sender) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id oz11so2201984veb.30 for ; Thu, 05 Jun 2014 17:15:48 -0700 (PDT) X-Received: by 10.220.174.137 with SMTP id t9mr1395004vcz.12.1402013748290; Thu, 05 Jun 2014 17:15:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp57872vcb; Thu, 5 Jun 2014 17:15:47 -0700 (PDT) X-Received: by 10.68.203.132 with SMTP id kq4mr2315955pbc.12.1402013747480; Thu, 05 Jun 2014 17:15:47 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oh6si16033833pbb.12.2014.06.05.17.15.46; Thu, 05 Jun 2014 17:15:46 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751409AbaFFAPp (ORCPT + 8 others); Thu, 5 Jun 2014 20:15:45 -0400 Received: from mail-pb0-f50.google.com ([209.85.160.50]:41586 "EHLO mail-pb0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751384AbaFFAPp (ORCPT ); Thu, 5 Jun 2014 20:15:45 -0400 Received: by mail-pb0-f50.google.com with SMTP id ma3so1819592pbc.23 for ; Thu, 05 Jun 2014 17:15:45 -0700 (PDT) X-Received: by 10.68.133.163 with SMTP id pd3mr1998778pbb.166.1402013744970; Thu, 05 Jun 2014 17:15:44 -0700 (PDT) Received: from localhost (c-67-183-17-239.hsd1.wa.comcast.net. [67.183.17.239]) by mx.google.com with ESMTPSA id fx5sm28125274pbb.62.2014.06.05.17.15.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 05 Jun 2014 17:15:44 -0700 (PDT) From: Kevin Hilman To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel , dianders@google.com, Olof Johansson , "Turquette\, Mike" , javier.martinez@collabora.co.uk Subject: exynos5420-peach-pi: linux-next boot fails unless mau_epll left enabled? Date: Thu, 05 Jun 2014 17:15:42 -0700 Message-ID: <7hoay6sxjl.fsf@paris.lan> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: khilman@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Hello, I'm trying to boot next-20140605[1] on my recently arrived Chromebook2 (peach-pi) and was not getting to userspace. Comparing notes with Doug Anderson, his was booting just fine, so after some debugging and adding 'clk_ignore_unused' to the command-line, it started booting fine. So then, I tracked it down to which clock was causing the problems and found that it's the mau_epll clock gating that's causing the problem, and leaving it enabled[1] allows me to boot again. Any ideas what's going on here? And in particular, any ideas why it would affect my board and not other boards like Doug's? Thanks, Kevin [1] Using this defconfig: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/master/eclass/cros-kernel/exynos5_defconfig [2] GATE(CLK_SCLK_UART0, "sclk_uart0", "dout_uart0", --- 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/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c index 61eccf0dd72f..ed175088ee7e 100644 --- a/drivers/clk/samsung/clk-exynos5420.c +++ b/drivers/clk/samsung/clk-exynos5420.c @@ -911,7 +911,7 @@ static struct samsung_gate_clock exynos5x_gate_clks[] __initdata = { SRC_MASK_TOP2, 24, 0, 0), GATE(CLK_MAU_EPLL, "mau_epll", "mout_mau_epll_clk", - SRC_MASK_TOP7, 20, 0, 0), + SRC_MASK_TOP7, 20, CLK_IGNORE_UNUSED, 0), /* sclk */