forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/Documentation/ABI/testing/sysfs-class-cxl
....@@ -1,6 +1,6 @@
1
-Note: Attributes that are shared between devices are stored in the directory
2
-pointed to by the symlink device/.
3
-Example: The real path of the attribute /sys/class/cxl/afu0.0s/irqs_max is
1
+Please note that attributes that are shared between devices are stored in
2
+the directory pointed to by the symlink device/.
3
+For example, the real path of the attribute /sys/class/cxl/afu0.0s/irqs_max is
44 /sys/class/cxl/afu0.0s/device/irqs_max, i.e. /sys/class/cxl/afu0.0/irqs_max.
55
66
....@@ -72,11 +72,16 @@
7272 when performing the START_WORK ioctl. Only applicable when
7373 running under hashed page table mmu.
7474 Possible values:
75
- none: No prefaulting (default)
76
- work_element_descriptor: Treat the work element
77
- descriptor as an effective address and
78
- prefault what it points to.
79
- all: all segments process calling START_WORK maps.
75
+
76
+ ======================= ======================================
77
+ none No prefaulting (default)
78
+ work_element_descriptor Treat the work element
79
+ descriptor as an effective address and
80
+ prefault what it points to.
81
+ all all segments process calling
82
+ START_WORK maps.
83
+ ======================= ======================================
84
+
8085 Users: https://github.com/ibm-capi/libcxl
8186
8287 What: /sys/class/cxl/<afu>/reset
....@@ -212,6 +217,7 @@
212217 card. A power cycle is required to load the image.
213218 "none" could be useful for debugging because the trace arrays
214219 are preserved.
220
+
215221 "user" and "factory" means PERST will cause either the user or
216222 user or factory image to be loaded.
217223 Default is to reload on PERST whichever image the card has
....@@ -235,8 +241,11 @@
235241 Description: read/write
236242 Trust that when an image is reloaded via PERST, it will not
237243 have changed.
238
- 0 = don't trust, the image may be different (default)
239
- 1 = trust that the image will not change.
244
+
245
+ == =================================================
246
+ 0 don't trust, the image may be different (default)
247
+ 1 trust that the image will not change.
248
+ == =================================================
240249 Users: https://github.com/ibm-capi/libcxl
241250
242251 What: /sys/class/cxl/<card>/psl_timebase_synced