1015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/api 2015d239aSKenneth LeeDate: Feb 2020 3015d239aSKenneth LeeKernelVersion: 5.7 4015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 5015d239aSKenneth LeeDescription: Api of the device 6015d239aSKenneth Lee Can be any string and up to userspace to parse. 7015d239aSKenneth Lee Application use the api to match the correct driver 8015d239aSKenneth Lee 9015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/flags 10015d239aSKenneth LeeDate: Feb 2020 11015d239aSKenneth LeeKernelVersion: 5.7 12015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 13015d239aSKenneth LeeDescription: Attributes of the device, see UACCE_DEV_xxx flag defined in uacce.h 14015d239aSKenneth Lee 15015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/available_instances 16015d239aSKenneth LeeDate: Feb 2020 17015d239aSKenneth LeeKernelVersion: 5.7 18015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 19015d239aSKenneth LeeDescription: Available instances left of the device 20015d239aSKenneth Lee Return -ENODEV if uacce_ops get_available_instances is not provided 21015d239aSKenneth Lee 22*f65ccb82SKai YeWhat: /sys/class/uacce/<dev_name>/isolate_strategy 23*f65ccb82SKai YeDate: Nov 2022 24*f65ccb82SKai YeKernelVersion: 6.1 25*f65ccb82SKai YeContact: linux-accelerators@lists.ozlabs.org 26*f65ccb82SKai YeDescription: (RW) A sysfs node that configure the error threshold for the hardware 27*f65ccb82SKai Ye isolation strategy. This size is a configured integer value, which is the 28*f65ccb82SKai Ye number of threshold for hardware errors occurred in one hour. The default is 0. 29*f65ccb82SKai Ye 0 means never isolate the device. The maximum value is 65535. You can write 30*f65ccb82SKai Ye a number of threshold based on your hardware. 31*f65ccb82SKai Ye 32*f65ccb82SKai YeWhat: /sys/class/uacce/<dev_name>/isolate 33*f65ccb82SKai YeDate: Nov 2022 34*f65ccb82SKai YeKernelVersion: 6.1 35*f65ccb82SKai YeContact: linux-accelerators@lists.ozlabs.org 36*f65ccb82SKai YeDescription: (R) A sysfs node that read the device isolated state. The value 1 37*f65ccb82SKai Ye means the device is unavailable. The 0 means the device is 38*f65ccb82SKai Ye available. 39*f65ccb82SKai Ye 40015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/algorithms 41015d239aSKenneth LeeDate: Feb 2020 42015d239aSKenneth LeeKernelVersion: 5.7 43015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 44015d239aSKenneth LeeDescription: Algorithms supported by this accelerator, separated by new line. 45015d239aSKenneth Lee Can be any string and up to userspace to parse. 46015d239aSKenneth Lee 47015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/region_mmio_size 48015d239aSKenneth LeeDate: Feb 2020 49015d239aSKenneth LeeKernelVersion: 5.7 50015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 51015d239aSKenneth LeeDescription: Size (bytes) of mmio region queue file 52015d239aSKenneth Lee 53015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/region_dus_size 54015d239aSKenneth LeeDate: Feb 2020 55015d239aSKenneth LeeKernelVersion: 5.7 56015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 57015d239aSKenneth LeeDescription: Size (bytes) of dus region queue file 58