Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1193348ybp; Wed, 9 Oct 2019 10:09:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvhKdf645THgbuIk8uwQmMpv3Ohg1rY6/HAN9b01px4jpeVNA7rcaFs1DK06vNeDQ6NX0u X-Received: by 2002:aa7:d3d3:: with SMTP id o19mr3894698edr.230.1570640955753; Wed, 09 Oct 2019 10:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570640955; cv=none; d=google.com; s=arc-20160816; b=KFGreETs+vdSQAYJYyDcXaGWvnU0H1ge3TCh0qmbkAZ6+wMxS3ykp8pXlVxYaiXywm tvE3SHBuMy/+j9dOnVfu0Lay3TSVW/A0ovAwf7eoLJbIy3/dYry9Rkl1T+aDHfhhOLsy ZLI61mKYwy4Duys5pFTKDjLHgsZOE8uxw1ddJqdWNcIYXdMNIyPWWrSShHNYPXjl1KNQ i6uD351pbO+y1clZBl0UUYE/25yfopq73ze5QakZfx6EwqFqXElD3GGLO4jzJEZMNtas v1zARigp+Qvhhq2+eANuxxiVVCycuYLfNkszG9B3cwOYf93FmQpmp8Yhs38rL32dc975 QF3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=D2mWDjNiFA8ZmwOSzNfxAaNscOF3X+a/Kjb9sBM4nYM=; b=YSzqE3n23GRlf6/kzQt3TJXYZgABfai80V5OYia4fl01Z/CjKMN2QHvzuHVjcX0r0i 6L63XX071Dq6UdeIJyQJIW/7RkdFmZy8zyZNmWtgryCTn/IksmJaAnrxGpgajRD7iqXb scJQPVyQIuQn7Ej0McjsHyK6t3InYImF55IdUGC2xBLVXA/6iqSsa3W6OXIMd7csKJ7H tZrvYlpX10HIRWtoP/zlPX5tFR2OmL5WnkdpAVDhyxnZnNCnNyk9wCKHVVJR3Z3ToQ54 UlzUIjAL9ioLfdwDHJfsZY/Lx+35HW+Uk022+7MnEvvJtZbLS6ijGmr5JFR18HQ0Wf82 5+Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=SmKMpQLM; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h91si1826905edd.270.2019.10.09.10.08.44; Wed, 09 Oct 2019 10:09:15 -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; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=SmKMpQLM; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731870AbfJIRF7 (ORCPT + 99 others); Wed, 9 Oct 2019 13:05:59 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:41538 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731173AbfJIRF6 (ORCPT ); Wed, 9 Oct 2019 13:05:58 -0400 Received: by mail-oi1-f194.google.com with SMTP id w65so2382015oiw.8; Wed, 09 Oct 2019 10:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D2mWDjNiFA8ZmwOSzNfxAaNscOF3X+a/Kjb9sBM4nYM=; b=SmKMpQLMdu9zF+nZETtyRyzRFHvqJQM931spdY+ZgtQexKRYWMGEJ/SEMSjPLRwgyX sGCfwlBzFBSSOoOzZLbNiPuenj186i0Q7O7o4hyzoB/N1b6hXnlm4oQPBxy0cSQ98bGH +x4VPv8LVWtflqbB9+1yalCGMt+xywez2ywORN8R2ErdI0GVP9PpkcGn8eZZ8O2JUM0a eD/ZrXd47/tKoNo4ITdNZBi9cgx0HQu6Az30CNCGEEg6kXWwqoRIrbg0h5iH+fCF1bLF M1G353WsH6zE4VwfLPFeaGBAVKlGrbU1LWazFwx1S2wB5DtSH+hZg90j0MwtKUYG5/lu g2Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D2mWDjNiFA8ZmwOSzNfxAaNscOF3X+a/Kjb9sBM4nYM=; b=R4NMN9HGVxQvfLvgm0Oip4YBwfSAjoAW1qDb1vebtvlZ+2Yojcel5FGdrqjAzhoGWQ g8401l2l0vIreZgy1LRsAT7pVU4joodhZUWgFi6809gND6XPhz+x0/aPP6QCwsGCE2h3 trxLns+Jxt1tqLKgMGdpJGW+zySjW8Zmd6Fsoeh9snymilynFrnPuSRdYnIZGiH0JRa8 p/ViB7hSViN1mgWkminODlAnG9Y8PZ4e/RB9opEYanFm8PaEF1xPJOKRKXQWVc9PBQfX N3826/L3IrvFtjfKEujIUs1xpWueEB09xb1chgGM7DT2xUFEbka/iGlvqsmQOnE/cvKA WkwQ== X-Gm-Message-State: APjAAAWGtAvUFNgVug8wLi+PL6rl1sQiUwGN8iqqD6yBJ95o517vuN7W Qggi65bglMLUI6SpZV4gC6YVrKobxTe4FI+uJDE= X-Received: by 2002:aca:d90a:: with SMTP id q10mr3536020oig.129.1570640757567; Wed, 09 Oct 2019 10:05:57 -0700 (PDT) MIME-Version: 1.0 References: <20191007131649.1768-1-linux.amoon@gmail.com> <20191007131649.1768-6-linux.amoon@gmail.com> <7hsgo4cgeg.fsf@baylibre.com> In-Reply-To: From: Martin Blumenstingl Date: Wed, 9 Oct 2019 19:05:46 +0200 Message-ID: Subject: Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y To: Anand Moon Cc: Kevin Hilman , Rob Herring , Mark Rutland , Jerome Brunet , Neil Armstrong , Catalin Marinas , Will Deacon , devicetree , linux-arm-kernel , linux-amlogic@lists.infradead.org, Linux Kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Anand, On Wed, Oct 9, 2019 at 10:49 AM Anand Moon wrote: [...] > > can you please share a boot log with the command line parameter > > "initcall_debug" [0]? > > from Documentation/admin-guide/kernel-parameters.txt: > > initcall_debug [KNL] Trace initcalls as they are executed. Useful > > for working out where the kernel is dying during > > startup. > > > > Well I have tied to add this command *initcall_debug* to kernel command prompt. > Here is the console log, but I did not see any init kernel timer logs I don't remember from the top of my head if any additional Kconfig setting is needed > Kernel command line: console=ttyAML0,115200n8 > root=PARTUUID=45d7d61e-01 rw rootwait > earlyprintk=serial,ttyAML0,115200 initcall_debug printk.time=y > > [0] https://pastebin.com/eBgJrSKe > > > you can also try the command line parameter "clk_ignore_unused" (it's > > just a gut feeling: maybe a "critical" clock is being disabled because > > it's not wired up correctly). > > > > It look like some clk issue after I added the *clk_ignore_unused* to > kernel command line > it booted further to login prompt and cpufreq DVFS seem to be loaded. > So I could conclude this is clk issue.below is the boot log interesting - as Jerome suggested: the next step is to find out which clock is causing problems last time I checked there was no debug print in the code which disables unused clocks so I had to add that myself > Kernel command line: console=ttyAML0,115200n8 > root=PARTUUID=45d7d61e-01 rw rootwait > earlyprintk=serial,ttyAML0,115200 initcall_debug printk.time=y > clk_ignore_unused > > [1] https://pastebin.com/Nsk0wZQJ > > > back when I was working out the CPU clock tree for the 32-bit SoCs I > > had a bad parent clock in one of the muxes which resulted in sporadic > > lockups if CPU DVFS was enabled. > > you can try to disable CPU DVFS by dropping the OPP table and it's > > references from the .dtsi > > > > Yep yesterday my focus was to disable PWM feature and get boot up-to > login prompt > But not I have to look into clk feature. > > *Many thanks for your valuable inputs, I learned a lot of things.* you're welcome :-) Martin