18c2ecf20Sopenharmony_ciWhat:		/sys/bus/event_source/devices/dfl_fmeX/format
28c2ecf20Sopenharmony_ciDate:		April 2020
38c2ecf20Sopenharmony_ciKernelVersion:  5.8
48c2ecf20Sopenharmony_ciContact:	Wu Hao <hao.wu@intel.com>
58c2ecf20Sopenharmony_ciDescription:	Read-only. Attribute group to describe the magic bits
68c2ecf20Sopenharmony_ci		that go into perf_event_attr.config for a particular pmu.
78c2ecf20Sopenharmony_ci		(See ABI/testing/sysfs-bus-event_source-devices-format).
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci		Each attribute under this group defines a bit range of the
108c2ecf20Sopenharmony_ci		perf_event_attr.config. All supported attributes are listed
118c2ecf20Sopenharmony_ci		below::
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci		    event  = "config:0-11"  - event ID
148c2ecf20Sopenharmony_ci		    evtype = "config:12-15" - event type
158c2ecf20Sopenharmony_ci		    portid = "config:16-23" - event source
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci		For example::
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci		    fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff"
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci		It shows this fab_mmio_read is a fabric type (0x02) event with
228c2ecf20Sopenharmony_ci		0x06 local event id for overall monitoring (portid=0xff).
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciWhat:		/sys/bus/event_source/devices/dfl_fmeX/cpumask
258c2ecf20Sopenharmony_ciDate:		April 2020
268c2ecf20Sopenharmony_ciKernelVersion:  5.8
278c2ecf20Sopenharmony_ciContact:	Wu Hao <hao.wu@intel.com>
288c2ecf20Sopenharmony_ciDescription:	Read-only. This file always returns cpu which the PMU is bound
298c2ecf20Sopenharmony_ci		for access to all fme pmu performance monitoring events.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciWhat:		/sys/bus/event_source/devices/dfl_fmeX/events
328c2ecf20Sopenharmony_ciDate:		April 2020
338c2ecf20Sopenharmony_ciKernelVersion:  5.8
348c2ecf20Sopenharmony_ciContact:	Wu Hao <hao.wu@intel.com>
358c2ecf20Sopenharmony_ciDescription:	Read-only. Attribute group to describe performance monitoring
368c2ecf20Sopenharmony_ci		events specific to fme. Each attribute in this group describes
378c2ecf20Sopenharmony_ci		a single performance monitoring event supported by this fme pmu.
388c2ecf20Sopenharmony_ci		The name of the file is the name of the event.
398c2ecf20Sopenharmony_ci		(See ABI/testing/sysfs-bus-event_source-devices-events).
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci		All supported performance monitoring events are listed below.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci		Basic events (evtype=0x00)::
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci		    clock = "event=0x00,evtype=0x00,portid=0xff"
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci		Cache events (evtype=0x01)::
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci		    cache_read_hit      = "event=0x00,evtype=0x01,portid=0xff"
508c2ecf20Sopenharmony_ci		    cache_read_miss     = "event=0x01,evtype=0x01,portid=0xff"
518c2ecf20Sopenharmony_ci		    cache_write_hit     = "event=0x02,evtype=0x01,portid=0xff"
528c2ecf20Sopenharmony_ci		    cache_write_miss    = "event=0x03,evtype=0x01,portid=0xff"
538c2ecf20Sopenharmony_ci		    cache_hold_request  = "event=0x05,evtype=0x01,portid=0xff"
548c2ecf20Sopenharmony_ci		    cache_data_write_port_contention =
558c2ecf20Sopenharmony_ci		                          "event=0x06,evtype=0x01,portid=0xff"
568c2ecf20Sopenharmony_ci		    cache_tag_write_port_contention =
578c2ecf20Sopenharmony_ci		                          "event=0x07,evtype=0x01,portid=0xff"
588c2ecf20Sopenharmony_ci		    cache_tx_req_stall  = "event=0x08,evtype=0x01,portid=0xff"
598c2ecf20Sopenharmony_ci		    cache_rx_req_stall  = "event=0x09,evtype=0x01,portid=0xff"
608c2ecf20Sopenharmony_ci		    cache_eviction      = "event=0x0a,evtype=0x01,portid=0xff"
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ci		Fabric events (evtype=0x02)::
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci		    fab_pcie0_read       = "event=0x00,evtype=0x02,portid=0xff"
658c2ecf20Sopenharmony_ci		    fab_pcie0_write      = "event=0x01,evtype=0x02,portid=0xff"
668c2ecf20Sopenharmony_ci		    fab_pcie1_read       = "event=0x02,evtype=0x02,portid=0xff"
678c2ecf20Sopenharmony_ci		    fab_pcie1_write      = "event=0x03,evtype=0x02,portid=0xff"
688c2ecf20Sopenharmony_ci		    fab_upi_read         = "event=0x04,evtype=0x02,portid=0xff"
698c2ecf20Sopenharmony_ci		    fab_upi_write        = "event=0x05,evtype=0x02,portid=0xff"
708c2ecf20Sopenharmony_ci		    fab_mmio_read        = "event=0x06,evtype=0x02,portid=0xff"
718c2ecf20Sopenharmony_ci		    fab_mmio_write       = "event=0x07,evtype=0x02,portid=0xff"
728c2ecf20Sopenharmony_ci		    fab_port_pcie0_read  = "event=0x00,evtype=0x02,portid=?"
738c2ecf20Sopenharmony_ci		    fab_port_pcie0_write = "event=0x01,evtype=0x02,portid=?"
748c2ecf20Sopenharmony_ci		    fab_port_pcie1_read  = "event=0x02,evtype=0x02,portid=?"
758c2ecf20Sopenharmony_ci		    fab_port_pcie1_write = "event=0x03,evtype=0x02,portid=?"
768c2ecf20Sopenharmony_ci		    fab_port_upi_read    = "event=0x04,evtype=0x02,portid=?"
778c2ecf20Sopenharmony_ci		    fab_port_upi_write   = "event=0x05,evtype=0x02,portid=?"
788c2ecf20Sopenharmony_ci		    fab_port_mmio_read   = "event=0x06,evtype=0x02,portid=?"
798c2ecf20Sopenharmony_ci		    fab_port_mmio_write  = "event=0x07,evtype=0x02,portid=?"
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci		VTD events (evtype=0x03)::
828c2ecf20Sopenharmony_ci
838c2ecf20Sopenharmony_ci		    vtd_port_read_transaction  = "event=0x00,evtype=0x03,portid=?"
848c2ecf20Sopenharmony_ci		    vtd_port_write_transaction = "event=0x01,evtype=0x03,portid=?"
858c2ecf20Sopenharmony_ci		    vtd_port_devtlb_read_hit   = "event=0x02,evtype=0x03,portid=?"
868c2ecf20Sopenharmony_ci		    vtd_port_devtlb_write_hit  = "event=0x03,evtype=0x03,portid=?"
878c2ecf20Sopenharmony_ci		    vtd_port_devtlb_4k_fill    = "event=0x04,evtype=0x03,portid=?"
888c2ecf20Sopenharmony_ci		    vtd_port_devtlb_2m_fill    = "event=0x05,evtype=0x03,portid=?"
898c2ecf20Sopenharmony_ci		    vtd_port_devtlb_1g_fill    = "event=0x06,evtype=0x03,portid=?"
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ci		VTD SIP events (evtype=0x04)::
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ci		    vtd_sip_iotlb_4k_hit  = "event=0x00,evtype=0x04,portid=0xff"
948c2ecf20Sopenharmony_ci		    vtd_sip_iotlb_2m_hit  = "event=0x01,evtype=0x04,portid=0xff"
958c2ecf20Sopenharmony_ci		    vtd_sip_iotlb_1g_hit  = "event=0x02,evtype=0x04,portid=0xff"
968c2ecf20Sopenharmony_ci		    vtd_sip_slpwc_l3_hit  = "event=0x03,evtype=0x04,portid=0xff"
978c2ecf20Sopenharmony_ci		    vtd_sip_slpwc_l4_hit  = "event=0x04,evtype=0x04,portid=0xff"
988c2ecf20Sopenharmony_ci		    vtd_sip_rcc_hit       = "event=0x05,evtype=0x04,portid=0xff"
998c2ecf20Sopenharmony_ci		    vtd_sip_iotlb_4k_miss = "event=0x06,evtype=0x04,portid=0xff"
1008c2ecf20Sopenharmony_ci		    vtd_sip_iotlb_2m_miss = "event=0x07,evtype=0x04,portid=0xff"
1018c2ecf20Sopenharmony_ci		    vtd_sip_iotlb_1g_miss = "event=0x08,evtype=0x04,portid=0xff"
1028c2ecf20Sopenharmony_ci		    vtd_sip_slpwc_l3_miss = "event=0x09,evtype=0x04,portid=0xff"
1038c2ecf20Sopenharmony_ci		    vtd_sip_slpwc_l4_miss = "event=0x0a,evtype=0x04,portid=0xff"
1048c2ecf20Sopenharmony_ci		    vtd_sip_rcc_miss      = "event=0x0b,evtype=0x04,portid=0xff"
105