Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp747488pxb; Tue, 14 Sep 2021 07:56:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfVFH9rEOWVnTDk10hUO84slT06LQgyGdreopgJLvct0LFMLxIauPVdqY+6aovOhLrrvXi X-Received: by 2002:a02:9695:: with SMTP id w21mr14907919jai.64.1631631403704; Tue, 14 Sep 2021 07:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631631403; cv=none; d=google.com; s=arc-20160816; b=wZdqxJNhxqgfUnhdh3RWe9DBOERjFFVsOZg3MO6oRsH1vNxyTLgm5lNEWcVoo/f/Yp FykyAx3lWECnq7A73wTaHzRyaysTL7WODrRhrhPnkGyFX0RYV0FG9osKKJIvvlKqUOEk P3ZIlidRDFAUQVTyDY7kSnPu1ne6fZqgHOwRQpspDOm8lixfpoDVdkyYX+U3aBd3JgWG dGRAZLNikdv3oLadnYs+3uM2m8fP/q3VDW0v49piDKB5jawOhntoDdNQdb/24P9VDn0/ DpD6U/f4LzqSK6GtfAG3ixsnhEV7wiwWpOiJyQ5kbZy+crP9QBIv95yKeEEl0bwJcdYf saXg== 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=cm+aP4F2fZHvweqEGF9ywpGWxpXb9fZhihIPnn6yIUk=; b=QA5z5SKXxcJaCJpNMqOLsJjGtArRpZ3H5QGlPu2ub01gZiIXW/wo3l4UmSTrie9AXa sncL/ljRlv7Q4BdFv24T/VyW3/JN/jkOdcRH1e0nP2cHqjlN+GaCIq68xlEz74InWDwc AsHZpfVH/9fsSK7WSlWL43Derv5OwhMBcObEjIlGxEEcubKziuDcPH0U29Eedc4FYdLh lDGWMRBjZ3G4Mc5JCIxOar3jvTRJ4TgPto8ejTqM786KFUMa3YfTW0xhuyOSRbhdh+8C djKXa8iG1taFKFpNV/0AS4n3dfjezlIreibpwzgtafPME/eGS1qhngOi9Z/ngvf4peNQ 3WdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EPeRTn6e; 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 w5si10220381ilc.127.2021.09.14.07.56.27; Tue, 14 Sep 2021 07:56:43 -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=EPeRTn6e; 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 S234156AbhINO4s (ORCPT + 99 others); Tue, 14 Sep 2021 10:56:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:45090 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234356AbhINO4p (ORCPT ); Tue, 14 Sep 2021 10:56:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7C9BB61107; Tue, 14 Sep 2021 14:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631631328; bh=alBDq20KeMVwXugn44QFYy0uFf2J68FTXILkw7+b8Dg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EPeRTn6e/lhq0rZsvBQAxaUJb6IhSDMgkJq/zOpI4vm9Jyf1qctexF+oHTEUeegv+ iaGYlx4mnyS0hnPu3+DhJIfBic2hsfhUPLLxvmiSciEsHVorZOr3mY5sKaPkcyuSba 2RlSKhjJM7iRh1drCbwIWe5+2bbYDmQjfkLGOxXugfNzj1SXwM6kmbdG8csrUT6xa0 CXrPTtoa5PXauwboZlB9P+lEyWp1AbHTViBsO73B8dB8/jq2HZSHf9PivwHw7kWb2t 6qWp1KxrHlQTPjtnbEkLmaLweyD7oFnMegPtkquciPElsvXIY7bj5yYTQjIqEWFU9i 3yCBh1UGOtRhg== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mQ9qI-000L6w-N9; Tue, 14 Sep 2021 16:55:26 +0200 From: Mauro Carvalho Chehab To: Greg Kroah-Hartman , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , linux-kernel@vger.kernel.org Subject: [PATCH v2 4/8] ABI: sysfs-devices-power: document some RPM statistics Date: Tue, 14 Sep 2021 16:55:17 +0200 Message-Id: <3a94cad2d2997773fb6a58f0c6239ec52d0aa316.1631630792.git.mchehab+huawei@kernel.org> 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 --- 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