18c2ecf20Sopenharmony_ciWhat:           /sys/bus/event_source/devices/hv_gpci/format
28c2ecf20Sopenharmony_ciDate:           September 2020
38c2ecf20Sopenharmony_ciContact:        Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
48c2ecf20Sopenharmony_ciDescription:    Read-only. Attribute group to describe the magic bits
58c2ecf20Sopenharmony_ci                that go into perf_event_attr.config for a particular pmu.
68c2ecf20Sopenharmony_ci                (See ABI/testing/sysfs-bus-event_source-devices-format).
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci                Each attribute under this group defines a bit range of the
98c2ecf20Sopenharmony_ci                perf_event_attr.config. All supported attributes are listed
108c2ecf20Sopenharmony_ci                below::
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci				counter_info_version  = "config:16-23"
138c2ecf20Sopenharmony_ci				length  = "config:24-31"
148c2ecf20Sopenharmony_ci				partition_id  = "config:32-63"
158c2ecf20Sopenharmony_ci				request = "config:0-31"
168c2ecf20Sopenharmony_ci				sibling_part_id = "config:32-63"
178c2ecf20Sopenharmony_ci				hw_chip_id = "config:32-63"
188c2ecf20Sopenharmony_ci				offset = "config:32-63"
198c2ecf20Sopenharmony_ci				phys_processor_idx = "config:32-63"
208c2ecf20Sopenharmony_ci				secondary_index = "config:0-15"
218c2ecf20Sopenharmony_ci				starting_index = "config:32-63"
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci                For example::
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci		  processor_core_utilization_instructions_completed = "request=0x94,
268c2ecf20Sopenharmony_ci					phys_processor_idx=?,counter_info_version=0x8,
278c2ecf20Sopenharmony_ci					length=8,offset=0x18"
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci		In this event, '?' after phys_processor_idx specifies this value
308c2ecf20Sopenharmony_ci		this value will be provided by user while running this event.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciWhat:		/sys/bus/event_source/devices/hv_gpci/interface/collect_privileged
338c2ecf20Sopenharmony_ciDate:		February 2014
348c2ecf20Sopenharmony_ciContact:	Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
358c2ecf20Sopenharmony_ciDescription:
368c2ecf20Sopenharmony_ci		'0' if the hypervisor is configured to forbid access to event
378c2ecf20Sopenharmony_ci		counters being accumulated by other guests and to physical
388c2ecf20Sopenharmony_ci		domain event counters.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci		'1' if that access is allowed.
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciWhat:		/sys/bus/event_source/devices/hv_gpci/interface/ga
438c2ecf20Sopenharmony_ciDate:		February 2014
448c2ecf20Sopenharmony_ciContact:	Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
458c2ecf20Sopenharmony_ciDescription:
468c2ecf20Sopenharmony_ci		0 or 1. Indicates whether we have access to "GA" events (listed
478c2ecf20Sopenharmony_ci		in arch/powerpc/perf/hv-gpci.h).
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciWhat:		/sys/bus/event_source/devices/hv_gpci/interface/expanded
508c2ecf20Sopenharmony_ciDate:		February 2014
518c2ecf20Sopenharmony_ciContact:	Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
528c2ecf20Sopenharmony_ciDescription:
538c2ecf20Sopenharmony_ci		0 or 1. Indicates whether we have access to "EXPANDED" events (listed
548c2ecf20Sopenharmony_ci		in arch/powerpc/perf/hv-gpci.h).
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciWhat:		/sys/bus/event_source/devices/hv_gpci/interface/lab
578c2ecf20Sopenharmony_ciDate:		February 2014
588c2ecf20Sopenharmony_ciContact:	Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
598c2ecf20Sopenharmony_ciDescription:
608c2ecf20Sopenharmony_ci		0 or 1. Indicates whether we have access to "LAB" events (listed
618c2ecf20Sopenharmony_ci		in arch/powerpc/perf/hv-gpci.h).
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ciWhat:		/sys/bus/event_source/devices/hv_gpci/interface/version
648c2ecf20Sopenharmony_ciDate:		February 2014
658c2ecf20Sopenharmony_ciContact:	Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
668c2ecf20Sopenharmony_ciDescription:
678c2ecf20Sopenharmony_ci		A number indicating the version of the gpci interface that the
688c2ecf20Sopenharmony_ci		hypervisor reports supporting.
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ciWhat:		/sys/bus/event_source/devices/hv_gpci/interface/kernel_version
718c2ecf20Sopenharmony_ciDate:		February 2014
728c2ecf20Sopenharmony_ciContact:	Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
738c2ecf20Sopenharmony_ciDescription:
748c2ecf20Sopenharmony_ci		A number indicating the latest version of the gpci interface
758c2ecf20Sopenharmony_ci		that the kernel is aware of.
768c2ecf20Sopenharmony_ci
778c2ecf20Sopenharmony_ciWhat:		/sys/devices/hv_gpci/cpumask
788c2ecf20Sopenharmony_ciDate:		October 2020
798c2ecf20Sopenharmony_ciContact:	Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
808c2ecf20Sopenharmony_ciDescription:	read only
818c2ecf20Sopenharmony_ci		This sysfs file exposes the cpumask which is designated to make
828c2ecf20Sopenharmony_ci		HCALLs to retrieve hv-gpci pmu event counter data.
83