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