17232ab8bSKan LiangWhat: /sys/bus/event_source/devices/dmar*/format 27232ab8bSKan LiangDate: Jan 2023 37232ab8bSKan LiangKernelVersion: 6.3 47232ab8bSKan LiangContact: Kan Liang <kan.liang@linux.intel.com> 57232ab8bSKan LiangDescription: Read-only. Attribute group to describe the magic bits 67232ab8bSKan Liang that go into perf_event_attr.config, 77232ab8bSKan Liang perf_event_attr.config1 or perf_event_attr.config2 for 87232ab8bSKan Liang the IOMMU pmu. (See also 97232ab8bSKan Liang ABI/testing/sysfs-bus-event_source-devices-format). 107232ab8bSKan Liang 117232ab8bSKan Liang Each attribute in this group defines a bit range in 127232ab8bSKan Liang perf_event_attr.config, perf_event_attr.config1, 137232ab8bSKan Liang or perf_event_attr.config2. All supported attributes 147232ab8bSKan Liang are listed below (See the VT-d Spec 4.0 for possible 157232ab8bSKan Liang attribute values):: 167232ab8bSKan Liang 177232ab8bSKan Liang event = "config:0-27" - event ID 187232ab8bSKan Liang event_group = "config:28-31" - event group ID 197232ab8bSKan Liang 207232ab8bSKan Liang filter_requester_en = "config1:0" - Enable Requester ID filter 217232ab8bSKan Liang filter_domain_en = "config1:1" - Enable Domain ID filter 227232ab8bSKan Liang filter_pasid_en = "config1:2" - Enable PASID filter 237232ab8bSKan Liang filter_ats_en = "config1:3" - Enable Address Type filter 247232ab8bSKan Liang filter_page_table_en= "config1:4" - Enable Page Table Level filter 257232ab8bSKan Liang filter_requester_id = "config1:16-31" - Requester ID filter 267232ab8bSKan Liang filter_domain = "config1:32-47" - Domain ID filter 277232ab8bSKan Liang filter_pasid = "config2:0-21" - PASID filter 287232ab8bSKan Liang filter_ats = "config2:24-28" - Address Type filter 297232ab8bSKan Liang filter_page_table = "config2:32-36" - Page Table Level filter 30*46284c6cSKan Liang 31*46284c6cSKan LiangWhat: /sys/bus/event_source/devices/dmar*/cpumask 32*46284c6cSKan LiangDate: Jan 2023 33*46284c6cSKan LiangKernelVersion: 6.3 34*46284c6cSKan LiangContact: Kan Liang <kan.liang@linux.intel.com> 35*46284c6cSKan LiangDescription: Read-only. This file always returns the CPU to which the 36*46284c6cSKan Liang IOMMU pmu is bound for access to all IOMMU pmu performance 37*46284c6cSKan Liang monitoring events. 38