Patch "virtio_crypto: Introduce VIRTIO_CRYPTO_NOSPC" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    virtio_crypto: Introduce VIRTIO_CRYPTO_NOSPC

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     virtio_crypto-introduce-virtio_crypto_nospc.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit be6aa7faebf89d68249a8e80091f343ccfb3acfb
Author: zhenwei pi <pizhenwei@xxxxxxxxxxxxx>
Date:   Wed Mar 2 11:39:14 2022 +0800

    virtio_crypto: Introduce VIRTIO_CRYPTO_NOSPC
    
    [ Upstream commit 13d640a3e9a3ac7ec694843d3d3b785e85fb8cb8 ]
    
    Base on the lastest virtio crypto spec, define VIRTIO_CRYPTO_NOSPC.
    
    Reviewed-by: Gonglei <arei.gonglei@xxxxxxxxxx>
    Signed-off-by: zhenwei pi <pizhenwei@xxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220302033917.1295334-2-pizhenwei@xxxxxxxxxxxxx
    Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
    Stable-dep-of: fed93fb62e05 ("crypto: virtio - Handle dataq logic with tasklet")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/uapi/linux/virtio_crypto.h b/include/uapi/linux/virtio_crypto.h
index 50cdc8aebfcf..05330284eb59 100644
--- a/include/uapi/linux/virtio_crypto.h
+++ b/include/uapi/linux/virtio_crypto.h
@@ -408,6 +408,7 @@ struct virtio_crypto_op_data_req {
 #define VIRTIO_CRYPTO_BADMSG    2
 #define VIRTIO_CRYPTO_NOTSUPP   3
 #define VIRTIO_CRYPTO_INVSESS   4 /* Invalid session id */
+#define VIRTIO_CRYPTO_NOSPC     5 /* no free session ID */
 
 /* The accelerator hardware is ready */
 #define VIRTIO_CRYPTO_S_HW_READY  (1 << 0)




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux