162306a36Sopenharmony_ciWhat: /sys/kernel/debug/scmi/<n>/raw/message 262306a36Sopenharmony_ciDate: March 2023 362306a36Sopenharmony_ciKernelVersion: 6.3 462306a36Sopenharmony_ciContact: cristian.marussi@arm.com 562306a36Sopenharmony_ciDescription: SCMI Raw synchronous message injection/snooping facility; write 662306a36Sopenharmony_ci a complete SCMI synchronous command message (header included) 762306a36Sopenharmony_ci in little-endian binary format to have it sent to the configured 862306a36Sopenharmony_ci backend SCMI server for instance <n>. 962306a36Sopenharmony_ci Any subsequently received response can be read from this same 1062306a36Sopenharmony_ci entry if it arrived within the configured timeout. 1162306a36Sopenharmony_ci Each write to the entry causes one command request to be built 1262306a36Sopenharmony_ci and sent while the replies are read back one message at time 1362306a36Sopenharmony_ci (receiving an EOF at each message boundary). 1462306a36Sopenharmony_ciUsers: Debugging, any userspace test suite 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciWhat: /sys/kernel/debug/scmi/<n>/raw/message_async 1762306a36Sopenharmony_ciDate: March 2023 1862306a36Sopenharmony_ciKernelVersion: 6.3 1962306a36Sopenharmony_ciContact: cristian.marussi@arm.com 2062306a36Sopenharmony_ciDescription: SCMI Raw asynchronous message injection/snooping facility; write 2162306a36Sopenharmony_ci a complete SCMI asynchronous command message (header included) 2262306a36Sopenharmony_ci in little-endian binary format to have it sent to the configured 2362306a36Sopenharmony_ci backend SCMI server for instance <n>. 2462306a36Sopenharmony_ci Any subsequently received response can be read from this same 2562306a36Sopenharmony_ci entry if it arrived within the configured timeout. 2662306a36Sopenharmony_ci Any additional delayed response received afterwards can be read 2762306a36Sopenharmony_ci from this same entry too if it arrived within the configured 2862306a36Sopenharmony_ci timeout. 2962306a36Sopenharmony_ci Each write to the entry causes one command request to be built 3062306a36Sopenharmony_ci and sent while the replies are read back one message at time 3162306a36Sopenharmony_ci (receiving an EOF at each message boundary). 3262306a36Sopenharmony_ciUsers: Debugging, any userspace test suite 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciWhat: /sys/kernel/debug/scmi/<n>/raw/errors 3562306a36Sopenharmony_ciDate: March 2023 3662306a36Sopenharmony_ciKernelVersion: 6.3 3762306a36Sopenharmony_ciContact: cristian.marussi@arm.com 3862306a36Sopenharmony_ciDescription: SCMI Raw message errors facility; any kind of timed-out or 3962306a36Sopenharmony_ci generally unexpectedly received SCMI message, for instance <n>, 4062306a36Sopenharmony_ci can be read from this entry. 4162306a36Sopenharmony_ci Each read gives back one message at time (receiving an EOF at 4262306a36Sopenharmony_ci each message boundary). 4362306a36Sopenharmony_ciUsers: Debugging, any userspace test suite 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ciWhat: /sys/kernel/debug/scmi/<n>/raw/notification 4662306a36Sopenharmony_ciDate: March 2023 4762306a36Sopenharmony_ciKernelVersion: 6.3 4862306a36Sopenharmony_ciContact: cristian.marussi@arm.com 4962306a36Sopenharmony_ciDescription: SCMI Raw notification snooping facility; any notification 5062306a36Sopenharmony_ci emitted by the backend SCMI server, for instance <n>, can be 5162306a36Sopenharmony_ci read from this entry. 5262306a36Sopenharmony_ci Each read gives back one message at time (receiving an EOF at 5362306a36Sopenharmony_ci each message boundary). 5462306a36Sopenharmony_ciUsers: Debugging, any userspace test suite 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ciWhat: /sys/kernel/debug/scmi/<n>/raw/reset 5762306a36Sopenharmony_ciDate: March 2023 5862306a36Sopenharmony_ciKernelVersion: 6.3 5962306a36Sopenharmony_ciContact: cristian.marussi@arm.com 6062306a36Sopenharmony_ciDescription: SCMI Raw stack reset facility; writing a value to this entry 6162306a36Sopenharmony_ci causes the internal queues of any kind of received message, 6262306a36Sopenharmony_ci still pending to be read out for instance <n>, to be immediately 6362306a36Sopenharmony_ci flushed. 6462306a36Sopenharmony_ci Can be used to reset and clean the SCMI Raw stack between to 6562306a36Sopenharmony_ci different test-run. 6662306a36Sopenharmony_ciUsers: Debugging, any userspace test suite 6762306a36Sopenharmony_ci 6862306a36Sopenharmony_ciWhat: /sys/kernel/debug/scmi/<n>/raw/channels/<m>/message 6962306a36Sopenharmony_ciDate: March 2023 7062306a36Sopenharmony_ciKernelVersion: 6.3 7162306a36Sopenharmony_ciContact: cristian.marussi@arm.com 7262306a36Sopenharmony_ciDescription: SCMI Raw synchronous message injection/snooping facility; write 7362306a36Sopenharmony_ci a complete SCMI synchronous command message (header included) 7462306a36Sopenharmony_ci in little-endian binary format to have it sent to the configured 7562306a36Sopenharmony_ci backend SCMI server for instance <n> through the <m> transport 7662306a36Sopenharmony_ci channel. 7762306a36Sopenharmony_ci Any subsequently received response can be read from this same 7862306a36Sopenharmony_ci entry if it arrived on channel <m> within the configured 7962306a36Sopenharmony_ci timeout. 8062306a36Sopenharmony_ci Each write to the entry causes one command request to be built 8162306a36Sopenharmony_ci and sent while the replies are read back one message at time 8262306a36Sopenharmony_ci (receiving an EOF at each message boundary). 8362306a36Sopenharmony_ci Channel identifier <m> matches the SCMI protocol number which 8462306a36Sopenharmony_ci has been associated with this transport channel in the DT 8562306a36Sopenharmony_ci description, with base protocol number 0x10 being the default 8662306a36Sopenharmony_ci channel for this instance. 8762306a36Sopenharmony_ci Note that these per-channel entries rooted at <..>/channels 8862306a36Sopenharmony_ci exist only if the transport is configured to have more than 8962306a36Sopenharmony_ci one default channel. 9062306a36Sopenharmony_ciUsers: Debugging, any userspace test suite 9162306a36Sopenharmony_ci 9262306a36Sopenharmony_ciWhat: /sys/kernel/debug/scmi/<n>/raw/channels/<m>/message_async 9362306a36Sopenharmony_ciDate: March 2023 9462306a36Sopenharmony_ciKernelVersion: 6.3 9562306a36Sopenharmony_ciContact: cristian.marussi@arm.com 9662306a36Sopenharmony_ciDescription: SCMI Raw asynchronous message injection/snooping facility; write 9762306a36Sopenharmony_ci a complete SCMI asynchronous command message (header included) 9862306a36Sopenharmony_ci in little-endian binary format to have it sent to the configured 9962306a36Sopenharmony_ci backend SCMI server for instance <n> through the <m> transport 10062306a36Sopenharmony_ci channel. 10162306a36Sopenharmony_ci Any subsequently received response can be read from this same 10262306a36Sopenharmony_ci entry if it arrived on channel <m> within the configured 10362306a36Sopenharmony_ci timeout. 10462306a36Sopenharmony_ci Any additional delayed response received afterwards can be read 10562306a36Sopenharmony_ci from this same entry too if it arrived within the configured 10662306a36Sopenharmony_ci timeout. 10762306a36Sopenharmony_ci Each write to the entry causes one command request to be built 10862306a36Sopenharmony_ci and sent while the replies are read back one message at time 10962306a36Sopenharmony_ci (receiving an EOF at each message boundary). 11062306a36Sopenharmony_ci Channel identifier <m> matches the SCMI protocol number which 11162306a36Sopenharmony_ci has been associated with this transport channel in the DT 11262306a36Sopenharmony_ci description, with base protocol number 0x10 being the default 11362306a36Sopenharmony_ci channel for this instance. 11462306a36Sopenharmony_ci Note that these per-channel entries rooted at <..>/channels 11562306a36Sopenharmony_ci exist only if the transport is configured to have more than 11662306a36Sopenharmony_ci one default channel. 11762306a36Sopenharmony_ciUsers: Debugging, any userspace test suite 118