ounters for pseries guests")
Reported-by: Madhavan Srinivasan
Signed-off-by: Kajol Jain
---
arch/powerpc/include/asm/kvm_book3s_64.h | 4 ++--
arch/powerpc/kvm/book3s_hv.c | 4 ++--
arch/powerpc/kvm/trace_hv.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
d
. Code also
added global lock called "dtl_global_lock" to avoid race condition.
Signed-off-by: Kajol Jain
---
Notes:
- Made code changes on top of recent fix sent by Michael Ellerman.
Link to the patch:
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20240819122401.513203-1-
Details are added for the vpa_dtl pmu event and format
attributes in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-vpa-dtl| 25 +++
1 file changed, 25 insertions(+)
create mode 100644
Documentation/ABI/testing/sysfs-bus
Move PM_BR_MPRED_CMPL event from cache.json to frontend.json file
for power10 platform
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/arch/powerpc/power10/cache.json| 5 -
tools/perf/pmu-events/arch/powerpc/power10/frontend.json | 5 +
2 files changed, 5 insertions(+), 5
Move some of the JSON/events from others.json to
more appropriate json files for power10 platform.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/cache.json | 15 ++
.../arch/powerpc/power10/datasource.json | 15 ++
.../arch/powerpc/power10/frontend.json| 10
Update JSON/events for power10 platform with additional events.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/datasource.json | 25 +++
.../arch/powerpc/power10/frontend.json| 10
.../pmu-events/arch/powerpc/power10/pmc.json | 5
3 files
Details are added for the vpa_dtl pmu event and format
attributes in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-vpa-dtl| 25 +++
1 file changed, 25 insertions(+)
create mode 100644
Documentation/ABI/testing/sysfs-bus
e also
added global lock called "dtl_global_lock" to avoid race condition.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/Makefile | 2 +-
arch/powerpc/perf/vpa-pmu.c | 469
include/linux/cpuhotplug.h | 1 +
3 files changed, 471 insertions(+),
Update JSON/events for power10 platform with additional events.
Also move PM_VECTOR_LD_CMPL event from others.json to
frontend.json file.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/frontend.json| 5 +
.../arch/powerpc/power10/others.json | 100
e_in_timebase_cycles,phys_processor_idx=0/
event.
Fixes: 220a0c609ad1 ("powerpc/perf: Add support for the hv gpci (get
performance counter info) interface")
Reported-by: Akanksha J N
Signed-off-by: Kajol Jain
---
Changelog:
v1 -> v2
- To make sure the hcall failure with H_PARAMETER is only be
("powerpc/perf: Add support for the hv gpci (get
performance counter info) interface")
Reported-by: Akanksha J N
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 29 +
1 file changed, 25 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/perf
Fix access permission of the hv-gpci topology information
interface files from 0444 to 0400 (admin read only).
Fixes: 71f1c39647d8 ("powerpc/hv_gpci: Add sysfs file inside hv_gpci device to
show processor bus topology information")
Reported-by: Disha Goel
Signed-off-by: Kajol Jain
nity domain via partition information")
Reported-by: Disha Goel
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c
index 39dbe6b348df..27f18119fda1 100644
--- a/arch/powerpc/
Update JSON/events for power10 platform with additional metrics.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/metrics.json | 388 ++
1 file changed, 388 insertions(+)
diff --git a/tools/perf/pmu-events/arch/powerpc/power10/metrics.json
b/tools/perf/pmu-events
Update JSON/Events list with additional data-source events
for power10 platform.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/datasource.json | 505 ++
1 file changed, 505 insertions(+)
diff --git a/tools/perf/pmu-events/arch/powerpc/power10/datasource.json
b
Update JSON/Events list with data-source events for power10 platform.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/datasource.json | 1282 +
.../arch/powerpc/power10/others.json | 10 -
.../arch/powerpc/power10/translation.json |5 -
3 files
Minor improvements")
Reported-by: Krishan Gopal Sarawast
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-24x7.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
index 317175791d23..644881cc1c00 100644
--- a/arch/powerpc/pe
Update JSON/events for power10 platform with additional metrics.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/metrics.json | 388 ++
1 file changed, 388 insertions(+)
diff --git a/tools/perf/pmu-events/arch/powerpc/power10/metrics.json
b/tools/perf/pmu-events
Update JSON/Events list with data-source events for power10 platform.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/datasource.json | 1787 +
.../arch/powerpc/power10/others.json | 10 -
.../arch/powerpc/power10/translation.json |5 -
3 files
int thread
Skipping perf bench breakpoint thread: No hardware support
Reported-by: Disha Goel
Signed-off-by: Kajol Jain
---
tools/perf/bench/breakpoint.c | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/tools/perf/bench/breakpoint.c b/tools/perf/bench/br
Update JSON/events for power10 platform with additional metrics.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/metrics.json | 33 +++
1 file changed, 33 insertions(+)
diff --git a/tools/perf/pmu-events/arch/powerpc/power10/metrics.json
b/tools/perf/pmu-events
Update metric event name for some of the JSON/metric events for
power10 platform.
Fixes: 3ca3af7d1f23 ("perf vendor events power10: Add metric events JSON file
for power10 platform")
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/metrics.json | 50 +
Move some of the power10 JSON/events to appropriate files.
Fixes: 32daa5d7899e ("perf vendor events: Initial JSON/events list for power10
platform")
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/cache.json | 45
.../arch/powerpc/power10/floating_point.j
Update JSON/events for power10 platform with additional events.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/frontend.json| 25 +
.../arch/powerpc/power10/marked.json | 30
.../arch/powerpc/power10/memory.json | 10
Drop STORES_PER_INST metric event for the power10 platform, as the
metric expression of STORES_PER_INST metric event using dropped event
PM_ST_FIN.
Fixes: 3ca3af7d1f23 ("perf vendor events power10: Add metric events JSON file
for power10 platform")
Signed-off-by: Kajol Jain
---
tool
Drop some of the JSON/events for power10 platform due to counter
data mismatch.
Fixes: 32daa5d7899e ("perf vendor events: Initial JSON/events list for power10
platform")
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/floating_point.json | 7 ---
tools/perf/
Update the description for some of the JSON/events for power10 platform.
Fixes: 32daa5d7899e ("perf vendor events: Initial JSON/events list for power10
platform")
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/cache.json | 4 +-
.../arch/powerpc/power10/fro
e.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 80 -
1 file changed, 79 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c
index 68502cb18262..326b758df7c8 100644
---
ints to the index of NULL
placeholder, for affinity_domain_via_virtual_processor attribute in
interface_attrs array. Also updated the value of INTERFACE_NULL_ATTR macro
in hv-gpci.c file.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
arch/powerpc
Add details of the new hv-gpci interface file called
"processor_config" in the ABI documentation.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documen
Add details of the new hv-gpci interface file called
"affinity_domain_via_virtual_processor" in the ABI documentation.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
di
which points to index of NULL
attribute in interface_attrs array.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 168
1 file changed, 153 insertions(+), 15 deletions(-)
diff --git a/arch/powerpc/perf/hv-gpci.c b/arc
v-gpci.c
file, which points to the index of NULL placefolder, for
processor_bus_topology attribute.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 184 +++-
1 file changed, 182 insertions(+), 2 deletions(-)
diff --git a/ar
Add details of the new hv-gpci interface file called
"affinity_domain_via_partition" in the ABI documentation.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
di
ts to the index of NULL
placeholder, for affinity_domain_via_partition attribute in
interface_attrs array. Also updated the value of INTERFACE_NULL_ATTR
macro in hv-gpci.c file.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 160 ++
Add details of the new hv-gpci interface file called
"processor_bus_topology" in the ABI documentation.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Doc
Add details of the new hv-gpci interface file called
"affinity_domain_via_domain" in the ABI documentation.
Reviewed-by: Athira Rajeev
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
di
ibute array index to hv-gpci.c, as
these macros currently only used in hv-gpci.c file.
Kajol Jain (10):
powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show
processor bus topology information
docs: ABI: sysfs-bus-event_source-devices-hv_gpci: Document
processor_bus_topology s
Add details of the new hv-gpci interface file called
"affinity_domain_via_partition" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/ABI/testing
ts to the index of NULL
placeholder, for affinity_domain_via_partition attribute in
interface_attrs array. Also updated the value of INTERFACE_NULL_ATTR
macro in hv-gpci.c file.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 160 +++-
1 file changed, 159 inserti
Add details of the new hv-gpci interface file called
"affinity_domain_via_domain" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/ABI/testing
sfs file is only available for power10
and above platforms. Add a macro called
INTERFACE_AFFINITY_DOMAIN_VIA_DOM_ATTR, which points to the index of NULL
placeholder, for affinity_domain_via_domain attribute in interface_attrs
array. Also updated the value of INTERFACE_NULL_ATTR macro in hv-gpci.c
fi
Add details of the new hv-gpci interface file called
"affinity_domain_via_virtual_processor" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/A
ints to the index of NULL
placeholder, for affinity_domain_via_virtual_processor attribute in
interface_attrs array. Also updated the value of INTERFACE_NULL_ATTR macro
in hv-gpci.c file.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 86 -
Add details of the new hv-gpci interface file called
"processor_config" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-ev
which points to index of NULL
attribute in interface_attrs array.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 168
1 file changed, 153 insertions(+), 15 deletions(-)
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c
index 225
Add details of the new hv-gpci interface file called
"processor_bus_topology" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/ABI/testing
v-gpci.c
file, which points to the index of NULL placefolder, for
processor_bus_topology attribute.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 184 +++-
1 file changed, 182 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/perf/hv-gp
sted by Michael Ellerman.
-> Add new enum and sysinfo_counter_request array to get required
counter request value in hv-gpci.c file.
-> Move the macros for interface attribute array index to hv-gpci.c, as
these macros currently only used in hv-gpci.c file.
Kajol Jain (10):
powerpc/hv_gpci: Add sysfs f
sted by Michael Ellerman.
-> Add new enum and sysinfo_counter_request array to get required
counter request value in hv-gpci.c file.
-> Move the macros for interface attribute array index to hv-gpci.c, as
these macros currently only used in hv-gpci.c file.
Kajol Jain (10):
powerpc/hv_gpci: Add sysfs f
Add details of the new hv-gpci interface file called
"affinity_domain_via_partition" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/ABI/testing
ts to the index of NULL
placeholder, for affinity_domain_via_partition attribute in
interface_attrs array. Also updated the value of INTERFACE_NULL_ATTR
macro in hv-gpci.c file.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 160 +++-
1 file changed, 159 inserti
Add details of the new hv-gpci interface file called
"affinity_domain_via_domain" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/ABI/testing
sfs file is only available for power10
and above platforms. Add a macro called
INTERFACE_AFFINITY_DOMAIN_VIA_DOM_ATTR, which points to the index of NULL
placeholder, for affinity_domain_via_domain attribute in interface_attrs
array. Also updated the value of INTERFACE_NULL_ATTR macro in hv-gpci.c
fi
Add details of the new hv-gpci interface file called
"affinity_domain_via_virtual_processor" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/A
ints to the index of NULL
placeholder, for affinity_domain_via_virtual_processor attribute in
interface_attrs array. Also updated the value of INTERFACE_NULL_ATTR macro
in hv-gpci.c file.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 86 -
Add details of the new hv-gpci interface file called
"processor_config" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-ev
which points to index of NULL
attribute in interface_attrs array.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 168
1 file changed, 153 insertions(+), 15 deletions(-)
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c
index 225
Add details of the new hv-gpci interface file called
"processor_bus_topology" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 32 +++
1 file changed, 32 insertions(+)
diff --git a/Documentation/ABI/testing
v-gpci.c
file, which points to the index of NULL placefolder, for
processor_bus_topology attribute.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 184 +++-
1 file changed, 182 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/perf/hv-gp
quest value in hv-gpci.c file.
-> Move the macros for interface attribute array index to hv-gpci.c, as
these macros currently only used in hv-gpci.c file
Kajol Jain (10):
powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show
processor bus topology information
docs: ABI: sys
Add details of the new hv-gpci interface file called
"affinity_domain_via_partition" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 15 +++
1 file changed, 15 insertions(+)
diff --git a/Documentation/ABI/testing
finity_domain_via_partition attribute in
interface_attrs array. Also updated the value of INTERFACE_NULL_ATTR
macro in hv-gpci.h file.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 164
arch/powerpc/perf/hv-gpci.h | 4 +-
2 files changed, 167 inserti
Add details of the new hv-gpci interface file called
"affinity_domain_via_domain" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 15 +++
1 file changed, 15 insertions(+)
diff --git a/Documentation/ABI/testing
r10
and above platforms. Add a macro called
INTERFACE_AFFINITY_DOMAIN_VIA_DOM_ATTR, which points to the index of NULL
placeholder, for affinity_domain_via_domain attribute in interface_attrs
array. Also updated the value of INTERFACE_NULL_ATTR macro in hv-gpci.h
file.
Signed-off-by: Kajol Jain
--
Add details of the new hv-gpci interface file called
"affinity_domain_via_virtual_processor" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 15 +++
1 file changed, 15 insertions(+)
diff --git a/Documentation/A
E_NULL_ATTR macro
in hv-gpci.h file.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 84 +
arch/powerpc/perf/hv-gpci.h | 4 +-
2 files changed, 87 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/per
Add details of the new hv-gpci interface file called
"processor_config" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 15 +++
1 file changed, 15 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-ev
ce_attrs array.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 110 +---
arch/powerpc/perf/hv-gpci.h | 5 +-
2 files changed, 107 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c
index bca247256
Add details of the new hv-gpci interface file called
"processor_bus_topology" in the ABI documentation.
Signed-off-by: Kajol Jain
---
.../sysfs-bus-event_source-devices-hv_gpci| 29 +++
1 file changed, 29 insertions(+)
diff --git a/Documentation/ABI/testing
Patches 2,4,6,8,10 adds details of the newly added hv_gpci
interface files listed above in the ABI documentation.
Kajol Jain (10):
powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show
processor bus topology information
docs: ABI: sysfs-bus-event_source-devices-hv_gpci: Document
pro
v-gpci.h
file, which points to the index of NULL placefolder, for
processor_bus_topology attribute.
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci.c | 163 +++-
arch/powerpc/perf/hv-gpci.h | 6 ++
2 files changed, 167 insertions(+), 2 deletions(-)
di
l.org/
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/arch/powerpc/power9/other.json| 4 ++--
tools/perf/pmu-events/arch/powerpc/power9/pipeline.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/perf/pmu-events/arch/powerpc/power9/other.json
b/tools/perf/pmu
From: Madhavan Srinivasan
event.h header already includes utlis.h. Avoid including
the same explicitly in the code when event.h included.
Signed-off-by: Madhavan Srinivasan
---
tools/testing/selftests/powerpc/pmu/count_instructions.c | 1 -
tools/testing/selftests/powerpc/pmu/count_stc
ode is not passing valid sample field to EV_CODE_EXTRACT
macro. Patch addresses this by fixing the input for EV_CODE_EXTRACT.
Fixes: 29cf373c5766 ("selftests/powerpc/pmu: Add interface test for mmcra
register fields")
Reported-by: David Binderman
Signed-off-by: Kajol Jain
---
..
hanges in powerpc:
98: perf all metrics test : Ok
Reviewed-by: Athira Rajeev
Tested-by: Disha Goel
Suggested-by: Ian Rogers
Signed-off-by: Kajol Jain
---
Changelog:
v1->v2:
- Addressed review comments from Ian, by changing true workload
to sleep workload in "perf all metric test&qu
m wide check for perf bench workload.
Result with the patch changes in powerpc:
92: perf all metrics test : Ok
Signed-off-by: Kajol Jain
---
tools/perf/tests/shell/stat_all_metrics.sh | 7 +++
1 file changed, 7 insertions(+)
diff --git a/tools/perf/tests/shell/stat_all_metrics.sh
b/t
Use PVR rather than oprofile field to
determine CPU version")
Reported-by: Sachin Sant
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-24x7.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
index 33c23225fd54..
rq is disabled or not and
incase irq is disabled, it will trigger the warning. Patch fix this issue
by changing the mutex lock to spinlock.
Fixes: 8f95faaac56c ("powerpc/powernv: Detect and create IMC device")
Suggested-by: Michael Ellerman
Signed-off-by: Kajol Jain
---
arch/powerpc/inclu
RINFO_V6"
macro to enable these events for platform firmware
that supports counter_info_version 0x6 or below. And assigning
the hv_gpci event list based on output counter info version
of underlying plaform.
Fixes: 97bf2640184f ("powerpc/perf/hv-gpci: add the remaining gpci requests&qu
uot;
macro to enable these events for platform firmware
that supports counter_info_version 0x6 or below. And assigning
the hv_gpci event list based on output counter info version
of underlying plaform.
Fixes: 97bf2640184f ("powerpc/perf/hv-gpci: add the remaining gpci requests")
Signed-o
lter :
42.1: Basic BPF filtering : Ok
42.2: BPF pinning : Ok
42.3: BPF prologue generation : Skip (clang/debuginfo isn't
installed or environment missing BPF support)
Fixes: ba1fae431e74bb42 ("perf test: Add 'perf test BPF'")
Signed-off-
Fixes: a3cbcadfdfc3 ("perf vendor events power10: Adds 24x7 nest
metric events for power10 platform")
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power10/nest_metrics.json| 72 +--
1 file changed, 36 insertions(+), 36 deletions(-)
diff --git a/tools/perf/p
uot;
macro to enable these events for platform firmware
that supports counter_info_version 0x6 or below.
Fixes: 97bf2640184f4 ("powerpc/perf/hv-gpci: add the remaining gpci
requests")
Signed-off-by: Kajol Jain
---
arch/powerpc/perf/hv-gpci-requests.h | 4
arch/powerp
ructure. Also
remove the function papr_scm_pmu_check_events from papr_scm.c file,
as we no longer need to copy stat-ids dynamically.
Fixes: 4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support")
Reported-by: Aneesh Kumar K.V
Signed-off-by: Kajol Jain
---
arch/powerpc/pla
blement of CONFIG_PERF_EVENTS whereas, kvm code don't have
any dependency on this config.
Patch remove this comment as switch_pmu_to_guest functionality is
needed even if perf subsystem is disabled.
Signed-off-by: Kajol Jain
---
arch/powerpc/kvm/book3s_hv_p9_perf.c | 6 --
1 file changed, 6 deletions(-
new file called book3s_hv_p9_perf.c,
without any logic change.
Also make corresponding changes in the Makefile to include
book3s_hv_p9_perf.c during compilation.
Signed-off-by: Kajol Jain
---
arch/powerpc/kvm/Makefile | 1 +
arch/powerpc/kvm/book3s_hv_p9_entry.c | 221
Fixes: 4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support")
Reported-by: Aneesh Kumar K.V
Signed-off-by: Kajol Jain
---
arch/powerpc/platforms/pseries/papr_scm.c | 62 ++-
1 file changed, 28 insertions(+), 34 deletions(-)
---
Changelog:
v1 -> v2
assumption may not be true or
documented as part of PAPR documentation. Fixing it,
by adding a static mapping for nvdimm events to
corresponding stat-id, and removing the map from
papr_scm_priv structure.
Fixes: 4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support")
Reported-by: Ane
From: Athira Rajeev
Add new folder for enabling perf event code tests which
includes checking for group constraints, valid/invalid events,
also checks for event excludes, alternatives so on. A new folder
"event_code_tests", is created under "selftests/powerpc/pmu".
Also updates the corresponding
ned-off-by: Kajol Jain
---
.../selftests/powerpc/pmu/branch_loops.S | 28
.../powerpc/pmu/sampling_tests/Makefile | 5 +-
.../sampling_tests/mmcra_bhrb_ind_call_test.c | 69 +++
3 files changed, 100 insertions(+), 2 deletions(-)
create mode 100644 tools/testing
cache event result type and verify
for a given event code, whether transalation matches with the current
cache event mappings via perf interface.
Signed-off-by: Kajol Jain
---
.../powerpc/pmu/event_code_tests/Makefile | 3 +-
.../hw_cache_event_type_test.c| 88
the sibling
events will fail.
Testcase uses event code "0x401e0" as leader and another event
"0x101ec" as sibling event, and checks for thresh compare
constraint via perf interface.
Signed-off-by: Kajol Jain
---
.../powerpc/pmu/event_code_tes
PM_MRK_INST_CMPL (0x401e0) as leader and
another event PM_THRESH_MET (0x101ec) as sibling event, and checks
if group constraint checks for thresh_sel field added correctly via
perf interface.
Signed-off-by: Kajol Jain
---
.../powerpc/pmu/event_code_tests/Makefile | 2
code PM_MRK_INST_CMPL (0x401e0) as leader and
another event PM_THRESH_MET (101ec) as sibling event, and checks if
group constraint checks for thresh_ctl field added correctly via perf interface.
Signed-off-by: Kajol Jain
---
.../powerpc/pmu/event_code_tests/Makefile | 2
From: Athira Rajeev
Testcase for reserved bits in Monitor Mode Control
Register A (MMCRA) Random Sampling Mode (SM) value.
As per Instruction Set Architecture (ISA), the values
0x5, 0x9, 0xD, 0x19, 0x1D, 0x1A, 0x1E are reserved
for sampling mode field. Test that having these reserved
bit values s
: Kajol Jain
---
.../powerpc/pmu/event_code_tests/Makefile | 3 +-
.../group_constraint_unit_test.c | 74 +++
2 files changed, 76 insertions(+), 1 deletion(-)
create mode 100644
tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_unit_test.c
diff
.
Testcase uses event code "0x1100fc" as leader and other events
like "0x23e054" and "0x13e054" as sibling events to checks for
l1 cache select field constraints via perf interface.
Signed-off-by: Kajol Jain
---
.../powerpc/pmu/even
egister is
programmed correctly via perf interface for ISA v3.1 platform
Also make get_mmcra_ifm return type as u64.
Signed-off-by: Kajol Jain
---
.../powerpc/pmu/sampling_tests/Makefile | 3 +-
.../powerpc/pmu/sampling_tests/misc.h | 2 +-
.../sampling_tests/mmcra_bhrb_disable_te
event code "0x01046080" as leader and another events
"0x26880" and "0x01026880" as sibling events, and checks for
l2l3_sel constraints via perf interface for ISA v3.1 platform.
Signed-off-by: Kajol Jain
---
.../powerpc/pmu/even
1 - 100 of 407 matches
Mail list logo