~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/admin-guide/perf/arm-cmn.rst

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/admin-guide/perf/arm-cmn.rst (Version linux-6.11.5) and /Documentation/admin-guide/perf/arm-cmn.rst (Version linux-6.7.12)


  1 =============================                       1 =============================
  2 Arm Coherent Mesh Network PMU                       2 Arm Coherent Mesh Network PMU
  3 =============================                       3 =============================
  4                                                     4 
  5 CMN-600 is a configurable mesh interconnect co      5 CMN-600 is a configurable mesh interconnect consisting of a rectangular
  6 grid of crosspoints (XPs), with each crosspoin      6 grid of crosspoints (XPs), with each crosspoint supporting up to two
  7 device ports to which various AMBA CHI agents       7 device ports to which various AMBA CHI agents are attached.
  8                                                     8 
  9 CMN implements a distributed PMU design as par      9 CMN implements a distributed PMU design as part of its debug and trace
 10 functionality. This consists of a local monito     10 functionality. This consists of a local monitor (DTM) at every XP, which
 11 counts up to 4 event signals from the connecte     11 counts up to 4 event signals from the connected device nodes and/or the
 12 XP itself. Overflow from these local counters      12 XP itself. Overflow from these local counters is accumulated in up to 8
 13 global counters implemented by the main contro     13 global counters implemented by the main controller (DTC), which provides
 14 overall PMU control and interrupts for global      14 overall PMU control and interrupts for global counter overflow.
 15                                                    15 
 16 PMU events                                         16 PMU events
 17 ----------                                         17 ----------
 18                                                    18 
 19 The PMU driver registers a single PMU device f     19 The PMU driver registers a single PMU device for the whole interconnect,
 20 see /sys/bus/event_source/devices/arm_cmn_0. M     20 see /sys/bus/event_source/devices/arm_cmn_0. Multi-chip systems may link
 21 more than one CMN together via external CCIX l     21 more than one CMN together via external CCIX links - in this situation,
 22 each mesh counts its own events entirely indep     22 each mesh counts its own events entirely independently, and additional
 23 PMU devices will be named arm_cmn_{1..n}.          23 PMU devices will be named arm_cmn_{1..n}.
 24                                                    24 
 25 Most events are specified in a format based di     25 Most events are specified in a format based directly on the TRM
 26 definitions - "type" selects the respective no     26 definitions - "type" selects the respective node type, and "eventid" the
 27 event number. Some events require an additiona     27 event number. Some events require an additional occupancy ID, which is
 28 specified by "occupid".                            28 specified by "occupid".
 29                                                    29 
 30 * Since RN-D nodes do not have any distinct ev     30 * Since RN-D nodes do not have any distinct events from RN-I nodes, they
 31   are treated as the same type (0xa), and the      31   are treated as the same type (0xa), and the common event templates are
 32   named "rnid_*".                                  32   named "rnid_*".
 33                                                    33 
 34 * The cycle counter is treated as a synthetic      34 * The cycle counter is treated as a synthetic event belonging to the DTC
 35   node ("type" == 0x3, "eventid" is ignored).      35   node ("type" == 0x3, "eventid" is ignored).
 36                                                    36 
 37 * XP events also encode the port and channel i     37 * XP events also encode the port and channel in the "eventid" field, to
 38   match the underlying pmu_event0_id encoding      38   match the underlying pmu_event0_id encoding for the pmu_event_sel
 39   register. The event templates are named with     39   register. The event templates are named with prefixes to cover all
 40   permutations.                                    40   permutations.
 41                                                    41 
 42 By default each event provides an aggregate co     42 By default each event provides an aggregate count over all nodes of the
 43 given type. To target a specific node, "bynode     43 given type. To target a specific node, "bynodeid" must be set to 1 and
 44 "nodeid" to the appropriate value derived from     44 "nodeid" to the appropriate value derived from the CMN configuration
 45 (as defined in the "Node ID Mapping" section o     45 (as defined in the "Node ID Mapping" section of the TRM).
 46                                                    46 
 47 Watchpoints                                        47 Watchpoints
 48 -----------                                        48 -----------
 49                                                    49 
 50 The PMU can also count watchpoint events to mo     50 The PMU can also count watchpoint events to monitor specific flit
 51 traffic. Watchpoints are treated as a syntheti     51 traffic. Watchpoints are treated as a synthetic event type, and like PMU
 52 events can be global or targeted with a partic     52 events can be global or targeted with a particular XP's "nodeid" value.
 53 Since the watchpoint direction is otherwise im     53 Since the watchpoint direction is otherwise implicit in the underlying
 54 register selection, separate events are provid     54 register selection, separate events are provided for flit uploads and
 55 downloads.                                         55 downloads.
 56                                                    56 
 57 The flit match value and mask are passed in co     57 The flit match value and mask are passed in config1 and config2 ("val"
 58 and "mask" respectively). "wp_dev_sel", "wp_ch     58 and "mask" respectively). "wp_dev_sel", "wp_chn_sel", "wp_grp" and
 59 "wp_exclusive" are specified per the TRM defin     59 "wp_exclusive" are specified per the TRM definitions for dtm_wp_config0.
 60 Where a watchpoint needs to match fields from      60 Where a watchpoint needs to match fields from both match groups on the
 61 REQ or SNP channel, it can be specified as two     61 REQ or SNP channel, it can be specified as two events - one for each
 62 group - with the same nonzero "combine" value.     62 group - with the same nonzero "combine" value. The count for such a
 63 pair of combined events will be attributed to      63 pair of combined events will be attributed to the primary match.
 64 Watchpoint events with a "combine" value of 0      64 Watchpoint events with a "combine" value of 0 are considered independent
 65 and will count individually.                       65 and will count individually.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php