Skip to content

Commit ea8d1c0

Browse files
Junhao Hewilldeacon
authored andcommitted
docs: perf: Add new description for HiSilicon UC PMU
A new function is added on HiSilicon uncore UC PMU. The UC PMU support to filter statistical information based on the specified tx request uring channel. Make user configuration through "uring_channel" parameter. Document them to provide guidance on how to use them. Signed-off-by: Junhao He <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Yicong Yang <[email protected]> Acked-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 312eca9 commit ea8d1c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/admin-guide/perf/hisi-pmu.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ CCL/ICL-ID. For I/O die, the ICL-ID is followed by:
9898
5'b00011: HAC_ICL;
9999
5'b10000: PCIe_ICL;
100100

101+
(e) uring_channel: UC PMU events 0x47~0x59 supports filtering by tx request
102+
uring channel. It is 2 bits. Some important codes are as follows:
103+
2'b11: count the events which sent to the uring_ext (MATA) channel;
104+
2'b01: is the same as 2'b11;
105+
2'b10: count the events which sent to the uring (non-MATA) channel;
106+
2'b00: default value, count the events which sent to the both uring and
107+
uring_ext channel;
108+
101109
Users could configure IDs to count data come from specific CCL/ICL, by setting
102110
srcid_cmd & srcid_msk, and data desitined for specific CCL/ICL by setting
103111
tgtid_cmd & tgtid_msk. A set bit in srcid_msk/tgtid_msk means the PMU will not

0 commit comments

Comments
 (0)