Documentation / ABI / testing / sysfs-class-ocxl


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
What:		/sys/class/ocxl/<afu name>/afu_version
Date:		January 2018
Contact:	linuxppc-dev@lists.ozlabs.org
Description:	read only
		Version of the AFU, in the format <major>:<minor>
		Reflects what is read in the configuration space of the AFU

What:		/sys/class/ocxl/<afu name>/contexts
Date:		January 2018
Contact:	linuxppc-dev@lists.ozlabs.org
Description:	read only
		Number of contexts for the AFU, in the format <n>/<max>
		where:

			====	===============================================
			n	number of currently active contexts, for debug
			max	maximum number of contexts supported by the AFU
			====	===============================================

What:		/sys/class/ocxl/<afu name>/pp_mmio_size
Date:		January 2018
Contact:	linuxppc-dev@lists.ozlabs.org
Description:	read only
		Size of the per-process mmio area, as defined in the
		configuration space of the AFU

What:		/sys/class/ocxl/<afu name>/global_mmio_size
Date:		January 2018
Contact:	linuxppc-dev@lists.ozlabs.org
Description:	read only
		Size of the global mmio area, as defined in the
		configuration space of the AFU

What:		/sys/class/ocxl/<afu name>/global_mmio_area
Date:		January 2018
Contact:	linuxppc-dev@lists.ozlabs.org
Description:	read/write
		Give access the global mmio area for the AFU

What:		/sys/class/ocxl/<afu name>/reload_on_reset
Date:		February 2020
Contact:	linuxppc-dev@lists.ozlabs.org
Description:	read/write
		Control whether the FPGA is reloaded on a link reset. Enabled
		through a vendor-specific logic block on the FPGA.

			===========  ===========================================
			0	     Do not reload FPGA image from flash
			1	     Reload FPGA image from flash
			unavailable  The device does not support this capability
			===========  ===========================================