• Ali Saidi's avatar
    perf arm-spe: Use SPE data source for neoverse cores · 4e6430cb
    Ali Saidi authored
    When synthesizing data from SPE, augment the type with source information
    for Arm Neoverse cores. The field is IMPLDEF but the Neoverse cores all use
    the same encoding. I can't find encoding information for any other SPE
    implementations to unify their choices with Arm's thus that is left for
    future work.
    
    This change populates the mem_lvl_num for Neoverse cores as well as the
    deprecated mem_lvl namespace.
    Reviewed-by: default avatarGerman Gomez <german.gomez@arm.com>
    Reviewed-by: default avatarLeo Yan <leo.yan@linaro.org>
    Signed-off-by: default avatarAli Saidi <alisaidi@amazon.com>
    Tested-by: default avatarLeo Yan <leo.yan@linaro.org>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Anshuman Khandual <anshuman.khandual@arm.com>
    Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: James Clark <james.clark@arm.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: John Garry <john.garry@huawei.com>
    Cc: Kajol Jain <kjain@linux.ibm.com>
    Cc: Like Xu <likexu@tencent.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Mike Leach <mike.leach@linaro.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Timothy Hayes <timothy.hayes@arm.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: linux-arm-kernel@lists.infradead.org
    Link: https://lore.kernel.org/r/20220811062451.435810-4-leo.yan@linaro.orgSigned-off-by: default avatarLeo Yan <leo.yan@linaro.org>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    4e6430cb
arm-spe-decoder.h 1.71 KB