]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: airoha: fix PSE memory configuration in airoha_fe_pse_ports_init()
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 1 Oct 2024 10:10:25 +0000 (12:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2026 10:08:54 +0000 (11:08 +0100)
commita04ac7bc97afe313e10ae4c73797c668dee47c5c
tree7b2b2d606acb7559de785e8a91b859316cebf318
parenta9ed47c3663219e20406d566f02809de05373a42
net: airoha: fix PSE memory configuration in airoha_fe_pse_ports_init()

[ Upstream commit 8e38e08f2c560328a873c35aff1a0dbea6a7d084 ]

Align PSE memory configuration to vendor SDK. In particular, increase
initial value of PSE reserved memory in airoha_fe_pse_ports_init()
routine by the value used for the second Packet Processor Engine (PPE2)
and do not overwrite the default value.

Introduced by commit 23020f049327 ("net: airoha: Introduce ethernet support
for EN7581 SoC")

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241001-airoha-eth-pse-fix-v2-2-9a56cdffd074@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: d4a533ad249e ("net: airoha: Remove airoha_dev_stop() in airoha_remove()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mediatek/airoha_eth.c