Re: [PATCH net-next] octeontx2-af: fix PF/CGX debugfs PCI bus lookup

From: Ratheesh Kannoth

Date: Fri Sep 04 2026 - 04:54:30 EST


On 2026-09-04 at 13:22:48, netdev-bot+sashiko@xxxxxxxxxx (netdev-bot+sashiko@xxxxxxxxxx) wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential
> issue(s) to consider:
>
> Critical: 0 · High: 0 · Medium: 2 · Low: 1
>
> - [Medium] rvu_dbg_rvu_pf_cgx_map_display()
> (drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c) now derives…
> - [Medium] The patch fixes only one of the driver's PF→PCI-device
> conversions, leaving the same 'RVU PF n is on bus n + 1' assumption in…
> - [Low] The commit fixes a user-visible debugfs defect (the
> rvu_pf_cgx_map file silently omitted every mapped PF when the AF was…
>
> --
>
> octeontx2-af: fix PF/CGX debugfs PCI bus lookup
>
> The rvu_pf_cgx_map debugfs file looked up each RVU PF PCI device assuming
> PF0 always lives on PCI bus 1. This commit takes the base bus number from
> rvu->pdev->bus->number instead, so the per-PF lookup uses pf + start.
will address in v2

pw-bot: changes-requested