| 5a54d768 | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add sysctl transport properties
Expose as read-only the configured transport properties.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: htt
scmi: Add sysctl transport properties
Expose as read-only the configured transport properties.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47428 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| d5778530 | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add SDT traces to the core stack
Add a few basic traces to track SCMI messages lifecycle.
Tested on: Arm Morello Board Reviewed by: Andrew Sponsored by: Arm Ltd Differential Revision: ht
scmi: Add SDT traces to the core stack
Add a few basic traces to track SCMI messages lifecycle.
Tested on: Arm Morello Board Reviewed by: Andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47427 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| e478b805 | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add optional asynchronous handling of replies
Add the core logic to handle the replies to pending command in an asynchronous manner.
Tested on: Arm Morello Board Reviewed by: andrew Spon
scmi: Add optional asynchronous handling of replies
Add the core logic to handle the replies to pending command in an asynchronous manner.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47426 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| 8f706629 | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Refactor scmi_request internal logic
Split scmi_request internals into a TX and an RX phase, which will be called, anyway, in sequence as before when a normal transmission is requested.
No fu
scmi: Refactor scmi_request internal logic
Split scmi_request internals into a TX and an RX phase, which will be called, anyway, in sequence as before when a normal transmission is requested.
No functional change.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47425 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| 35ec332f | 09-Jun-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add scmi_token_reserve helper
During normal operation, the SCMI stack, upon each transmission attempt, takes care to automatically pick an appropriate, monotonically increasing, sequence numbe
scmi: Add scmi_token_reserve helper
During normal operation, the SCMI stack, upon each transmission attempt, takes care to automatically pick an appropriate, monotonically increasing, sequence number to fill-in the token field in the egressing message.
This does not cope well with the alternative scenario in which, instead, a complete and fully formed message is provided upfront: in such a case the SCMI stack will have to use the already provided sequence number, embedded in the message, to track such transaction.
Add a method to attempt to reserve a specific sequence number to be used when a fully firmed (raw) message is handled.
Tested on: Arm Morello Board Reported by: andrew Sponsored by: Arm ltd Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| f700da1c | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add helper to manipulate scmi_msg descriptors
Refactor allocation logic for scmi_req and introduce new helpers to be able to obtain an scmi_msg reference to a freshly allocated request.
Teste
scmi: Add helper to manipulate scmi_msg descriptors
Refactor allocation logic for scmi_req and introduce new helpers to be able to obtain an scmi_msg reference to a freshly allocated request.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47423 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| ba510513 | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add devicetree transport properties
SCMI transport characteristics can be optionally described in the devicetree to override the default build-time values.
Tested on: Arm Morello Board R
scmi: Add devicetree transport properties
SCMI transport characteristics can be optionally described in the devicetree to override the default build-time values.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47422 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| a14428c6 | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Redefine max message payload size
The defined maximum payload size should not include header and status field. Fix the definition accordingly, so that it matches the definitions as can be foun
scmi: Redefine max message payload size
The defined maximum payload size should not include header and status field. Fix the definition accordingly, so that it matches the definitions as can be found in the Linux SCMI stack. The semantic of this define is important since it will then be possible to override such values from devicetree, like in Linux.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47421 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| c7582083 | 09-Jun-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Make transports report the effective length of the received messages
Once a message is received that fits into the RX buffer, update the msg.rx_len field with the effective length of the messa
scmi: Make transports report the effective length of the received messages
Once a message is received that fits into the RX buffer, update the msg.rx_len field with the effective length of the message received.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| e6d0edd2 | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add sysctl transport properties
Expose as read-only the configured transport properties.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: htt
scmi: Add sysctl transport properties
Expose as read-only the configured transport properties.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47428 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| 984f9fb8 | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add SDT traces to the core stack
Add a few basic traces to track SCMI messages lifecycle.
Tested on: Arm Morello Board Reviewed by: Andrew Sponsored by: Arm Ltd Differential Revision: ht
scmi: Add SDT traces to the core stack
Add a few basic traces to track SCMI messages lifecycle.
Tested on: Arm Morello Board Reviewed by: Andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47427 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| b802926b | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add optional asynchronous handling of replies
Add the core logic to handle the replies to pending command in an asynchronous manner.
Tested on: Arm Morello Board Reviewed by: andrew Spon
scmi: Add optional asynchronous handling of replies
Add the core logic to handle the replies to pending command in an asynchronous manner.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47426 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| 341d8fd9 | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Refactor scmi_request internal logic
Split scmi_request internals into a TX and an RX phase, which will be called, anyway, in sequence as before when a normal transmission is requested.
No fu
scmi: Refactor scmi_request internal logic
Split scmi_request internals into a TX and an RX phase, which will be called, anyway, in sequence as before when a normal transmission is requested.
No functional change.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47425 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| c508841d | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add scmi_token_reserve helper
During normal operation, the SCMI stack, upon each transmission attempt, takes care to automatically pick an appropriate, monotonically increasing, sequence numbe
scmi: Add scmi_token_reserve helper
During normal operation, the SCMI stack, upon each transmission attempt, takes care to automatically pick an appropriate, monotonically increasing, sequence number to fill-in the token field in the egressing message.
This does not cope well with the alternative scenario in which, instead, a complete and fully formed message is provided upfront: in such a case the SCMI stack will have to use the already provided sequence number, embedded in the message, to track such transaction.
Add a method to attempt to reserve a specific sequence number to be used when a fully firmed (raw) message is handled.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Pull Request: https://reviews.freebsd.org/D47424 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|
| e887179d | 23-Jan-2025 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add helper to manipulate scmi_msg descriptors
Refactor allocation logic for scmi_req and introduce new helpers to be able to obtain an scmi_msg reference to a freshly allocated request.
Teste
scmi: Add helper to manipulate scmi_msg descriptors
Refactor allocation logic for scmi_req and introduce new helpers to be able to obtain an scmi_msg reference to a freshly allocated request.
Tested on: Arm Morello Board Reviewed by: andrew Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D47423 Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
show more ...
|