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