From patchwork Tue Jun 13 20:27:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 105416 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp589468qgd; Tue, 13 Jun 2017 13:27:51 -0700 (PDT) X-Received: by 10.107.130.17 with SMTP id e17mr2141445iod.155.1497385670915; Tue, 13 Jun 2017 13:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497385670; cv=none; d=google.com; s=arc-20160816; b=WhRN6ukcQURAQgFzwke/W3trFr14VZ1YbTTowvraW4nOQJDTvTwVNj2INMNCJ6ED5v TaQmVqx1i0z1R7Jg/k4aeqb3Qcu/WlVfsML0r2t0v/IJ8EMXurLU6u8/rJZggbOM+CUE Gnxjv5Y+yQu2PJsiMsM3/CEDNpYZ0X2ly9Nfv5ZHlb9w2qJRLXZBNFoLjaPpcYnEvBcK egx0vTolLUyH7vKTcxRg6b8ocSAWI7flhGMDO0SYtc6lkCH+DsVmNvEiHigdxLBE5ChL ZWxkelpOAs9I5a1SYS65tn5wP01f8L1u/bCOqvVWFXEFFOF6E3QpMovGWKL23EJQHBml 5O5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :dkim-signature:arc-authentication-results; bh=CMmuoHaVR4AMcSxJvCUhnXsQBtklxUAG1byxGxo4fcg=; b=CY0cIs+RUpXbsZBOAlxOBg6/37HRwi/M0Df/sZy4fnc9ti8Znhr5wbFs4AJNhSooiR cJP0tWamPxIGJ4do2w20IwuNIUdLdmD+WLkAWCN9zsfUH+j4MsO2FVf4MKvAaBYOir4C YOVDErBc4KdPdV+q+XItK33VOZQE/CVa0VqYjzpRlAG4psrjoLqXFG+RyZV8IlsExOBE VrrIqVb+uGmKeB8k0y8favRuWWIMwm6PI9VvOAvN5rfcLq7z4eJM3ogpQfRVrBFxj2xF kxuRZCttN1SZKeL5LxcRoz/fQHFm1/GxYZC1uL2EzO+1lUB7TzLblBJoBXrEudWgByFL FG0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=U2vj/5GN; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p141si7743160itp.89.2017.06.13.13.27.50; Tue, 13 Jun 2017 13:27:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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=@linaro.org header.b=U2vj/5GN; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753766AbdFMU1t (ORCPT + 14 others); Tue, 13 Jun 2017 16:27:49 -0400 Received: from mail-qt0-f179.google.com ([209.85.216.179]:34465 "EHLO mail-qt0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753791AbdFMU1m (ORCPT ); Tue, 13 Jun 2017 16:27:42 -0400 Received: by mail-qt0-f179.google.com with SMTP id c10so188915209qtd.1 for ; Tue, 13 Jun 2017 13:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=CMmuoHaVR4AMcSxJvCUhnXsQBtklxUAG1byxGxo4fcg=; b=U2vj/5GNTSEXF2TGyCDJf8mLlgo/EdH6MMBSSt+dtx2avPRESh9nXnNNzp4kzDK9A0 Dtab5P/it/Y0s8mAPRDSE2EpASeQqzffj0h93yv5E0WpiZMVOqNULOVX7gy17Ao+EReK hP3zzUkckwchLKu6No97aTl0cG1zoSWzg2rdU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=CMmuoHaVR4AMcSxJvCUhnXsQBtklxUAG1byxGxo4fcg=; b=RbCloRJJcblWIpb6IY0K4Z08b6Y40xTpVr0zD4zK2vGvF3EA29NNEXDJuJR/m2k3q/ aeR3jU4GCHWPEAuxJnC11xCWUiiJVFXNyGnaXjWPXMRZsI/x6eX4IHI5ZDfVUnUYDttQ Cu/9ZaRkW2O9i9qIkSX7e/gTap0E7ZXwchNU1gqcDACaCeRghwpJi2YI2OChA/2Sm9/o VhPHxE9LoSIfsZsoIuW0dUBtTbsXDrKA88o+AHLRSm//fWeXAW+UHlModSvqpmRR+Vrn a2JQwp2e3kSzzH0dYeF6rkHQHZT2/xYofNTBUXDPPRd7GWKMrBYSc6f4iLUQMNmGdAf+ U07Q== X-Gm-Message-State: AKS2vOxLIlqV7k17QsgT0Th+vRTNU6ga+QowsFIkk4s3iTrCRY14TB2u cqYNNQzmd9qESw607i7jjw== X-Received: by 10.200.8.13 with SMTP id u13mr2448328qth.233.1497385661839; Tue, 13 Jun 2017 13:27:41 -0700 (PDT) Received: from Thara-Work-Ubuntu.fios-router.home (pool-71-255-245-167.washdc.fios.verizon.net. [71.255.245.167]) by smtp.googlemail.com with ESMTPSA id z40sm10101515qth.64.2017.06.13.13.27.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 13 Jun 2017 13:27:40 -0700 (PDT) From: Thara Gopinath To: ulf.hansson@linaro.org, khilman@kernel.org, rjw@rjwysocki.net, gregkh@linuxfoundation.org, linux-pm@vger.kernel.org Subject: [PATCH V2 0/2] PM / Domains: Expand generic power domain debugfs. Date: Tue, 13 Jun 2017 16:27:37 -0400 Message-Id: <1497385659-2356-1-git-send-email-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.1.4 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch set attempts to improve the existing generic power domain debugfs capabilities. The first patch adds various accounting and other bits needed to expose out the generic power domain statistics. The second patch introduces new debugfs entries and attributes. V1->V2: - Removed calling of update accounting from suspend resume context where time keeping can be disabled. - Added back the pm_genpd_summary which was removed by the first version of this patchset. - Renamed a few debugfs parameters. Thara Gopinath (2): PM / Domains: Add time accounting to various genpd states. PM / Domains: Extend generic power domain debugfs. drivers/base/power/domain.c | 229 ++++++++++++++++++++++++++++++++++++++++++-- include/linux/pm_domain.h | 3 + 2 files changed, 224 insertions(+), 8 deletions(-) -- 2.1.4