summaryrefslogtreecommitdiffstats
tag namesent/mlx5_init_fix-v1 (e08d30f8da134b4a77c8ea9368c4396db17806fe)
tag date2023-09-28 15:55:55 +0200
tagged byNiklas Schnelle <schnelle@linux.ibm.com>
tagged objectcommit 1642f5ffc5...
downloadlinux-sent/mlx5_init_fix-v1.tar.gz
[net] net/mlx5: fix dma_alloc_coherent() call with wrong DMA coherent mask
Note: I ran into this while testing the linked series for converting s390x to use dma-iommu. The existing s390x specific DMA API implementation doesn't respect DMA masks and is thus not affected despite of course also only supporting DMA addresses above 4 GiB. That said ConnectX VFs are the primary users of native PCI on s390x and we'd really like to get the DMA API conversion into v6.7 so this has high priority for us. To: Saeed Mahameed <saeedm@nvidia.com> To: Leon Romanovsky <leon@kernel.org> To: Jason Gunthorpe <jgg@ziepe.ca> To: Matthew Rosato <mjrosato@linux.ibm.com> To: Joerg Roedel <joro@8bytes.org> To: Robin Murphy <robin.murphy@arm.com> To: "David S. Miller" <davem@davemloft.net> To: Eric Dumazet <edumazet@google.com> To: Jakub Kicinski <kuba@kernel.org> To: Paolo Abeni <pabeni@redhat.com> To: Shay Drory <shayd@nvidia.com> To: Moshe Shemesh <moshe@nvidia.com> To: Heiko Carstens <hca@linux.ibm.com> To: Alexander Gordeev <agordeev@linux.ibm.com> Cc: linux-s390@vger.kernel.org, Cc: netdev@vger.kernel.org Cc: linux-rdma@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> --- Niklas Schnelle (1): net/mlx5: fix calling mlx5_cmd_init() before DMA mask is set drivers/net/ethernet/mellanox/mlx5/core/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- base-commit: 6465e260f48790807eef06b583b38ca9789b6072 change-id: 20230928-mlx5_init_fix-c465b5cda327 Best regards,