From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Vadim Pasternak <vadimp@nvidia.com>
Cc: Hans de Goede <hdegoede@redhat.com>,
michaelsh@nvidia.com, crajank@nvidia.com, fradensky@nvidia.com,
oleksandrs@nvidia.com, platform-driver-x86@vger.kernel.org
Subject: Re: [PATCH v5 12/12] Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces
Date: Mon, 3 Feb 2025 16:40:03 +0200 (EET) [thread overview]
Message-ID: <ca13e75e-3d39-61ea-7195-29fe87fc3a30@linux.intel.com> (raw)
In-Reply-To: <20250124172632.22437-13-vadimp@nvidia.com>
On Fri, 24 Jan 2025, Vadim Pasternak wrote:
> Add documentation for the new attributes:
> - Request and response for access to protetced flashes:
> "global_wp_request", "global_wp_response".
> Only for systems equipped with BMC - grant can be provided only by
> BMC in case its security policy allows to grant access.
> - Request to unlock ASICs, which has been shutdown due-to ASIC thermal
> event: "shutdown_unlock".
> - Data processor Units (DPU) boot progress: "boot_progress".
> - DPU reset causes: "reset_aux_pwr_or_reload", "reset_dpu_thermal",
> "reset_from_main_board".
> - Reset control for DPU components: "perst_rst", "phy_rst", "tpm_rst",
> "usbphy_rst".
> - DPU Unified Fabric Manager upgrade - "ufm_upgrade".
> - Hardware Id of Data Process Unit board - "dpu_id".
>
> Reviewed-by: Michael Shych <michaelsh@nvidia.com>
> Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
> ---
> .../ABI/stable/sysfs-driver-mlxreg-io | 96 +++++++++++++++++++
> 1 file changed, 96 insertions(+)
>
> diff --git a/Documentation/ABI/stable/sysfs-driver-mlxreg-io b/Documentation/ABI/stable/sysfs-driver-mlxreg-io
> index 2cdfd09123da..ef6526a6de55 100644
> --- a/Documentation/ABI/stable/sysfs-driver-mlxreg-io
> +++ b/Documentation/ABI/stable/sysfs-driver-mlxreg-io
> @@ -715,3 +715,99 @@ Description: This file shows 1 in case the system reset happened due to the
> switch board.
>
> The file is read only.
> +
> +What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/global_wp_request
> +Date: January 2025
Please estimate the actual release date.
> +KernelVersion: 6.14
This ship has sailed.
> +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: January 2025
> +KernelVersion: 6.14
> +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: January 2025
> +KernelVersion: 6.14
> +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: January 2025
> +KernelVersion: 6.14
> +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: January 2025
> +KernelVersion: 6.14
> +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: January 2025
> +KernelVersion: 6.14
> +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.
> + 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.
> +
> +What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/perst_rst
> +What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/phy_rst
> +What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/tpm_rst
> +What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/usbphy_rst
> +Date: January 2025
> +KernelVersion: 6.14
> +Contact: Vadim Pasternak <vadimp@nvidia.com>
> +Description: These files allow to reset hardware components of Data Process
> + Unit board. Respectively PCI, Ethernet PHY, TPM and USB PHY
> + resets.
> + Default values for all the attributes is 1. Writing 0 will
> + cause reset of the related component.
> +
> + The files are read/write.
> +
> +What: /sys/devices/platform/mlxplat/i2c_mlxcpld.*/i2c-*/i2c-*/*-00**/mlxreg-io.*/hwmon/hwmon*/ufm_upgrade
> +Date: January 2025
> +KernelVersion: 6.14
> +Contact: Vadim Pasternak <vadimp@nvidia.com>
> +Description: These files show status of Unified Fabric Manager upgrade.
> + state. 0 - means upgrade is done, 1 - otherwise.
> +
> + The file is read only.
>
--
i.
prev parent reply other threads:[~2025-02-03 14:40 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-24 17:26 [PATCH v5 00/12] platform/mellanox: Add support for new systems, amendments, relocate mlx-platform module Vadim Pasternak
2025-01-24 17:26 ` [PATCH v5 01/12] mellanox: Relocate mlx-platform driver Vadim Pasternak
2025-02-04 14:33 ` Ilpo Järvinen
2025-01-24 17:26 ` [PATCH v5 02/12] platform: mellanox: mlx-platform: Cosmetic changes Vadim Pasternak
2025-01-24 17:26 ` [PATCH v5 03/12] platform: mellanox: mlx-platform: Change register name Vadim Pasternak
2025-01-24 17:26 ` [PATCH v5 04/12] platform_data/mlxreg: Add capability bit and mask fields Vadim Pasternak
2025-02-03 13:50 ` Ilpo Järvinen
2025-02-10 20:30 ` Vadim Pasternak
2025-01-24 17:26 ` [PATCH v5 05/12] platform/mellanox: mlxreg-hotplug: Add support for new flavor of capability registers Vadim Pasternak
2025-02-03 13:47 ` Ilpo Järvinen
2025-02-10 20:30 ` Vadim Pasternak
2025-02-11 14:48 ` Ilpo Järvinen
2025-01-24 17:26 ` [PATCH v5 06/12] platform/mellanox: Rename field to improve code readability Vadim Pasternak
2025-02-03 13:52 ` Ilpo Järvinen
2025-01-24 17:26 ` [PATCH v5 07/12] platform/mellanox: mlxreg-dpu: Add initial support for Nvidia DPU Vadim Pasternak
2025-02-03 14:20 ` Ilpo Järvinen
2025-01-24 17:26 ` [PATCH v5 08/12] platform: mellanox: Introduce support of Nvidia smart switch Vadim Pasternak
2025-02-03 14:32 ` Ilpo Järvinen
2025-01-24 17:26 ` [PATCH v5 09/12] platform: mellanox: Cosmetic changes to improve code style Vadim Pasternak
2025-02-03 14:35 ` Ilpo Järvinen
2025-01-24 17:26 ` [PATCH v5 10/12] platform: mellanox: mlx-platform: Add support for new Nvidia system Vadim Pasternak
2025-02-03 14:38 ` Ilpo Järvinen
2025-01-24 17:26 ` [PATCH v5 11/12] platform: mellanox: nvsw-sn2200: Add support for new system flavour Vadim Pasternak
2025-01-24 17:26 ` [PATCH v5 12/12] Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces Vadim Pasternak
2025-02-03 14:40 ` Ilpo Järvinen [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=ca13e75e-3d39-61ea-7195-29fe87fc3a30@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=crajank@nvidia.com \
--cc=fradensky@nvidia.com \
--cc=hdegoede@redhat.com \
--cc=michaelsh@nvidia.com \
--cc=oleksandrs@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