mbox series

[0/4] Add support for ARMv8.3-SPE

Message ID 20200724091607.41903-1-liwei391@huawei.com (mailing list archive)
Headers show
Series Add support for ARMv8.3-SPE | expand

Message

Wei Li July 24, 2020, 9:16 a.m. UTC
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.

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(-)

Comments

Arnaldo Carvalho de Melo July 28, 2020, 12:06 p.m. UTC | #1
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
>
Leo Yan July 28, 2020, 12:41 p.m. UTC | #2
Hi Arnaldo,

On Tue, Jul 28, 2020 at 09:06:23AM -0300, Arnaldo Carvalho de Melo wrote:
> 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,

Yes, I will study and try to give some comments for this patch set in
today / tomorrow.

Thanks for reminding,
Leo