Re: [PATCH v2] perf/arm-cmn: Ensure port and device id bits are set properly

From: Will Deacon
Date: Mon Nov 25 2024 - 07:52:42 EST


On Wed, Nov 20, 2024 at 04:13:34PM -0800, Namhyung Kim wrote:
> The portid_bits and deviceid_bits were set only for XP type nodes in
> the arm_cmn_discover() and it confused other nodes to find XP nodes.
> Copy the both bits from the XP nodes directly when it sets up a new
> node.
>
> Fixes: e79634b53e39 ("perf/arm-cmn: Refactor node ID handling. Again.")
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
> ---
> drivers/perf/arm-cmn.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Will Deacon <will@xxxxxxxxxx>

Catalin -- here's another perf fix for you!

Thanks,

Will