Thread (3 messages) 3 messages, 3 authors, 16d ago

Re: [PATCH net] net: sgi: ioc3-eth: fix split TX DMA mapping lengths

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-01 00:20:33
Also in: linux-mips, lkml, stable

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Mon, 29 Jun 2026 16:06:23 +0800 you wrote:
From: Xu Rao <redacted>

When a linear skb crosses a 16 KiB boundary, ioc3_start_xmit()
splits it into two buffers of lengths s1 and s2.  The descriptor
advertises those lengths through B1CNT and B2CNT.

The first buffer is mapped with s1, but the second buffer is also
mapped with s1 even though the device is told to fetch s2 bytes from
it.  When the lengths differ, the DMA mapping does not cover the same
region as the second descriptor buffer, which can result in incorrect
cache maintenance or a DMA fault on implementations that enforce the
mapped range.

[...]
Here is the summary with links:
  - [net] net: sgi: ioc3-eth: fix split TX DMA mapping lengths
    https://git.kernel.org/netdev/net-next/c/cd066559a073

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help