xref: /linux/Documentation/ABI/testing/sysfs-class-ocxl (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
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:
1434433332SMauro Carvalho Chehab
1534433332SMauro Carvalho Chehab			====	===============================================
16*002a9c2fSMauro Carvalho Chehab			n	number of currently active contexts, for debug
17*002a9c2fSMauro Carvalho Chehab			max	maximum number of contexts supported by the AFU
1834433332SMauro Carvalho Chehab			====	===============================================
1900b96c0eSFrederic Barrat
2000b96c0eSFrederic BarratWhat:		/sys/class/ocxl/<afu name>/pp_mmio_size
2100b96c0eSFrederic BarratDate:		January 2018
2200b96c0eSFrederic BarratContact:	linuxppc-dev@lists.ozlabs.org
2300b96c0eSFrederic BarratDescription:	read only
2400b96c0eSFrederic Barrat		Size of the per-process mmio area, as defined in the
2500b96c0eSFrederic Barrat		configuration space of the AFU
2600b96c0eSFrederic Barrat
2700b96c0eSFrederic BarratWhat:		/sys/class/ocxl/<afu name>/global_mmio_size
2800b96c0eSFrederic BarratDate:		January 2018
2900b96c0eSFrederic BarratContact:	linuxppc-dev@lists.ozlabs.org
3000b96c0eSFrederic BarratDescription:	read only
3100b96c0eSFrederic Barrat		Size of the global mmio area, as defined in the
3200b96c0eSFrederic Barrat		configuration space of the AFU
3300b96c0eSFrederic Barrat
3400b96c0eSFrederic BarratWhat:		/sys/class/ocxl/<afu name>/global_mmio_area
3500b96c0eSFrederic BarratDate:		January 2018
3600b96c0eSFrederic BarratContact:	linuxppc-dev@lists.ozlabs.org
3700b96c0eSFrederic BarratDescription:	read/write
3800b96c0eSFrederic Barrat		Give access the global mmio area for the AFU
3987db7579SPhilippe Bergheaud
4087db7579SPhilippe BergheaudWhat:		/sys/class/ocxl/<afu name>/reload_on_reset
4187db7579SPhilippe BergheaudDate:		February 2020
4287db7579SPhilippe BergheaudContact:	linuxppc-dev@lists.ozlabs.org
4387db7579SPhilippe BergheaudDescription:	read/write
4487db7579SPhilippe Bergheaud		Control whether the FPGA is reloaded on a link reset. Enabled
4587db7579SPhilippe Bergheaud		through a vendor-specific logic block on the FPGA.
46*002a9c2fSMauro Carvalho Chehab
47*002a9c2fSMauro Carvalho Chehab			===========  ===========================================
4887db7579SPhilippe Bergheaud			0	     Do not reload FPGA image from flash
4987db7579SPhilippe Bergheaud			1	     Reload FPGA image from flash
50*002a9c2fSMauro Carvalho Chehab			unavailable  The device does not support this capability
51*002a9c2fSMauro Carvalho Chehab			===========  ===========================================
52