Re: [PATCH v2] perf/arm-cmn: Fix port detection for CMN-700

From: Will Deacon
Date: Fri Apr 14 2023 - 10:42:05 EST


On Wed, 12 Apr 2023 11:29:40 +0100, Robin Murphy wrote:
> When the "extra device ports" configuration was first added, the
> additional mxp_device_port_connect_info registers were added around the
> existing mxp_mesh_port_connect_info registers. What I missed about
> CMN-700 is that it shuffled them around to remove this discontinuity.
> As such, tweak the definitions and factor out a helper for reading these
> registers so we can deal with this discrepancy easily, which does at
> least allow nicely tidying up the callsites. With this we can then also
> do the nice thing and skip accesses completely rather than relying on
> RES0 behaviour where we know the extra registers aren't defined.
>
> [...]

Applied to will (for-next/perf), thanks!

[1/1] perf/arm-cmn: Fix port detection for CMN-700
https://git.kernel.org/will/c/2ad91e44e6b0

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev