From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751486AbcBLAbR (ORCPT ); Thu, 11 Feb 2016 19:31:17 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:43046 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751306AbcBLAbM (ORCPT ); Thu, 11 Feb 2016 19:31:12 -0500 Date: Thu, 11 Feb 2016 16:31:11 -0800 From: Stephen Boyd To: Rajendra Nayak Cc: mturquette@baylibre.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v2 2/6] clk: qcom: gdsc: Add support for gdscs with gds hw controller Message-ID: <20160212003111.GN30978@codeaurora.org> References: <1448986336-16846-1-git-send-email-rnayak@codeaurora.org> <1448986336-16846-3-git-send-email-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1448986336-16846-3-git-send-email-rnayak@codeaurora.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 On 12/01, Rajendra Nayak wrote: > Some gdsc power domains can have a gds_hw_controller block inside > to help ensure all slave devices within the power domain are idle > before the gdsc is actually switched off. > This is mainly useful in power domains which host a MMU, in which > case its necessary to make sure there are no outstanding MMU operations > or pending bus transactions before the power domain is turned off. > > In gdscs with gds_hw_controller block, its necessary to check the > gds_hw_ctrl status bits instead of the ones in gdscr, to determine > the state of the powerdomain. > > While at it, also move away from using jiffies and use ktime APIs > instead for busy looping on status bits. > > Signed-off-by: Rajendra Nayak > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project