€•/Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ,/translations/zh_CN/admin-guide/perf/arm-cmn”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ,/translations/zh_TW/admin-guide/perf/arm-cmn”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ,/translations/it_IT/admin-guide/perf/arm-cmn”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ,/translations/ja_JP/admin-guide/perf/arm-cmn”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ,/translations/ko_KR/admin-guide/perf/arm-cmn”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ,/translations/sp_SP/admin-guide/perf/arm-cmn”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒArm Coherent Mesh Network PMU”h]”hŒArm Coherent Mesh Network PMU”…””}”(hh¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hh£hžhhŸŒF/var/lib/git/docbuild/linux/Documentation/admin-guide/perf/arm-cmn.rst”h KubhŒ paragraph”“”)”}”(hŒÈCMN-600 is a configurable mesh interconnect consisting of a rectangular grid of crosspoints (XPs), with each crosspoint supporting up to two device ports to which various AMBA CHI agents are attached.”h]”hŒÈCMN-600 is a configurable mesh interconnect consisting of a rectangular grid of crosspoints (XPs), with each crosspoint supporting up to two device ports to which various AMBA CHI agents are attached.”…””}”(hh¹hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hX¨CMN implements a distributed PMU design as part of its debug and trace functionality. This consists of a local monitor (DTM) at every XP, which counts up to 4 event signals from the connected device nodes and/or the XP itself. Overflow from these local counters is accumulated in up to 8 global counters implemented by the main controller (DTC), which provides overall PMU control and interrupts for global counter overflow.”h]”hX¨CMN implements a distributed PMU design as part of its debug and trace functionality. This consists of a local monitor (DTM) at every XP, which counts up to 4 event signals from the connected device nodes and/or the XP itself. Overflow from these local counters is accumulated in up to 8 global counters implemented by the main controller (DTC), which provides overall PMU control and interrupts for global counter overflow.”…””}”(hhÇhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hh£hžhubh¢)”}”(hhh]”(h§)”}”(hŒ PMU events”h]”hŒ PMU events”…””}”(hhØhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hhÕhžhhŸh¶h Kubh¸)”}”(hXJThe PMU driver registers a single PMU device for the whole interconnect, see /sys/bus/event_source/devices/arm_cmn_0. Multi-chip systems may link more than one CMN together via external CCIX links - in this situation, each mesh counts its own events entirely independently, and additional PMU devices will be named arm_cmn_{1..n}.”h]”hXJThe PMU driver registers a single PMU device for the whole interconnect, see /sys/bus/event_source/devices/arm_cmn_0. Multi-chip systems may link more than one CMN together via external CCIX links - in this situation, each mesh counts its own events entirely independently, and additional PMU devices will be named arm_cmn_{1..n}.”…””}”(hhæhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KhhÕhžhubh¸)”}”(hŒçMost events are specified in a format based directly on the TRM definitions - "type" selects the respective node type, and "eventid" the event number. Some events require an additional occupancy ID, which is specified by "occupid".”h]”hŒóMost events are specified in a format based directly on the TRM definitions - “type†selects the respective node type, and “eventid†the event number. Some events require an additional occupancy ID, which is specified by “occupidâ€.”…””}”(hhôhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KhhÕhžhubhŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒžSince RN-D nodes do not have any distinct events from RN-I nodes, they are treated as the same type (0xa), and the common event templates are named "rnid_*". ”h]”h¸)”}”(hŒSince RN-D nodes do not have any distinct events from RN-I nodes, they are treated as the same type (0xa), and the common event templates are named "rnid_*".”h]”hŒ¡Since RN-D nodes do not have any distinct events from RN-I nodes, they are treated as the same type (0xa), and the common event templates are named “rnid_*â€.”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjhžhhŸh¶h Nubj)”}”(hŒsThe cycle counter is treated as a synthetic event belonging to the DTC node ("type" == 0x3, "eventid" is ignored). ”h]”h¸)”}”(hŒrThe cycle counter is treated as a synthetic event belonging to the DTC node ("type" == 0x3, "eventid" is ignored).”h]”hŒzThe cycle counter is treated as a synthetic event belonging to the DTC node (“type†== 0x3, “eventid†is ignored).”…””}”(hj%hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K"hj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjhžhhŸh¶h Nubj)”}”(hŒÙXP events also encode the port and channel in the "eventid" field, to match the underlying pmu_event0_id encoding for the pmu_event_sel register. The event templates are named with prefixes to cover all permutations. ”h]”h¸)”}”(hŒØXP events also encode the port and channel in the "eventid" field, to match the underlying pmu_event0_id encoding for the pmu_event_sel register. The event templates are named with prefixes to cover all permutations.”h]”hŒÜXP events also encode the port and channel in the “eventid†field, to match the underlying pmu_event0_id encoding for the pmu_event_sel register. The event templates are named with prefixes to cover all permutations.”…””}”(hj=hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K%hj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjhžhhŸh¶h Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1jhŸh¶h KhhÕhžhubh¸)”}”(hX By default each event provides an aggregate count over all nodes of the given type. To target a specific node, "bynodeid" must be set to 1 and "nodeid" to the appropriate value derived from the CMN configuration (as defined in the "Node ID Mapping" section of the TRM).”h]”hXBy default each event provides an aggregate count over all nodes of the given type. To target a specific node, “bynodeid†must be set to 1 and “nodeid†to the appropriate value derived from the CMN configuration (as defined in the “Node ID Mapping†section of the TRM).”…””}”(hjYhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K*hhÕhžhubeh}”(h]”Œ pmu-events”ah ]”h"]”Œ pmu events”ah$]”h&]”uh1h¡hh£hžhhŸh¶h Kubh¢)”}”(hhh]”(h§)”}”(hŒ Watchpoints”h]”hŒ Watchpoints”…””}”(hjrhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjohžhhŸh¶h K0ubh¸)”}”(hXjThe PMU can also count watchpoint events to monitor specific flit traffic. Watchpoints are treated as a synthetic event type, and like PMU events can be global or targeted with a particular XP's "nodeid" value. Since the watchpoint direction is otherwise implicit in the underlying register selection, separate events are provided for flit uploads and downloads.”h]”hXpThe PMU can also count watchpoint events to monitor specific flit traffic. Watchpoints are treated as a synthetic event type, and like PMU events can be global or targeted with a particular XP’s “nodeid†value. Since the watchpoint direction is otherwise implicit in the underlying register selection, separate events are provided for flit uploads and downloads.”…””}”(hj€hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K2hjohžhubh¸)”}”(hXIThe flit match value and mask are passed in config1 and config2 ("val" and "mask" respectively). "wp_dev_sel", "wp_chn_sel", "wp_grp" and "wp_exclusive" are specified per the TRM definitions for dtm_wp_config0. Where a watchpoint needs to match fields from both match groups on the REQ or SNP channel, it can be specified as two events - one for each group - with the same nonzero "combine" value. The count for such a pair of combined events will be attributed to the primary match. Watchpoint events with a "combine" value of 0 are considered independent and will count individually.”h]”hXiThe flit match value and mask are passed in config1 and config2 (“val†and “mask†respectively). “wp_dev_selâ€, “wp_chn_selâ€, “wp_grp†and “wp_exclusive†are specified per the TRM definitions for dtm_wp_config0. Where a watchpoint needs to match fields from both match groups on the REQ or SNP channel, it can be specified as two events - one for each group - with the same nonzero “combine†value. The count for such a pair of combined events will be attributed to the primary match. Watchpoint events with a “combine†value of 0 are considered independent and will count individually.”…””}”(hjŽhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K9hjohžhubeh}”(h]”Œ watchpoints”ah ]”h"]”Œ watchpoints”ah$]”h&]”uh1h¡hh£hžhhŸh¶h K0ubeh}”(h]”Œarm-coherent-mesh-network-pmu”ah ]”h"]”Œarm coherent mesh network pmu”ah$]”h&]”uh1h¡hhhžhhŸh¶h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h¶uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¦NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jÏŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h¶Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j©j¦jljij¡jžuŒ nametypes”}”(j©‰jl‰j¡‰uh}”(j¦h£jihÕjžjouŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.