xref: /linux/Documentation/ABI/testing/sysfs-class-mei (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
1602214dbSTomas WinklerWhat:		/sys/class/mei/
2602214dbSTomas WinklerDate:		May 2014
3602214dbSTomas WinklerKernelVersion:	3.17
4602214dbSTomas WinklerContact:	Tomas Winkler <tomas.winkler@intel.com>
5602214dbSTomas WinklerDescription:
6602214dbSTomas Winkler		The mei/ class sub-directory belongs to mei device class
7602214dbSTomas Winkler
8602214dbSTomas Winkler
9*0d502366SMauro Carvalho ChehabWhat:		/sys/class/mei/mei<N>/
10602214dbSTomas WinklerDate:		May 2014
11602214dbSTomas WinklerKernelVersion:	3.17
12602214dbSTomas WinklerContact:	Tomas Winkler <tomas.winkler@intel.com>
13602214dbSTomas WinklerDescription:
14602214dbSTomas Winkler		The /sys/class/mei/meiN directory is created for
15602214dbSTomas Winkler		each probed mei device
16602214dbSTomas Winkler
17*0d502366SMauro Carvalho ChehabWhat:		/sys/class/mei/mei<N>/fw_status
187e4a90cbSTomas WinklerDate:		Nov 2014
197e4a90cbSTomas WinklerKernelVersion:	3.19
207e4a90cbSTomas WinklerContact:	Tomas Winkler <tomas.winkler@intel.com>
217e4a90cbSTomas WinklerDescription:	Display fw status registers content
227e4a90cbSTomas Winkler
237e4a90cbSTomas Winkler		The ME FW writes its status information into fw status
247e4a90cbSTomas Winkler		registers for BIOS and OS to monitor fw health.
257e4a90cbSTomas Winkler
267e4a90cbSTomas Winkler		The register contains running state, power management
277e4a90cbSTomas Winkler		state, error codes, and others. The way the registers
287e4a90cbSTomas Winkler		are decoded depends on PCH or SoC generation.
297e4a90cbSTomas Winkler		Also number of registers varies between 1 and 6
307e4a90cbSTomas Winkler		depending on generation.
317e4a90cbSTomas Winkler
32*0d502366SMauro Carvalho ChehabWhat:		/sys/class/mei/mei<N>/hbm_ver
3388d1beceSAlexander UsyskinDate:		Aug 2016
3488d1beceSAlexander UsyskinKernelVersion:	4.9
3588d1beceSAlexander UsyskinContact:	Tomas Winkler <tomas.winkler@intel.com>
3688d1beceSAlexander UsyskinDescription:	Display the negotiated HBM protocol version.
3788d1beceSAlexander Usyskin
3888d1beceSAlexander Usyskin		The HBM protocol version negotiated
3988d1beceSAlexander Usyskin		between the driver and the device.
4088d1beceSAlexander Usyskin
41*0d502366SMauro Carvalho ChehabWhat:		/sys/class/mei/mei<N>/hbm_ver_drv
4288d1beceSAlexander UsyskinDate:		Aug 2016
4388d1beceSAlexander UsyskinKernelVersion:	4.9
4488d1beceSAlexander UsyskinContact:	Tomas Winkler <tomas.winkler@intel.com>
4588d1beceSAlexander UsyskinDescription:	Display the driver HBM protocol version.
4688d1beceSAlexander Usyskin
4788d1beceSAlexander Usyskin		The HBM protocol version supported by the driver.
48af336cabSAlexander Usyskin
49*0d502366SMauro Carvalho ChehabWhat:		/sys/class/mei/mei<N>/tx_queue_limit
50af336cabSAlexander UsyskinDate:		Jan 2018
51af336cabSAlexander UsyskinKernelVersion:	4.16
52af336cabSAlexander UsyskinContact:	Tomas Winkler <tomas.winkler@intel.com>
53af336cabSAlexander UsyskinDescription:	Configure tx queue limit
54af336cabSAlexander Usyskin
55af336cabSAlexander Usyskin		Set maximal number of pending writes
56af336cabSAlexander Usyskin		per opened session.
573cfaeb33SAlexander Usyskin
58*0d502366SMauro Carvalho ChehabWhat:		/sys/class/mei/mei<N>/fw_ver
593cfaeb33SAlexander UsyskinDate:		May 2018
603cfaeb33SAlexander UsyskinKernelVersion:	4.18
613cfaeb33SAlexander UsyskinContact:	Tomas Winkler <tomas.winkler@intel.com>
623cfaeb33SAlexander UsyskinDescription:	Display the ME firmware version.
633cfaeb33SAlexander Usyskin
643cfaeb33SAlexander Usyskin		The version of the platform ME firmware is in format:
653cfaeb33SAlexander Usyskin		<platform>:<major>.<minor>.<milestone>.<build_no>.
663cfaeb33SAlexander Usyskin		There can be up to three such blocks for different
673cfaeb33SAlexander Usyskin		FW components.
6843b8a7edSAlexander Usyskin
69*0d502366SMauro Carvalho ChehabWhat:		/sys/class/mei/mei<N>/dev_state
7043b8a7edSAlexander UsyskinDate:		Mar 2019
7143b8a7edSAlexander UsyskinKernelVersion:	5.1
7243b8a7edSAlexander UsyskinContact:	Tomas Winkler <tomas.winkler@intel.com>
7343b8a7edSAlexander UsyskinDescription:	Display the ME device state.
7443b8a7edSAlexander Usyskin
7543b8a7edSAlexander Usyskin		The device state can have following values:
7643b8a7edSAlexander Usyskin		INITIALIZING
7743b8a7edSAlexander Usyskin		INIT_CLIENTS
7843b8a7edSAlexander Usyskin		ENABLED
7943b8a7edSAlexander Usyskin		RESETTING
8043b8a7edSAlexander Usyskin		DISABLED
8143b8a7edSAlexander Usyskin		POWER_DOWN
8243b8a7edSAlexander Usyskin		POWER_UP
8352f6efdfSAlexander Usyskin
84*0d502366SMauro Carvalho ChehabWhat:		/sys/class/mei/mei<N>/trc
8552f6efdfSAlexander UsyskinDate:		Nov 2019
8652f6efdfSAlexander UsyskinKernelVersion:	5.5
8752f6efdfSAlexander UsyskinContact:	Tomas Winkler <tomas.winkler@intel.com>
8852f6efdfSAlexander UsyskinDescription:	Display trc status register content
8952f6efdfSAlexander Usyskin
9052f6efdfSAlexander Usyskin		The ME FW writes Glitch Detection HW (TRC)
9152f6efdfSAlexander Usyskin		status information into trc status register
9252f6efdfSAlexander Usyskin		for BIOS and OS to monitor fw health.
932f79d3d1SAlexander Usyskin
94*0d502366SMauro Carvalho ChehabWhat:		/sys/class/mei/mei<N>/kind
952f79d3d1SAlexander UsyskinDate:		Jul 2020
962f79d3d1SAlexander UsyskinKernelVersion:	5.8
972f79d3d1SAlexander UsyskinContact:	Tomas Winkler <tomas.winkler@intel.com>
982f79d3d1SAlexander UsyskinDescription:	Display kind of the device
992f79d3d1SAlexander Usyskin
1002f79d3d1SAlexander Usyskin		Generic devices are marked as "mei"
1012f79d3d1SAlexander Usyskin		while special purpose have their own
1022f79d3d1SAlexander Usyskin		names.
1032f79d3d1SAlexander Usyskin		Available options:
1042f79d3d1SAlexander Usyskin		- mei:  generic mei device.
1052f79d3d1SAlexander Usyskin		- itouch:  itouch (ipts) mei device.
106