From: ALOK TIWARI <alok.a.tiwari@oracle.com>
To: Vadim Pasternak <vadimp@nvidia.com>,
hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com
Cc: michaelsh@nvidia.com, platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH platform-next v10 2/2] Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces
Date: Thu, 1 May 2025 00:20:53 +0530 [thread overview]
Message-ID: <feb9e0a3-e82b-4223-9717-91b470411cb9@oracle.com> (raw)
In-Reply-To: <20250430155651.49732-3-vadimp@nvidia.com>
On 30-04-2025 21:26, Vadim Pasternak wrote:
> Add documentation for the new attributes:
> - Request and response for access to protetced flashes:
[clip]
> +
> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/global_wp_request
> +Date: May 2025
> +KernelVersion: 6.16
> +Contact: Vadim Pasternak <vadimp@nvidia.com>
> +Description: This file when written 1 activates request to allow access to
> + the write protected flashes. Such request can be performed only
> + for system equipped with BMC (Board Management Controller),
> + which can grant access to protected flashes. In case BMC allows
> + access - it will respond with "global_wp_response". BMC decides
> + regarding time window of granted access. After granted window is
> + expired, BMC will change value back to 0.
> + Default value is 0.
> +
> + The file is read/write.
> +
> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/global_wp_response
> +Date: May 2025
> +KernelVersion: 6.16
> +Contact: Vadim Pasternak <vadimp@nvidia.com>
> +Description: This file, when set 1, indicates that access to protected
> + flashes have been granted to host CPU by BMC.
> + Default value is 0.
> +
> + 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
email angle brackets (< >) for contact
> +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
> +Contact: Vadim Pasternak <vadimp@nvidia.com>
> +Description: These files show the Data Process Unit board boot progress
> + state. Valid states are:
> + - 4 : OS starting.
> + - 5 : OS running.
> + - 6 : Low-Power Standby.
> +
> + The file is read only.
> +
> +What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/dpu_id
> +Date: May 2025
> +KernelVersion: 6.16
> +Contact: Vadim Pasternak <vadimp@nvidia.com>
> +Description: This file shows hardware Id of Data Process Unit board.
> +
> + The file is read only.
> +
> +What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/reset_aux_pwr_or_reload
> +What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/reset_dpu_thermal
> +What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/reset_from_main_board
> +Date: May 2025
> +KernelVersion: 6.16
> +Contact: Vadim Pasternak <vadimp@nvidia.com>
> +Description: These files show the Data Process Unit board reset cause, as
> + following: reset due to power auxiliary outage or power reload, reset
> + due to thermal shutdown, reset due to request from main board.
better to break big sentence
These files expose the cause of the most recent reset of the
Data Processing Unit (DPU) board. The possible causes are:
- Power auxiliary outage or power reload
- Thermal shutdown
- Reset request from the main board
> + Value 1 in file means this is reset cause, 0 - otherwise. Only one of
> + the above causes could be 1 at the same time, representing only last
> + reset cause.
> +
> + The files are read only.
> +
Thanks,
Alok
prev parent reply other threads:[~2025-04-30 18:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-30 15:56 [PATCH platform-next v10 0/2] Add support for new systems, documentation Vadim Pasternak
2025-04-30 15:56 ` [PATCH platform-next v10 1/2] platform: mellanox: nvsw-sn2200: Add support for new system flavour Vadim Pasternak
2025-04-30 18:33 ` ALOK TIWARI
2025-04-30 15:56 ` [PATCH platform-next v10 2/2] Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces Vadim Pasternak
2025-04-30 18:50 ` ALOK TIWARI [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=feb9e0a3-e82b-4223-9717-91b470411cb9@oracle.com \
--to=alok.a.tiwari@oracle.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=michaelsh@nvidia.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