[PATCH v4 08/12] firmware: arm_scmi: Declare virtio transport .atomic_capable
Cristian Marussi
cristian.marussi at arm.com
Tue Aug 24 06:59:37 PDT 2021
SCMI virtio transport support does not contain any sleeping pattern, so
declare it as .atomic_capable.
Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
---
drivers/firmware/arm_scmi/virtio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/arm_scmi/virtio.c b/drivers/firmware/arm_scmi/virtio.c
index 224577f86928..eabe430595f0 100644
--- a/drivers/firmware/arm_scmi/virtio.c
+++ b/drivers/firmware/arm_scmi/virtio.c
@@ -488,4 +488,5 @@ const struct scmi_desc scmi_virtio_desc = {
.max_rx_timeout_ms = 60000, /* for non-realtime virtio devices */
.max_msg = 0, /* overridden by virtio_get_max_msg() */
.max_msg_size = VIRTIO_SCMI_MAX_MSG_SIZE,
+ .atomic_capable = true,
};
--
2.17.1
More information about the linux-arm-kernel
mailing list