From patchwork Thu May 25 23:51:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 100534 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp10551qge; Thu, 25 May 2017 16:51:45 -0700 (PDT) X-Received: by 10.98.87.87 with SMTP id l84mr48665792pfb.173.1495756305394; Thu, 25 May 2017 16:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495756305; cv=none; d=google.com; s=arc-20160816; b=LzezZ8Bn/aa9cx5kW1EzEMkuPevhn74e5kfUuXdpNHrvN0k1jDDIgDc47K3bMv5EPN JHtzMBDs2xpByVL2Qa2tX7NRurc3RzyvKEAU9e93OWEJMWdTRfVEzSXIO6KWAQfKXZZW jiagjy+/s18t71r1iA2xsAXHWZ3a0sApb/94lOGmDYeW333uHpO3vzAtr2EcHe8Exv+a 4EATS0AQm21TV7xSgGa6RsuMjtMxMCN/+Bj/xC0Sb7BPgnxC0QBHnn/enA+OumvrwJFf n8jc+rX924v5nTq/Ce2nWTePqh9FoK3AXI8WNjvTsnvZqVldnX/gfQOIHLYm/9hbpXtg dKpA== 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=rve1NedmiulHsbLAdr1e0Mzp+wQdfHCtMD6qvVNb6U8=; b=osZFDuI6x7wq31QvNpWBFEDoN1BTFqtYN+fDJKrLcQisuxY24ezYD5PX0xNDw8ovY1 uf62Y01DtU47sFDlzZZX94d1kE+uzhFC/3BdgqJY8wFF6utXTOqo/QPfu0DuctWV8NKX 6mvjqtOZg8iSkQKwe9BvP+YkVpObnjkdbo+BFlzpnPXsYoMzGCypLAvQhv7HDdRDncQl a4VPZK6LsZBvkN7X6yNiigtDX6m0TK4oUwoE6416vpBvDoVRT0EDs91nrcaOQL5DQRQi sVRj/bOOQPFJsAFy2AohAIkWGqW7h+K++TA4jX9Mr8k0eAzynvVayluFBuG/SsHe563m FwtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; 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 f3si28830848plb.201.2017.05.25.16.51.44; Thu, 25 May 2017 16:51:45 -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; 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 S969367AbdEYXvl (ORCPT + 14 others); Thu, 25 May 2017 19:51:41 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:34676 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S969366AbdEYXvl (ORCPT ); Thu, 25 May 2017 19:51:41 -0400 Received: by mail-pf0-f178.google.com with SMTP id 9so180723718pfj.1 for ; Thu, 25 May 2017 16:51:40 -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=rve1NedmiulHsbLAdr1e0Mzp+wQdfHCtMD6qvVNb6U8=; b=UfOoKgYVBW4PyYjMBYEfvSXp1UEgwCr7ivneNGMpCQ2m8NaC7OXTlkffMqpAvX/64y NHlTkrYWK4RKbdmAK2S9XIiarn1QNo1KG6CBLOx5N5qOQt5kYj5aUh336dQavpsVXUvL Jp0VFk6gJz5nhDsseGho8F9fViSZlhsYZWdN8= 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=rve1NedmiulHsbLAdr1e0Mzp+wQdfHCtMD6qvVNb6U8=; b=mDe9OnVnJ6LF+D13v7QmQbAhMuVuHHfx/EcbogErU6piUQL0yYHS5RG2cUWI11b+Li LeUIav6lERS6D4Y56KxNP1/xNdF2kPIFeyw2cp2SK8o/2lUPGlVkPHbWBr8I0EOp/oFX Wy8jiFNDmNJ8HOE9taYGlONRyc2lRiCJPhwH5qUlYTQHVzqKAiUvQE0AhSwWd1OlUdZj OVVc1PkxQt0MrJcNmvMmiiDy97S2wmlFfLybArEFnFeYSWORk5/BYaIjDdRm+jePVqhC Qn+MGU8vzN5hi7wBQc7TTGPFSkBLlPqw8x9nnR0t14isYvR3GLAm6lsKPD5aI1v7qvq1 yQJQ== X-Gm-Message-State: AODbwcCZs4xyT+EmtgN/YACVa5wP8BzeS/DuHGFbdtMp9ClgNW/mYG8R OsWASgQEbUsOxncn X-Received: by 10.98.59.148 with SMTP id w20mr47222366pfj.137.1495756300250; Thu, 25 May 2017 16:51:40 -0700 (PDT) Received: from Thara-Work-Ubuntu.domain.name ([117.213.2.159]) by smtp.googlemail.com with ESMTPSA id h71sm14684220pfe.85.2017.05.25.16.51.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 May 2017 16:51:38 -0700 (PDT) From: Thara Gopinath To: linux-pm@vger.kernel.org, ulf.hansson@linaro.org, khilman@baylibre.com Subject: [PATCH 0/2] PM / Domains: Expand generic power domain debugfs. Date: Thu, 25 May 2017 19:51:31 -0400 Message-Id: <1495756293-29534-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 removes the old debugfs entry and introduces new entries and attributes. Thara Gopinath (2): PM / Domains: Add time accounting to various genpd states. PM / Domains: Extend generic power domain debugfs. drivers/base/power/domain.c | 257 ++++++++++++++++++++++++++++++-------------- include/linux/pm_domain.h | 4 + 2 files changed, 178 insertions(+), 83 deletions(-) -- 2.1.4