From: Aya Levin Date: Sun, 4 Apr 2021 09:55:00 +0000 (+0300) Subject: net/mlx5: Fix PBMC register mapping X-Git-Tag: v5.15.73~12239^2~15^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=534b1204ca4694db1093b15cf3e79a99fcb6a6da;p=platform%2Fkernel%2Flinux-rpi.git net/mlx5: Fix PBMC register mapping Add reserved mapping to cover all the register in order to avoid setting arbitrary values to newer FW which implements the reserved fields. Fixes: 50b4a3c23646 ("net/mlx5: PPTB and PBMC register firmware command support") Signed-off-by: Aya Levin Reviewed-by: Moshe Shemesh Signed-off-by: Saeed Mahameed --- diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 9940070cda8f..9c68b2da14c6 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -10200,7 +10200,7 @@ struct mlx5_ifc_pbmc_reg_bits { struct mlx5_ifc_bufferx_reg_bits buffer[10]; - u8 reserved_at_2e0[0x40]; + u8 reserved_at_2e0[0x80]; }; struct mlx5_ifc_qtct_reg_bits {