mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 19:25:27 +07:00
77dcc95e20
This is a follow-up commit for the sysfs attributes to change
from DRIVER_ATTR to DEVICE_ATTR according to some initial comments.
In such case, it's better to point the sysfs path to the device
itself instead of the driver. The ABI document is also updated.
Fixes: 79e29cb8fb
("platform/mellanox: Add bootctl driver for Mellanox BlueField Soc")
Signed-off-by: Liming Sun <lsun@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
59 lines
2.1 KiB
Plaintext
59 lines
2.1 KiB
Plaintext
What: /sys/bus/platform/devices/MLNXBF04:00/lifecycle_state
|
|
Date: Oct 2019
|
|
KernelVersion: 5.5
|
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
|
Description:
|
|
The Life-cycle state of the SoC, which could be one of the
|
|
following values.
|
|
Production - Production state and can be updated to secure
|
|
GA Secured - Secure chip and not able to change state
|
|
GA Non-Secured - Non-Secure chip and not able to change state
|
|
RMA - Return Merchandise Authorization
|
|
|
|
What: /sys/bus/platform/devices/MLNXBF04:00/post_reset_wdog
|
|
Date: Oct 2019
|
|
KernelVersion: 5.5
|
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
|
Description:
|
|
The watchdog setting in seconds for the next booting. It's used
|
|
to reboot the chip and recover it to the old state if the new
|
|
boot partition fails.
|
|
|
|
What: /sys/bus/platform/devices/MLNXBF04:00/reset_action
|
|
Date: Oct 2019
|
|
KernelVersion: 5.5
|
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
|
Description:
|
|
The source of the boot stream for the next reset. It could be
|
|
one of the following values.
|
|
external - boot from external source (USB or PCIe)
|
|
emmc - boot from the onchip eMMC
|
|
emmc_legacy - boot from the onchip eMMC in legacy (slow) mode
|
|
|
|
What: /sys/bus/platform/devices/MLNXBF04:00/second_reset_action
|
|
Date: Oct 2019
|
|
KernelVersion: 5.5
|
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
|
Description:
|
|
Update the source of the boot stream after next reset. It could
|
|
be one of the following values and will be applied after next
|
|
reset.
|
|
external - boot from external source (USB or PCIe)
|
|
emmc - boot from the onchip eMMC
|
|
emmc_legacy - boot from the onchip eMMC in legacy (slow) mode
|
|
swap_emmc - swap the primary / secondary boot partition
|
|
none - cancel the action
|
|
|
|
What: /sys/bus/platform/devices/MLNXBF04:00/secure_boot_fuse_state
|
|
Date: Oct 2019
|
|
KernelVersion: 5.5
|
|
Contact: "Liming Sun <lsun@mellanox.com>"
|
|
Description:
|
|
The state of eFuse versions with the following values.
|
|
InUse - burnt, valid and currently in use
|
|
Used - burnt and valid
|
|
Free - not burnt and free to use
|
|
Skipped - not burnt but not free (skipped)
|
|
Wasted - burnt and invalid
|
|
Invalid - not burnt but marked as valid (error state).
|