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