diff --git a/patches.suse/Documentation-Document-sysfs-interfaces-purr-spurr-i.patch b/patches.suse/Documentation-Document-sysfs-interfaces-purr-spurr-i.patch new file mode 100644 index 0000000..6b589bd --- /dev/null +++ b/patches.suse/Documentation-Document-sysfs-interfaces-purr-spurr-i.patch @@ -0,0 +1,70 @@ +From bde752c3d6dbe9f6ca346560198e66bc3d7d7238 Mon Sep 17 00:00:00 2001 +From: "Gautham R. Shenoy" +Date: Tue, 7 Apr 2020 14:17:43 +0530 +Subject: [PATCH] Documentation: Document sysfs interfaces purr, spurr, + idle_purr, idle_spurr + +References: PED-3947 bsc#1210544 ltc#202303 +Patch-mainline: v5.8-rc1 +Git-commit: bde752c3d6dbe9f6ca346560198e66bc3d7d7238 + +Add documentation for the following sysfs interfaces: +/sys/devices/system/cpu/cpuX/purr +/sys/devices/system/cpu/cpuX/spurr +/sys/devices/system/cpu/cpuX/idle_purr +/sys/devices/system/cpu/cpuX/idle_spurr + +Signed-off-by: Gautham R. Shenoy +Signed-off-by: Michael Ellerman +Link: https://lore.kernel.org/r/1586249263-14048-6-git-send-email-ego@linux.vnet.ibm.com +Acked-by: Michal Suchanek +--- + .../ABI/testing/sysfs-devices-system-cpu | 39 +++++++++++++++++++ + 1 file changed, 39 insertions(+) + +diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu +--- a/Documentation/ABI/testing/sysfs-devices-system-cpu ++++ b/Documentation/ABI/testing/sysfs-devices-system-cpu +@@ -439,3 +439,42 @@ Description: Umwait control + or C0.2 state. The time is an unsigned 32-bit number. + Note that a value of zero means there is no limit. + Low order two bits must be zero. ++ ++What: /sys/devices/system/cpu/cpuX/purr ++Date: Apr 2005 ++Contact: Linux for PowerPC mailing list ++Description: PURR ticks for this CPU since the system boot. ++ ++ The Processor Utilization Resources Register (PURR) is ++ a 64-bit counter which provides an estimate of the ++ resources used by the CPU thread. The contents of this ++ register increases monotonically. This sysfs interface ++ exposes the number of PURR ticks for cpuX. ++ ++What: /sys/devices/system/cpu/cpuX/spurr ++Date: Dec 2006 ++Contact: Linux for PowerPC mailing list ++Description: SPURR ticks for this CPU since the system boot. ++ ++ The Scaled Processor Utilization Resources Register ++ (SPURR) is a 64-bit counter that provides a frequency ++ invariant estimate of the resources used by the CPU ++ thread. The contents of this register increases ++ monotonically. This sysfs interface exposes the number ++ of SPURR ticks for cpuX. ++ ++What: /sys/devices/system/cpu/cpuX/idle_purr ++Date: Apr 2020 ++Contact: Linux for PowerPC mailing list ++Description: PURR ticks for cpuX when it was idle. ++ ++ This sysfs interface exposes the number of PURR ticks ++ for cpuX when it was idle. ++ ++What: /sys/devices/system/cpu/cpuX/idle_spurr ++Date: Apr 2020 ++Contact: Linux for PowerPC mailing list ++Description: SPURR ticks for cpuX when it was idle. ++ ++ This sysfs interface exposes the number of SPURR ticks ++ for cpuX when it was idle. diff --git a/series.conf b/series.conf index 8b3aef8..467efc7 100644 --- a/series.conf +++ b/series.conf @@ -56769,6 +56769,7 @@ patches.suse/powerpc-idle-Store-PURR-snapshot-in-a-per-cpu-global.patch patches.suse/powerpc-pseries-Account-for-SPURR-ticks-on-idle-CPUs.patch patches.suse/powerpc-sysfs-Show-idle_purr-and-idle_spurr-for-ever.patch + patches.suse/Documentation-Document-sysfs-interfaces-purr-spurr-i.patch patches.suse/powerpc-eeh-Fix-pseries_eeh_configure_bridge.patch patches.suse/powerpc-pseries-ras-Avoid-calling-rtas_token-in-NMI-.patch patches.suse/powerpc-pseries-ras-Fix-FWNMI_VALID-off-by-one.patch