[PATCH] vhost: Add uAPI for Vhost SCMI backend

Neeraj Upadhyay posted 1 patch 2 years, 7 months ago
include/uapi/linux/vhost.h | 3 +++
1 file changed, 3 insertions(+)
[PATCH] vhost: Add uAPI for Vhost SCMI backend
Posted by Neeraj Upadhyay 2 years, 7 months ago
Add a uAPI for starting and stopping a SCMI vhost based
backend.

Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
---

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

 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
Re: [PATCH] vhost: Add uAPI for Vhost SCMI backend
Posted by Leon Romanovsky 2 years, 7 months ago
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 <quic_neeraju@quicinc.com>
> ---
> 
> SCMI Vhost backend implementation is work in progress: https://lore.kernel.org/linux-arm-kernel/20220609071956.5183-1-quic_neeraju@quicinc.com/

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

Thanks