linux-imx/Documentation/ABI/testing/sysfs-class-mei
Mauro Carvalho Chehab 0d502366d6 ABI: sysfs-class-mei: use wildcards on What definitions
An "N" upper letter is not a wildcard, nor can easily be identified
by script, specially since the USB sysfs define things like.
bNumInterfaces. Use, instead, <N>, in order to let script/get_abi.pl
to convert it into a Regex.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/3789f936a637f1b4059400099ae7a592cd4df8f5.1631782432.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-21 18:31:16 +02:00

2.8 KiB

What: /sys/class/mei/ Date: May 2014 KernelVersion: 3.17 Contact: Tomas Winkler tomas.winkler@intel.com Description: The mei/ class sub-directory belongs to mei device class

What: /sys/class/mei/mei/ Date: May 2014 KernelVersion: 3.17 Contact: Tomas Winkler tomas.winkler@intel.com Description: The /sys/class/mei/meiN directory is created for each probed mei device

What: /sys/class/mei/mei/fw_status Date: Nov 2014 KernelVersion: 3.19 Contact: Tomas Winkler tomas.winkler@intel.com Description: Display fw status registers content

	The ME FW writes its status information into fw status
	registers for BIOS and OS to monitor fw health.

	The register contains running state, power management
	state, error codes, and others. The way the registers
	are decoded depends on PCH or SoC generation.
	Also number of registers varies between 1 and 6
	depending on generation.

What: /sys/class/mei/mei/hbm_ver Date: Aug 2016 KernelVersion: 4.9 Contact: Tomas Winkler tomas.winkler@intel.com Description: Display the negotiated HBM protocol version.

	The HBM protocol version negotiated
	between the driver and the device.

What: /sys/class/mei/mei/hbm_ver_drv Date: Aug 2016 KernelVersion: 4.9 Contact: Tomas Winkler tomas.winkler@intel.com Description: Display the driver HBM protocol version.

	The HBM protocol version supported by the driver.

What: /sys/class/mei/mei/tx_queue_limit Date: Jan 2018 KernelVersion: 4.16 Contact: Tomas Winkler tomas.winkler@intel.com Description: Configure tx queue limit

	Set maximal number of pending writes
	per opened session.

What: /sys/class/mei/mei/fw_ver Date: May 2018 KernelVersion: 4.18 Contact: Tomas Winkler tomas.winkler@intel.com Description: Display the ME firmware version.

	The version of the platform ME firmware is in format:
	<platform>:<major>.<minor>.<milestone>.<build_no>.
	There can be up to three such blocks for different
	FW components.

What: /sys/class/mei/mei/dev_state Date: Mar 2019 KernelVersion: 5.1 Contact: Tomas Winkler tomas.winkler@intel.com Description: Display the ME device state.

	The device state can have following values:
	INITIALIZING
	INIT_CLIENTS
	ENABLED
	RESETTING
	DISABLED
	POWER_DOWN
	POWER_UP

What: /sys/class/mei/mei/trc Date: Nov 2019 KernelVersion: 5.5 Contact: Tomas Winkler tomas.winkler@intel.com Description: Display trc status register content

	The ME FW writes Glitch Detection HW (TRC)
	status information into trc status register
	for BIOS and OS to monitor fw health.

What: /sys/class/mei/mei/kind Date: Jul 2020 KernelVersion: 5.8 Contact: Tomas Winkler tomas.winkler@intel.com Description: Display kind of the device

	Generic devices are marked as "mei"
	while special purpose have their own
	names.
	Available options:
	- mei:  generic mei device.
	- itouch:  itouch (ipts) mei device.