summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDaniel Basilio <daniel.basilio@corigine.com>2024-02-02 14:37:17 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-05 14:11:09 +0300
commitb3d4f7f2288901ed2392695919b3c0e24c1b4084 (patch)
tree8a43ece821021947b303063ae4dba031308a3486 /tools/perf/scripts/python/export-to-postgresql.py
parenteef00a82c568944f113f2de738156ac591bbd5cd (diff)
downloadlinux-b3d4f7f2288901ed2392695919b3c0e24c1b4084.tar.xz
nfp: use correct macro for LengthSelect in BAR config
The 1st and 2nd expansion BAR configuration registers are configured, when the driver starts up, in variables 'barcfg_msix_general' and 'barcfg_msix_xpb', respectively. The 'LengthSelect' field is ORed in from bit 0, which is incorrect. The 'LengthSelect' field should start from bit 27. This has largely gone un-noticed because NFP_PCIE_BAR_PCIE2CPP_LengthSelect_32BIT happens to be 0. Fixes: 4cb584e0ee7d ("nfp: add CPP access core") Cc: stable@vger.kernel.org # 4.11+ Signed-off-by: Daniel Basilio <daniel.basilio@corigine.com> Signed-off-by: Louis Peens <louis.peens@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions