2023-02-13 04:34:43

by Neeraj Upadhyay

[permalink] [raw]
Subject: [PATCH] vhost: Add uAPI for Vhost SCMI backend

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

Signed-off-by: Neeraj Upadhyay <[email protected]>
---

SCMI Vhost backend implementation is work in progress: https://lore.kernel.org/linux-arm-kernel/[email protected]/

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



2023-02-13 08:04:10

by Leon Romanovsky

[permalink] [raw]
Subject: Re: [PATCH] vhost: Add uAPI for Vhost SCMI backend

On Mon, Feb 13, 2023 at 10:04:17AM +0530, Neeraj Upadhyay wrote:
> Add a uAPI for starting and stopping a SCMI vhost based
> backend.
>
> Signed-off-by: Neeraj Upadhyay <[email protected]>
> ---
>
> SCMI Vhost backend implementation is work in progress: https://lore.kernel.org/linux-arm-kernel/[email protected]/

Excellent, and this UAPI patch should come together with kernel code
which needs this new define.

Thanks