]> git.ipfire.org Git - thirdparty/linux.git/commit
net: airoha: ppe: Move PPE memory info in airoha_eth_soc_data struct
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 17 Oct 2025 09:06:15 +0000 (11:06 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 21 Oct 2025 11:07:04 +0000 (13:07 +0200)
commit5bd1d1fd48ea9f8300b211540d946899c7f96480
tree80c2eccbb7c1ae2ef10a27d36bc821bb4e6f55a6
parentef9449f080b61920cdc3d3106f8ffc2d9ba8b861
net: airoha: ppe: Move PPE memory info in airoha_eth_soc_data struct

AN7583 SoC runs a single PPE device while EN7581 runs two of them.
Moreover PPE SRAM in AN7583 SoC is reduced to 8K (while SRAM is 16K on
EN7581). Take into account PPE memory layout during PPE configuration.

Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20251017-an7583-eth-support-v3-6-f28319666667@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/airoha/airoha_eth.h
drivers/net/ethernet/airoha/airoha_ppe.c
drivers/net/ethernet/airoha/airoha_ppe_debugfs.c