File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,25 @@ implemented.
70
70
See source code (` scmi ` crate) documentation for details and how to
71
71
add more protocols, host device bindings or other functionality.
72
72
73
- ## Kernel support for testing
73
+ ## Testing
74
+
75
+ SCMI is supported only on Arm in Linux. This restriction doesn't
76
+ apply to the host, which can be any architecture as long as the guest
77
+ is Arm.
78
+
79
+ The easiest way to test it on the guest side is using the Linux SCMI
80
+ Industrial I/O driver there. If an 3-axes accelerometer or gyroscope
81
+ VirtIO SCMI device is present and the guest kernel is compiled with
82
+ ` CONFIG_IIO_SCMI ` enabled then the device should be available in
83
+ ` /sys/bus/iio/devices/ ` . The vhost-device-scmi fake device is
84
+ suitable for this.
85
+
86
+ Of course, other means of accessing SCMI devices can be used too. The
87
+ following Linux kernel command line can be useful to obtain SCMI trace
88
+ information, in addition to SCMI related messages in dmesg:
89
+ ` trace_event=scmi:* ftrace=function ftrace_filter=scmi* ` .
90
+
91
+ ### Kernel support for testing
74
92
75
93
` kernel ` subdirectory contains
76
94
[ instructions] ( kernel/iio-dummy/README.md ) how to create emulated
You can’t perform that action at this time.
0 commit comments