summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2023-04-28 13:48:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-09 11:34:04 +0300
commit9316fdd57f253acfcef1a8e4940d08d647c8cdfa (patch)
tree305e959f239ac3d8ea33da6be5fce69778f39c4b /drivers/iommu
parent4156c6ff331afe198ee7298d77f58f6b175df1d7 (diff)
downloadlinux-9316fdd57f253acfcef1a8e4940d08d647c8cdfa.tar.xz
net/mlx5: Read embedded cpu after init bit cleared
[ Upstream commit bbfa4b58997e3d38ba629c9f6fc0bd1c163aaf43 ] During driver load it reads embedded_cpu bit from initialization segment, but the initialization segment is readable only after initialization bit is cleared. Move the call to mlx5_read_embedded_cpu() right after initialization bit cleared. Signed-off-by: Moshe Shemesh <moshe@nvidia.com> Fixes: 591905ba9679 ("net/mlx5: Introduce Mellanox SmartNIC and modify page management logic") Reviewed-by: Shay Drory <shayd@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions