[PATCH v2 1/3] docs: ABI: mlxreg-io: Drop the second shutdown_unlock entry

From: TAKANO Mitsuhiro

Date: Wed Nov 25 2026 - 17:18:11 EST


Commit 4e29dd3821df ("Documentation/ABI: Add new attribute for
mlxreg-io sysfs interfaces") added shutdown_unlock as a new attribute,
but sysfs-driver-mlxreg-io already described it in the October 2021
block. The tree ended up with two entries for the same file, and with
two different defaults: the older one says "Default is 1", the newer
one says "Default value is 0".

Keep the entry that came first, which documents the behaviour in full
and carries the kernel version the attribute appeared in, and drop the
later copy.

Which default applies is a property of the board's CPLD, not of the
driver: mlxreg_io_attr_show() returns the register bit as it is.

Verification: get_abi.py --dir Documentation/ABI validate no longer
reports shutdown_unlock twice.

Signed-off-by: TAKANO Mitsuhiro <takano32@xxxxxxxxx>
---
Changes in v2:
- The documents are fixed before the checker is added, so the tree
does not gain warnings in the middle of the series.
- The internal MCU protocol_version entry points at the top-level
attribute; v1 gave it the prefix of the removable controller's
group, which made it name the same file as that entry.
- The checker keeps its warning for an entry without a file, counts
lines rather than occurrences, and drops an unused loop key.

Documentation/ABI/stable/sysfs-driver-mlxreg-io | 12 ------------
1 file changed, 12 deletions(-)

diff --git a/Documentation/ABI/stable/sysfs-driver-mlxreg-io b/Documentation/ABI/stable/sysfs-driver-mlxreg-io
index f59461111221..00cff8965b22 100644
--- a/Documentation/ABI/stable/sysfs-driver-mlxreg-io
+++ b/Documentation/ABI/stable/sysfs-driver-mlxreg-io
@@ -741,18 +741,6 @@ Description: This file, when set 1, indicates that access to protected

The file is read only.

-What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/shutdown_unlock
-Date: May 2025
-KernelVersion: 6.16
-Contact: Vadim Pasternak <vadimp@xxxxxxxxxx>
-Description: When ASICs are getting overheated, system protection
- hardware mechanism enforces system reboot. After system
- reboot ASICs come up in locked state. To unlock ASICs,
- this file should be written 1
- Default value is 0.
-
- The file is read/write.
-
What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/boot_progress
Date: May 2025
KernelVersion: 6.16
--
2.53.0