Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9843659ybi; Wed, 24 Jul 2019 10:56:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxupSvzvAA6Og0YkN7A5VoX/Q/mAQ0HQyE3ScpKeaGw3Yw+tEp6yfF4Gv9xErwdq978Bv7M X-Received: by 2002:a65:62cd:: with SMTP id m13mr17031828pgv.437.1563990980405; Wed, 24 Jul 2019 10:56:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563990980; cv=none; d=google.com; s=arc-20160816; b=RgdXZFEyOW6SqFEgdYRv68ahmA3nsVSByLo/oC3wm/VSh/xR/lF0c6yXh2ZUezn07/ 9Z9jsjMZUAjOUJ4uC15kBA8PfQQ13UyqL4PHyfYhBvhR9ayv1eObj8o6BjH7gV5Ff6rY 2cRSmoa5Mp4RuYrgYIVr2RtJdSHA4fcrMpKnCO+KCJdL6NIjqKv0R/96aPw+ZHHpho7p xDulaOGgE3OFSYPsFk0WwF77GAPGwTVZvEsznvNsCS9nPOZ5d+Aekzqh8C0bxQgYiDHa OUHfqckN8IaMT906ZCItDKbUzIl7zJMj+3oXgWNix8TeiDkF4VdnfYs/LAqYwQxkCrBM lrlg== 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:to:from :dkim-signature; bh=s/3YQsGCF6NcH7//5dLBEIyds71Voj/jHOMhbKfkGR4=; b=XsjT5ZgiOKZGcrXxDVn4vSzoiUEaMcWkNMYMI+Qv/HBWBtDvCl7CcIKjys6oXIjhll CS6DJU+aDhyAZ1ChnXKVy42CSPByM6zw1a9U/CU18mSx/flS8jREHLHFI4oX39bS263d DTxUOOan+MYeWn7pgeY7ZjqmbWYDDRp/4MMxHPCX9UmML1eXKJo5vskEXFg5px5Ftcm5 Z+9zGK959BsBoqIPzSep1yVKX0u2i1Qx98rdcMDEPn8kxZ04HWxbXen1D2hobDQnsQl9 qwv9pZg9PI93B6/ZE+MQsaWd+qujYkI7vAtrmW+NJZvB7aMOnAdGLiyZyhyvj8dUm8no z+Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Kb8GVwAZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s15si15691604pgm.413.2019.07.24.10.56.06; Wed, 24 Jul 2019 10:56:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@chromium.org header.s=google header.b=Kb8GVwAZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728750AbfGXRoN (ORCPT + 99 others); Wed, 24 Jul 2019 13:44:13 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:42249 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727438AbfGXRoM (ORCPT ); Wed, 24 Jul 2019 13:44:12 -0400 Received: by mail-pl1-f195.google.com with SMTP id ay6so22310776plb.9 for ; Wed, 24 Jul 2019 10:44:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=s/3YQsGCF6NcH7//5dLBEIyds71Voj/jHOMhbKfkGR4=; b=Kb8GVwAZza6hl3PZCnzUeA6hURNZbH3CVLF9QNPts0osPXZ/qQcCHLa11D2eSP3eom WvZIYX8BphU9gF1A19ypTMKgYAG1S1/LnmCgSn3dTDzfYOKHg4hxLcho0BKIMJpZBnsL 80JBEeef77z883yBAqjewhYvjeLZbT5tCkB/8= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=s/3YQsGCF6NcH7//5dLBEIyds71Voj/jHOMhbKfkGR4=; b=UjBS0B+BhcJ3ZPGKX5JSFHTWAhGnOg2lWVK7mrNAl6yMRRVCcvefRy233hFjrmF3Dq OSr342QCsA5HZWssFZk6cIlmFssgcUB2XrkIu1nO3C20g0NSUYoh1VIotYdPFe7CyTAB tGLKpT7RYsDhqOcUKcy+r6Ra8MSBVqzAMqAbWfi9q4aVOPeJ5bEPw9zXtIsHtiUpUOvS 3UzOo5hsm/ABNC4Tz8wZ+ljeFZfAx79e9nhYwRf+31BoYCXFgrKpwJ5IHGV67a5c7Nsx U0A+6MX8dPjErPVo1CUuEZjsKDzHG5gleBWzi48KKNOQES+A4nDtMYKtZh6ympcboIka gqJg== X-Gm-Message-State: APjAAAWVG7SLeAqW2NlT7844WZd+1dC0lqwA5/uN5EvrlCepbte/Hrjj LxBFoowJ+rakG+ida6nH39L8Kg== X-Received: by 2002:a17:902:b905:: with SMTP id bf5mr81267550plb.342.1563990251878; Wed, 24 Jul 2019 10:44:11 -0700 (PDT) Received: from ravisadineni0.mtv.corp.google.com ([2620:15c:202:1:98d2:1663:78dd:3593]) by smtp.gmail.com with ESMTPSA id r6sm37620080pgl.74.2019.07.24.10.44.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Jul 2019 10:44:11 -0700 (PDT) From: Ravi Chandra Sadineni To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, rjw@rjwysocki.net, pavel@ucw.cz, len.brown@intel.com, gregkh@linuxfoundation.org, ravisadineni@chromium.org, bhe@redhat.com, dyoung@redhat.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, tbroch@chromium.org, trong@google.com Subject: [PATCH 2/2] power: sysfs: move wakeup related nodes in power dir to obselete. Date: Wed, 24 Jul 2019 10:43:55 -0700 Message-Id: <20190724174355.255314-3-ravisadineni@chromium.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190724174355.255314-1-ravisadineni@chromium.org> References: <20190724174355.255314-1-ravisadineni@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As we have a new wakeup_source sub directory under power/ that exposes all the wakeup_source related attributes, move the documentation pointing to the existing attributes directly under power/ directory to obselete. Signed-off-by: Ravi Chandra Sadineni --- Documentation/ABI/obsolete/sysfs-device-power | 93 ++++++++++++++++ Documentation/ABI/testing/sysfs-devices-power | 102 ++---------------- 2 files changed, 101 insertions(+), 94 deletions(-) create mode 100644 Documentation/ABI/obsolete/sysfs-device-power diff --git a/Documentation/ABI/obsolete/sysfs-device-power b/Documentation/ABI/obsolete/sysfs-device-power new file mode 100644 index 000000000000..fd780cdcf2c3 --- /dev/null +++ b/Documentation/ABI/obsolete/sysfs-device-power @@ -0,0 +1,93 @@ +What: /sys/devices/.../power/wakeup_count +Date: September 2010 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../wakeup_count attribute contains the number + of signaled wakeup events associated with the device. This + attribute is read-only. If the device is not capable to wake up + the system from sleep states, this attribute is not present. + If the device is not enabled to wake up the system from sleep + states, this attribute is empty. + +What: /sys/devices/.../power/wakeup_active_count +Date: September 2010 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../wakeup_active_count attribute contains the + number of times the processing of wakeup events associated with + the device was completed (at the kernel level). This attribute + is read-only. If the device is not capable to wake up the + system from sleep states, this attribute is not present. If + the device is not enabled to wake up the system from sleep + states, this attribute is empty. + +What: /sys/devices/.../power/wakeup_abort_count +Date: February 2012 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../wakeup_abort_count attribute contains the + number of times the processing of a wakeup event associated with + the device might have aborted system transition into a sleep + state in progress. This attribute is read-only. If the device + is not capable to wake up the system from sleep states, this + attribute is not present. If the device is not enabled to wake + up the system from sleep states, this attribute is empty. + +What: /sys/devices/.../power/wakeup_expire_count +Date: February 2012 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../wakeup_expire_count attribute contains the + number of times a wakeup event associated with the device has + been reported with a timeout that expired. This attribute is + read-only. If the device is not capable to wake up the system + from sleep states, this attribute is not present. If the + device is not enabled to wake up the system from sleep states, + this attribute is empty. + +What: /sys/devices/.../power/wakeup_total_time_ms +Date: September 2010 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../wakeup_total_time_ms attribute contains + the total time of processing wakeup events associated with the + device, in milliseconds. This attribute is read-only. If the + device is not capable to wake up the system from sleep states, + this attribute is not present. If the device is not enabled to + wake up the system from sleep states, this attribute is empty. + +What: /sys/devices/.../power/wakeup_max_time_ms +Date: September 2010 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../wakeup_max_time_ms attribute contains + the maximum time of processing a single wakeup event associated + with the device, in milliseconds. This attribute is read-only. + If the device is not capable to wake up the system from sleep + states, this attribute is not present. If the device is not + enabled to wake up the system from sleep states, this attribute + is empty. + +What: /sys/devices/.../power/wakeup_last_time_ms +Date: September 2010 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../wakeup_last_time_ms attribute contains + the value of the monotonic clock corresponding to the time of + signaling the last wakeup event associated with the device, in + milliseconds. This attribute is read-only. If the device is + not enabled to wake up the system from sleep states, this + attribute is not present. If the device is not enabled to wake + up the system from sleep states, this attribute is empty. + +What: /sys/devices/.../power/wakeup_prevent_sleep_time_ms +Date: February 2012 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../wakeup_prevent_sleep_time_ms attribute + contains the total time the device has been preventing + opportunistic transitions to sleep states from occurring. + This attribute is read-only. If the device is not capable to + wake up the system from sleep states, this attribute is not + present. If the device is not enabled to wake up the system + from sleep states, this attribute is empty. \ No newline at end of file diff --git a/Documentation/ABI/testing/sysfs-devices-power b/Documentation/ABI/testing/sysfs-devices-power index 80a00f7b6667..30aff73c1dbd 100644 --- a/Documentation/ABI/testing/sysfs-devices-power +++ b/Documentation/ABI/testing/sysfs-devices-power @@ -77,53 +77,6 @@ Description: device drivers and in that cases it should be safe to leave the default value. -What: /sys/devices/.../power/wakeup_count -Date: September 2010 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../wakeup_count attribute contains the number - of signaled wakeup events associated with the device. This - attribute is read-only. If the device is not capable to wake up - the system from sleep states, this attribute is not present. - If the device is not enabled to wake up the system from sleep - states, this attribute is empty. - -What: /sys/devices/.../power/wakeup_active_count -Date: September 2010 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../wakeup_active_count attribute contains the - number of times the processing of wakeup events associated with - the device was completed (at the kernel level). This attribute - is read-only. If the device is not capable to wake up the - system from sleep states, this attribute is not present. If - the device is not enabled to wake up the system from sleep - states, this attribute is empty. - -What: /sys/devices/.../power/wakeup_abort_count -Date: February 2012 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../wakeup_abort_count attribute contains the - number of times the processing of a wakeup event associated with - the device might have aborted system transition into a sleep - state in progress. This attribute is read-only. If the device - is not capable to wake up the system from sleep states, this - attribute is not present. If the device is not enabled to wake - up the system from sleep states, this attribute is empty. - -What: /sys/devices/.../power/wakeup_expire_count -Date: February 2012 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../wakeup_expire_count attribute contains the - number of times a wakeup event associated with the device has - been reported with a timeout that expired. This attribute is - read-only. If the device is not capable to wake up the system - from sleep states, this attribute is not present. If the - device is not enabled to wake up the system from sleep states, - this attribute is empty. - What: /sys/devices/.../power/wakeup_active Date: September 2010 Contact: Rafael J. Wysocki @@ -136,53 +89,6 @@ Description: enabled to wake up the system from sleep states, this attribute is empty. -What: /sys/devices/.../power/wakeup_total_time_ms -Date: September 2010 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../wakeup_total_time_ms attribute contains - the total time of processing wakeup events associated with the - device, in milliseconds. This attribute is read-only. If the - device is not capable to wake up the system from sleep states, - this attribute is not present. If the device is not enabled to - wake up the system from sleep states, this attribute is empty. - -What: /sys/devices/.../power/wakeup_max_time_ms -Date: September 2010 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../wakeup_max_time_ms attribute contains - the maximum time of processing a single wakeup event associated - with the device, in milliseconds. This attribute is read-only. - If the device is not capable to wake up the system from sleep - states, this attribute is not present. If the device is not - enabled to wake up the system from sleep states, this attribute - is empty. - -What: /sys/devices/.../power/wakeup_last_time_ms -Date: September 2010 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../wakeup_last_time_ms attribute contains - the value of the monotonic clock corresponding to the time of - signaling the last wakeup event associated with the device, in - milliseconds. This attribute is read-only. If the device is - not enabled to wake up the system from sleep states, this - attribute is not present. If the device is not enabled to wake - up the system from sleep states, this attribute is empty. - -What: /sys/devices/.../power/wakeup_prevent_sleep_time_ms -Date: February 2012 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../wakeup_prevent_sleep_time_ms attribute - contains the total time the device has been preventing - opportunistic transitions to sleep states from occurring. - This attribute is read-only. If the device is not capable to - wake up the system from sleep states, this attribute is not - present. If the device is not enabled to wake up the system - from sleep states, this attribute is empty. - What: /sys/devices/.../power/autosuspend_delay_ms Date: September 2010 Contact: Alan Stern @@ -260,3 +166,11 @@ Description: This attribute has no effect on system-wide suspend/resume and hibernation. + +What: /sys/devices/.../power/wakeup_source +Date: July 2019 +Contact: Ravi Chandra Sadineni +Description: + The /sys/devices/.../power/wakeup_source directory contains + attributes allowing the user space to read several wakeup + related statistics of the device. -- 2.20.1