Received: by 10.223.164.202 with SMTP id h10csp376651wrb; Fri, 17 Nov 2017 02:03:35 -0800 (PST) X-Google-Smtp-Source: AGs4zMb936XxQFuCYFULIfI9Ju14zOm515StKo3iOPn1KTLVb7VecOnjnZv4GosbE2MXxnxiFRfz X-Received: by 10.101.73.8 with SMTP id p8mr4704123pgs.106.1510913015050; Fri, 17 Nov 2017 02:03:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510913015; cv=none; d=google.com; s=arc-20160816; b=T+HP97wtSkI6T9QROVA5wJNM0Vtgg840DlPuqGSllIcj99rRX2yMu6MOhqryrKBvBr VBhjC6Qsmj8rMUBkDz7vDbMCY9GlYl3r/038cK4QGDB84NZUy7Fbk0FjVmP0wNh1BCqg E+LJmWXpFt3Z0nHmZKJumNYsKCaRsWvZY7q/yS8WLbLxCwOMg2FUWtZ/aVzsrS+1ZNNi VJ1HCC9a8B/AqrWQq0/nDLXBgnwFqY8W2881fvzG4AphiUezS0l8rn08CD7tpvtLuNay N/kqRfUmDni6mKQH/6knykNUojxz4N/rFLqIrYCPyCyPA/Bk5cPmCW5U/SH+2QAuXCD+ IQxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=znrTF+4jJ9VGu/3q8XVYRYePgN4wuH2m4F2y0ZeI278=; b=XXyCBQhsLCVYp7hepi7ZxlZjyfGODjZBdEoOrIuS6Y2ynMUW533klrFk/AeTNc/vKK 0kZK4eZ92gt2V5UWYKv8HeGCVagPJWsBytjlp3lObRQN4HfRTHaPjxKVs1jZhrUWPG8S tXO5e7+wMucz/UG29fN96k/E//AFg3M4FTgxN6PYhENZ+PNIeDetyL0gCQIxYuIS3FO+ 353KqRhd8fqpi7EYcBYej1LDHug/KyfW1GFwnfoUhp6gli9SDWRSUmulfFYJfi06zmg5 OUVWBi3U//GvSgtntRq0AYJyfG7fVBtSR3fBpRkEy/7teiwdE9z4SwPCCnscgmp/suNY Tbfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TQZlJaCw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 61si2503361plr.279.2017.11.17.02.03.21; Fri, 17 Nov 2017 02:03:35 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=TQZlJaCw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755386AbdKQCHF (ORCPT + 91 others); Thu, 16 Nov 2017 21:07:05 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:38694 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752483AbdKQCG6 (ORCPT ); Thu, 16 Nov 2017 21:06:58 -0500 Received: by mail-wm0-f67.google.com with SMTP id z3so3638197wme.3 for ; Thu, 16 Nov 2017 18:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=znrTF+4jJ9VGu/3q8XVYRYePgN4wuH2m4F2y0ZeI278=; b=TQZlJaCwNxWFjTLR0uTjeWVsWIIKSyO37i2UvmIXJWU1ZDSsNDhZIgjW//LSmTd4KJ efEkBGlMyoAizJLhS9iiUsSTPVSsnMyW0jNbqIFtCdOA6oBwHXrrZVNb+7tLH+zemVr0 qjdIMbMhkPm1eay0c95A7hm5NHRtt43irMtCg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=znrTF+4jJ9VGu/3q8XVYRYePgN4wuH2m4F2y0ZeI278=; b=VYoINi68juoSHoeItpdQUlzxCeNCrjqdeZIG1hGLsLELPMYGvZeZARg+o4Bp9pEnYL bQ9N68jH6s5EJ8/mJcaW96l47sUneGfLUjvgOvAR8Tts4Z3bKwjeoTGR5wk5fndxSYR1 45rc02j0G/1a81KbhbofmpnSMJTFRWAuG4bwj+G0TYnTto08WkbhmNAJe+s9pKCES1eL BGRNXFXnpEfUHumSRKFSG3bA8uxewqz4f1UfYUzm2wvJ+4iXsO0iJhZ1g+wuzH7YW0bE WOiqdd5/18xKgBnYEaZHVB9QbfCLxx6C21LkJg3PS0B0BvQf+NIMGOrnP2RgRl1LAO/p VjUw== X-Gm-Message-State: AJaThX6Ge+k5AoZii395XKKhkavDPDWwarRK4vIBgskmHc0V8So4UHds aik9k8ihB22WOptukY8AhIDIsg== X-Received: by 10.28.120.19 with SMTP id t19mr3004998wmc.64.1510884417155; Thu, 16 Nov 2017 18:06:57 -0800 (PST) Received: from leoy-linaro (li1530-42.members.linode.com. [139.162.245.42]) by smtp.gmail.com with ESMTPSA id g68sm2919697wmc.22.2017.11.16.18.06.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Nov 2017 18:06:55 -0800 (PST) Date: Fri, 17 Nov 2017 10:06:49 +0800 From: Leo Yan To: John Stultz Cc: Li Pengcheng , Wei Xu , Li Zhong , Arnd Bergmann , Guodong Xu , lkml Subject: Re: HiKey boot hangs with Linus' HEAD due to coresight dts changes? Message-ID: <20171117020649.GA1513@leoy-linaro> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi John, On Thu, Nov 16, 2017 at 05:58:54PM -0800, John Stultz wrote: > On Thu, Nov 16, 2017 at 5:54 PM, John Stultz wrote: > > Testing with Linus' HEAD today on the HiKey board, I started seeing boot hangs: > > ... > > > > [ 0.677971] Serial: AMBA PL011 UART driver > > [ 0.694299] pstore: using zlib compression > > [ 0.698830] console [pstore-1] enabled > > [ 0.702623] pstore: Registered ramoops as persistent store backend > > [ 0.708880] ramoops: attached 0x100000@0x21f00000, ecc: 0/0 > > [ 0.715847] f8015000.uart: ttyAMA0 at MMIO 0xf8015000 (irq = 7, > > base_baud = 0) is a PL011 rev2 > > [ 0.725011] uart-pl011 f7111000.uart: could not find pctldev for > > node /soc/pinmux@f7010000/uart1_pmx_func, deferring probe > > [ 0.736375] uart-pl011 f7112000.uart: could not find pctldev for > > node /soc/pinmux@f7010000/uart2_pmx_func, deferring probe > > > > > > Bisecting this down, points to: > > 0b79842775fa ("arm64: dts: hi6220: add coresight dt nodes") > > > > Reverting this patch makes things work again. > > > > Any ideas as to what might be wrong? > > > > Please let me know if I can test any fixes or provide any additional info. > > If its helpful, the full tree I'm using (with the problematic patch > reverted - as well as a few other needed fixups for recent > regressions) is here: > https://git.linaro.org/people/john.stultz/android-dev.git > dev/hikey-mainline-WIP > > I'm using the "hikey_defconfig" added in the patchset to build with. Could you check if below patch has been merged into your code base? >From f71a1da256962fbaac48ce0ec01600a1a43f42a1 Mon Sep 17 00:00:00 2001 From: Leo Yan Date: Thu, 31 Aug 2017 20:36:47 +0800 Subject: [PATCH] clk: hi6220: mark clock cs_atb_syspll as critical Clock cs_atb_syspll is pll used for coresight trace bus; when clock cs_atb_syspll is disabled and operates its child clock node cs_atb results in system hang. So mark clock cs_atb_syspll as critical to keep it enabled. Cc: Guodong Xu Cc: Zhangfei Gao Cc: Haojian Zhuang Signed-off-by: Leo Yan --- drivers/clk/hisilicon/clk-hi6220.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/hisilicon/clk-hi6220.c b/drivers/clk/hisilicon/clk-hi6220.c index e786d71..a87809d 100644 --- a/drivers/clk/hisilicon/clk-hi6220.c +++ b/drivers/clk/hisilicon/clk-hi6220.c @@ -145,7 +145,7 @@ static struct hisi_gate_clock hi6220_separated_gate_clks_sys[] __initdata = { { HI6220_BBPPLL_SEL, "bbppll_sel", "pll0_bbp_gate", CLK_SET_RATE_PARENT|CLK_IGNORE_UNUSED, 0x270, 9, 0, }, { HI6220_MEDIA_PLL_SRC, "media_pll_src", "pll_media_gate", CLK_SET_RATE_PARENT|CLK_IGNORE_UNUSED, 0x270, 10, 0, }, { HI6220_MMC2_SEL, "mmc2_sel", "mmc2_mux1", CLK_SET_RATE_PARENT|CLK_IGNORE_UNUSED, 0x270, 11, 0, }, - { HI6220_CS_ATB_SYSPLL, "cs_atb_syspll", "syspll", CLK_SET_RATE_PARENT|CLK_IGNORE_UNUSED, 0x270, 12, 0, }, + { HI6220_CS_ATB_SYSPLL, "cs_atb_syspll", "syspll", CLK_SET_RATE_PARENT|CLK_IS_CRITICAL, 0x270, 12, 0, }, }; static struct hisi_mux_clock hi6220_mux_clks_sys[] __initdata = { -- 2.7.4 From 1584306574976621575@xxx Fri Nov 17 09:54:49 +0000 2017 X-GM-THRID: 1584306574976621575 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread