xref: /linux/Documentation/ABI/testing/sysfs-driver-uacce (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1What:           /sys/class/uacce/<dev_name>/api
2Date:           Feb 2020
3KernelVersion:  5.7
4Contact:        linux-accelerators@lists.ozlabs.org
5Description:    Api of the device
6                Can be any string and up to userspace to parse.
7                Application use the api to match the correct driver
8
9What:           /sys/class/uacce/<dev_name>/flags
10Date:           Feb 2020
11KernelVersion:  5.7
12Contact:        linux-accelerators@lists.ozlabs.org
13Description:    Attributes of the device, see UACCE_DEV_xxx flag defined in uacce.h
14
15What:           /sys/class/uacce/<dev_name>/available_instances
16Date:           Feb 2020
17KernelVersion:  5.7
18Contact:        linux-accelerators@lists.ozlabs.org
19Description:    Available instances left of the device
20                Return -ENODEV if uacce_ops get_available_instances is not provided
21
22What:           /sys/class/uacce/<dev_name>/isolate_strategy
23Date:           Nov 2022
24KernelVersion:  6.1
25Contact:        linux-accelerators@lists.ozlabs.org
26Description:    (RW) A sysfs node that configure the error threshold for the hardware
27                isolation strategy. This size is a configured integer value, which is the
28                number of threshold for hardware errors occurred in one hour. The default is 0.
29                0 means never isolate the device. The maximum value is 65535. You can write
30                a number of threshold based on your hardware.
31
32What:           /sys/class/uacce/<dev_name>/isolate
33Date:           Nov 2022
34KernelVersion:  6.1
35Contact:        linux-accelerators@lists.ozlabs.org
36Description:    (R) A sysfs node that read the device isolated state. The value 1
37                means the device is unavailable. The 0 means the device is
38                available.
39
40What:           /sys/class/uacce/<dev_name>/algorithms
41Date:           Feb 2020
42KernelVersion:  5.7
43Contact:        linux-accelerators@lists.ozlabs.org
44Description:    Algorithms supported by this accelerator, separated by new line.
45                Can be any string and up to userspace to parse.
46
47What:           /sys/class/uacce/<dev_name>/region_mmio_size
48Date:           Feb 2020
49KernelVersion:  5.7
50Contact:        linux-accelerators@lists.ozlabs.org
51Description:    Size (bytes) of mmio region queue file
52
53What:           /sys/class/uacce/<dev_name>/region_dus_size
54Date:           Feb 2020
55KernelVersion:  5.7
56Contact:        linux-accelerators@lists.ozlabs.org
57Description:    Size (bytes) of dus region queue file
58