Re: [PATCH net-next 00/14] net: Remove obsolete 32-bit DMA mask fallbacks
From: patchwork-bot+netdevbpf
Date: Tue Sep 08 2026 - 19:53:09 EST
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 3 Sep 2026 16:43:25 +0800 you wrote:
> A lot of Ethernet drivers set a >32 bit DMA mask and retry with a
> 32-bit mask if the first call fails. This treats the return value of
> dma_set_mask_and_coherent() as an indication that the platform requires
> a narrower DMA width.
>
> That is not a correct interpretation of dma_set_mask_and_coherent().
> The mask describes the DMA addresses the device can accept and constrains
> subsequent mappings to that range. A wider mask includes every address
> permitted by a 32-bit mask, including addresses from a platform that only
> produces 32-bit DMA addresses. Retrying with 32 bits therefore adds a stricter
> constraint and cannot correct a failure to establish the wider mask.
> The DMA API HOWTO explicitly calls this fallback pattern incorrect [1].
> See [2] and [3] for details.
>
> [...]
Here is the summary with links:
- [net-next,01/14] net: atlantic: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/78113e4c4002
- [net-next,02/14] net: alx: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/fc5a6ed4992c
- [net-next,03/14] net: systemport: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/12a924aebcf5
- [net-next,04/14] bnxt_en: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/f60b86ea8864
- [net-next,05/14] enic: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/0b861b6ee2ec
- [net-next,06/14] net: hns3: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/e7d0cff7773b
- [net-next,07/14] fm10k: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/f7cf8452c58f
- [net-next,08/14] net/mlx4: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/ee95313d1aef
- [net-next,09/14] net/mlx5: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/7b85fba09ebe
- [net-next,10/14] mlxsw: pci: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/68161cab4810
- [net-next,11/14] eth: fbnic: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/453248082a5d
- [net-next,12/14] net: pch_gbe: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/85996f110325
- [net-next,13/14] net: renesas: rswitch: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/0a8bc1ad90ad
- [net-next,14/14] net: niu: Remove obsolete 32-bit DMA mask fallback
https://git.kernel.org/netdev/net-next/c/03011820f02f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html