[PATCH] vhost: Add uAPI for Vhost SCMI backend

From: Neeraj Upadhyay
Date: Sun Feb 12 2023 - 23:34:44 EST


Add a uAPI for starting and stopping a SCMI vhost based
backend.

Signed-off-by: Neeraj Upadhyay <quic_neeraju@xxxxxxxxxxx>
---

SCMI Vhost backend implementation is work in progress: https://lore.kernel.org/linux-arm-kernel/20220609071956.5183-1-quic_neeraju@xxxxxxxxxxx/

include/uapi/linux/vhost.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/include/uapi/linux/vhost.h b/include/uapi/linux/vhost.h
index 92e1b700b51c..80f589f35295 100644
--- a/include/uapi/linux/vhost.h
+++ b/include/uapi/linux/vhost.h
@@ -188,4 +188,7 @@
*/
#define VHOST_VDPA_RESUME _IO(VHOST_VIRTIO, 0x7E)

+/* VHOST_SCMI specific defines */
+#define VHOST_SCMI_SET_RUNNING _IOW(VHOST_VIRTIO, 0x90, int)
+
#endif
--
2.17.1