Em Fri, Jul 24, 2020 at 05:16:03PM +0800, Wei Li escreveu: > The ARMv8.3-SPE adds an Alignment Flag in the Events packet and filtering > on this event using PMSEVFR_EL1, together with support for the profiling > of Scalable Vector Extension operations.
Leo, Matthieu, have you had the time to review this? I can take the tools/ part, the kernel bits should go via the ARM tree or via PeterZ, - Arnaldo > Patch 1: Update the kernel driver, mainly for PMSEVFR_EL1. > > Patch 2: Update the decode process of Events packet and Operation Type > packet in perf tool. > > Patch 3-4: Synthesize unaligned address access events and partial/empty > predicated SVE events, also add two itrace options for filtering. > > Wei Li (4): > drivers/perf: Add support for ARMv8.3-SPE > perf: arm-spe: Add support for ARMv8.3-SPE > perf auxtrace: Add new itrace options for ARMv8.3-SPE > perf: arm-spe: Synthesize new events for ARMv8.3-SPE > > arch/arm64/include/asm/sysreg.h | 4 +- > drivers/perf/arm_spe_pmu.c | 18 +++-- > tools/perf/Documentation/itrace.txt | 2 + > .../util/arm-spe-decoder/arm-spe-decoder.c | 11 +++ > .../util/arm-spe-decoder/arm-spe-decoder.h | 3 + > .../arm-spe-decoder/arm-spe-pkt-decoder.c | 69 ++++++++++++++++++- > tools/perf/util/arm-spe.c | 61 ++++++++++++++++ > tools/perf/util/auxtrace.c | 8 +++ > tools/perf/util/auxtrace.h | 4 ++ > 9 files changed, 173 insertions(+), 7 deletions(-) > > -- > 2.17.1 > -- - Arnaldo