From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.137.202.133 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796345981; b=VutPDmFBQnp6LoG/S5DI4dmLAoB68IsGN435N3q1cifzqVSWWogXTYZws4Cz5FRhkHOG EwpUBfZmGIpZeb+rgFKAMGt2xBwxIzLtTSTEcbNiReZJ2E1eYqIo/oWOKFtzJ0bUjeZyY J09DLTnubjeqCXEhoNgzetrtqMgIhsiuF3co6+J+Lwz2wPN08FozWz/cp/oxwYov4IMmI ZS9yY8hZ1NFuNERjXF+7Etc1h9Rh8PkqkNgiISn98AeZ4xx4eLoJsNo7ef3Y8U5AA95AM iNdcXmM/r4PYLRoPWIf7VhWPST/ubaUqli3ZKdTOrQYChZI2RtUw7QtcGshYr0KEZeg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796345981; h=DMARC-Filter:DKIM-Signature:Received:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=wCU0eTlQ/OGowuSlMNGlQtu8FArawNQWCUsEMsfH/ro=; b=BUsG8v3r/DMBkj2fa3R4KfW7JljFHErYZfWfC1dK0i6KtlYFSJu2/0yLscIyiq7Rt6TP DCrfOO+bajzrbSoXBPRD/Xafu3SXnqjkHdPBhRar4fUgJJL8YYDeAmyNQkoncotlAmj53 G5il/0kpBsbjLAKIWUUEdsdVHSzc0Qkm5BlmZ4A+Dr0+mYiRxdzViG08aE/WorGIodi9/ bWeeu5rdMVdERZhcN89Yd1uR88IUWQqurvy3U3PggvpwpQ4Q1TfV9ziYGB10rnQWtBf8T ftc6T8ulIbkDQns/b2ypzUEmPFHTFupxzIkmMMwh20lSg8kDVIdJg8tdephlx/f1KzQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=J1dGbxpJ; arc=none smtp.remote-ip=198.137.202.133 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2014F606A6AF; Fri, 4 Dec 2026 00:59:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2014F606A6AF Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=J1dGbxpJ DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=wCU0eTlQ/OGowuSlMNGlQtu8FArawNQWCUsEMsfH/ro=; b=J1dGbxpJ0lvvqUq6SGGSWV4EE5 7TAZIJIiUNapkqruf9PW9gNFvch2dSZasJ4FqKA5mY2nzAy/oycoNll9qP0lUzfP6uNBgBVGSAU0J qXFO1etpLxMHA/iyYqYXpcKVHCC8N1OhfPNDmSsbf2BCKjAGJ35IJ6HGXs39eDCHBnxgg+4/vOTZe lyAJe+5kJ+mcjEHLU/DsuP6cDxiM7VxgBXCx9ZyDClVG00bBqZEOj/V3Af6M9QZ66znyb6IJqa2IY B8qLODlCfo1Le7K2pvujwDIdAp5pLtlyzvWbitF7f7XISyh2+E1mTOhAeOMkdZAc2IigcHhnc1VYF 5drdDEgw==; Received: from [50.53.43.113] (helo=[192.168.254.34]) by bombadil.infradead.org with esmtpsa (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZHeG-0000000GI3G-2Mty; Fri, 04 Dec 2026 00:59:40 +0000 Message-ID: <7bca01a5-0db1-45d6-8402-447d6a797ca0@infradead.org> Date: Thu, 3 Dec 2026 16:59:39 -0800 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] docs: ABI: mlxreg-io: Drop the second shutdown_unlock entry To: TAKANO Mitsuhiro , Jonathan Corbet , linux-doc@vger.kernel.org Cc: Shuah Khan , Mauro Carvalho Chehab , Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org, Hans de Goede , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Vadim Pasternak , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261125221758.2535044-1-takano32@gmail.com> <20261125221758.2535044-2-takano32@gmail.com> Content-Language: en-US From: Randy Dunlap In-Reply-To: <20261125221758.2535044-2-takano32@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 Acked-by: Randy Dunlap Tested-by: Randy Dunlap 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 > -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