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

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

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-remoteproc (Architecture ppc) and /Documentation/ABI/testing/sysfs-class-remoteproc (Architecture sparc64)


  1 What:           /sys/class/remoteproc/.../firm      1 What:           /sys/class/remoteproc/.../firmware
  2 Date:           October 2016                        2 Date:           October 2016
  3 Contact:        Matt Redfearn <matt.redfearn@mi      3 Contact:        Matt Redfearn <matt.redfearn@mips.com>
  4 Description:    Remote processor firmware           4 Description:    Remote processor firmware
  5                                                     5 
  6                 Reports the name of the firmwa      6                 Reports the name of the firmware currently loaded to the
  7                 remote processor.                   7                 remote processor.
  8                                                     8 
  9                 To change the running firmware      9                 To change the running firmware, ensure the remote processor is
 10                 stopped (using /sys/class/remo     10                 stopped (using /sys/class/remoteproc/.../state) and write a new filename.
 11                                                    11 
 12 What:           /sys/class/remoteproc/.../stat     12 What:           /sys/class/remoteproc/.../state
 13 Date:           October 2016                       13 Date:           October 2016
 14 Contact:        Matt Redfearn <matt.redfearn@mi     14 Contact:        Matt Redfearn <matt.redfearn@mips.com>
 15 Description:    Remote processor state             15 Description:    Remote processor state
 16                                                    16 
 17                 Reports the state of the remot     17                 Reports the state of the remote processor, which will be one of:
 18                                                    18 
 19                 - "offline"                        19                 - "offline"
 20                 - "suspended"                      20                 - "suspended"
 21                 - "running"                        21                 - "running"
 22                 - "crashed"                        22                 - "crashed"
 23                 - "invalid"                        23                 - "invalid"
 24                                                    24 
 25                 "offline" means the remote pro     25                 "offline" means the remote processor is powered off.
 26                                                    26 
 27                 "suspended" means that the rem     27                 "suspended" means that the remote processor is suspended and
 28                 must be woken to receive messa     28                 must be woken to receive messages.
 29                                                    29 
 30                 "running" is the normal state      30                 "running" is the normal state of an available remote processor
 31                                                    31 
 32                 "crashed" indicates that a pro     32                 "crashed" indicates that a problem/crash has been detected on
 33                 the remote processor.              33                 the remote processor.
 34                                                    34 
 35                 "invalid" is returned if the r     35                 "invalid" is returned if the remote processor is in an
 36                 unknown state.                     36                 unknown state.
 37                                                    37 
 38                 Writing this file controls the     38                 Writing this file controls the state of the remote processor.
 39                 The following states can be wr     39                 The following states can be written:
 40                                                    40 
 41                 - "start"                          41                 - "start"
 42                 - "stop"                           42                 - "stop"
 43                                                    43 
 44                 Writing "start" will attempt t     44                 Writing "start" will attempt to start the processor running the
 45                 firmware indicated by, or writ     45                 firmware indicated by, or written to,
 46                 /sys/class/remoteproc/.../firm     46                 /sys/class/remoteproc/.../firmware. The remote processor should
 47                 transition to "running" state.     47                 transition to "running" state.
 48                                                    48 
 49                 Writing "stop" will attempt to     49                 Writing "stop" will attempt to halt the remote processor and
 50                 return it to the "offline" sta     50                 return it to the "offline" state.
 51                                                    51 
 52 What:           /sys/class/remoteproc/.../name     52 What:           /sys/class/remoteproc/.../name
 53 Date:           August 2019                        53 Date:           August 2019
 54 KernelVersion:  5.4                                54 KernelVersion:  5.4
 55 Contact:        Suman Anna <s-anna@ti.com>          55 Contact:        Suman Anna <s-anna@ti.com>
 56 Description:    Remote processor name              56 Description:    Remote processor name
 57                                                    57 
 58                 Reports the name of the remote     58                 Reports the name of the remote processor. This can be used by
 59                 userspace in exactly identifyi     59                 userspace in exactly identifying a remote processor and ease
 60                 up the usage in modifying the      60                 up the usage in modifying the 'firmware' or 'state' files.
 61                                                    61 
 62 What:           /sys/class/remoteproc/.../core     62 What:           /sys/class/remoteproc/.../coredump
 63 Date:           July 2020                          63 Date:           July 2020
 64 Contact:        Bjorn Andersson <bjorn.andersso     64 Contact:        Bjorn Andersson <bjorn.andersson@linaro.org>, Ohad Ben-Cohen <ohad@wizery.com>
 65 Description:    Remote processor coredump conf     65 Description:    Remote processor coredump configuration
 66                                                    66 
 67                 Reports the coredump configura     67                 Reports the coredump configuration of the remote processor,
 68                 which will be one of:              68                 which will be one of:
 69                                                    69 
 70                 "disabled"                         70                 "disabled"
 71                 "enabled"                          71                 "enabled"
 72                 "inline"                           72                 "inline"
 73                                                    73 
 74                 "disabled" means no dump will      74                 "disabled" means no dump will be collected.
 75                                                    75 
 76                 "enabled" means when the remot     76                 "enabled" means when the remote processor's coredump is
 77                 collected it will be copied to     77                 collected it will be copied to a separate buffer and that
 78                 buffer is exposed to userspace     78                 buffer is exposed to userspace.
 79                                                    79 
 80                 "inline" means when the remote     80                 "inline" means when the remote processor's coredump is
 81                 collected userspace will direc     81                 collected userspace will directly read from the remote
 82                 processor's device memory. Ext     82                 processor's device memory. Extra buffer will not be used to
 83                 copy the dump. Also recovery p     83                 copy the dump. Also recovery process will not proceed until
 84                 all data is read by userspace.     84                 all data is read by userspace.
 85                                                    85 
 86 What:           /sys/class/remoteproc/.../reco     86 What:           /sys/class/remoteproc/.../recovery
 87 Date:           July 2020                          87 Date:           July 2020
 88 Contact:        Bjorn Andersson <bjorn.andersso     88 Contact:        Bjorn Andersson <bjorn.andersson@linaro.org>, Ohad Ben-Cohen <ohad@wizery.com>
 89 Description:    Remote processor recovery mech     89 Description:    Remote processor recovery mechanism
 90                                                    90 
 91                 Reports the recovery mechanism     91                 Reports the recovery mechanism of the remote processor,
 92                 which will be one of:              92                 which will be one of:
 93                                                    93 
 94                 "enabled"                          94                 "enabled"
 95                 "disabled"                         95                 "disabled"
 96                                                    96 
 97                 "enabled" means, the remote pr     97                 "enabled" means, the remote processor will be automatically
 98                 recovered whenever it crashes.     98                 recovered whenever it crashes. Moreover, if the remote
 99                 processor crashes while recove     99                 processor crashes while recovery is disabled, it will
100                 be automatically recovered too    100                 be automatically recovered too as soon as recovery is enabled.
101                                                   101 
102                 "disabled" means, a remote pro    102                 "disabled" means, a remote processor will remain in a crashed
103                 state if it crashes. This is u    103                 state if it crashes. This is useful for debugging purposes;
104                 without it, debugging a crash     104                 without it, debugging a crash is substantially harder.
                                                      

~ [ 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