From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752661AbbDBIAo (ORCPT ); Thu, 2 Apr 2015 04:00:44 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:36765 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752357AbbDBIAl (ORCPT ); Thu, 2 Apr 2015 04:00:41 -0400 Date: Thu, 2 Apr 2015 09:00:36 +0100 From: Peter Griffin To: Lee Jones Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mturquette@linaro.org, sboyd@codeaurora.org, kernel@stlinux.com, devicetree@vger.kernel.org Subject: Re: [STLinux Kernel] [PATCH 2/4] ARM: sti: stih410-clocks: Identify critical clocks as always-on Message-ID: <20150402080036.GA3567@griffinp-ThinkPad-X1-Carbon-2nd> References: <1425071674-16995-1-git-send-email-lee.jones@linaro.org> <1425071674-16995-3-git-send-email-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425071674-16995-3-git-send-email-lee.jones@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, On Fri, 27 Feb 2015, Lee Jones wrote: > Lots of platforms contain clocks which if turned off would prove fatal. > The only way to recover is to restart the board(s). This driver takes > references to clocks which are required to be always-on in order to > prevent the common clk framework from trying to turn them off during > the clk_disabled_unused() procedure. > In this patch we are identifying clocks, which if gated would render > the STiH410 development board unserviceable. Can you also add to the list of always on clocks for stih407 and stih410? This clock is slightly unusual in that the clock doesn't need to be on at boot, but once enabled by the kernel, can't be disabled without causing the system to hang. So slightly different from the others, but I would prefer to keep balanced enable/disable calls in the tsin driver, in case this (bug?) goes away on future SoC's. regards, Peter.