This is a note to let you know that I've just added the patch titled vdpa/mlx5: Fix config_attr_mask assignment to the 5.16-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: vdpa-mlx5-fix-config_attr_mask-assignment.patch and it can be found in the queue-5.16 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From e3137056e6dedee205fccd06da031a285c6e34f5 Mon Sep 17 00:00:00 2001 From: Eli Cohen <elic@xxxxxxxxxx> Date: Wed, 5 Jan 2022 13:46:38 +0200 Subject: vdpa/mlx5: Fix config_attr_mask assignment From: Eli Cohen <elic@xxxxxxxxxx> commit e3137056e6dedee205fccd06da031a285c6e34f5 upstream. Fix VDPA_ATTR_DEV_NET_CFG_MACADDR assignment to be explicit 64 bit assignment. No issue was seen since the value is well below 64 bit max value. Nevertheless it needs to be fixed. Fixes: a007d940040c ("vdpa/mlx5: Support configuration of MAC") Reviewed-by: Si-Wei Liu <si-wei.liu@xxxxxxxxxx> Acked-by: Jason Wang <jasowang@xxxxxxxxxx> Signed-off-by: Eli Cohen <elic@xxxxxxxxxx> Link: https://lore.kernel.org/r/20220105114646.577224-7-elic@xxxxxxxxxx Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/vdpa/mlx5/net/mlx5_vnet.c +++ b/drivers/vdpa/mlx5/net/mlx5_vnet.c @@ -2674,7 +2674,7 @@ static int mlx5v_probe(struct auxiliary_ mgtdev->mgtdev.ops = &mdev_ops; mgtdev->mgtdev.device = mdev->device; mgtdev->mgtdev.id_table = id_table; - mgtdev->mgtdev.config_attr_mask = (1 << VDPA_ATTR_DEV_NET_CFG_MACADDR); + mgtdev->mgtdev.config_attr_mask = BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR); mgtdev->madev = madev; err = vdpa_mgmtdev_register(&mgtdev->mgtdev); Patches currently in stable-queue which might be from elic@xxxxxxxxxx are queue-5.16/vdpa-mlx5-fix-wrong-configuration-of-virtio_version_1_0.patch queue-5.16/vdpa-mlx5-fix-config_attr_mask-assignment.patch queue-5.16/vdpa-mlx5-restore-cur_num_vqs-in-case-of-failure-in-change_num_qps.patch queue-5.16/net-mlx5e-fix-matching-on-modified-inner-ip_ecn-bits.patch