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
. Code also
added global lock called "dtl_global_lock" to avoid race condition.
Signed-off-by: Kajol Jain
---
Changelog:
v1 -> v2
- Rebase patches on top latest upstream kernel
- Remove the cpu online/offline code and directly allocating and
deallocating memory of dtl_c
erred to as needed.
Signed-off-by: Aboorva Devarajan
Signed-off-by: Kajol Jain
---
arch/powerpc/include/asm/time.h | 1 +
arch/powerpc/kernel/time.c | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/time.h b/arch/powerpc/include/asm/time.h
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
. Code 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-dtl.c | 462
include/linux/cpuhotplug.h | 1 +
3 files changed, 464 inserti
are defined in the "kvm/book3s_hv.c".
"PERF_ATTACH_TASK" flag is used to decide whether to read the counter
values from lppaca or kvm_vcpu_arch struct.
Signed-off-by: Kajol Jain
Co-developed-by: Madhavan Srinivasan
Signed-off-by: Madhavan Srinivasan
---
arch/powerpc/include
2,364,630 vpa_pmu/l1_to_l2_lat/
Signed-off-by: Kajol Jain
Co-developed-by: Madhavan Srinivasan
Signed-off-by: Madhavan Srinivasan
---
Changelog:
v1 -> v2
- Rebase the patch on top of kvm typo fix patch:
https://github.com/linuxppc/linux/commit/590d2f9347f7974d7954400e5d937672fd844a8b
rch variables
in do_trace_nested_cs_time function.
Signed-off-by: Kajol Jain
Co-developed-by: Madhavan Srinivasan
Signed-off-by: Madhavan Srinivasan
---
arch/powerpc/include/asm/kvm_host.h | 5 +
arch/powerpc/kvm/book3s_hv.c| 3 +++
2 files changed, 8 insertions(+)
diff --git a/arch
Details are added for the vpa_pmu event and format
attributes in the ABI documentation.
Signed-off-by: Kajol Jain
Co-developed-by: Madhavan Srinivasan
Signed-off-by: Madhavan Srinivasan
---
.../sysfs-bus-event_source-devices-vpa-pmu| 24 +++
1 file changed, 24 insertions
rch variables
in do_trace_nested_cs_time function.
Signed-off-by: Kajol Jain
Co-developed-by: Madhavan Srinivasan
Signed-off-by: Madhavan Srinivasan
---
arch/powerpc/include/asm/kvm_host.h | 5 +
arch/powerpc/kvm/book3s_hv.c| 3 +++
2 files changed, 8 insertions(+)
diff --git a/arch
ounters for pseries guests")
Reported-by: Madhavan Srinivasan
Reviewed-by: Ritesh Harjani (IBM)
Reviewed-by: Amit Machhiwal
Signed-off-by: Kajol Jain
---
Changelog:
v1 -> v2
- Added Reviewed-by tag from Ritesh and Amit.
arch/powerpc/include/asm/kvm_book3s_64.h | 4 ++--
arch/powe
Details are added for the vpa_pmu event and format
attributes in the ABI documentation.
Signed-off-by: Kajol Jain
Co-developed-by: Madhavan Srinivasan
Signed-off-by: Madhavan Srinivasan
---
.../sysfs-bus-event_source-devices-vpa-pmu| 24 +++
1 file changed, 24 insertions
are defined in the "kvm/book3s_hv.c".
"PERF_ATTACH_TASK" flag is used to decide whether to read the counter
values from lppaca or kvm_vcpu_arch struct.
Signed-off-by: Kajol Jain
Co-developed-by: Madhavan Srinivasan
Signed-off-by: Madhavan Srinivasan
---
arch/powerpc/include
2,364,630 vpa_pmu/l1_to_l2_lat/
Signed-off-by: Kajol Jain
Co-developed-by: Madhavan Srinivasan
Signed-off-by: Madhavan Srinivasan
---
arch/powerpc/include/asm/kvm_book3s_64.h | 3 +
arch/powerpc/kvm/book3s_hv.c | 19 +++
arch/powerpc/perf/Makefile | 2
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(-
1 - 100 of 421 matches
Mail list logo