Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux-2.6-microblaze.git] / Documentation / ABI / testing / sysfs-class-ocxl
1 What:           /sys/class/ocxl/<afu name>/afu_version
2 Date:           January 2018
3 Contact:        linuxppc-dev@lists.ozlabs.org
4 Description:    read only
5                 Version of the AFU, in the format <major>:<minor>
6                 Reflects what is read in the configuration space of the AFU
7
8 What:           /sys/class/ocxl/<afu name>/contexts
9 Date:           January 2018
10 Contact:        linuxppc-dev@lists.ozlabs.org
11 Description:    read only
12                 Number of contexts for the AFU, in the format <n>/<max>
13                 where:
14
15                         ====    ===============================================
16                         n       number of currently active contexts, for debug
17                         max     maximum number of contexts supported by the AFU
18                         ====    ===============================================
19
20 What:           /sys/class/ocxl/<afu name>/pp_mmio_size
21 Date:           January 2018
22 Contact:        linuxppc-dev@lists.ozlabs.org
23 Description:    read only
24                 Size of the per-process mmio area, as defined in the
25                 configuration space of the AFU
26
27 What:           /sys/class/ocxl/<afu name>/global_mmio_size
28 Date:           January 2018
29 Contact:        linuxppc-dev@lists.ozlabs.org
30 Description:    read only
31                 Size of the global mmio area, as defined in the
32                 configuration space of the AFU
33
34 What:           /sys/class/ocxl/<afu name>/global_mmio_area
35 Date:           January 2018
36 Contact:        linuxppc-dev@lists.ozlabs.org
37 Description:    read/write
38                 Give access the global mmio area for the AFU
39
40 What:           /sys/class/ocxl/<afu name>/reload_on_reset
41 Date:           February 2020
42 Contact:        linuxppc-dev@lists.ozlabs.org
43 Description:    read/write
44                 Control whether the FPGA is reloaded on a link reset. Enabled
45                 through a vendor-specific logic block on the FPGA.
46
47                         ===========  ===========================================
48                         0            Do not reload FPGA image from flash
49                         1            Reload FPGA image from flash
50                         unavailable  The device does not support this capability
51                         ===========  ===========================================