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

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

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-devlink (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-class-devlink (Version linux-6.4.16)


  1 What:           /sys/class/devlink/.../             1 What:           /sys/class/devlink/.../
  2 Date:           May 2020                            2 Date:           May 2020
  3 Contact:        Saravana Kannan <saravanak@goog      3 Contact:        Saravana Kannan <saravanak@google.com>
  4 Description:                                        4 Description:
  5                 Provide a place in sysfs for t      5                 Provide a place in sysfs for the device link objects in the
  6                 kernel at any given time.  The      6                 kernel at any given time.  The name of a device link directory,
  7                 denoted as ... above, is of th      7                 denoted as ... above, is of the form <supplier>--<consumer>
  8                 where <supplier> is the suppli      8                 where <supplier> is the supplier bus:device name and <consumer>
  9                 is the consumer bus:device nam      9                 is the consumer bus:device name.
 10                                                    10 
 11 What:           /sys/class/devlink/.../auto_re     11 What:           /sys/class/devlink/.../auto_remove_on
 12 Date:           May 2020                           12 Date:           May 2020
 13 Contact:        Saravana Kannan <saravanak@goog     13 Contact:        Saravana Kannan <saravanak@google.com>
 14 Description:                                       14 Description:
 15                 This file indicates if the dev     15                 This file indicates if the device link will ever be
 16                 automatically removed by the d     16                 automatically removed by the driver core when the consumer and
 17                 supplier devices themselves ar     17                 supplier devices themselves are still present.
 18                                                    18 
 19                 This will be one of the follow     19                 This will be one of the following strings:
 20                                                    20 
 21                 - 'consumer unbind'                21                 - 'consumer unbind'
 22                 - 'supplier unbind'                22                 - 'supplier unbind'
 23                 - 'never'                          23                 - 'never'
 24                                                    24 
 25                 'consumer unbind' means the de     25                 'consumer unbind' means the device link will be removed when
 26                 the consumer's driver is unbou     26                 the consumer's driver is unbound from the consumer device.
 27                                                    27 
 28                 'supplier unbind' means the de     28                 'supplier unbind' means the device link will be removed when
 29                 the supplier's driver is unbou     29                 the supplier's driver is unbound from the supplier device.
 30                                                    30 
 31                 'never' means the device link      31                 'never' means the device link will not be automatically removed
 32                 when as long as the supplier a     32                 when as long as the supplier and consumer devices themselves
 33                 are still present.                 33                 are still present.
 34                                                    34 
 35 What:           /sys/class/devlink/.../consume     35 What:           /sys/class/devlink/.../consumer
 36 Date:           May 2020                           36 Date:           May 2020
 37 Contact:        Saravana Kannan <saravanak@goog     37 Contact:        Saravana Kannan <saravanak@google.com>
 38 Description:                                       38 Description:
 39                 This file is a symlink to the      39                 This file is a symlink to the consumer device's sysfs directory.
 40                                                    40 
 41 What:           /sys/class/devlink/.../runtime     41 What:           /sys/class/devlink/.../runtime_pm
 42 Date:           May 2020                           42 Date:           May 2020
 43 Contact:        Saravana Kannan <saravanak@goog     43 Contact:        Saravana Kannan <saravanak@google.com>
 44 Description:                                       44 Description:
 45                 This file indicates if the dev     45                 This file indicates if the device link has any impact on the
 46                 runtime power management behav     46                 runtime power management behavior of the consumer and supplier
 47                 devices. For example: Making s     47                 devices. For example: Making sure the supplier doesn't enter
 48                 runtime suspend while the cons     48                 runtime suspend while the consumer is active.
 49                                                    49 
 50                 This will be one of the follow     50                 This will be one of the following strings:
 51                                                    51 
 52                 ===   ========================     52                 ===   ========================================
 53                 '0'   Does not affect runtime      53                 '0'   Does not affect runtime power management
 54                 '1'   Affects runtime power ma     54                 '1'   Affects runtime power management
 55                 ===   ========================     55                 ===   ========================================
 56                                                    56 
 57 What:           /sys/class/devlink/.../status      57 What:           /sys/class/devlink/.../status
 58 Date:           May 2020                           58 Date:           May 2020
 59 Contact:        Saravana Kannan <saravanak@goog     59 Contact:        Saravana Kannan <saravanak@google.com>
 60 Description:                                       60 Description:
 61                 This file indicates the status     61                 This file indicates the status of the device link. The status
 62                 of a device link is affected b     62                 of a device link is affected by whether the supplier and
 63                 consumer devices have been bou     63                 consumer devices have been bound to their corresponding
 64                 drivers. The status of a devic     64                 drivers. The status of a device link also affects the binding
 65                 and unbinding of the supplier      65                 and unbinding of the supplier and consumer devices with their
 66                 drivers and also affects wheth     66                 drivers and also affects whether the software state of the
 67                 supplier device is synced with     67                 supplier device is synced with the hardware state of the
 68                 supplier device after boot up.     68                 supplier device after boot up.
 69                 See also: sysfs-devices-state_     69                 See also: sysfs-devices-state_synced.
 70                                                    70 
 71                 This will be one of the follow     71                 This will be one of the following strings:
 72                                                    72 
 73                 - 'not tracked'                    73                 - 'not tracked'
 74                 - 'dormant'                        74                 - 'dormant'
 75                 - 'available'                      75                 - 'available'
 76                 - 'consumer probing'               76                 - 'consumer probing'
 77                 - 'active'                         77                 - 'active'
 78                 - 'supplier unbinding'             78                 - 'supplier unbinding'
 79                 - 'unknown'                        79                 - 'unknown'
 80                                                    80 
 81                 'not tracked' means this devic     81                 'not tracked' means this device link does not track the status
 82                 and has no impact on the bindi     82                 and has no impact on the binding, unbinding and syncing the
 83                 hardware and software device s     83                 hardware and software device state.
 84                                                    84 
 85                 'dormant' means the supplier a     85                 'dormant' means the supplier and the consumer devices have not
 86                 bound to their driver.             86                 bound to their driver.
 87                                                    87 
 88                 'available' means the supplier     88                 'available' means the supplier has bound to its driver and is
 89                 available to supply resources      89                 available to supply resources to the consumer device.
 90                                                    90 
 91                 'consumer probing' means the c     91                 'consumer probing' means the consumer device is currently
 92                 trying to bind to its driver.      92                 trying to bind to its driver.
 93                                                    93 
 94                 'active' means the supplier an     94                 'active' means the supplier and consumer devices have both
 95                 bound successfully to their dr     95                 bound successfully to their drivers.
 96                                                    96 
 97                 'supplier unbinding' means the     97                 'supplier unbinding' means the supplier devices is currently in
 98                 the process of unbinding from      98                 the process of unbinding from its driver.
 99                                                    99 
100                 'unknown' means the state of t    100                 'unknown' means the state of the device link is not any of the
101                 above. If this is ever the val    101                 above. If this is ever the value, there's a bug in the kernel.
102                                                   102 
103 What:           /sys/class/devlink/.../supplie    103 What:           /sys/class/devlink/.../supplier
104 Date:           May 2020                          104 Date:           May 2020
105 Contact:        Saravana Kannan <saravanak@goog    105 Contact:        Saravana Kannan <saravanak@google.com>
106 Description:                                      106 Description:
107                 This file is a symlink to the     107                 This file is a symlink to the supplier device's sysfs directory.
108                                                   108 
109 What:           /sys/class/devlink/.../sync_st    109 What:           /sys/class/devlink/.../sync_state_only
110 Date:           May 2020                          110 Date:           May 2020
111 Contact:        Saravana Kannan <saravanak@goog    111 Contact:        Saravana Kannan <saravanak@google.com>
112 Description:                                      112 Description:
113                 This file indicates if the dev    113                 This file indicates if the device link is limited to only
114                 affecting the syncing of the h    114                 affecting the syncing of the hardware and software state of the
115                 supplier device.                  115                 supplier device.
116                                                   116 
117                 This will be one of the follow    117                 This will be one of the following strings:
118                                                   118 
119                 ===  =========================    119                 ===  ================================
120                 '0'                               120                 '0'
121                 '1'  Affects runtime power man    121                 '1'  Affects runtime power management
122                 ===  =========================    122                 ===  ================================
123                                                   123 
124                 '0' means the device link can     124                 '0' means the device link can affect other device behaviors
125                 like binding/unbinding, suspen    125                 like binding/unbinding, suspend/resume, runtime power
126                 management, etc.                  126                 management, etc.
127                                                   127 
128                 '1' means the device link will    128                 '1' means the device link will only affect the syncing of
129                 hardware and software state of    129                 hardware and software state of the supplier device after boot
130                 up and doesn't not affect othe    130                 up and doesn't not affect other behaviors of the devices.
                                                      

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