From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev, kernel test robot <lkp@intel.com>,
lei he <helei.sig11@bytedance.com>,
zhenwei pi <pizhenwei@bytedance.com>,
Gonglei <arei.gonglei@huawei.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
Sasha Levin <sashal@kernel.org>,
Nathan Chancellor <nathan@kernel.org>
Subject: [PATCH 5.10 079/286] virtio-crypto: implement RSA algorithm
Date: Mon, 22 Jan 2024 15:56:25 -0800 [thread overview]
Message-ID: <20240122235735.084838403@linuxfoundation.org> (raw)
In-Reply-To: <20240122235732.009174833@linuxfoundation.org>
5.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: zhenwei pi <pizhenwei@bytedance.com>
[ Upstream commit 59ca6c93387d325e96577d8bd4c23c78c1491c11 ]
Support rsa & pkcs1pad(rsa,sha1) with priority 150.
Test with QEMU built-in backend, it works fine.
1, The self-test framework of crypto layer works fine in guest kernel
2, Test with Linux guest(with asym support), the following script
test(note that pkey_XXX is supported only in a newer version of keyutils):
- both public key & private key
- create/close session
- encrypt/decrypt/sign/verify basic driver operation
- also test with kernel crypto layer(pkey add/query)
All the cases work fine.
rm -rf *.der *.pem *.pfx
modprobe pkcs8_key_parser # if CONFIG_PKCS8_PRIVATE_KEY_PARSER=m
rm -rf /tmp/data
dd if=/dev/random of=/tmp/data count=1 bs=226
openssl req -nodes -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -subj "/C=CN/ST=BJ/L=HD/O=qemu/OU=dev/CN=qemu/emailAddress=qemu@qemu.org"
openssl pkcs8 -in key.pem -topk8 -nocrypt -outform DER -out key.der
openssl x509 -in cert.pem -inform PEM -outform DER -out cert.der
PRIV_KEY_ID=`cat key.der | keyctl padd asymmetric test_priv_key @s`
echo "priv key id = "$PRIV_KEY_ID
PUB_KEY_ID=`cat cert.der | keyctl padd asymmetric test_pub_key @s`
echo "pub key id = "$PUB_KEY_ID
keyctl pkey_query $PRIV_KEY_ID 0
keyctl pkey_query $PUB_KEY_ID 0
echo "Enc with priv key..."
keyctl pkey_encrypt $PRIV_KEY_ID 0 /tmp/data enc=pkcs1 >/tmp/enc.priv
echo "Dec with pub key..."
keyctl pkey_decrypt $PRIV_KEY_ID 0 /tmp/enc.priv enc=pkcs1 >/tmp/dec
cmp /tmp/data /tmp/dec
echo "Sign with priv key..."
keyctl pkey_sign $PRIV_KEY_ID 0 /tmp/data enc=pkcs1 hash=sha1 > /tmp/sig
echo "Verify with pub key..."
keyctl pkey_verify $PRIV_KEY_ID 0 /tmp/data /tmp/sig enc=pkcs1 hash=sha1
echo "Enc with pub key..."
keyctl pkey_encrypt $PUB_KEY_ID 0 /tmp/data enc=pkcs1 >/tmp/enc.pub
echo "Dec with priv key..."
keyctl pkey_decrypt $PRIV_KEY_ID 0 /tmp/enc.pub enc=pkcs1 >/tmp/dec
cmp /tmp/data /tmp/dec
echo "Verify with pub key..."
keyctl pkey_verify $PUB_KEY_ID 0 /tmp/data /tmp/sig enc=pkcs1 hash=sha1
[1 compiling warning during development]
Reported-by: kernel test robot <lkp@intel.com>
Co-developed-by: lei he <helei.sig11@bytedance.com>
Signed-off-by: lei he <helei.sig11@bytedance.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Link: https://lore.kernel.org/r/20220302033917.1295334-4-pizhenwei@bytedance.com
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org> #Kconfig tweaks
Link: https://lore.kernel.org/r/20220308205309.2192502-1-nathan@kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Stable-dep-of: fed93fb62e05 ("crypto: virtio - Handle dataq logic with tasklet")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
drivers/crypto/virtio/Kconfig | 3 +
drivers/crypto/virtio/Makefile | 1 +
.../virtio/virtio_crypto_akcipher_algs.c | 585 ++++++++++++++++++
drivers/crypto/virtio/virtio_crypto_common.h | 3 +
drivers/crypto/virtio/virtio_crypto_core.c | 6 +-
drivers/crypto/virtio/virtio_crypto_mgr.c | 11 +
6 files changed, 608 insertions(+), 1 deletion(-)
create mode 100644 drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
diff --git a/drivers/crypto/virtio/Kconfig b/drivers/crypto/virtio/Kconfig
index b894e3a8be4f..5f8915f4a9ff 100644
--- a/drivers/crypto/virtio/Kconfig
+++ b/drivers/crypto/virtio/Kconfig
@@ -3,8 +3,11 @@ config CRYPTO_DEV_VIRTIO
tristate "VirtIO crypto driver"
depends on VIRTIO
select CRYPTO_AEAD
+ select CRYPTO_AKCIPHER2
select CRYPTO_SKCIPHER
select CRYPTO_ENGINE
+ select CRYPTO_RSA
+ select MPILIB
help
This driver provides support for virtio crypto device. If you
choose 'M' here, this module will be called virtio_crypto.
diff --git a/drivers/crypto/virtio/Makefile b/drivers/crypto/virtio/Makefile
index cbfccccfa135..f2b839473d61 100644
--- a/drivers/crypto/virtio/Makefile
+++ b/drivers/crypto/virtio/Makefile
@@ -2,5 +2,6 @@
obj-$(CONFIG_CRYPTO_DEV_VIRTIO) += virtio_crypto.o
virtio_crypto-objs := \
virtio_crypto_algs.o \
+ virtio_crypto_akcipher_algs.o \
virtio_crypto_mgr.o \
virtio_crypto_core.o
diff --git a/drivers/crypto/virtio/virtio_crypto_akcipher_algs.c b/drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
new file mode 100644
index 000000000000..f3ec9420215e
--- /dev/null
+++ b/drivers/crypto/virtio/virtio_crypto_akcipher_algs.c
@@ -0,0 +1,585 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+ /* Asymmetric algorithms supported by virtio crypto device
+ *
+ * Authors: zhenwei pi <pizhenwei@bytedance.com>
+ * lei he <helei.sig11@bytedance.com>
+ *
+ * Copyright 2022 Bytedance CO., LTD.
+ */
+
+#include <linux/mpi.h>
+#include <linux/scatterlist.h>
+#include <crypto/algapi.h>
+#include <crypto/internal/akcipher.h>
+#include <crypto/internal/rsa.h>
+#include <linux/err.h>
+#include <crypto/scatterwalk.h>
+#include <linux/atomic.h>
+
+#include <uapi/linux/virtio_crypto.h>
+#include "virtio_crypto_common.h"
+
+struct virtio_crypto_rsa_ctx {
+ MPI n;
+};
+
+struct virtio_crypto_akcipher_ctx {
+ struct crypto_engine_ctx enginectx;
+ struct virtio_crypto *vcrypto;
+ struct crypto_akcipher *tfm;
+ bool session_valid;
+ __u64 session_id;
+ union {
+ struct virtio_crypto_rsa_ctx rsa_ctx;
+ };
+};
+
+struct virtio_crypto_akcipher_request {
+ struct virtio_crypto_request base;
+ struct virtio_crypto_akcipher_ctx *akcipher_ctx;
+ struct akcipher_request *akcipher_req;
+ void *src_buf;
+ void *dst_buf;
+ uint32_t opcode;
+};
+
+struct virtio_crypto_akcipher_algo {
+ uint32_t algonum;
+ uint32_t service;
+ unsigned int active_devs;
+ struct akcipher_alg algo;
+};
+
+static DEFINE_MUTEX(algs_lock);
+
+static void virtio_crypto_akcipher_finalize_req(
+ struct virtio_crypto_akcipher_request *vc_akcipher_req,
+ struct akcipher_request *req, int err)
+{
+ virtcrypto_clear_request(&vc_akcipher_req->base);
+
+ crypto_finalize_akcipher_request(vc_akcipher_req->base.dataq->engine, req, err);
+}
+
+static void virtio_crypto_dataq_akcipher_callback(struct virtio_crypto_request *vc_req, int len)
+{
+ struct virtio_crypto_akcipher_request *vc_akcipher_req =
+ container_of(vc_req, struct virtio_crypto_akcipher_request, base);
+ struct akcipher_request *akcipher_req;
+ int error;
+
+ switch (vc_req->status) {
+ case VIRTIO_CRYPTO_OK:
+ error = 0;
+ break;
+ case VIRTIO_CRYPTO_INVSESS:
+ case VIRTIO_CRYPTO_ERR:
+ error = -EINVAL;
+ break;
+ case VIRTIO_CRYPTO_BADMSG:
+ error = -EBADMSG;
+ break;
+
+ case VIRTIO_CRYPTO_KEY_REJECTED:
+ error = -EKEYREJECTED;
+ break;
+
+ default:
+ error = -EIO;
+ break;
+ }
+
+ akcipher_req = vc_akcipher_req->akcipher_req;
+ if (vc_akcipher_req->opcode != VIRTIO_CRYPTO_AKCIPHER_VERIFY)
+ sg_copy_from_buffer(akcipher_req->dst, sg_nents(akcipher_req->dst),
+ vc_akcipher_req->dst_buf, akcipher_req->dst_len);
+ virtio_crypto_akcipher_finalize_req(vc_akcipher_req, akcipher_req, error);
+}
+
+static int virtio_crypto_alg_akcipher_init_session(struct virtio_crypto_akcipher_ctx *ctx,
+ struct virtio_crypto_ctrl_header *header, void *para,
+ const uint8_t *key, unsigned int keylen)
+{
+ struct scatterlist outhdr_sg, key_sg, inhdr_sg, *sgs[3];
+ struct virtio_crypto *vcrypto = ctx->vcrypto;
+ uint8_t *pkey;
+ unsigned int inlen;
+ int err;
+ unsigned int num_out = 0, num_in = 0;
+
+ pkey = kmemdup(key, keylen, GFP_ATOMIC);
+ if (!pkey)
+ return -ENOMEM;
+
+ spin_lock(&vcrypto->ctrl_lock);
+ memcpy(&vcrypto->ctrl.header, header, sizeof(vcrypto->ctrl.header));
+ memcpy(&vcrypto->ctrl.u, para, sizeof(vcrypto->ctrl.u));
+ vcrypto->input.status = cpu_to_le32(VIRTIO_CRYPTO_ERR);
+
+ sg_init_one(&outhdr_sg, &vcrypto->ctrl, sizeof(vcrypto->ctrl));
+ sgs[num_out++] = &outhdr_sg;
+
+ sg_init_one(&key_sg, pkey, keylen);
+ sgs[num_out++] = &key_sg;
+
+ sg_init_one(&inhdr_sg, &vcrypto->input, sizeof(vcrypto->input));
+ sgs[num_out + num_in++] = &inhdr_sg;
+
+ err = virtqueue_add_sgs(vcrypto->ctrl_vq, sgs, num_out, num_in, vcrypto, GFP_ATOMIC);
+ if (err < 0)
+ goto out;
+
+ virtqueue_kick(vcrypto->ctrl_vq);
+ while (!virtqueue_get_buf(vcrypto->ctrl_vq, &inlen) &&
+ !virtqueue_is_broken(vcrypto->ctrl_vq))
+ cpu_relax();
+
+ if (le32_to_cpu(vcrypto->input.status) != VIRTIO_CRYPTO_OK) {
+ err = -EINVAL;
+ goto out;
+ }
+
+ ctx->session_id = le64_to_cpu(vcrypto->input.session_id);
+ ctx->session_valid = true;
+ err = 0;
+
+out:
+ spin_unlock(&vcrypto->ctrl_lock);
+ kfree_sensitive(pkey);
+
+ if (err < 0)
+ pr_err("virtio_crypto: Create session failed status: %u\n",
+ le32_to_cpu(vcrypto->input.status));
+
+ return err;
+}
+
+static int virtio_crypto_alg_akcipher_close_session(struct virtio_crypto_akcipher_ctx *ctx)
+{
+ struct scatterlist outhdr_sg, inhdr_sg, *sgs[2];
+ struct virtio_crypto_destroy_session_req *destroy_session;
+ struct virtio_crypto *vcrypto = ctx->vcrypto;
+ unsigned int num_out = 0, num_in = 0, inlen;
+ int err;
+
+ spin_lock(&vcrypto->ctrl_lock);
+ if (!ctx->session_valid) {
+ err = 0;
+ goto out;
+ }
+ vcrypto->ctrl_status.status = VIRTIO_CRYPTO_ERR;
+ vcrypto->ctrl.header.opcode = cpu_to_le32(VIRTIO_CRYPTO_AKCIPHER_DESTROY_SESSION);
+ vcrypto->ctrl.header.queue_id = 0;
+
+ destroy_session = &vcrypto->ctrl.u.destroy_session;
+ destroy_session->session_id = cpu_to_le64(ctx->session_id);
+
+ sg_init_one(&outhdr_sg, &vcrypto->ctrl, sizeof(vcrypto->ctrl));
+ sgs[num_out++] = &outhdr_sg;
+
+ sg_init_one(&inhdr_sg, &vcrypto->ctrl_status.status, sizeof(vcrypto->ctrl_status.status));
+ sgs[num_out + num_in++] = &inhdr_sg;
+
+ err = virtqueue_add_sgs(vcrypto->ctrl_vq, sgs, num_out, num_in, vcrypto, GFP_ATOMIC);
+ if (err < 0)
+ goto out;
+
+ virtqueue_kick(vcrypto->ctrl_vq);
+ while (!virtqueue_get_buf(vcrypto->ctrl_vq, &inlen) &&
+ !virtqueue_is_broken(vcrypto->ctrl_vq))
+ cpu_relax();
+
+ if (vcrypto->ctrl_status.status != VIRTIO_CRYPTO_OK) {
+ err = -EINVAL;
+ goto out;
+ }
+
+ err = 0;
+ ctx->session_valid = false;
+
+out:
+ spin_unlock(&vcrypto->ctrl_lock);
+ if (err < 0) {
+ pr_err("virtio_crypto: Close session failed status: %u, session_id: 0x%llx\n",
+ vcrypto->ctrl_status.status, destroy_session->session_id);
+ }
+
+ return err;
+}
+
+static int __virtio_crypto_akcipher_do_req(struct virtio_crypto_akcipher_request *vc_akcipher_req,
+ struct akcipher_request *req, struct data_queue *data_vq)
+{
+ struct virtio_crypto_akcipher_ctx *ctx = vc_akcipher_req->akcipher_ctx;
+ struct virtio_crypto_request *vc_req = &vc_akcipher_req->base;
+ struct virtio_crypto *vcrypto = ctx->vcrypto;
+ struct virtio_crypto_op_data_req *req_data = vc_req->req_data;
+ struct scatterlist *sgs[4], outhdr_sg, inhdr_sg, srcdata_sg, dstdata_sg;
+ void *src_buf = NULL, *dst_buf = NULL;
+ unsigned int num_out = 0, num_in = 0;
+ int node = dev_to_node(&vcrypto->vdev->dev);
+ unsigned long flags;
+ int ret = -ENOMEM;
+ bool verify = vc_akcipher_req->opcode == VIRTIO_CRYPTO_AKCIPHER_VERIFY;
+ unsigned int src_len = verify ? req->src_len + req->dst_len : req->src_len;
+
+ /* out header */
+ sg_init_one(&outhdr_sg, req_data, sizeof(*req_data));
+ sgs[num_out++] = &outhdr_sg;
+
+ /* src data */
+ src_buf = kcalloc_node(src_len, 1, GFP_KERNEL, node);
+ if (!src_buf)
+ goto err;
+
+ if (verify) {
+ /* for verify operation, both src and dst data work as OUT direction */
+ sg_copy_to_buffer(req->src, sg_nents(req->src), src_buf, src_len);
+ sg_init_one(&srcdata_sg, src_buf, src_len);
+ sgs[num_out++] = &srcdata_sg;
+ } else {
+ sg_copy_to_buffer(req->src, sg_nents(req->src), src_buf, src_len);
+ sg_init_one(&srcdata_sg, src_buf, src_len);
+ sgs[num_out++] = &srcdata_sg;
+
+ /* dst data */
+ dst_buf = kcalloc_node(req->dst_len, 1, GFP_KERNEL, node);
+ if (!dst_buf)
+ goto err;
+
+ sg_init_one(&dstdata_sg, dst_buf, req->dst_len);
+ sgs[num_out + num_in++] = &dstdata_sg;
+ }
+
+ vc_akcipher_req->src_buf = src_buf;
+ vc_akcipher_req->dst_buf = dst_buf;
+
+ /* in header */
+ sg_init_one(&inhdr_sg, &vc_req->status, sizeof(vc_req->status));
+ sgs[num_out + num_in++] = &inhdr_sg;
+
+ spin_lock_irqsave(&data_vq->lock, flags);
+ ret = virtqueue_add_sgs(data_vq->vq, sgs, num_out, num_in, vc_req, GFP_ATOMIC);
+ virtqueue_kick(data_vq->vq);
+ spin_unlock_irqrestore(&data_vq->lock, flags);
+ if (ret)
+ goto err;
+
+ return 0;
+
+err:
+ kfree(src_buf);
+ kfree(dst_buf);
+
+ return -ENOMEM;
+}
+
+static int virtio_crypto_rsa_do_req(struct crypto_engine *engine, void *vreq)
+{
+ struct akcipher_request *req = container_of(vreq, struct akcipher_request, base);
+ struct virtio_crypto_akcipher_request *vc_akcipher_req = akcipher_request_ctx(req);
+ struct virtio_crypto_request *vc_req = &vc_akcipher_req->base;
+ struct virtio_crypto_akcipher_ctx *ctx = vc_akcipher_req->akcipher_ctx;
+ struct virtio_crypto *vcrypto = ctx->vcrypto;
+ struct data_queue *data_vq = vc_req->dataq;
+ struct virtio_crypto_op_header *header;
+ struct virtio_crypto_akcipher_data_req *akcipher_req;
+ int ret;
+
+ vc_req->sgs = NULL;
+ vc_req->req_data = kzalloc_node(sizeof(*vc_req->req_data),
+ GFP_KERNEL, dev_to_node(&vcrypto->vdev->dev));
+ if (!vc_req->req_data)
+ return -ENOMEM;
+
+ /* build request header */
+ header = &vc_req->req_data->header;
+ header->opcode = cpu_to_le32(vc_akcipher_req->opcode);
+ header->algo = cpu_to_le32(VIRTIO_CRYPTO_AKCIPHER_RSA);
+ header->session_id = cpu_to_le64(ctx->session_id);
+
+ /* build request akcipher data */
+ akcipher_req = &vc_req->req_data->u.akcipher_req;
+ akcipher_req->para.src_data_len = cpu_to_le32(req->src_len);
+ akcipher_req->para.dst_data_len = cpu_to_le32(req->dst_len);
+
+ ret = __virtio_crypto_akcipher_do_req(vc_akcipher_req, req, data_vq);
+ if (ret < 0) {
+ kfree_sensitive(vc_req->req_data);
+ vc_req->req_data = NULL;
+ return ret;
+ }
+
+ return 0;
+}
+
+static int virtio_crypto_rsa_req(struct akcipher_request *req, uint32_t opcode)
+{
+ struct crypto_akcipher *atfm = crypto_akcipher_reqtfm(req);
+ struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(atfm);
+ struct virtio_crypto_akcipher_request *vc_akcipher_req = akcipher_request_ctx(req);
+ struct virtio_crypto_request *vc_req = &vc_akcipher_req->base;
+ struct virtio_crypto *vcrypto = ctx->vcrypto;
+ /* Use the first data virtqueue as default */
+ struct data_queue *data_vq = &vcrypto->data_vq[0];
+
+ vc_req->dataq = data_vq;
+ vc_req->alg_cb = virtio_crypto_dataq_akcipher_callback;
+ vc_akcipher_req->akcipher_ctx = ctx;
+ vc_akcipher_req->akcipher_req = req;
+ vc_akcipher_req->opcode = opcode;
+
+ return crypto_transfer_akcipher_request_to_engine(data_vq->engine, req);
+}
+
+static int virtio_crypto_rsa_encrypt(struct akcipher_request *req)
+{
+ return virtio_crypto_rsa_req(req, VIRTIO_CRYPTO_AKCIPHER_ENCRYPT);
+}
+
+static int virtio_crypto_rsa_decrypt(struct akcipher_request *req)
+{
+ return virtio_crypto_rsa_req(req, VIRTIO_CRYPTO_AKCIPHER_DECRYPT);
+}
+
+static int virtio_crypto_rsa_sign(struct akcipher_request *req)
+{
+ return virtio_crypto_rsa_req(req, VIRTIO_CRYPTO_AKCIPHER_SIGN);
+}
+
+static int virtio_crypto_rsa_verify(struct akcipher_request *req)
+{
+ return virtio_crypto_rsa_req(req, VIRTIO_CRYPTO_AKCIPHER_VERIFY);
+}
+
+static int virtio_crypto_rsa_set_key(struct crypto_akcipher *tfm,
+ const void *key,
+ unsigned int keylen,
+ bool private,
+ int padding_algo,
+ int hash_algo)
+{
+ struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm);
+ struct virtio_crypto_rsa_ctx *rsa_ctx = &ctx->rsa_ctx;
+ struct virtio_crypto *vcrypto;
+ struct virtio_crypto_ctrl_header header;
+ struct virtio_crypto_akcipher_session_para para;
+ struct rsa_key rsa_key = {0};
+ int node = virtio_crypto_get_current_node();
+ uint32_t keytype;
+ int ret;
+
+ /* mpi_free will test n, just free it. */
+ mpi_free(rsa_ctx->n);
+ rsa_ctx->n = NULL;
+
+ if (private) {
+ keytype = VIRTIO_CRYPTO_AKCIPHER_KEY_TYPE_PRIVATE;
+ ret = rsa_parse_priv_key(&rsa_key, key, keylen);
+ } else {
+ keytype = VIRTIO_CRYPTO_AKCIPHER_KEY_TYPE_PUBLIC;
+ ret = rsa_parse_pub_key(&rsa_key, key, keylen);
+ }
+
+ if (ret)
+ return ret;
+
+ rsa_ctx->n = mpi_read_raw_data(rsa_key.n, rsa_key.n_sz);
+ if (!rsa_ctx->n)
+ return -ENOMEM;
+
+ if (!ctx->vcrypto) {
+ vcrypto = virtcrypto_get_dev_node(node, VIRTIO_CRYPTO_SERVICE_AKCIPHER,
+ VIRTIO_CRYPTO_AKCIPHER_RSA);
+ if (!vcrypto) {
+ pr_err("virtio_crypto: Could not find a virtio device in the system or unsupported algo\n");
+ return -ENODEV;
+ }
+
+ ctx->vcrypto = vcrypto;
+ } else {
+ virtio_crypto_alg_akcipher_close_session(ctx);
+ }
+
+ /* set ctrl header */
+ header.opcode = cpu_to_le32(VIRTIO_CRYPTO_AKCIPHER_CREATE_SESSION);
+ header.algo = cpu_to_le32(VIRTIO_CRYPTO_AKCIPHER_RSA);
+ header.queue_id = 0;
+
+ /* set RSA para */
+ para.algo = cpu_to_le32(VIRTIO_CRYPTO_AKCIPHER_RSA);
+ para.keytype = cpu_to_le32(keytype);
+ para.keylen = cpu_to_le32(keylen);
+ para.u.rsa.padding_algo = cpu_to_le32(padding_algo);
+ para.u.rsa.hash_algo = cpu_to_le32(hash_algo);
+
+ return virtio_crypto_alg_akcipher_init_session(ctx, &header, ¶, key, keylen);
+}
+
+static int virtio_crypto_rsa_raw_set_priv_key(struct crypto_akcipher *tfm,
+ const void *key,
+ unsigned int keylen)
+{
+ return virtio_crypto_rsa_set_key(tfm, key, keylen, 1,
+ VIRTIO_CRYPTO_RSA_RAW_PADDING,
+ VIRTIO_CRYPTO_RSA_NO_HASH);
+}
+
+
+static int virtio_crypto_p1pad_rsa_sha1_set_priv_key(struct crypto_akcipher *tfm,
+ const void *key,
+ unsigned int keylen)
+{
+ return virtio_crypto_rsa_set_key(tfm, key, keylen, 1,
+ VIRTIO_CRYPTO_RSA_PKCS1_PADDING,
+ VIRTIO_CRYPTO_RSA_SHA1);
+}
+
+static int virtio_crypto_rsa_raw_set_pub_key(struct crypto_akcipher *tfm,
+ const void *key,
+ unsigned int keylen)
+{
+ return virtio_crypto_rsa_set_key(tfm, key, keylen, 0,
+ VIRTIO_CRYPTO_RSA_RAW_PADDING,
+ VIRTIO_CRYPTO_RSA_NO_HASH);
+}
+
+static int virtio_crypto_p1pad_rsa_sha1_set_pub_key(struct crypto_akcipher *tfm,
+ const void *key,
+ unsigned int keylen)
+{
+ return virtio_crypto_rsa_set_key(tfm, key, keylen, 0,
+ VIRTIO_CRYPTO_RSA_PKCS1_PADDING,
+ VIRTIO_CRYPTO_RSA_SHA1);
+}
+
+static unsigned int virtio_crypto_rsa_max_size(struct crypto_akcipher *tfm)
+{
+ struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm);
+ struct virtio_crypto_rsa_ctx *rsa_ctx = &ctx->rsa_ctx;
+
+ return mpi_get_size(rsa_ctx->n);
+}
+
+static int virtio_crypto_rsa_init_tfm(struct crypto_akcipher *tfm)
+{
+ struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm);
+
+ ctx->tfm = tfm;
+ ctx->enginectx.op.do_one_request = virtio_crypto_rsa_do_req;
+ ctx->enginectx.op.prepare_request = NULL;
+ ctx->enginectx.op.unprepare_request = NULL;
+
+ return 0;
+}
+
+static void virtio_crypto_rsa_exit_tfm(struct crypto_akcipher *tfm)
+{
+ struct virtio_crypto_akcipher_ctx *ctx = akcipher_tfm_ctx(tfm);
+ struct virtio_crypto_rsa_ctx *rsa_ctx = &ctx->rsa_ctx;
+
+ virtio_crypto_alg_akcipher_close_session(ctx);
+ virtcrypto_dev_put(ctx->vcrypto);
+ mpi_free(rsa_ctx->n);
+ rsa_ctx->n = NULL;
+}
+
+static struct virtio_crypto_akcipher_algo virtio_crypto_akcipher_algs[] = {
+ {
+ .algonum = VIRTIO_CRYPTO_AKCIPHER_RSA,
+ .service = VIRTIO_CRYPTO_SERVICE_AKCIPHER,
+ .algo = {
+ .encrypt = virtio_crypto_rsa_encrypt,
+ .decrypt = virtio_crypto_rsa_decrypt,
+ .set_pub_key = virtio_crypto_rsa_raw_set_pub_key,
+ .set_priv_key = virtio_crypto_rsa_raw_set_priv_key,
+ .max_size = virtio_crypto_rsa_max_size,
+ .init = virtio_crypto_rsa_init_tfm,
+ .exit = virtio_crypto_rsa_exit_tfm,
+ .reqsize = sizeof(struct virtio_crypto_akcipher_request),
+ .base = {
+ .cra_name = "rsa",
+ .cra_driver_name = "virtio-crypto-rsa",
+ .cra_priority = 150,
+ .cra_module = THIS_MODULE,
+ .cra_ctxsize = sizeof(struct virtio_crypto_akcipher_ctx),
+ },
+ },
+ },
+ {
+ .algonum = VIRTIO_CRYPTO_AKCIPHER_RSA,
+ .service = VIRTIO_CRYPTO_SERVICE_AKCIPHER,
+ .algo = {
+ .encrypt = virtio_crypto_rsa_encrypt,
+ .decrypt = virtio_crypto_rsa_decrypt,
+ .sign = virtio_crypto_rsa_sign,
+ .verify = virtio_crypto_rsa_verify,
+ .set_pub_key = virtio_crypto_p1pad_rsa_sha1_set_pub_key,
+ .set_priv_key = virtio_crypto_p1pad_rsa_sha1_set_priv_key,
+ .max_size = virtio_crypto_rsa_max_size,
+ .init = virtio_crypto_rsa_init_tfm,
+ .exit = virtio_crypto_rsa_exit_tfm,
+ .reqsize = sizeof(struct virtio_crypto_akcipher_request),
+ .base = {
+ .cra_name = "pkcs1pad(rsa,sha1)",
+ .cra_driver_name = "virtio-pkcs1-rsa-with-sha1",
+ .cra_priority = 150,
+ .cra_module = THIS_MODULE,
+ .cra_ctxsize = sizeof(struct virtio_crypto_akcipher_ctx),
+ },
+ },
+ },
+};
+
+int virtio_crypto_akcipher_algs_register(struct virtio_crypto *vcrypto)
+{
+ int ret = 0;
+ int i = 0;
+
+ mutex_lock(&algs_lock);
+
+ for (i = 0; i < ARRAY_SIZE(virtio_crypto_akcipher_algs); i++) {
+ uint32_t service = virtio_crypto_akcipher_algs[i].service;
+ uint32_t algonum = virtio_crypto_akcipher_algs[i].algonum;
+
+ if (!virtcrypto_algo_is_supported(vcrypto, service, algonum))
+ continue;
+
+ if (virtio_crypto_akcipher_algs[i].active_devs == 0) {
+ ret = crypto_register_akcipher(&virtio_crypto_akcipher_algs[i].algo);
+ if (ret)
+ goto unlock;
+ }
+
+ virtio_crypto_akcipher_algs[i].active_devs++;
+ dev_info(&vcrypto->vdev->dev, "Registered akcipher algo %s\n",
+ virtio_crypto_akcipher_algs[i].algo.base.cra_name);
+ }
+
+unlock:
+ mutex_unlock(&algs_lock);
+ return ret;
+}
+
+void virtio_crypto_akcipher_algs_unregister(struct virtio_crypto *vcrypto)
+{
+ int i = 0;
+
+ mutex_lock(&algs_lock);
+
+ for (i = 0; i < ARRAY_SIZE(virtio_crypto_akcipher_algs); i++) {
+ uint32_t service = virtio_crypto_akcipher_algs[i].service;
+ uint32_t algonum = virtio_crypto_akcipher_algs[i].algonum;
+
+ if (virtio_crypto_akcipher_algs[i].active_devs == 0 ||
+ !virtcrypto_algo_is_supported(vcrypto, service, algonum))
+ continue;
+
+ if (virtio_crypto_akcipher_algs[i].active_devs == 1)
+ crypto_unregister_akcipher(&virtio_crypto_akcipher_algs[i].algo);
+
+ virtio_crypto_akcipher_algs[i].active_devs--;
+ }
+
+ mutex_unlock(&algs_lock);
+}
diff --git a/drivers/crypto/virtio/virtio_crypto_common.h b/drivers/crypto/virtio/virtio_crypto_common.h
index a24f85c589e7..214f9a6fcf84 100644
--- a/drivers/crypto/virtio/virtio_crypto_common.h
+++ b/drivers/crypto/virtio/virtio_crypto_common.h
@@ -56,6 +56,7 @@ struct virtio_crypto {
u32 mac_algo_l;
u32 mac_algo_h;
u32 aead_algo;
+ u32 akcipher_algo;
/* Maximum length of cipher key */
u32 max_cipher_key_len;
@@ -131,5 +132,7 @@ static inline int virtio_crypto_get_current_node(void)
int virtio_crypto_algs_register(struct virtio_crypto *vcrypto);
void virtio_crypto_algs_unregister(struct virtio_crypto *vcrypto);
+int virtio_crypto_akcipher_algs_register(struct virtio_crypto *vcrypto);
+void virtio_crypto_akcipher_algs_unregister(struct virtio_crypto *vcrypto);
#endif /* _VIRTIO_CRYPTO_COMMON_H */
diff --git a/drivers/crypto/virtio/virtio_crypto_core.c b/drivers/crypto/virtio/virtio_crypto_core.c
index 080955a1dd9c..f6eb6d064fbd 100644
--- a/drivers/crypto/virtio/virtio_crypto_core.c
+++ b/drivers/crypto/virtio/virtio_crypto_core.c
@@ -297,6 +297,7 @@ static int virtcrypto_probe(struct virtio_device *vdev)
u32 mac_algo_l = 0;
u32 mac_algo_h = 0;
u32 aead_algo = 0;
+ u32 akcipher_algo = 0;
u32 crypto_services = 0;
if (!virtio_has_feature(vdev, VIRTIO_F_VERSION_1))
@@ -348,6 +349,9 @@ static int virtcrypto_probe(struct virtio_device *vdev)
mac_algo_h, &mac_algo_h);
virtio_cread_le(vdev, struct virtio_crypto_config,
aead_algo, &aead_algo);
+ if (crypto_services & (1 << VIRTIO_CRYPTO_SERVICE_AKCIPHER))
+ virtio_cread_le(vdev, struct virtio_crypto_config,
+ akcipher_algo, &akcipher_algo);
/* Add virtio crypto device to global table */
err = virtcrypto_devmgr_add_dev(vcrypto);
@@ -374,7 +378,7 @@ static int virtcrypto_probe(struct virtio_device *vdev)
vcrypto->mac_algo_h = mac_algo_h;
vcrypto->hash_algo = hash_algo;
vcrypto->aead_algo = aead_algo;
-
+ vcrypto->akcipher_algo = akcipher_algo;
dev_info(&vdev->dev,
"max_queues: %u, max_cipher_key_len: %u, max_auth_key_len: %u, max_size 0x%llx\n",
diff --git a/drivers/crypto/virtio/virtio_crypto_mgr.c b/drivers/crypto/virtio/virtio_crypto_mgr.c
index 6860f8180c7c..1cb92418b321 100644
--- a/drivers/crypto/virtio/virtio_crypto_mgr.c
+++ b/drivers/crypto/virtio/virtio_crypto_mgr.c
@@ -242,6 +242,12 @@ int virtcrypto_dev_start(struct virtio_crypto *vcrypto)
return -EFAULT;
}
+ if (virtio_crypto_akcipher_algs_register(vcrypto)) {
+ pr_err("virtio_crypto: Failed to register crypto akcipher algs\n");
+ virtio_crypto_algs_unregister(vcrypto);
+ return -EFAULT;
+ }
+
return 0;
}
@@ -258,6 +264,7 @@ int virtcrypto_dev_start(struct virtio_crypto *vcrypto)
void virtcrypto_dev_stop(struct virtio_crypto *vcrypto)
{
virtio_crypto_algs_unregister(vcrypto);
+ virtio_crypto_akcipher_algs_unregister(vcrypto);
}
/*
@@ -312,6 +319,10 @@ bool virtcrypto_algo_is_supported(struct virtio_crypto *vcrypto,
case VIRTIO_CRYPTO_SERVICE_AEAD:
algo_mask = vcrypto->aead_algo;
break;
+
+ case VIRTIO_CRYPTO_SERVICE_AKCIPHER:
+ algo_mask = vcrypto->akcipher_algo;
+ break;
}
if (!(algo_mask & (1u << algo)))
--
2.43.0
next prev parent reply other threads:[~2024-01-23 0:52 UTC|newest]
Thread overview: 303+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-22 23:55 [PATCH 5.10 000/286] 5.10.209-rc1 review Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 001/286] f2fs: explicitly null-terminate the xattr list Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 002/286] pinctrl: lochnagar: Dont build on MIPS Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 003/286] ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 004/286] mptcp: fix uninit-value in mptcp_incoming_options Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 005/286] debugfs: fix automount d_fsdata usage Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 006/286] drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 007/286] nvme-core: check for too small lba shift Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 008/286] ASoC: wm8974: Correct boost mixer inputs Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 009/286] ASoC: Intel: Skylake: Fix mem leak in few functions Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 010/286] ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16 Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 011/286] ASoC: Intel: Skylake: mem leak in skl register function Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 012/286] ASoC: cs43130: Fix the position of const qualifier Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 013/286] ASoC: cs43130: Fix incorrect frame delay configuration Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 014/286] ASoC: rt5650: add mutex to avoid the jack detection failure Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 015/286] nouveau/tu102: flush all pdbs on vmm flush Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 016/286] net/tg3: fix race condition in tg3_reset_task() Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 017/286] ASoC: da7219: Support low DC impedance headset Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 018/286] nvme: introduce helper function to get ctrl state Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 019/286] drm/exynos: fix a potential error pointer dereference Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 020/286] drm/exynos: fix a wrong error checking Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 021/286] clk: rockchip: rk3128: Fix HCLK_OTG gate register Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 022/286] jbd2: correct the printing of write_flags in jbd2_write_superblock() Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 023/286] drm/crtc: Fix uninit-value bug in drm_mode_setcrtc Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 024/286] neighbour: Dont let neigh_forced_gc() disable preemption for long Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 025/286] jbd2: fix soft lockup in journal_finish_inode_data_buffers() Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 026/286] tracing: Have large events show up as [LINE TOO BIG] instead of nothing Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 027/286] tracing: Add size check when printing trace_marker output Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 028/286] ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 029/286] reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 030/286] Input: atkbd - skip ATKBD_CMD_GETID in translated mode Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 031/286] Input: i8042 - add nomux quirk for Acer P459-G2-M Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 032/286] s390/scm: fix virtual vs physical address confusion Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 033/286] ARC: fix spare error Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 034/286] Input: xpad - add Razer Wolverine V2 support Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 035/286] i2c: rk3x: fix potential spinlock recursion on poll Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 036/286] ida: Fix crash in ida_free when the bitmap is empty Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 037/286] net: qrtr: ns: Return 0 if server port is not present Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 038/286] ARM: sun9i: smp: fix return code check of of_property_match_string Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 039/286] drm/crtc: fix uninitialized variable use Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 040/286] ACPI: resource: Add another DMI match for the TongFang GMxXGxx Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 041/286] binder: use EPOLLERR from eventpoll.h Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 042/286] binder: fix trivial typo of binder_free_buf_locked() Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 043/286] binder: fix comment on binder_alloc_new_buf() return value Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 044/286] uio: Fix use-after-free in uio_open Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 045/286] parport: parport_serial: Add Brainboxes BAR details Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 046/286] parport: parport_serial: Add Brainboxes device IDs and geometry Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 047/286] PCI: Add ACS quirk for more Zhaoxin Root Ports Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 048/286] coresight: etm4x: Fix width of CCITMIN field Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 049/286] x86/lib: Fix overflow when counting digits Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 050/286] EDAC/thunderx: Fix possible out-of-bounds string access Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 051/286] powerpc: add crtsavres.o to always-y instead of extra-y Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 052/286] powerpc: Remove in_kernel_text() Greg Kroah-Hartman
2024-01-22 23:55 ` [PATCH 5.10 053/286] powerpc/44x: select I2C for CURRITUCK Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 054/286] powerpc/pseries/memhotplug: Quieten some DLPAR operations Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 055/286] powerpc/pseries/memhp: Fix access beyond end of drmem array Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 056/286] selftests/powerpc: Fix error handling in FPU/VMX preemption tests Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 057/286] powerpc/powernv: Add a null pointer check to scom_debug_init_one() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 058/286] powerpc/powernv: Add a null pointer check in opal_event_init() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 059/286] powerpc/powernv: Add a null pointer check in opal_powercap_init() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 060/286] powerpc/imc-pmu: Add a null pointer check in update_events_in_group() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 061/286] spi: spi-zynqmp-gqspi: fix driver kconfig dependencies Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 062/286] mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 063/286] ACPI: video: check for error while searching for backlight device parent Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 064/286] ACPI: LPIT: Avoid u32 multiplication overflow Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 065/286] of: property: define of_property_read_u{8,16,32,64}_array() unconditionally Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 066/286] of: Add of_property_present() helper Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 067/286] cpufreq: Use of_property_present() for testing DT property presence Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 068/286] cpufreq: scmi: process the result of devm_of_clk_add_hw_provider() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 069/286] net: netlabel: Fix kerneldoc warnings Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 070/286] netlabel: remove unused parameter in netlbl_netlink_auditinfo() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 071/286] calipso: fix memory leak in netlbl_calipso_add_pass() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 072/286] efivarfs: force RO when remounting if SetVariable is not supported Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 073/286] spi: sh-msiof: Enforce fixed DTDL for R-Car H3 Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 074/286] ACPI: extlog: Clear Extended Error Log status when RAS_CEC handled the error Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 075/286] mtd: Fix gluebi NULL pointer dereference caused by ftl notifier Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 076/286] selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 077/286] virtio_crypto: Introduce VIRTIO_CRYPTO_NOSPC Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 078/286] virtio-crypto: introduce akcipher service Greg Kroah-Hartman
2024-01-22 23:56 ` Greg Kroah-Hartman [this message]
2024-01-22 23:56 ` [PATCH 5.10 080/286] virtio-crypto: change code style Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 081/286] virtio-crypto: use private buffer for control request Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 082/286] virtio-crypto: wait ctrl queue instead of busy polling Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 083/286] crypto: virtio - Handle dataq logic with tasklet Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 084/286] crypto: sa2ul - Return crypto_aead_setkey to transfer the error Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 085/286] crypto: ccp - fix memleak in ccp_init_dm_workarea Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 086/286] crypto: af_alg - Disallow multiple in-flight AIO requests Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 087/286] crypto: sahara - remove FLAGS_NEW_KEY logic Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 088/286] crypto: sahara - fix cbc selftest failure Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 089/286] crypto: sahara - fix ahash " Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 090/286] crypto: sahara - fix processing requests with cryptlen < sg->length Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 091/286] crypto: sahara - fix error handling in sahara_hw_descriptor_create() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 092/286] pstore: ram_core: fix possible overflow in persistent_ram_init_ecc() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 093/286] fs: indicate request originates from old mount API Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 094/286] Revert "gfs2: Dont reject a supposedly full bitmap if we have blocks reserved" Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 095/286] gfs2: Also reflect single-block allocations in rgd->rd_extfail_pt Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 096/286] gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 097/286] crypto: virtio - Wait for tasklet to complete on device remove Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 098/286] crypto: sahara - avoid skcipher fallback code duplication Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 099/286] crypto: sahara - handle zero-length aes requests Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 100/286] crypto: sahara - fix ahash reqsize Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 101/286] crypto: sahara - fix wait_for_completion_timeout() error handling Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 102/286] crypto: sahara - improve error handling in sahara_sha_process() Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 103/286] crypto: sahara - fix processing hash requests with req->nbytes < sg->length Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 104/286] crypto: sahara - do not resize req->src when doing hash operations Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 105/286] crypto: scomp - fix req->dst buffer overflow Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 106/286] blocklayoutdriver: Fix reference leak of pnfs_device_node Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 107/286] NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 108/286] wifi: rtw88: fix RX filter in FIF_ALLMULTI flag Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 109/286] bpf, lpm: Fix check prefixlen before walking trie Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 110/286] bpf: Add crosstask check to __bpf_get_stack Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 111/286] wifi: ath11k: Defer on rproc_get failure Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 112/286] wifi: libertas: stop selecting wext Greg Kroah-Hartman
2024-01-22 23:56 ` [PATCH 5.10 113/286] ARM: dts: qcom: apq8064: correct XOADC register address Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 114/286] ncsi: internal.h: Fix a spello Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 115/286] net/ncsi: Fix netlink major/minor version numbers Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 116/286] firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 117/286] firmware: meson_sm: populate platform devices from sm device tree data Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 118/286] wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 119/286] arm64: dts: ti: k3-am65-main: Fix DSS irq trigger type Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 120/286] bpf: fix check for attempt to corrupt spilled pointer Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 121/286] scsi: fnic: Return error if vmalloc() failed Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 122/286] arm64: dts: qcom: qrb5165-rb5: correct LED panic indicator Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 123/286] arm64: dts: qcom: sdm845-db845c: " Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 124/286] bpf: Fix verification of indirect var-off stack access Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 125/286] scsi: hisi_sas: Replace with standard error code return value Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 126/286] selftests/net: fix grep checking for fib_nexthop_multiprefix Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 127/286] virtio/vsock: fix logic which reduces credit update messages Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 128/286] dma-mapping: Add dma_release_coherent_memory to DMA API Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 129/286] dma-mapping: clear dev->dma_mem to NULL after freeing it Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 130/286] wifi: rtlwifi: add calculate_bit_shift() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 131/286] wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 132/286] wifi: rtlwifi: rtl8192c: " Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 133/286] wifi: rtlwifi: rtl8192cu: " Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 134/286] wifi: rtlwifi: rtl8192ce: " Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 135/286] rtlwifi: rtl8192de: make arrays static const, makes object smaller Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 136/286] wifi: rtlwifi: rtl8192de: using calculate_bit_shift() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 137/286] wifi: rtlwifi: rtl8192ee: " Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 138/286] wifi: rtlwifi: rtl8192se: " Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 139/286] netfilter: nf_tables: mark newset as dead on transaction abort Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 140/286] Bluetooth: Fix bogus check for re-auth no supported with non-ssp Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 141/286] Bluetooth: btmtkuart: fix recv_buf() return value Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 142/286] ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 143/286] ARM: davinci: always select CONFIG_CPU_ARM926T Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 144/286] RDMA/usnic: Silence uninitialized symbol smatch warnings Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 145/286] drm/panel-elida-kd35t133: hold panel in reset for unprepare Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 146/286] rcu: Create an unrcu_pointer() to remove __rcu from a pointer Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 147/286] drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 148/286] drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 149/286] media: pvrusb2: fix use after free on context disconnection Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 150/286] drm/bridge: Fix typo in post_disable() description Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 151/286] f2fs: fix to avoid dirent corruption Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 152/286] drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 153/286] drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 154/286] drm/radeon: check return value of radeon_ring_lock() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 155/286] ASoC: cs35l33: Fix GPIO name and drop legacy include Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 156/286] ASoC: cs35l34: " Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 157/286] drm/msm/mdp4: flush vblank event on disable Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 158/286] drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 159/286] drm/drv: propagate errors from drm_modeset_register_all() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 160/286] drm/radeon: check the alloc_workqueue return value in radeon_crtc_init() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 161/286] drm/radeon/dpm: fix a memleak in sumo_parse_power_table Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 162/286] drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 163/286] drm/bridge: tc358767: Fix return value on error case Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 164/286] media: cx231xx: fix a memleak in cx231xx_init_isoc Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 165/286] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 166/286] media: rkisp1: Disable runtime PM in probe error path Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 167/286] f2fs: fix to check compress file in f2fs_move_file_range() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 168/286] f2fs: fix to update iostat correctly in f2fs_filemap_fault() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 169/286] media: dvbdev: drop refcount on error path in dvb_device_open() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 170/286] media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path of m88ds3103_probe() Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 171/286] drm/amdgpu/debugfs: fix error code when smc register accessors are NULL Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 172/286] drm/amd/pm: fix a double-free in si_dpm_init Greg Kroah-Hartman
2024-01-22 23:57 ` [PATCH 5.10 173/286] drivers/amd/pm: fix a use-after-free in kv_parse_power_table Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 174/286] gpu/drm/radeon: fix two memleaks in radeon_vm_init Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 175/286] dt-bindings: clock: Update the videocc resets for sm8150 Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 176/286] clk: qcom: videocc-sm8150: Update the videocc resets Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 177/286] clk: qcom: videocc-sm8150: Add missing PLL config property Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 178/286] drivers: clk: zynqmp: calculate closest mux rate Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 179/286] clk: zynqmp: make bestdiv unsigned Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 180/286] clk: zynqmp: Add a check for NULL pointer Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 181/286] drivers: clk: zynqmp: update divider round rate logic Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 182/286] watchdog: set cdev owner before adding Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 183/286] watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 184/286] watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 185/286] watchdog: rti_wdt: Drop runtime pm reference count when watchdog is unused Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 186/286] clk: si5341: fix an error code problem in si5341_output_clk_set_rate Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 187/286] clk: fixed-rate: add devm_clk_hw_register_fixed_rate Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 188/286] clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hw Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 189/286] pwm: stm32: Use regmap_clear_bits and regmap_set_bits where applicable Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 190/286] pwm: stm32: Use hweight32 in stm32_pwm_detect_channels Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 191/286] pwm: stm32: Fix enable count for clk in .probe() Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 192/286] mmc: sdhci_am654: Fix TI SoC dependencies Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 193/286] mmc: sdhci_omap: " Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 194/286] IB/iser: Prevent invalidating wrong MR Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 195/286] of: Fix double free in of_parse_phandle_with_args_map Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 196/286] of: unittest: Fix of_count_phandle_with_args() expected value message Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 197/286] keys, dns: Fix size check of V1 server-list header Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 198/286] binder: fix async space check for 0-sized buffers Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 199/286] binder: fix unused alloc->free_async_space Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 200/286] binder: fix use-after-free in shinkers callback Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 201/286] Input: atkbd - use ab83 as id when skipping the getid command Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 202/286] dma-mapping: Fix build error unused-value Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 203/286] virtio-crypto: fix memory-leak Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 204/286] virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session() Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 205/286] Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek" Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 206/286] kprobes: Fix to handle forcibly unoptimized kprobes on freeing_list Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 207/286] net: ethernet: mtk_eth_soc: remove duplicate if statements Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 208/286] xen-netback: dont produce zero-size SKB frags Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 209/286] binder: fix race between mmput() and do_exit() Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 210/286] tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 211/286] usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host() Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 212/286] usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 213/286] Revert "usb: dwc3: Soft reset phy on probe for host" Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 214/286] Revert "usb: dwc3: dont reset device side if dwc3 was configured as host-only" Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 215/286] usb: chipidea: wait controller resume finished for wakeup irq Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 216/286] Revert "usb: typec: class: fix typec_altmode_put_partner to put plugs" Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 217/286] usb: typec: class: fix typec_altmode_put_partner to put plugs Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 218/286] usb: mon: Fix atomicity violation in mon_bin_vma_fault Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 219/286] serial: imx: Ensure that imx_uart_rs485_config() is called with enabled clock Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 220/286] ALSA: oxygen: Fix right channel of capture volume mixer Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 221/286] ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq2xxx Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 222/286] fbdev: flush deferred work in fb_deferred_io_fsync() Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 223/286] pwm: jz4740: Dont use dev_err_probe() in .request() Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 224/286] io_uring/rw: ensure io->bytes_done is always initialized Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 225/286] rootfs: Fix support for rootfstype= when root= is given Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 226/286] Bluetooth: Fix atomicity violation in {min,max}_key_size_set Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 227/286] iommu/arm-smmu-qcom: Add missing GMU entry to match table Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 228/286] wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 229/286] wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 230/286] wifi: mwifiex: configure BSSID consistently when starting AP Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 231/286] x86/kvm: Do not try to disable kvmclock if it was not enabled Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 232/286] KVM: arm64: vgic-v4: Restore pending state on host userspace write Greg Kroah-Hartman
2024-01-22 23:58 ` [PATCH 5.10 233/286] KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 234/286] iio: adc: ad7091r: Pass iio_dev to event handler Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 235/286] HID: wacom: Correct behavior when processing some confidence == false touches Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 236/286] mfd: syscon: Fix null pointer dereference in of_syscon_register() Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 237/286] leds: aw2013: Select missing dependency REGMAP_I2C Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 238/286] mips: dmi: Fix early remap on MIPS32 Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 239/286] mips: Fix incorrect max_low_pfn adjustment Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 240/286] MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup() Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 241/286] MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup() Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 242/286] power: supply: cw2015: correct time_to_empty units in sysfs Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 243/286] serial: 8250: omap: Dont skip resource freeing if pm_runtime_resume_and_get() failed Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 244/286] libapi: Add missing linux/types.h header to get the __u64 type on io.h Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 245/286] acpi: property: Let args be NULL in __acpi_node_get_property_reference Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 246/286] software node: Let args be NULL in software_node_get_reference_args Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 247/286] serial: imx: fix tx statemachine deadlock Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 248/286] iio: adc: ad9467: Benefit from devm_clk_get_enabled() to simplify Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 249/286] iio: adc: ad9467: fix reset gpio handling Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 250/286] iio: adc: ad9467: dont ignore error codes Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 251/286] iio: adc: ad9467: fix scale setting Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 252/286] perf genelf: Set ELF program header addresses properly Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 253/286] tty: change tty_write_lock()s ndelay parameter to bool Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 254/286] tty: early return from send_break() on TTY_DRIVER_HARDWARE_BREAK Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 255/286] tty: dont check for signal_pending() in send_break() Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 256/286] tty: use if in send_break() instead of goto Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 257/286] usb: cdc-acm: return correct error code on unsupported break Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 258/286] nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 259/286] nvmet-tcp: fix a crash in nvmet_req_complete() Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 260/286] perf env: Avoid recursively taking env->bpf_progs.lock Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 261/286] apparmor: avoid crash when parsed profile name is empty Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 262/286] serial: imx: Correct clock error message in function probe() Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 263/286] nvmet-tcp: Fix the H2C expected PDU len calculation Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 264/286] PCI: keystone: Fix race condition when initializing PHYs Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 265/286] s390/pci: fix max size calculation in zpci_memcpy_toio() Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 266/286] net: qualcomm: rmnet: fix global oob in rmnet_policy Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 267/286] net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet frames Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 268/286] net: phy: micrel: populate .soft_reset for KSZ9131 Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 269/286] net: ravb: Fix dma_addr_t truncation in error case Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 270/286] net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 271/286] netfilter: nf_tables: do not allow mismatch field size and set key length Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 272/286] netfilter: nf_tables: skip dead set elements in netlink dump Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 273/286] netfilter: nf_tables: reject NFT_SET_CONCAT with not field length description Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 274/286] ipvs: avoid stat macros calls from preemptible context Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 275/286] kdb: Fix a potential buffer overflow in kdb_local() Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 276/286] ethtool: netlink: Add missing ethnl_ops_begin/complete Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 277/286] mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 278/286] mlxsw: spectrum: Use bitmap_zalloc() when applicable Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 279/286] mlxsw: spectrum_acl_tcam: Add missing mutex_destroy() Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 280/286] mlxsw: spectrum_acl_tcam: Make fini symmetric to init Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 281/286] mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward declarations Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 282/286] mlxsw: spectrum_acl_tcam: Fix stack corruption Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 283/286] selftests: mlxsw: qos_pfc: Convert to iproute2 dcb Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 284/286] selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 285/286] i2c: s3c24xx: fix read transfers in polling mode Greg Kroah-Hartman
2024-01-22 23:59 ` [PATCH 5.10 286/286] i2c: s3c24xx: fix transferring more than one message " Greg Kroah-Hartman
2024-01-23 3:32 ` [PATCH 5.10 000/286] 5.10.209-rc1 review Dominique Martinet
2024-01-23 21:19 ` Florian Fainelli
2024-01-24 11:25 ` Naresh Kamboju
2024-01-26 16:46 ` Guenter Roeck
2024-01-26 17:51 ` Greg Kroah-Hartman
2024-01-26 18:17 ` Guenter Roeck
2024-01-26 18:48 ` Greg Kroah-Hartman
2024-01-26 20:34 ` Nathan Chancellor
2024-01-26 21:01 ` Guenter Roeck
2024-01-26 21:53 ` Greg Kroah-Hartman
2024-01-26 22:35 ` Nathan Chancellor
2024-01-26 23:55 ` Guenter Roeck
2024-01-27 0:03 ` Nathan Chancellor
2024-01-28 11:13 ` Michael S. Tsirkin
2024-01-29 8:46 ` Michael S. Tsirkin
2024-01-29 9:58 ` zhenwei pi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240122235735.084838403@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=arei.gonglei@huawei.com \
--cc=helei.sig11@bytedance.com \
--cc=lkp@intel.com \
--cc=mst@redhat.com \
--cc=nathan@kernel.org \
--cc=patches@lists.linux.dev \
--cc=pizhenwei@bytedance.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox