mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 14:39:37 +07:00
64ef8f2c47
Commit792f73f747
("powerpc/hv-24x7: Add sysfs files inside hv-24x7 device to show cpumask") added cpumask file as part of hv-24x7 driver inside the interface folder. The cpumask file is supposed to be in the top folder of the PMU driver in order to make hotplug work. This patch fixes that issue and creates new group 'cpumask_attr_group' to add cpumask file and make sure it added in top folder. command:# cat /sys/devices/hv_24x7/cpumask 0 Fixes:792f73f747
("powerpc/hv-24x7: Add sysfs files inside hv-24x7 device to show cpumask") Signed-off-by: Kajol Jain <kjain@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200821080610.123997-1-kjain@linux.ibm.com
74 lines
2.9 KiB
Plaintext
74 lines
2.9 KiB
Plaintext
What: /sys/bus/event_source/devices/hv_24x7/interface/catalog
|
|
Date: February 2014
|
|
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
|
|
Description:
|
|
Provides access to the binary "24x7 catalog" provided by the
|
|
hypervisor on POWER7 and 8 systems. This catalog lists events
|
|
available from the powerpc "hv_24x7" pmu. Its format is
|
|
documented here:
|
|
https://raw.githubusercontent.com/jmesmon/catalog-24x7/master/hv-24x7-catalog.h
|
|
|
|
What: /sys/bus/event_source/devices/hv_24x7/interface/catalog_length
|
|
Date: February 2014
|
|
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
|
|
Description:
|
|
A number equal to the length in bytes of the catalog. This is
|
|
also extractable from the provided binary "catalog" sysfs entry.
|
|
|
|
What: /sys/bus/event_source/devices/hv_24x7/interface/catalog_version
|
|
Date: February 2014
|
|
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
|
|
Description:
|
|
Exposes the "version" field of the 24x7 catalog. This is also
|
|
extractable from the provided binary "catalog" sysfs entry.
|
|
|
|
What: /sys/devices/hv_24x7/interface/sockets
|
|
Date: May 2020
|
|
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
|
|
Description: read only
|
|
This sysfs interface exposes the number of sockets present in the
|
|
system.
|
|
|
|
What: /sys/devices/hv_24x7/interface/chipspersocket
|
|
Date: May 2020
|
|
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
|
|
Description: read only
|
|
This sysfs interface exposes the number of chips per socket
|
|
present in the system.
|
|
|
|
What: /sys/devices/hv_24x7/interface/coresperchip
|
|
Date: May 2020
|
|
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
|
|
Description: read only
|
|
This sysfs interface exposes the number of cores per chip
|
|
present in the system.
|
|
|
|
What: /sys/devices/hv_24x7/cpumask
|
|
Date: July 2020
|
|
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
|
|
Description: read only
|
|
This sysfs file exposes the cpumask which is designated to make
|
|
HCALLs to retrieve hv-24x7 pmu event counter data.
|
|
|
|
What: /sys/bus/event_source/devices/hv_24x7/event_descs/<event-name>
|
|
Date: February 2014
|
|
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
|
|
Description:
|
|
Provides the description of a particular event as provided by
|
|
the firmware. If firmware does not provide a description, no
|
|
file will be created.
|
|
|
|
Note that the event-name lacks the domain suffix appended for
|
|
events in the events/ dir.
|
|
|
|
What: /sys/bus/event_source/devices/hv_24x7/event_long_descs/<event-name>
|
|
Date: February 2014
|
|
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
|
|
Description:
|
|
Provides the "long" description of a particular event as
|
|
provided by the firmware. If firmware does not provide a
|
|
description, no file will be created.
|
|
|
|
Note that the event-name lacks the domain suffix appended for
|
|
events in the events/ dir.
|