[PATCH v2] perf/arm-cmn: Reject unsupported hardware configurations
Will Deacon
will at kernel.org
Tue Feb 3 12:29:03 PST 2026
On Tue, 03 Feb 2026 14:07:29 +0000, Robin Murphy wrote:
> So far we've been fairly lax about accepting both unknown CMN models
> (at least with a warning), and unknown revisions of those which we
> do know, as although things do frequently change between releases,
> typically enough remains the same to be somewhat useful for at least
> some basic bringup checks. However, we also make assumptions of the
> maximum supported sizes and numbers of things in various places, and
> there's no guarantee that something new might not be bigger and lead
> to nasty array overflows. Make sure we only try to run on things that
> actually match our assumptions and so will not risk memory corruption.
>
> [...]
Applied to arm64 (for-next/core), thanks!
[1/1] perf/arm-cmn: Reject unsupported hardware configurations
https://git.kernel.org/arm64/c/36c0de02575c
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list