From patchwork Fri Jun 23 16:32:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 106274 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp296970qgd; Fri, 23 Jun 2017 09:32:30 -0700 (PDT) X-Received: by 10.84.143.100 with SMTP id 91mr10145388ply.186.1498235550007; Fri, 23 Jun 2017 09:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498235550; cv=none; d=google.com; s=arc-20160816; b=HbGneGdBjxR9YkrpmzfRa//sZYdVDoFLEGto2pAXU4qCC2rASTbviUnQE0LhnUqM+B XLdelN3VYcO36qp6sjIcFnkyrBhoVVLUff08vUXIhWPfGuI4B5dWzP4u6nj7L1DUibPx S/xw8i39nGRxiVZbdK0VRDrw9vcRAEa4tFi0A5u+4FioXK+WpZCFsMN1qcOfz+wILGfc igVYBuMKnyAD4kl7f70P1h9Ijs3dkMe9suKNoKpq13tHZU/V+/h49onQ4d5kaULLtndi Ay5n3tkb2U0b51VnO7W8V2R+ezGn33SejoPaoSSMWVHOwF3w9UvIexojsvTjFHpJ7EjL 9WUg== 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=09kyhqZDYECwHS1HQjjuFHHcltLw5AzoDBOIc8628iU=; b=GvpnbPepVTrSkxza+wKWfi3MJNuK1oN5Sew6Qj6lfwhrHeIL3BQd6WkiEMjnYISP2X BhbX1yCKx2sk/92PPYP71/ldJjKtHO0zHt8iUFEIH5XOul45MUrsodQsvZ/iGCpyUu2y 1zDY6OJwEYYcZzPvaJXtbLG1B9c+AC11voC85n4qwZQbCochtPA1t3HmR1xdpv9kFrMi RXyaTIlhEQDsv8Y8JrEIMJC/Fr9yY/4wOUOqpCw1d+3mBvbEX69o22SXrgvif6JVG7dQ r3PvarfPjeGjD9KhGZFD/acyTfST0dSDoHyOq2M2W+JGHYhDDENUS4uA2vXyr208i+0w m+gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=iW8TdUz4; 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 n26si3619926pfj.420.2017.06.23.09.32.29; Fri, 23 Jun 2017 09:32:29 -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=iW8TdUz4; 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 S1754405AbdFWQc1 (ORCPT + 14 others); Fri, 23 Jun 2017 12:32:27 -0400 Received: from mail-qk0-f175.google.com ([209.85.220.175]:33829 "EHLO mail-qk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754374AbdFWQc0 (ORCPT ); Fri, 23 Jun 2017 12:32:26 -0400 Received: by mail-qk0-f175.google.com with SMTP id d78so6161087qkb.1 for ; Fri, 23 Jun 2017 09:32:26 -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=09kyhqZDYECwHS1HQjjuFHHcltLw5AzoDBOIc8628iU=; b=iW8TdUz4HXzC6gLXcY8Ll4NRpG/6c2AS/9dtCLWoOjrgevJaRtrXpQI1sw69ah//kd /AdB6430GOhlLLmnwJvchvQwQ0m5qKFBfeXmzbRyLypGOvlk/ArQolW3ys/1N4xvfHUm AnKbrnW5kupB0BSQ+LzM3JFJlOJvRcsi6qRKg= 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=09kyhqZDYECwHS1HQjjuFHHcltLw5AzoDBOIc8628iU=; b=jxXnhgV1G0gRuvw57ynuvzmev1CHNTJ+CREzmqOITEq4BSLLV2wzB+xhX4lMajZgsF CKRg9VQgEgBpqrEfvZBxHdLvHpvZsDbbHNGH4fRGvvdSBBjJ2Nx+PGGVjp30EsdSbwtL TX9F2dOACdPV59XW3iE6fjWTB0ym1pZ7ys9gSKz1sU2yxvmiR75x9soopiwFZrgRV00v AAfZ8+dR2Toux+plkdxvrA/FGAmRMsSrOJKgJjNiBrf5Qb97TDUNbr8XAoH0UFJH+vHY Gcfgru8M/bi9k1JcuVUkt9aXa1a6viV2BqGprq4utHUgo2nOP1JDAv8Bf/8lKJWDcvER jWag== X-Gm-Message-State: AKS2vOwT6dl2k5PZqmUlAH7bYmXtlvTFfKaMJ1RGZQE0t4Wlw8T2l8JN q5ER5/QAsIyOD12e+1xVWg== X-Received: by 10.55.154.7 with SMTP id c7mr2674920qke.167.1498235545833; Fri, 23 Jun 2017 09:32:25 -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 c26sm1620720qte.63.2017.06.23.09.32.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Jun 2017 09:32:24 -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 V3 0/2] PM / Domains: Expand generic power domain debugfs. Date: Fri, 23 Jun 2017 12:32:21 -0400 Message-Id: <1498235543-30064-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. V2->V3: - Changed the order of calling genpd_update_accounting and genpd->status getting updated in power on and power off apis. - Minor fixes from review comments on the list. 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