Merge branch 'octeontx2-af-apr-mapping-fixes'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 22 May 2025 10:17:44 +0000 (12:17 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 22 May 2025 10:17:45 +0000 (12:17 +0200)
commitab94003fcf20da82806a9ca29bd9d4cf41ee0580
tree1863432a060235be50ef9ed9ad1a9776dc150a72
parentbd2ec34d005013419f76196e76e8b8b55e436e31
parenta6ae7129819ad20788e610261246e71736543b8b
Merge branch 'octeontx2-af-apr-mapping-fixes'

Geetha sowjanya says:

====================
octeontx2-af: APR Mapping Fixes

This patch series includes fixes related to APR (LMT)
mapping and debugfs support.

Changes include:

Patch 1:Set LMT_ENA bit for APR table entries.
Enables the LMT line for each PF/VF by setting
the LMT_ENA bit in the APR_LMT_MAP_ENTRY_S
structure.

Patch-2:Fix APR entry in debugfs
The APR table was previously mapped using a fixed size,
which could lead to incorrect mappings when the number
of PFs and VFs differed from the assumed value.
This patch updates the logic to calculate the APR table
size dynamically, based on values from the APR_LMT_CFG
register, ensuring correct representation in debugfs.
====================

Link: https://patch.msgid.link/20250521060834.19780-1-gakula@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>