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

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/debugfs-driver-dcc

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/debugfs-driver-dcc (Architecture ppc) and /Documentation/ABI/testing/debugfs-driver-dcc (Architecture mips)


  1 What:           /sys/kernel/debug/dcc/.../read      1 What:           /sys/kernel/debug/dcc/.../ready
  2 Date:           December 2022                       2 Date:           December 2022
  3 Contact:        Souradeep Chowdhury <quic_schow      3 Contact:        Souradeep Chowdhury <quic_schowdhu@quicinc.com>
  4 Description:                                        4 Description:
  5                 This file is used to check the      5                 This file is used to check the status of the dcc
  6                 hardware if it's ready to rece      6                 hardware if it's ready to receive user configurations.
  7                 A 'Y' here indicates dcc is re      7                 A 'Y' here indicates dcc is ready.
  8                                                     8 
  9 What:           /sys/kernel/debug/dcc/.../trig      9 What:           /sys/kernel/debug/dcc/.../trigger
 10 Date:           December 2022                      10 Date:           December 2022
 11 Contact:        Souradeep Chowdhury <quic_schow     11 Contact:        Souradeep Chowdhury <quic_schowdhu@quicinc.com>
 12 Description:                                       12 Description:
 13                 This is the debugfs interface      13                 This is the debugfs interface for manual software
 14                 triggers. The trigger can be i     14                 triggers. The trigger can be invoked by writing '1'
 15                 to the file.                       15                 to the file.
 16                                                    16 
 17 What:           /sys/kernel/debug/dcc/.../conf     17 What:           /sys/kernel/debug/dcc/.../config_reset
 18 Date:           December 2022                      18 Date:           December 2022
 19 Contact:        Souradeep Chowdhury <quic_schow     19 Contact:        Souradeep Chowdhury <quic_schowdhu@quicinc.com>
 20 Description:                                       20 Description:
 21                 This file is used to reset the     21                 This file is used to reset the configuration of
 22                 a dcc driver to the default co     22                 a dcc driver to the default configuration. When '1'
 23                 is written to the file, all th     23                 is written to the file, all the previous addresses
 24                 stored in the driver gets remo     24                 stored in the driver gets removed and users need to
 25                 reconfigure addresses again.       25                 reconfigure addresses again.
 26                                                    26 
 27 What:           /sys/kernel/debug/dcc/.../[lis     27 What:           /sys/kernel/debug/dcc/.../[list-number]/config
 28 Date:            December 2022                     28 Date:            December 2022
 29 Contact:        Souradeep Chowdhury <quic_schow     29 Contact:        Souradeep Chowdhury <quic_schowdhu@quicinc.com>
 30 Description:                                       30 Description:
 31                 This stores the addresses of t     31                 This stores the addresses of the registers which
 32                 can be read in case of a hardw     32                 can be read in case of a hardware crash or manual
 33                 software triggers. The input a     33                 software triggers. The input addresses type
 34                 can be one of following dcc in     34                 can be one of following dcc instructions: read,
 35                 write, read-write, and loop ty     35                 write, read-write, and loop type. The lists need to
 36                 be configured sequentially and     36                 be configured sequentially and not in a overlapping
 37                 manner; e.g. users can jump to     37                 manner; e.g. users can jump to list x only after
 38                 list y is configured and enabl     38                 list y is configured and enabled. The input format for
 39                 each type is as follows:           39                 each type is as follows:
 40                                                    40 
 41                 i) Read instruction                41                 i) Read instruction
 42                                                    42 
 43                    ::                              43                    ::
 44                                                    44 
 45                      echo R <addr> <n> <bus> >     45                      echo R <addr> <n> <bus> >/sys/kernel/debug/dcc/../[list-number]/config
 46                                                    46 
 47                    where:                          47                    where:
 48                                                    48 
 49                    <addr>                          49                    <addr>
 50                         The address to be read     50                         The address to be read.
 51                                                    51 
 52                    <n>                             52                    <n>
 53                         The addresses word cou     53                         The addresses word count, starting from address <1>.
 54                         Each word is 32 bits (     54                         Each word is 32 bits (4 bytes). If omitted, defaulted
 55                         to 1.                      55                         to 1.
 56                                                    56 
 57                    <bus type>                      57                    <bus type>
 58                         The bus type, which ca     58                         The bus type, which can be either 'apb' or 'ahb'.
 59                         The default is 'ahb' i     59                         The default is 'ahb' if leaved out.
 60                                                    60 
 61                 ii) Write instruction              61                 ii) Write instruction
 62                                                    62 
 63                     ::                             63                     ::
 64                                                    64 
 65                       echo W <addr> <n> <bus t     65                       echo W <addr> <n> <bus type> > /sys/kernel/debug/dcc/../[list-number]/config
 66                                                    66 
 67                     where:                         67                     where:
 68                                                    68 
 69                     <addr>                         69                     <addr>
 70                         The address to be writ     70                         The address to be written.
 71                                                    71 
 72                     <n>                            72                     <n>
 73                         The value to be writte     73                         The value to be written at <addr>.
 74                                                    74 
 75                     <bus type>                     75                     <bus type>
 76                         The bus type, which ca     76                         The bus type, which can be either 'apb' or 'ahb'.
 77                                                    77 
 78                 iii) Read-write instruction        78                 iii) Read-write instruction
 79                                                    79 
 80                      ::                            80                      ::
 81                                                    81 
 82                        echo RW <addr> <n> <mas     82                        echo RW <addr> <n> <mask> > /sys/kernel/debug/dcc/../[list-number]/config
 83                                                    83 
 84                      where:                        84                      where:
 85                                                    85 
 86                      <addr>                        86                      <addr>
 87                         The address to be read     87                         The address to be read and written.
 88                                                    88 
 89                      <n>                           89                      <n>
 90                         The value to be writte     90                         The value to be written at <addr>.
 91                                                    91 
 92                      <mask>                        92                      <mask>
 93                         The value mask.            93                         The value mask.
 94                                                    94 
 95                 iv) Loop instruction               95                 iv) Loop instruction
 96                                                    96 
 97                     ::                             97                     ::
 98                                                    98 
 99                       echo L <loop count> <add     99                       echo L <loop count> <address count> <address>... > /sys/kernel/debug/dcc/../[list-number]/config
100                                                   100 
101                     where:                        101                     where:
102                                                   102 
103                     <loop count>                  103                     <loop count>
104                         Number of iterations      104                         Number of iterations
105                                                   105 
106                     <address count>               106                     <address count>
107                         total number of addres    107                         total number of addresses to be written
108                                                   108 
109                     <address>                     109                     <address>
110                         Space-separated list o    110                         Space-separated list of addresses.
111                                                   111 
112 What:           /sys/kernel/debug/dcc/.../[lis    112 What:           /sys/kernel/debug/dcc/.../[list-number]/enable
113 Date:           December 2022                     113 Date:           December 2022
114 Contact:        Souradeep Chowdhury <quic_schow    114 Contact:        Souradeep Chowdhury <quic_schowdhu@quicinc.com>
115 Description:                                      115 Description:
116                 This debugfs interface is used    116                 This debugfs interface is used for enabling the
117                 the dcc hardware. A file named    117                 the dcc hardware. A file named "enable" is in the
118                 directory list number where us    118                 directory list number where users can enable/disable
119                 the specific list by writing b    119                 the specific list by writing boolean (1 or 0) to the
120                 file.                             120                 file.
121                                                   121 
122                 On enabling the dcc, all the a    122                 On enabling the dcc, all the addresses specified
123                 by the user for the correspond    123                 by the user for the corresponding list is written
124                 into dcc sram which is read by    124                 into dcc sram which is read by the dcc hardware
125                 on manual or crash induced tri    125                 on manual or crash induced triggers. Lists must
126                 be configured and enabled sequ    126                 be configured and enabled sequentially, e.g. list
127                 2 can only be enabled when lis    127                 2 can only be enabled when list 1 have so.
                                                      

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