[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190425202827.GD22307@kroah.com>
Date: Thu, 25 Apr 2019 22:28:27 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: richard.gong@...ux.intel.com
Cc: robh+dt@...nel.org, mark.rutland@....com, dinguyen@...nel.org,
atull@...nel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, Richard Gong <richard.gong@...el.com>
Subject: Re: [PATCHv1 5/6] firmware: rsu: document sysfs interface
On Tue, Apr 09, 2019 at 01:46:01PM -0500, richard.gong@...ux.intel.com wrote:
> From: Richard Gong <richard.gong@...el.com>
>
> Describe Intel Stratix10 Remote System Update (RSU) device attributes
>
> Signed-off-by: Richard Gong <richard.gong@...el.com>
> Reviewed-by: Alan Tull <atull@...nel.org>
> ---
> .../testing/sysfs-devices-platform-stratix10-rsu | 78 ++++++++++++++++++++++
> 1 file changed, 78 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu
>
> diff --git a/Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu b/Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu
> new file mode 100644
> index 0000000..cb461ee
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu
> @@ -0,0 +1,78 @@
> + Intel Stratix10 Remote System Update (RSU) device attributes
> +
> +What: /sys/devices/platform/soc:firmware:svc/soc:firmware:svc:rsu/current_image
> +Date: April 2019
> +KernelVersion: 5.2
> +Contact: Richard Gong <richard.gong@...el.com>
> +Description:
> + (RO) the address of image currently running in flash.
> +
> +What: /sys/devices/platform/soc:firmware:svc/soc:firmware:svc:rsu/fail_image
> +Date: April 2019
> +KernelVersion: 5.2
> +Contact: Richard Gong <richard.gong@...el.com>
> +Description:
> + (RO) the address of failed image in flash.
> +
> +What: /sys/devices/platform/soc:firmware:svc/soc:firmware:svc:rsu/state
> +Date: April 2019
> +KernelVersion: 5.2
> +Contact: Richard Gong <richard.gong@...el.com>
> +Description:
> + (RO) the state of RSU system.
> + The state field has two parts: major error code in upper 16 bits and minor error code
> + in lower 16 bits.
> + 1. Major error code
> + 0xF001 -- bitstream error
> + 0xF002 -- hardware access failure
> + 0xF003 -- bitstream corruption
> + 0xF004 -- internal error
> + 0xF005 -- device error
> + 0xF006 -- HPS watchdog timeout
> + 0xF007 -- internal unknown error
> + 2: Minor error code
> + Currently used only when major error is 0xF006 (HPS watchdog timeout), in which
> + case the minor error code is the value reported by HPS to firmware through the RSU notify
> + command before the watchdog timeout occurs.
Properly wrap your lines at 72 colums.
Powered by blists - more mailing lists