~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-firmware

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-class-firmware (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-class-firmware (Version linux-6.0.19)


  1 What:           /sys/class/firmware/.../data        1 What:           /sys/class/firmware/.../data
  2 Date:           July 2022                           2 Date:           July 2022
  3 KernelVersion:  5.19                                3 KernelVersion:  5.19
  4 Contact:        Russ Weight <russ.weight@linux. !!   4 Contact:        Russ Weight <russell.h.weight@intel.com>
  5 Description:    The data sysfs file is used fo      5 Description:    The data sysfs file is used for firmware-fallback and for
  6                 firmware uploads. Cat a firmwa      6                 firmware uploads. Cat a firmware image to this sysfs file
  7                 after you echo 1 to the loadin      7                 after you echo 1 to the loading sysfs file. When the firmware
  8                 image write is complete, echo       8                 image write is complete, echo 0 to the loading sysfs file. This
  9                 sequence will signal the compl      9                 sequence will signal the completion of the firmware write and
 10                 signal the lower-level driver      10                 signal the lower-level driver that the firmware data is
 11                 available.                         11                 available.
 12                                                    12 
 13 What:           /sys/class/firmware/.../cancel     13 What:           /sys/class/firmware/.../cancel
 14 Date:           July 2022                          14 Date:           July 2022
 15 KernelVersion:  5.19                               15 KernelVersion:  5.19
 16 Contact:        Russ Weight <russ.weight@linux. !!  16 Contact:        Russ Weight <russell.h.weight@intel.com>
 17 Description:    Write-only. For firmware uploa     17 Description:    Write-only. For firmware uploads, write a "1" to this file to
 18                 request that the transfer of f     18                 request that the transfer of firmware data to the lower-level
 19                 device be canceled. This reque     19                 device be canceled. This request will be rejected (EBUSY) if
 20                 the update cannot be canceled      20                 the update cannot be canceled (e.g. a FLASH write is in
 21                 progress) or (ENODEV) if there     21                 progress) or (ENODEV) if there is no firmware update in progress.
 22                                                    22 
 23 What:           /sys/class/firmware/.../error      23 What:           /sys/class/firmware/.../error
 24 Date:           July 2022                          24 Date:           July 2022
 25 KernelVersion:  5.19                               25 KernelVersion:  5.19
 26 Contact:        Russ Weight <russ.weight@linux. !!  26 Contact:        Russ Weight <russell.h.weight@intel.com>
 27 Description:    Read-only. Returns a string de     27 Description:    Read-only. Returns a string describing a failed firmware
 28                 upload. This string will be in     28                 upload. This string will be in the form of <STATUS>:<ERROR>,
 29                 where <STATUS> will be one of      29                 where <STATUS> will be one of the status strings described
 30                 for the status sysfs file and      30                 for the status sysfs file and <ERROR> will be one of the
 31                 following: "hw-error", "timeou     31                 following: "hw-error", "timeout", "user-abort", "device-busy",
 32                 "invalid-file-size", "read-wri     32                 "invalid-file-size", "read-write-error", "flash-wearout". The
 33                 error sysfs file is only meani     33                 error sysfs file is only meaningful when the current firmware
 34                 upload status is "idle". If th     34                 upload status is "idle". If this file is read while a firmware
 35                 transfer is in progress, then      35                 transfer is in progress, then the read will fail with EBUSY.
 36                                                    36 
 37 What:           /sys/class/firmware/.../loadin     37 What:           /sys/class/firmware/.../loading
 38 Date:           July 2022                          38 Date:           July 2022
 39 KernelVersion:  5.19                               39 KernelVersion:  5.19
 40 Contact:        Russ Weight <russ.weight@linux. !!  40 Contact:        Russ Weight <russell.h.weight@intel.com>
 41 Description:    The loading sysfs file is used     41 Description:    The loading sysfs file is used for both firmware-fallback and
 42                 for firmware uploads. Echo 1 o     42                 for firmware uploads. Echo 1 onto the loading file to indicate
 43                 you are writing a firmware fil     43                 you are writing a firmware file to the data sysfs node. Echo
 44                 -1 onto this file to abort the     44                 -1 onto this file to abort the data write or echo 0 onto this
 45                 file to indicate that the writ     45                 file to indicate that the write is complete. For firmware
 46                 uploads, the zero value also t     46                 uploads, the zero value also triggers the transfer of the
 47                 firmware data to the lower-lev     47                 firmware data to the lower-level device driver.
 48                                                    48 
 49 What:           /sys/class/firmware/.../remain     49 What:           /sys/class/firmware/.../remaining_size
 50 Date:           July 2022                          50 Date:           July 2022
 51 KernelVersion:  5.19                               51 KernelVersion:  5.19
 52 Contact:        Russ Weight <russ.weight@linux. !!  52 Contact:        Russ Weight <russell.h.weight@intel.com>
 53 Description:    Read-only. For firmware upload     53 Description:    Read-only. For firmware upload, this file contains the size
 54                 of the firmware data that rema     54                 of the firmware data that remains to be transferred to the
 55                 lower-level device driver. The     55                 lower-level device driver. The size value is initialized to
 56                 the full size of the firmware      56                 the full size of the firmware image that was previously
 57                 written to the data sysfs file     57                 written to the data sysfs file. This value is periodically
 58                 updated during the "transferri     58                 updated during the "transferring" phase of the firmware
 59                 upload.                            59                 upload.
 60                 Format: "%u".                      60                 Format: "%u".
 61                                                    61 
 62 What:           /sys/class/firmware/.../status     62 What:           /sys/class/firmware/.../status
 63 Date:           July 2022                          63 Date:           July 2022
 64 KernelVersion:  5.19                               64 KernelVersion:  5.19
 65 Contact:        Russ Weight <russ.weight@linux. !!  65 Contact:        Russ Weight <russell.h.weight@intel.com>
 66 Description:    Read-only. Returns a string de     66 Description:    Read-only. Returns a string describing the current status of
 67                 a firmware upload. The string      67                 a firmware upload. The string will be one of the following:
 68                 idle, "receiving", "preparing"     68                 idle, "receiving", "preparing", "transferring", "programming".
 69                                                    69 
 70 What:           /sys/class/firmware/.../timeou     70 What:           /sys/class/firmware/.../timeout
 71 Date:           July 2022                          71 Date:           July 2022
 72 KernelVersion:  5.19                               72 KernelVersion:  5.19
 73 Contact:        Russ Weight <russ.weight@linux. !!  73 Contact:        Russ Weight <russell.h.weight@intel.com>
 74 Description:    This file supports the timeout     74 Description:    This file supports the timeout mechanism for firmware
 75                 fallback.  This file has no af     75                 fallback.  This file has no affect on firmware uploads. For
 76                 more information on timeouts p     76                 more information on timeouts please see the documentation
 77                 for firmware fallback.             77                 for firmware fallback.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php