diff mbox series

vhost: Add uAPI for Vhost SCMI backend

Message ID 20230213043417.20249-1-quic_neeraju@quicinc.com (mailing list archive)
State New, archived
Headers show
Series vhost: Add uAPI for Vhost SCMI backend | expand

Commit Message

Neeraj Upadhyay Feb. 13, 2023, 4:34 a.m. UTC
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(+)

Comments

Leon Romanovsky Feb. 13, 2023, 8:03 a.m. UTC | #1
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
diff mbox series

Patch

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