From: Hans de Goede <hdegoede@redhat.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Vadim Pasternak" <vadimp@nvidia.com>
Cc: platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH platform-next v4 16/16] Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces
Date: Tue, 22 Aug 2023 18:27:28 +0200 [thread overview]
Message-ID: <653e30a8-6170-d6c0-ebec-dba329c93f92@redhat.com> (raw)
In-Reply-To: <95c7a3be-5710-acbc-59d2-f5d4fc07c8d2@redhat.com>
Hi,
On 8/22/23 17:51, Hans de Goede wrote:
> Hi,
>
> On 8/22/23 13:43, Ilpo Järvinen wrote:
>> On Tue, 22 Aug 2023, Vadim Pasternak wrote:
>>
>>> Add documentation for the new attributes:
>>> - CPLD versioning: "cpld5_pn", "cpld5_version", "cpld5_version_min".
>>> - JTAG capability: "jtag_cap", indicating the available method of
>>> CPLD/FPGA devices field update.
>>> - System lid status: "lid_open".
>>> - Reset caused by long press of power button: "reset_long_pwr_pb".
>>> - Reset caused by switch board DC-DC converter device failure:
>>> "reset_swb_dc_dc_pwr_fail".
>>>
>>> Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
>>> Reviewed-by: Michael Shych <michaelsh@nvidia.com>
>>> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
>>> ---
>>> v3->v4:
>>> Comments provided by Ilpo:
>>> - Modify desription for "reset_swb_dc_dc_pwr_fail".
>
> Thank you for your patch-series, I've applied the series to my
> review-hans branch:
> https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
>
> Note it will show up in my review-hans branch once I've pushed my
> local branch there, which might take a while.
>
> Once I've run some tests on this branch the patches there will be
> added to the platform-drivers-x86/for-next branch and eventually
> will be included in the pdx86 pull-request to Linus for the next
> merge-window.
Quick follow up I've squashed in a few whitespace changes
into this (16/16) patch to fix a new "make htmldocs" warning:
/home/hans/projects/platform-drivers-x86/Documentation/ABI/stable/sysfs-driver-mlxreg-io:679: ERROR: Unexpected indentation.
Regards,
Hans
>
> Regards,
>
> Hans
>
>
>>> v2->v3:
>>> Comments provided by Hans:
>>> - Document new attribute "reset_swb_dc_dc_pwr_fail".
>>> ---
>>> .../ABI/stable/sysfs-driver-mlxreg-io | 52 +++++++++++++++++++
>>> 1 file changed, 52 insertions(+)
>>>
>>> diff --git a/Documentation/ABI/stable/sysfs-driver-mlxreg-io b/Documentation/ABI/stable/sysfs-driver-mlxreg-io
>>> index 60953903d007..115302236627 100644
>>> --- a/Documentation/ABI/stable/sysfs-driver-mlxreg-io
>>> +++ b/Documentation/ABI/stable/sysfs-driver-mlxreg-io
>>> @@ -662,3 +662,55 @@ Description: This file shows the system reset cause due to AC power failure.
>>> Value 1 in file means this is reset cause, 0 - otherwise.
>>>
>>> The file is read only.
>>> +
>>> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld5_pn
>>> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld5_version
>>> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld5_version_min
>>> +Date: August 2023
>>> +KernelVersion: 6.6
>>> +Contact: Vadim Pasternak <vadimp@nvidia.com>
>>> +Description: These files show with which CPLD part numbers, version and minor
>>> + versions have been burned the 5-th CPLD device equipped on a
>>> + system.
>>> +
>>> + The files are read only.
>>> +
>>> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_cap
>>> +Date: August 2023
>>> +KernelVersion: 6.6
>>> +Contact: Vadim Pasternak <vadimp@nvidia.com>
>>> +Description: This file indicates the available method of CPLD/FPGA devices
>>> + field update through the JTAG chain:
>>> + b00 - field update through LPC bus register memory space.
>>> + b01 - Reserved.
>>> + b10 - Reserved.
>>> + b11 - field update through CPU GPIOs bit-banging.
>>> +
>>> + The file is read only.
>>> +
>>> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/lid_open
>>> +Date: August 2023
>>> +KernelVersion: 6.6
>>> +Contact: Vadim Pasternak <vadimp@nvidia.com>
>>> +Description: 1 - indicates that system lid is opened, otherwise 0.
>>> +
>>> + The file is read only.
>>> +
>>> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_long_pwr_pb
>>> +Date: August 2023
>>> +KernelVersion: 6.6
>>> +Contact: Vadim Pasternak <vadimp@nvidia.com>
>>> +Description: This file if set 1 indicates that system has been reset by
>>> + long press of power button.
>>> +
>>> + The file is read only.
>>> +
>>> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_dc_dc_pwr_fail
>>> +Date: August 2023
>>> +KernelVersion: 6.6
>>> +Contact: Vadim Pasternak <vadimp@nvidia.com>
>>> +Description: This file shows 1 in case the system reset happened due to the
>>> + failure of any DC-DC power converter devices equipped on the
>>> + switch board.
>>> +
>>> + The file is read only.
>>
>> Thanks a lot, much clearer wording now.
>>
>> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
>>
prev parent reply other threads:[~2023-08-22 16:28 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-22 11:34 [PATCH platform-next v4 00/16] Add new features and amendments for Nvidia systems Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 01/16] platform: mellanox: Add new attributes Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 02/16] platform: mellanox: Add field upgrade capability register Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 03/16] platform: mellanox: Modify reset causes description Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 04/16] platform: mellanox: mlx-platform: Modify health and power hotplug action Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 05/16] platform: mellanox: mlx-platform: Add reset cause attribute Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 06/16] platform: mellanox: mlx-platform: add support for additional CPLD Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 07/16] platform: mellanox: mlx-platform: Modify power off callback Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 08/16] platform: mellanox: Cosmetic changes Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 09/16] platform: mellanox: mlx-platform: Add reset callback Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 10/16] platform: mellanox: mlx-platform: Prepare driver to allow probing through ACPI infrastructure Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 11/16] platform: mellanox: mlx-platform: Introduce ACPI init flow Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 12/16] platform: mellanox: mlx-platform: Get interrupt line through ACPI Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 13/16] platform: mellanox: Add initial support for PCIe based programming logic device Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 14/16] platform/mellanox: mlxreg-hotplug: Extend condition for notification callback processing Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 15/16] platform: mellanox: nvsw-sn2201: change fans i2c busses Vadim Pasternak
2023-08-22 11:34 ` [PATCH platform-next v4 16/16] Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces Vadim Pasternak
2023-08-22 11:43 ` Ilpo Järvinen
2023-08-22 12:45 ` Vadim Pasternak
2023-08-22 15:51 ` Hans de Goede
2023-08-22 16:27 ` Hans de Goede [this message]
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=653e30a8-6170-d6c0-ebec-dba329c93f92@redhat.com \
--to=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=platform-driver-x86@vger.kernel.org \
--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