58 lines · plain
1What: /sys/class/uacce/<dev_name>/api2Date: Feb 20203KernelVersion: 5.74Contact: linux-accelerators@lists.ozlabs.org5Description: Api of the device6 Can be any string and up to userspace to parse.7 Application use the api to match the correct driver8 9What: /sys/class/uacce/<dev_name>/flags10Date: Feb 202011KernelVersion: 5.712Contact: linux-accelerators@lists.ozlabs.org13Description: Attributes of the device, see UACCE_DEV_xxx flag defined in uacce.h14 15What: /sys/class/uacce/<dev_name>/available_instances16Date: Feb 202017KernelVersion: 5.718Contact: linux-accelerators@lists.ozlabs.org19Description: Available instances left of the device20 Return -ENODEV if uacce_ops get_available_instances is not provided21 22What: /sys/class/uacce/<dev_name>/isolate_strategy23Date: Nov 202224KernelVersion: 6.125Contact: linux-accelerators@lists.ozlabs.org26Description: (RW) A sysfs node that configure the error threshold for the hardware27 isolation strategy. This size is a configured integer value, which is the28 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 write30 a number of threshold based on your hardware.31 32What: /sys/class/uacce/<dev_name>/isolate33Date: Nov 202234KernelVersion: 6.135Contact: linux-accelerators@lists.ozlabs.org36Description: (R) A sysfs node that read the device isolated state. The value 137 means the device is unavailable. The 0 means the device is38 available.39 40What: /sys/class/uacce/<dev_name>/algorithms41Date: Feb 202042KernelVersion: 5.743Contact: linux-accelerators@lists.ozlabs.org44Description: 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_size48Date: Feb 202049KernelVersion: 5.750Contact: linux-accelerators@lists.ozlabs.org51Description: Size (bytes) of mmio region queue file52 53What: /sys/class/uacce/<dev_name>/region_dus_size54Date: Feb 202055KernelVersion: 5.756Contact: linux-accelerators@lists.ozlabs.org57Description: Size (bytes) of dus region queue file58