100b96c0eSFrederic BarratWhat: /sys/class/ocxl/<afu name>/afu_version 200b96c0eSFrederic BarratDate: January 2018 300b96c0eSFrederic BarratContact: linuxppc-dev@lists.ozlabs.org 400b96c0eSFrederic BarratDescription: read only 500b96c0eSFrederic Barrat Version of the AFU, in the format <major>:<minor> 600b96c0eSFrederic Barrat Reflects what is read in the configuration space of the AFU 700b96c0eSFrederic Barrat 800b96c0eSFrederic BarratWhat: /sys/class/ocxl/<afu name>/contexts 900b96c0eSFrederic BarratDate: January 2018 1000b96c0eSFrederic BarratContact: linuxppc-dev@lists.ozlabs.org 1100b96c0eSFrederic BarratDescription: read only 1200b96c0eSFrederic Barrat Number of contexts for the AFU, in the format <n>/<max> 1300b96c0eSFrederic Barrat where: 1400b96c0eSFrederic Barrat n: number of currently active contexts, for debug 1500b96c0eSFrederic Barrat max: maximum number of contexts supported by the AFU 1600b96c0eSFrederic Barrat 1700b96c0eSFrederic BarratWhat: /sys/class/ocxl/<afu name>/pp_mmio_size 1800b96c0eSFrederic BarratDate: January 2018 1900b96c0eSFrederic BarratContact: linuxppc-dev@lists.ozlabs.org 2000b96c0eSFrederic BarratDescription: read only 2100b96c0eSFrederic Barrat Size of the per-process mmio area, as defined in the 2200b96c0eSFrederic Barrat configuration space of the AFU 2300b96c0eSFrederic Barrat 2400b96c0eSFrederic BarratWhat: /sys/class/ocxl/<afu name>/global_mmio_size 2500b96c0eSFrederic BarratDate: January 2018 2600b96c0eSFrederic BarratContact: linuxppc-dev@lists.ozlabs.org 2700b96c0eSFrederic BarratDescription: read only 2800b96c0eSFrederic Barrat Size of the global mmio area, as defined in the 2900b96c0eSFrederic Barrat configuration space of the AFU 3000b96c0eSFrederic Barrat 3100b96c0eSFrederic BarratWhat: /sys/class/ocxl/<afu name>/global_mmio_area 3200b96c0eSFrederic BarratDate: January 2018 3300b96c0eSFrederic BarratContact: linuxppc-dev@lists.ozlabs.org 3400b96c0eSFrederic BarratDescription: read/write 3500b96c0eSFrederic Barrat Give access the global mmio area for the AFU 36*87db7579SPhilippe Bergheaud 37*87db7579SPhilippe BergheaudWhat: /sys/class/ocxl/<afu name>/reload_on_reset 38*87db7579SPhilippe BergheaudDate: February 2020 39*87db7579SPhilippe BergheaudContact: linuxppc-dev@lists.ozlabs.org 40*87db7579SPhilippe BergheaudDescription: read/write 41*87db7579SPhilippe Bergheaud Control whether the FPGA is reloaded on a link reset. Enabled 42*87db7579SPhilippe Bergheaud through a vendor-specific logic block on the FPGA. 43*87db7579SPhilippe Bergheaud 0 Do not reload FPGA image from flash 44*87db7579SPhilippe Bergheaud 1 Reload FPGA image from flash 45*87db7579SPhilippe Bergheaud unavailable 46*87db7579SPhilippe Bergheaud The device does not support this capability 47