Thread (2 messages) 2 messages, 2 authors, 2d ago

Re: [PATCH net] pds_core: order completion reads after the ownership check

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-21 20:00:40

Hello:

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

On Tue, 14 Jul 2026 20:41:45 +0000 you wrote:
pdsc_process_adminq() and pdsc_process_notifyq() decide a completion is
valid from its ownership field - the color bit for the adminq, the event
id for the notifyq - then read the rest of the descriptor, with no
barrier in between.

On a weakly ordered architecture the CPU may read the payload first. Add
dma_rmb() between the ownership read and the payload reads.

[...]
Here is the summary with links:
  - [net] pds_core: order completion reads after the ownership check
    https://git.kernel.org/netdev/net/c/dd6b1cc748cd

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