From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_NEOMUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBAFAC282E1 for ; Wed, 24 Apr 2019 09:30:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B143120878 for ; Wed, 24 Apr 2019 09:30:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bVoE2GyT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729166AbfDXJaV (ORCPT ); Wed, 24 Apr 2019 05:30:21 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46527 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727916AbfDXJaU (ORCPT ); Wed, 24 Apr 2019 05:30:20 -0400 Received: by mail-pl1-f194.google.com with SMTP id o7so6759294pll.13 for ; Wed, 24 Apr 2019 02:30:20 -0700 (PDT) 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=jS8sA5wVvAstEMBPfxsjXr3lvFTcs0TzZqWL7gM79Nw=; b=bVoE2GyTwPZO7/bsB1UtAykhVesT02vmZE7yOcPQYEvY2yKhHMsjFiKyA5CABbiYkH 3s6swu7SZSM8VrzmdeMqXYi+6MwxdyIF2b53WHv7/5oZg3XibbxWZkr2tznB3EI4nP9t 7JYAQnBNdZBDJV/IhJ+KpevyqetCOUyrurL3tXgh8pi7uJ7SeUrqvVDHAtxA3D49UmA/ ofd6csttFFZDzTLrcYQn+QAtvJ5uSuhczjxgN4YMIoG+VTTQQFPmXJ1isDlflWK6gAU2 hRaTUXak13JtonP4AH0vR1DOoWi5yCk0PTCuS2EWspp9Ugn9NTJZS7qAXtc8LrQ2EfX4 xJnA== 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=jS8sA5wVvAstEMBPfxsjXr3lvFTcs0TzZqWL7gM79Nw=; b=Ybdok4CgiGN0iXTbysBrCSFTiYER2NJDovGdg0+xoCzZ/4awKpsiLq6L14vfAnIw4p 4RA03RnPZlqu1mtdRBB07QHU89TBteKZzWg+6Kxl2fi6SVwkY/VyEAhLXZ+EOXOE9cBm paT4UDdKv2l6E+j+/g7esa7Ap3n7/Ik4+R/ektZYaW06D9v6ftMG4qaCoahFVRSd2nJm FwFND5DOcx0Xr5PyPTkylgH8xmB7A4E6iISeYNNYvmZ+mpMq664uhNaNWNE632q/obWp PV7M8qnyb2XTA5aVW0vArFSwodEUP3iUV3RwvKZR3y+/jsDKIYxH6gFbanCABoTAgNyd x9Ew== X-Gm-Message-State: APjAAAVA81SoF/dOn9PR4va3OhzbBTXejhcH8guyrZ09VAAi1eLqKmTZ apqPDTPEJw3iy8v+NTdBPoVuYg== X-Google-Smtp-Source: APXvYqyvJbo01zmJtkIrttWV5J+5l51q8sH4KWYsVBjaJbuocJCDqsEwJfUW759839TNhvJEt02FQw== X-Received: by 2002:a17:902:2e01:: with SMTP id q1mr30844272plb.221.1556098218762; Wed, 24 Apr 2019 02:30:18 -0700 (PDT) Received: from localhost ([122.166.139.136]) by smtp.gmail.com with ESMTPSA id j12sm22427245pgg.79.2019.04.24.02.30.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Apr 2019 02:30:17 -0700 (PDT) Date: Wed, 24 Apr 2019 15:00:15 +0530 From: Viresh Kumar To: Gregory CLEMENT , Ilias Apalodimas Cc: Christian Neubert , Stephen Boyd , Mike Turquette , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , linux-pm@vger.kernel.org, Vincent Guittot , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, Antoine Tenart , =?utf-8?Q?Miqu=C3=A8l?= Raynal , Maxime Chevallier , stable@vger.kernel.org Subject: Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix initialization for cpu clocks Message-ID: <20190424093015.rcr5auamfccxf6ei@vireshk-i7> References: <20190313163558.6705-1-gregory.clement@bootlin.com> <20190314121541.GB19385@apalos> <20190314134428.GA24768@apalos> <874l85v8p6.fsf@FE-laptop> <20190318112844.GA1708@apalos> <87h8c0s955.fsf@FE-laptop> <20190318122113.GA4834@apalos> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190318122113.GA4834@apalos> User-Agent: NeoMutt/20180323-120-3dd1ac Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On 18-03-19, 14:21, Ilias Apalodimas wrote: > Hi Gregory, > > > >> > > > [ 14.909524] clk_pm_cpu_set_parent old=28004840 -> val=0x6000000 load_level=0 > > > [ 14.916424] clk_pm_cpu_set_parent old=2E004840 -> val=0x600 load_level=1 > > > [ 14.923315] clk_pm_cpu_set_parent old=8880A8C0 -> val=0x6000000 load_level=2 > > > [ 14.930572] clk_pm_cpu_set_parent old=8E80A8C0 -> val=0x600 load_level=3 > > > > > > > > > Let me know if you need anything else > > > > Could you show me the output of "cat /sys/kernel/debug/clk/clk_summary" > > > root@localhost ~ # cat /sys/kernel/debug/clk/clk_summary > enable prepare protect duty > clock count count count rate accuracy phase cycle > --------------------------------------------------------------------------------------------- > xtal 2 3 0 25000000 0 0 50000 > i2c_1 0 0 0 25000000 0 0 50000 > i2c_2 0 0 0 25000000 0 0 50000 > avs 0 0 0 25000000 0 0 50000 > TBG-B-S 2 2 0 1000000000 0 0 50000 > cpu 0 0 0 200000000 0 0 50000 > usb32_ss_sys 1 1 0 125000000 0 0 50000 > usb32_usb2_sys 0 0 0 100000000 0 0 50000 > gbe_125 0 0 0 125000000 0 0 50000 > gbe0_125 0 0 0 125000000 0 0 50000 > gbe1_125 0 0 0 125000000 0 0 50000 > gbe_core 1 1 0 250000000 0 0 50000 > gbe_bm 0 0 0 250000000 0 0 50000 > gbe0_core 1 1 0 250000000 0 0 50000 > gbe1_core 0 0 0 250000000 0 0 50000 > eip97 0 0 0 500000000 0 0 50000 > trace 0 0 0 1000000000 0 0 50000 > ddr_fclk 0 0 0 125000000 0 0 50000 > pwm 0 0 0 50000000 0 0 50000 > tscem_tmx 0 0 0 1000000000 0 0 50000 > sec_dap 0 0 0 100000000 0 0 50000 > sec_at 0 0 0 200000000 0 0 50000 > TBG-A-S 0 0 0 1600000000 0 0 50000 > sdio 0 0 0 400000000 0 0 50000 > ddr_phy 0 0 0 400000000 0 0 50000 > mmc 0 0 0 400000000 0 0 50000 > TBG-B-P 0 0 0 500000000 0 0 50000 > gbe_50 0 0 0 50000000 0 0 50000 > gbe0_50 0 0 0 50000000 0 0 50000 > gbe1_50 0 0 0 50000000 0 0 50000 > TBG-A-P 0 1 0 800000000 0 0 50000 > counter 0 0 0 160000000 0 0 50000 > sqf 0 1 0 200000000 0 0 50000 > tscem 0 0 0 200000000 0 0 50000 > sata_host 0 0 0 200000000 0 0 50000 > root@localhost ~ # > > > Also, during this week-end, Christian suggested that the issue might > > come from the AVS support. > > > > Could you disable it and check you still have the issue? > > > > For this, you just have to remove the avs node in > > arch/arm64/boot/dts/marvell/armada-37xx.dtsi and rebuild the dtb. > Sure. You'll have to wait for a week though. Currently on a trip. I'll run that > once i return @Ilias: Can you please try this now and confirm to Gregory ? -- viresh