159809fe8SMauro Carvalho Chehab==================================
259809fe8SMauro Carvalho ChehabARM DynamIQ Shared Unit (DSU) PMU
359809fe8SMauro Carvalho Chehab==================================
459809fe8SMauro Carvalho Chehab
559809fe8SMauro Carvalho ChehabARM DynamIQ Shared Unit integrates one or more cores with an L3 memory system,
659809fe8SMauro Carvalho Chehabcontrol logic and external interfaces to form a multicore cluster. The PMU
759809fe8SMauro Carvalho Chehaballows counting the various events related to the L3 cache, Snoop Control Unit
859809fe8SMauro Carvalho Chehabetc, using 32bit independent counters. It also provides a 64bit cycle counter.
959809fe8SMauro Carvalho Chehab
1059809fe8SMauro Carvalho ChehabThe PMU can only be accessed via CPU system registers and are common to the
1159809fe8SMauro Carvalho Chehabcores connected to the same DSU. Like most of the other uncore PMUs, DSU
1259809fe8SMauro Carvalho ChehabPMU doesn't support process specific events and cannot be used in sampling mode.
1359809fe8SMauro Carvalho Chehab
1459809fe8SMauro Carvalho ChehabThe DSU provides a bitmap for a subset of implemented events via hardware
1559809fe8SMauro Carvalho Chehabregisters. There is no way for the driver to determine if the other events
1659809fe8SMauro Carvalho Chehabare available or not. Hence the driver exposes only those events advertised
1759809fe8SMauro Carvalho Chehabby the DSU, in "events" directory under::
1859809fe8SMauro Carvalho Chehab
1959809fe8SMauro Carvalho Chehab  /sys/bus/event_sources/devices/arm_dsu_<N>/
2059809fe8SMauro Carvalho Chehab
2159809fe8SMauro Carvalho ChehabThe user should refer to the TRM of the product to figure out the supported events
2259809fe8SMauro Carvalho Chehaband use the raw event code for the unlisted events.
2359809fe8SMauro Carvalho Chehab
2459809fe8SMauro Carvalho ChehabThe driver also exposes the CPUs connected to the DSU instance in "associated_cpus".
2559809fe8SMauro Carvalho Chehab
2659809fe8SMauro Carvalho Chehab
2759809fe8SMauro Carvalho Chehabe.g usage::
2859809fe8SMauro Carvalho Chehab
2959809fe8SMauro Carvalho Chehab	perf stat -a -e arm_dsu_0/cycles/
30