[PATCH net v2] net: airoha: Fix PPE table access in airoha_ppe_debugfs_foe_show()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Fri Aug 1 14:20:08 PDT 2025


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Thu, 31 Jul 2025 12:29:08 +0200 you wrote:
> In order to avoid any possible race we need to hold the ppe_lock
> spinlock accessing the hw PPE table. airoha_ppe_foe_get_entry routine is
> always executed holding ppe_lock except in airoha_ppe_debugfs_foe_show
> routine. Fix the problem introducing airoha_ppe_foe_get_entry_locked
> routine.
> 
> Fixes: 3fe15c640f380 ("net: airoha: Introduce PPE debugfs support")
> Reviewed-by: Dawid Osuchowski <dawid.osuchowski at linux.intel.com>
> Signed-off-by: Lorenzo Bianconi <lorenzo at kernel.org>
> 
> [...]

Here is the summary with links:
  - [net,v2] net: airoha: Fix PPE table access in airoha_ppe_debugfs_foe_show()
    https://git.kernel.org/netdev/net/c/38358fa3cc8e

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





More information about the Linux-mediatek mailing list