Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3982994pxb; Mon, 27 Sep 2021 07:02:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzt48avWvDacjZmn55Y7Gz5x3KbtJQlvs6NFFf+zvB8NHg5zdt0CNs6SsuTYipPsE6fS+Kf X-Received: by 2002:a17:906:848f:: with SMTP id m15mr206004ejx.11.1632751371403; Mon, 27 Sep 2021 07:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751371; cv=none; d=google.com; s=arc-20160816; b=yS9m//RAIXo/k+xq37vT4wVYyqMelsQjz4JbDGTmZfMWCLkRtRwxWhUwFEaJsOW8Zu wC412CVvG6yLFsu39tQmdjLj6NmJBS6xBPC8vJEc2lhfTuDVszRSw1G/Wq2a9ZBQ46Tf pAq/UtzegILUx8K4dIwh8OMAwXxjesNnqfcP3fp2htcR9gGp6kWvdkmkxFCX2/V1QtrB utRRNS7oOAaH5v7F3gOC1KuLxIpkf+x1A+zHejJDxAUij2HRsEAgUPp9E0NXLTZClwub lqTYVHtR0sdL/C+IIYAGCzE/PDMPWsbo7LhIJkjMTaBed37eLIS8sMk/2Z+k3nVsCnVk DdFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=S65X9fSrEbMmcO9QRnSUTsuGVIsYAUbqMqLkWemWCqw=; b=FsFKRr/2Fc8qOBZuGAn5PZ3ajM4NtciaZCV+ggor537624sezmeEO3XGmqagPHyV45 dDp20dKxPRiL3gWz9S6SFtYITZ9cf43tIY/jq/Xk/9AtKTtnMf5CVkNiKi90AVk56FTZ wBo9adZUb9CMXR8bXBLi/+CXqBP44QCM+ehFu1//p3T00/EYkDFRBaY/+lwV0cR047e5 BMAui7G3im6Sst0ju9yHYD/BLgFBxFm2NIRNz9YwFwhZKCuSABZN6hg39L9+ufc5PTrS CiOGKdA3eQTDFUWgxOm/7SI35hDpEa5EV7Fn0YaBFbr3ncw9zH8ZfT5w/GJgxrDK8bH3 P35A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cdq8fZw1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p1si17594186ejm.169.2021.09.27.07.02.26; Mon, 27 Sep 2021 07:02:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cdq8fZw1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234743AbhI0OBt (ORCPT + 99 others); Mon, 27 Sep 2021 10:01:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:47980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234645AbhI0OBf (ORCPT ); Mon, 27 Sep 2021 10:01:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 447DC61058; Mon, 27 Sep 2021 13:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632751197; bh=7/0nXXe6FTjtAGNNc9itkh+KHZ3W1UuStnEnt56IR0k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cdq8fZw126fGDknzAezkHoemIBHTzOElIla/7AiBxWbSAKOPlACqd8ltLQcH3mpg5 DgVv/IZvQpiIraztc/ObOF/tqZLHJ4QjAbgAKBpkS5LE8JTOtIxkejAoIQDeqO7YQ2 BHR3z3qHbTs57j4QGuB891XJ9SBRGAgMK7tLK6IKvGpTikgrr+FHSd62N4PgErOkBs y4vx+6YL3UC98CKtQa2eAqOhCTJ/od0LccFt0BWYP1xntZytf1eNsZDtpN7qhyDLxo ujvQnFRWflUDcqh/k6smhhwkq4AShw9J6FPQpDnwUWQN5nEaE0ukwBXhdvAUN3nsqe PZiNZq2gut5Ew== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mUrAh-000Atm-CU; Mon, 27 Sep 2021 15:59:55 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , linux-kernel@vger.kernel.org Subject: [PATCH 04/17] ABI: sysfs-devices-power: document some RPM statistics Date: Mon, 27 Sep 2021 15:59:37 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changeset 8d4b9d1bfef1 ("PM / Runtime: Add runtime PM statistics (v3)") added runtime_active_time and runtime_suspended_time, in order to allow powertop to identify the amount of time a device is active/suspended. Add an ABI description for those. Signed-off-by: Mauro Carvalho Chehab --- See [PATCH 00/17] at: https://lore.kernel.org/all/cover.1632750608.git.mchehab+huawei@kernel.org/ Documentation/ABI/testing/sysfs-devices-power | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-devices-power b/Documentation/ABI/testing/sysfs-devices-power index 1763e64dd152..84694b8fec8e 100644 --- a/Documentation/ABI/testing/sysfs-devices-power +++ b/Documentation/ABI/testing/sysfs-devices-power @@ -269,3 +269,17 @@ Description: the current runtime PM status of the device, which may be "suspended", "suspending", "resuming", "active", "error" (fatal error), or "unsupported" (runtime PM is disabled). + +What: /sys/devices/.../power/runtime_active_time +Date: Jul 2010 +Contact: Arjan van de Ven +Description: + Reports the total time that the device has been active. + Used for runtime PM statistics. + +What: /sys/devices/.../power/runtime_suspended_time +Date: Jul 2010 +Contact: Arjan van de Ven +Description: + Reports total time that the device has been suspended. + Used for runtime PM statistics. -- 2.31.1