perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present
authorJames Clark <james.clark@arm.com>
Fri, 1 Sep 2023 13:37:15 +0000 (14:37 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 27 Nov 2023 13:21:27 +0000 (10:21 -0300)
commit2dbba30fd69b604802a9535b74bddb5bcca23793
treefbd0543e7faab947e326affe2ce461e2aa90b979
parent697579629f850d8f863147351e12e74c50114a8a
perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present

Since commit d927ef5004ef ("perf cs-etm: Add exception level consistency
check"), the exception that was added to Perf will be triggered unless
the following bugfix from OpenCSD is present:

 - _Version 1.2.1_:
  - __Bugfix__:
    ETM4x / ETE - output of context elements to client can in some
    circumstances be delayed until after subsequent atoms have been
    processed leading to incorrect memory decode access via the client
    callbacks. Fixed to flush context elements immediately they are
    committed.

Rather than remove the assert and silently fail, just increase the
minimum version requirement to avoid hard to debug issues and
regressions.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: James Clark <james.clark@arm.com>
Tested-by: Leo Yan <leo.yan@linaro.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20230901133716.677499-1-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/build/feature/test-libopencsd.c