mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: TAKANO Mitsuhiro <takano32@gmail.com>,
	Jonathan Corbet <corbet@lwn.net>,
	linux-doc@vger.kernel.org
Cc: "Shuah Khan" <skhan@linuxfoundation.org>,
	"Mauro Carvalho Chehab" <mchehab+huawei@kernel.org>,
	"Jiri Kosina" <jikos@kernel.org>,
	"Benjamin Tissoires" <bentiss@kernel.org>,
	linux-input@vger.kernel.org, "Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Vadim Pasternak" <vadimp@nvidia.com>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] docs: ABI: mlxreg-io: Drop the second shutdown_unlock entry
Date: Thu, 3 Dec 2026 16:59:39 -0800	[thread overview]
Message-ID: <7bca01a5-0db1-45d6-8402-447d6a797ca0@infradead.org> (raw)
In-Reply-To: <20261125221758.2535044-2-takano32@gmail.com>



On 11/25/26 2:17 PM, TAKANO Mitsuhiro wrote:
> 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@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
> 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@nvidia.com>
> -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

-- 
~Randy

  reply	other threads:[~2026-12-04  0:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 22:17 [PATCH v2 0/3] docs: ABI: report a symbol that one file describes twice TAKANO Mitsuhiro
2026-11-25 22:17 ` [PATCH v2 1/3] docs: ABI: mlxreg-io: Drop the second shutdown_unlock entry TAKANO Mitsuhiro
2026-12-04  0:59   ` Randy Dunlap [this message]
2026-11-25 22:17 ` [PATCH v2 2/3] docs: ABI: hid-lenovo-go: Point one entry at the top-level attribute TAKANO Mitsuhiro
2026-12-04  0:59   ` Randy Dunlap
2026-11-25 22:17 ` [PATCH v2 3/3] docs: python: abi_parser: Detect a symbol repeated on one file TAKANO Mitsuhiro
2026-12-04  0:59   ` Randy Dunlap
2026-12-01 14:51 ` [PATCH v2 0/3] docs: ABI: report a symbol that one file describes twice Ilpo Järvinen
2026-12-01 14:54   ` Jonathan Corbet
2026-12-01 14:58     ` Ilpo Järvinen
2026-12-01 15:16       ` Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7bca01a5-0db1-45d6-8402-447d6a797ca0@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=bentiss@kernel.org \
    --cc=corbet@lwn.net \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=jikos@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab+huawei@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=takano32@gmail.com \
    --cc=vadimp@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®