[PATCH v9 2/2] selftest/powerpc: Add PAPR sysfs attributes sniff test

2022-02-17 Thread Pratik R. Sampat
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

[PATCH v9 1/2] powerpc/pseries: Interface to represent PAPR firmware attributes

2022-02-17 Thread Pratik R. Sampat
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

[PATCH v9 0/2] Interface to represent PAPR firmware attributes

2022-02-17 Thread Pratik R. Sampat
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 ++

[PATCH v8 0/2] Interface to represent PAPR firmware attributes

2021-09-28 Thread Pratik R. Sampat
: 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

[PATCH v8 2/2] selftest/powerpc: Add PAPR sysfs attributes sniff test

2021-09-28 Thread Pratik R. Sampat
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

[PATCH v8 1/2] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-09-28 Thread Pratik R. Sampat
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

[PATCH v2 0/1] cpufreq:powernv: Fix init_chip_info initialization in numa=off

2021-07-28 Thread Pratik R. Sampat
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 |

[PATCH v2 1/1] cpufreq:powernv: Fix init_chip_info initialization in numa=off

2021-07-28 Thread Pratik R. Sampat
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

[PATCH] cpufreq:powernv: Fix init_chip_info initialization in numa=off

2021-07-26 Thread Pratik R. Sampat
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

[PATCH v7 0/1] Interface to represent PAPR firmware attributes

2021-07-22 Thread Pratik R. Sampat
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

[PATCH v7 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-07-22 Thread Pratik R. Sampat
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-

[PATCH v6 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-07-19 Thread Pratik R. Sampat
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-

[PATCH v6 0/1] Interface to represent PAPR firmware attributes

2021-07-19 Thread Pratik R. Sampat
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

[PATCH v5 0/1] Interface to represent PAPR firmware attributes

2021-07-19 Thread Pratik R. Sampat
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

[PATCH v5 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-07-19 Thread Pratik R. Sampat
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-

[PATCH v4 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-07-16 Thread Pratik R. Sampat
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-

[PATCH v4 0/1] Interface to represent PAPR firmware attributes

2021-07-16 Thread Pratik R. Sampat
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:

[PATCH v3 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-07-12 Thread Pratik R. Sampat
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-

[PATCH v3 0/1] Interface to represent PAPR firmware attributes

2021-07-12 Thread Pratik R. Sampat
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

[PATCH v2 0/1] Interface to represent PAPR firmware attributes

2021-07-06 Thread Pratik R. Sampat
;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

[PATCH v2 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-07-06 Thread Pratik R. Sampat
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

[PATCH 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-06-16 Thread Pratik R. Sampat
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 ++

[PATCH 0/1] Interface to represent PAPR firmware attributes

2021-06-16 Thread Pratik R. Sampat
;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

[PATCH] cpufreq:powernv: Fix init_chip_info initialization in numa=off

2021-06-14 Thread Pratik R. Sampat
. 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

[RFC 1/2] powerpc/cpuidle: Extract IPI based and timer based wakeup latency from idle states

2021-06-11 Thread Pratik R. Sampat
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

[RFC 2/2] powerpc/selftest: Add support for cpuidle latency measurement

2021-06-11 Thread Pratik R. Sampat
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

[RFC 0/2] CPU-Idle latency selftest framework

2021-06-11 Thread Pratik R. Sampat
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

[RFC] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-06-04 Thread Pratik R. Sampat
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