Received: by 10.223.164.202 with SMTP id h10csp534941wrb; Fri, 17 Nov 2017 04:48:37 -0800 (PST) X-Google-Smtp-Source: AGs4zMayvCDiLcU8gldtCb0Qtfd4xGr8yc1Lz8gysjZci7LA/zKkiU8owlA7R4SlxcXD+Lc3Rn4N X-Received: by 10.101.97.81 with SMTP id o17mr4903141pgv.363.1510922917242; Fri, 17 Nov 2017 04:48:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510922917; cv=none; d=google.com; s=arc-20160816; b=yOcifJkUyy7/CQOStxMa/28Wzt2oAtLHj+ZWnQGFRuJTqXcZu1HlzeN+gt+enyaTkG QOo9cPE2N+IS0HUqSzTupV+btc88xxITTaRL3ufBC3hrADNIP9sbOExaPuYv5oiDRmmM mTv9dKYPWJQRLqB17lEqfrzFcKc2MK1i2wQC7z6DhWxYOpgwpKSILu+7EW+1SRpVk4QN K6NKsi+NIP8R5aRhOwwRU8SVR+4q52kZf9pApYKsh0SNfFb0TK5hzGZS9QrgZ+Pc0Iob XYW7U+ztlZIu2gFhNNZ+4up5kFwHEoyh4Ko+EtY8lfMNzZnHUYDPkhD/yydgWSSQNny0 gHWw== 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=OKRvD52RzHblMe3qd3PaHBvIncbPFWPcxAGLMwRRNM8=; b=OUykKqucSrW25nfRNBHY17a7x7xSYj9YUaPeBxPjw6wjgJiq9mWMuHE3bh5rm0JlZj O1FWzDCBt9xk4Fpy3vCWpb/DPPU9aM/4WWvpOiAWmL5Knd+k+eT2PIVWY68wmHuyDnu0 B9nYNECqa8pOawSF9e7tV623RZDr2PAQT0xF0Y97t1NwepVO5Kz2eyHyMxd+Sm9KBA/F P06B+3BcJxZEchntjIUAA+zb4ZyyfDZ8BVQKh2GEAGszKGn2hTN2hd6cA1mdGQcyXFWp lQSl1HTLcakTfCEFftC1vYc3hCcIUxTKD9HnLBbG28GzBG13kCbzhInlTPniKBHHIami 6WLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XJWnUotX; 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 y21si2680930pll.823.2017.11.17.04.48.24; Fri, 17 Nov 2017 04:48:37 -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=XJWnUotX; 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 S933221AbdKQEeE (ORCPT + 91 others); Thu, 16 Nov 2017 23:34:04 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:43815 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751181AbdKQEd6 (ORCPT ); Thu, 16 Nov 2017 23:33:58 -0500 Received: by mail-wm0-f51.google.com with SMTP id x63so3994261wmf.2 for ; Thu, 16 Nov 2017 20:33: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=OKRvD52RzHblMe3qd3PaHBvIncbPFWPcxAGLMwRRNM8=; b=XJWnUotXf42qH111rqULN6VoYLVb504MMPtsbLOh+Ztu7foUqEMfi/+JID/4J1lDP0 a9pd8hG72FhpdBNPzRAfvaXV54WSh02grUk04KiwYEfffLGdsz+bIljfSifN+sUQ9Ink 5sMg6/DlHUHWeIjOGIpvtLL2OAWfkvrICkbJU= 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=OKRvD52RzHblMe3qd3PaHBvIncbPFWPcxAGLMwRRNM8=; b=TkALMlfHX1H/KoAnRFQrAabEbR78GFi0nl5cgJ4gmv7yDzCyQxb7jn1rHfw+x4AtAk BxTr2+hJoIU3PPiy0aGuN7Edb5WxJOTtuG4vO9ntWAKV03nzgDNcQ4bWOf+WY4g67blP KooPPhSgFfJ8nUxbBiXnFc7mgFwiExa1TYG4gyEhHc5EAJZqCZVYC359LMudMTWGPWZk CYPVapDzAygVl/XHkuDnP/dsT5Fzxnj1bneKZ7NBu6UDAE8XpkulM7PSu0oyj9DpveSp C5KdJ5bkqriSp8aHxFy6RBMOqu52VOsFw2HbuedG16iXWSZv2G3qPFKnk3iO1yE3g+En tGbw== X-Gm-Message-State: AJaThX6X/EAIEIcDsO5N/JUcgMq1AEX62OETVBys3CXC2QrYftwAolO0 d1q0xs/QNVyBJjTz0ui77j5I7A== X-Received: by 10.28.146.20 with SMTP id u20mr3343955wmd.49.1510893236993; Thu, 16 Nov 2017 20:33:56 -0800 (PST) Received: from leoy-linaro (li1530-42.members.linode.com. [139.162.245.42]) by smtp.gmail.com with ESMTPSA id 10sm3767080wml.27.2017.11.16.20.33.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Nov 2017 20:33:55 -0800 (PST) Date: Fri, 17 Nov 2017 12:33:48 +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: <20171117043348.GB1513@leoy-linaro> References: <20171117020649.GA1513@leoy-linaro> 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 On Thu, Nov 16, 2017 at 08:15:15PM -0800, John Stultz wrote: > On Thu, Nov 16, 2017 at 6:06 PM, Leo Yan wrote: > > 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. > > No I don't have this in yet. Hopefully its queued up already, and it > just landed out of order? Yeah, I checked this patch is in linux-next already; I expect this patch should go with coresight DT binding patch together for 4.15-rcX, but seems coresight DT binding patch has been merged ahead. > Adding this patch does seem to resolve the issue. Thanks for testing. Thanks, Leo Yan From 1584313576306455717@xxx Fri Nov 17 11:46:06 +0000 2017 X-GM-THRID: 1584306574976621575 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread