Include a testcase to check if the sysfs files for energy and frequency
related have its related attribute files exist and populated
Signed-off-by: Pratik R. Sampat
---
tools/testing/selftests/powerpc/Makefile | 1 +
.../powerpc/papr_attributes/.gitignore| 2 +
.../powerpc
erpretation.
Signed-off-by: Pratik R. Sampat
---
.../sysfs-firmware-papr-energy-scale-info | 29 ++
arch/powerpc/include/asm/firmware.h | 4 +-
arch/powerpc/include/asm/hvcall.h | 3 +-
arch/powerpc/kvm/trace_hv.h | 1 +
arch/powerpc/platfo
o.c instead and remove the "papr"
parent directory from the interface as well.
Pratik R. Sampat (2):
powerpc/pseries: Interface to represent PAPR firmware attributes
selftest/powerpc: Add PAPR sysfs attributes sniff test
.../sysfs-firmware-papr-energy-scale-info | 29 ++
: GHz
max: GHz
static : GHz
Tool Computed frequencies
min: GHz (cpu XX)
max: GHz (cpu XX)
avg: NNNN GHz
Pratik R. Sampat (2):
powerpc/pseries: Interface to represent PAPR firmware attributes
selftest/powe
Include a testcase to check if the sysfs files for energy and frequency
related have its related attribute files exist and populated
Signed-off-by: Pratik R. Sampat
---
tools/testing/selftests/powerpc/Makefile | 1 +
.../powerpc/papr_attributes/.gitignore| 2 +
.../powerpc
ture platforms, such userspace utilities will have to look at the
data returned from the new H_CALL being populated in this new sysfs
interface and report this information directly without the need of
interpretation.
Signed-off-by: Pratik R. Sampat
Reviewed-by: Gautham R. Shenoy
Reviewed-by: Fab
v1: https://lkml.org/lkml/2021/7/26/1509
Changelog v1-->v2:
Based on comments from Gautham,
1. Included a #define for MAX_NR_CHIPS instead of hardcoding the
allocation.
Pratik R. Sampat (1):
cpufreq:powernv: Fix init_chip_info initialization in numa=off
drivers/cpufreq/powernv-cpufreq.c |
the "chips" struct array and copy that to the
chips[i].mask
Cc: sta...@vger.kernel.org
Fixes: 053819e0bf84 ("cpufreq: powernv: Handle throttling due to Pmax capping
at chip level")
Signed-off-by: Pratik R. Sampat
Reported-by: Shirisha Ganta
Reviewed-by: Gautham R. Shenoy
the "chips" struct array and copy that to the
chips[i].mask
Cc: sta...@vger.kernel.org
Fixes: 053819e0bf84 ("cpufreq: powernv: Handle throttling due to Pmax capping
at chip level")
Signed-off-by: Pratik R. Sampat
Reported-by: Shirisha Ganta
---
drivers/cpufreq/po
GHz
Tool Computed frequencies
min: GHz (cpu XX)
max: GHz (cpu XX)
avg : GHz
Pratik R. Sampat (1):
powerpc/pseries: Interface to represent PAPR firmware attributes
.../sysfs-firmware-papr-energy-scale-info | 26 ++
arch/powerpc/include/asm/hvcall.h
ture platforms, such userspace utilities will have to look at the
data returned from the new H_CALL being populated in this new sysfs
interface and report this information directly without the need of
interpretation.
Signed-off-by: Pratik R. Sampat
Reviewed-by: Gautham R. Shenoy
---
.../sysfs-
ture platforms, such userspace utilities will have to look at the
data returned from the new H_CALL being populated in this new sysfs
interface and report this information directly without the need of
interpretation.
Signed-off-by: Pratik R. Sampat
Reviewed-by: Gautham R. Shenoy
---
.../sysfs-
s
min: GHz (cpu XX)
max: GHz (cpu XX)
avg: GHz
Pratik R. Sampat (1):
powerpc/pseries: Interface to represent PAPR firmware attributes
.../sysfs-firmware-papr-energy-scale-info | 26 ++
arch/powerpc/include/asm/hvcall.h | 24 +-
arch/powerpc
m the platform's
H_CALL i.e PAPR interface
min: GHz
max: GHz
static : GHz
Tool Computed frequencies
min: GHz (cpu XX)
max: GHz (cpu XX)
avg: GHz
Pratik R. Sampat (1):
powerpc/pseries: Interface t
ture platforms, such userspace utilities will have to look at the
data returned from the new H_CALL being populated in this new sysfs
interface and report this information directly without the need of
interpretation.
Signed-off-by: Pratik R. Sampat
Reviewed-by: Gautham R. Shenoy
---
.../sysfs-
ture platforms, such userspace utilities will have to look at the
data returned from the new H_CALL being populated in this new sysfs
interface and report this information directly without the need of
interpretation.
Signed-off-by: Pratik R. Sampat
Reviewed-by: Gautham R. Shenoy
---
.../sysfs-
supported
Platform reported frequencies --> Frequencies reported from the platform's
H_CALL i.e PAPR interface
min: GHz
max: GHz
static : GHz
Tool Computed frequencies
min: GHz (cpu XX)
max:NNNN GHz (cpu XX)
avg:
ture platforms, such userspace utilities will have to look at the
data returned from the new H_CALL being populated in this new sysfs
interface and report this information directly without the need of
interpretation.
Signed-off-by: Pratik R. Sampat
Reviewed-by: Gautham R. Shenoy
---
.../sysfs-
t; Frequencies reported from the platform's
H_CALL i.e PAPR interface
min: GHz
max: GHz
static : GHz
Tool Computed frequencies
min: GHz (cpu XX)
max: GHz (cpu XX)
avg: NNNN GHz
Pratik R. Sampat (1):
powerpc
;s
H_CALL i.e PAPR interface
min: GHz
max: GHz
static : GHz
Tool Computed frequencies
min: GHz (cpu XX)
max: GHz (cpu XX)
avg: NNNN GHz
Pratik R. Sampat (1):
powerpc/pseries: Interface to represent PAPR firmware att
ture platforms, such userspace utilities will have to look at the
data returned from the new H_CALL being populated in this new sysfs
interface and report this information directly without the need of
interpretation.
Signed-off-by: Pratik R. Sampat
---
.../sysfs-firmware-papr-energy-scale-inf
orms, such userspace utilities will have to look at the
data returned from the new H_CALL being populated in this new sysfs
interface and report this information directly without the need of
interpretation.
Signed-off-by: Pratik R. Sampat
---
.../sysfs-firmware-papr-energy-scale-info | 26 ++
;s
H_CALL i.e PAPR interface
min: GHz
max: GHz
static : GHz
Tool Computed frequencies
min: GHz (cpu XX)
max: GHz (cpu XX)
avg: NNNN GHz
Pratik R. Sampat (1):
powerpc/pseries: Interface to represent PAPR
.
Fixes: 053819e0bf84 ("cpufreq: powernv: Handle throttling due to Pmax capping
at chip level")
Signed-off-by: Pratik R. Sampat
Reported-by: Shirisha Ganta
---
drivers/cpufreq/powernv-cpufreq.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/cpufreq/powernv-cpufreq.c
b/drive
simple debugfs interface to control the knobs to fire
the IPI and Timer events on specified CPU and view their incurred idle
wakeup latencies.
Signed-off-by: Pratik R. Sampat
---
arch/powerpc/kernel/Makefile | 1 +
arch/powerpc/kernel/test-cpuidle_latency.c | 157
location in:
tools/testing/selftests/powerpc/cpuidle_latency/cpuidle_latency.log
To run the test without re-compiling:
$ cd tools/testing/selftest/powerpc/cpuidle_latency/
$ sudo ./cpuidle_latency.sh
Signed-off-by: Pratik R. Sampat
---
tools/testing/selftests/powerpc/Makefile | 1 +
.../power
timeout diff(ns) - Stop2: 1845
# Observed Average timeout diff(ns) - Stop4: 16581
# Observed Average timeout diff(ns) - Stop5: 939977
Pratik R. Sampat (2):
powerpc/cpuidle: Extract IPI based and timer based wakeup latency from
idle states
powerpc/selftest: Add support for cpuidle latency
On future platforms, such userspace utilities will have to look at the
data returned from the new H_CALL being populated in this new sysfs
interface and report this information directly without the need of
interpretation.
Signed-off-by: Pratik R. Sampat
---
Documentation/ABI/testing/sysfs
28 matches
Mail list logo