Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp586418imm; Thu, 26 Jul 2018 08:35:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdaoHj2ajcZ5YFbDKs3HfA7DUdTk1laFDzIAnEJ+pU13GGAv6xXCD8mMiQ0ZEmTLA4nWC/8 X-Received: by 2002:a63:d15:: with SMTP id c21-v6mr2456797pgl.322.1532619329367; Thu, 26 Jul 2018 08:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532619329; cv=none; d=google.com; s=arc-20160816; b=dnlpNoOotrFeeT529W7jouFrbK+XS1uYlg9lx/cXiar1u5LpgG/2B4QI3Ci0bOO0Xa pyEv1KYguaXrRWqNDt+/YGen+F0wmMRTz9P14ydSF7uXPrt8imguI+wPAlc/P7X0DzPV Pb6EFEQuY2IUEHZKrHcgarvWZlLDBl0SeWQCdHd5Grxrknu5W/Ko4ppQ5dIa9lbWH8Sq QnNbfbJzrBKHCcrJ6WIt6yIg6KgtCFWEF2BiwhSVrRFA3iQNg9L1Cv54Z3h3uPkRa7ww SHaMQfZ0HBkZubxQeHdQSFIiG2FNg1Bz3iMdalGLwInSJ0WJEk64xGuWa1VdzYDLqWO5 gdjA== 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:dkim-signature :arc-authentication-results; bh=fjUOqpIKgD586qq1NqyO2RsuRRXES4UAbazI4qNSpPM=; b=yl/ycM0mwl6Tnm+Nlp2+sZ1iyohAPkeg6Ip9BJwLFomH3hUMepjmXpSwGDqCZy9QK9 vP0g0lF5VkngfuYVPiYkQZrmwrhLBFtpKHwxes1pSZ0a12jjiDyNZRt6p+uF5LoLyjjZ vgVnDAOCCtc01boSga+B/PAsSIoJp5h3Mn9bfwqcpGV7QCZJElD59aGHvIRTCFdkEVhm uavRI4hgwYcRbo/m31WUy7M+tt9fZZlAGsZhs6qsWnN9A8l3eAIodSDHFny1736H8IoH +iOSay4VJ9t9PXbaoYzscgLuNIjxtqYeFT9tJP1tS4FPU3hViTWekEIpcdIIyiU68Vc0 KA7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm1 header.b=qPM7XavF; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Y918wK+J; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e17-v6si1348792pgv.615.2018.07.26.08.35.13; Thu, 26 Jul 2018 08:35:29 -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=@kroah.com header.s=fm1 header.b=qPM7XavF; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=Y918wK+J; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731836AbeGZQuT (ORCPT + 99 others); Thu, 26 Jul 2018 12:50:19 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]:57329 "EHLO wnew3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730179AbeGZQuS (ORCPT ); Thu, 26 Jul 2018 12:50:18 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id B3C0F343; Thu, 26 Jul 2018 11:32:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 26 Jul 2018 11:32:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=fjUOqpIKgD586qq1NqyO2RsuRRXES4UAbazI4qNSpPM=; b=qPM7XavF qI9QLel3QXh0xwR2k2+6TsjBfzrqrJ1+lSZgT0kK6FOlE9KMW81oh71IZWpugJCt RYnHffAzVS2awo3I/LOY3c5tVlhHksmrCIzL7yImaOGlFTbbydxMMSHJUPtgE0Bj MNKudEnAochkOTKi/1L0OParywbuOBToK+rVGfRDeRIHOtmRiHSZGJjPxxrG0CEE 5Dc+1/kj/eLibcV6EdAcfJF9NLhLZ/wU3XJrfcJ3cpVlXkOvxt//oGbNy1wVXPdX z0lLnFamlGaqeOtHeUxsMJnvuuc0j2DpyeIS4Gvce6oazVLdVTzqNZjBfvzpLdf7 qq+dw/vJgPjOZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=fjUOqpIKgD586qq1NqyO2RsuRRXES 4UAbazI4qNSpPM=; b=Y918wK+JuJkCssampHW8UTc2Gyv70CjD3JDnbTAey6XCg bY7+/r2Pca2UgJqLeHGRculgUT70wlarvsCYJB8R1wvNJFjSgjdcFCLXweYYFuo7 oXcsHc0LJllEewtWnyKBtYADDg7BH9D8vWt0STj3T4PscYN9oUhtLKUMllflkZGY U+VbfbXzjzblSznuMb5cnMqweYB0UMHGO7QHH1muf+Dz0R3JuXHC0AhxdGhIbS9V fGQmgdRteiBXtO4Z7btPrZPY5soC8PkviDuRWER/SXIl9YlmoFvs7cV+xyKZ5JRA kO3u10cg35mBh5LEsgNg7h9IgDlguMbEMhxC/IKtQ== X-ME-Proxy: X-ME-Sender: Received: from localhost (unknown [62.119.166.9]) by mail.messagingengine.com (Postfix) with ESMTPA id 12825E4AB8; Thu, 26 Jul 2018 11:32:51 -0400 (EDT) Date: Thu, 26 Jul 2018 17:32:43 +0200 From: Greg KH To: Neil Armstrong Cc: stable@vger.kernel.org, jbrunet@baylibre.com, sboyd@kernel.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: meson-gxbb: set fclk_div2 as CLK_IS_CRITICAL Message-ID: <20180726153243.GB8327@kroah.com> References: <1528892421-12180-1-git-send-email-narmstrong@baylibre.com> <5153040b-1f38-a17a-d78d-fec833c1c223@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5153040b-1f38-a17a-d78d-fec833c1c223@baylibre.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 26, 2018 at 05:24:09PM +0200, Neil Armstrong wrote: > Hi Stable Team, > > On 13/06/2018 14:20, Neil Armstrong wrote: > > On Amlogic Meson GXBB & GXL platforms, the SCPI Cortex-M4 Co-Processor > > seems to be dependent on the FCLK_DIV2 to be operationnal. > > > > The issue occured since v4.17-rc1 by freezing the kernel boot when > > the 'schedutil' cpufreq governor was selected as default : > > > > [ 12.071837] scpi_protocol scpi: SCP Protocol 0.0 Firmware 0.0.0 version > > domain-0 init dvfs: 4 > > [ 12.087757] hctosys: unable to open rtc device (rtc0) > > [ 12.087907] cfg80211: Loading compiled-in X.509 certificates for regulatory database > > [ 12.102241] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' > > > > But when disabling the MMC driver, the boot finished but cpufreq failed to > > change the CPU frequency : > > > > [ 12.153045] cpufreq: __target_index: Failed to change cpu frequency: -5 > > > > A bisect between v4.16 and v4.16-rc1 gave the 05f814402d61 commit to be > > the first bad commit. > > This commit added support for the missing clock gates before the fixed PLL > > fixed dividers (FCLK_DIVx) and the clock framework basically disabled > > all the unused fixed dividers, thus disabled a critical clock path for > > the SCPI Co-Processor. > > > > This patch simply sets the FCLK_DIV2 gate as critical to ensure > > nobody can disable it. > > > > Fixes: 05f814402d61 ("clk: meson: add fdiv clock gates") > > Signed-off-by: Neil Armstrong > > > This patch hit linux master with commit id c987ac6f1f088663b6dad39281071aeb31d450a8 > > Could this be backported to the next 4.17 stable release ? Now queued up, thanks, greg k-h