net/mlx5: Fix PBMC register mapping
authorAya Levin <ayal@nvidia.com>
Sun, 4 Apr 2021 09:55:00 +0000 (12:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Apr 2021 06:42:11 +0000 (08:42 +0200)
commit03ad6a2521a05eb58367d79ed4fb91a4aefd23dc
tree821e12ff65ef3f64b7b7c96abb9563dd0ab22c18
parent1312f11eb33de7014b36551dc415be22553be66c
net/mlx5: Fix PBMC register mapping

[ Upstream commit 534b1204ca4694db1093b15cf3e79a99fcb6a6da ]

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 <ayal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/mlx5/mlx5_ifc.h