Thread (3 messages) 3 messages, 3 authors, 2026-03-28

Re: [PATCH net-next v2] net: mana: Use at least SZ_4K in doorbell ID range check

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-03-28 04:00:32
Also in: linux-hyperv, lkml

Hello:

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

On Wed, 25 Mar 2026 11:04:17 -0700 you wrote:
mana_gd_ring_doorbell() accesses offsets up to DOORBELL_OFFSET_EQ
(0xFF8) + 8 bytes = 4KB within each doorbell page. A db_page_size
smaller than SZ_4K is fundamentally incompatible with the driver:
doorbell pages would overlap and the device cannot function correctly.

Validate db_page_size at the source and fail the
probe early if the value is below SZ_4K. This ensures the doorbell ID
range check in mana_gd_register_device() can rely on db_page_size
being valid.

[...]
Here is the summary with links:
  - [net-next,v2] net: mana: Use at least SZ_4K in doorbell ID range check
    https://git.kernel.org/netdev/net-next/c/fb4b4a05aeeb

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