Skip to content

perf machine: Workaround missing maps for x86 PTI entry trampolines

Adrian Hunter stable 1 version Applied

Status from this message: Queued for 4.14, thank you.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5perf machine: Add machine__is() to identify machine archtools/perf/util/env.c tools/perf/util/env.h tools/perf/util/machine.c +1 more+33 -00 replies
2/5perf tools: Fix kernel_start for PTI on x86tools/perf/util/machine.c+6 -10 replies
3/5perf machine: Add nr_cpus_avail()tools/perf/util/env.c tools/perf/util/env.h tools/perf/util/machine.c +1 more+20 -00 replies
4/5perf machine: Workaround missing maps for x86 PTI entry trampolinestools/perf/util/machine.c tools/perf/util/machine.h tools/perf/util/symbol.c+106 -50 replies
5/5perf test code-reading: Fix perf_env setup for PTI entry trampolinestools/perf/tests/code-reading.c+1 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchJiri OlsaArnaldo Carvalho de Melo
1/5T-b
2/5T-b
3/5
4/5
5/5T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 4.14 0/5] perf machine: Workaround missing maps for x86 PTI entry trampolines

Hi

x86 PTI trampolines were backported to 4.14, refer
commit: c631a16e5b84521ae80ab10d47cd6ccd2afc6817 ("x86/entry/64:
Create a per-CPU SYSCALL entry trampoline")
so the corresponding perf tools workaround also needs to be backported. Here are 5 patches for 4.14 stable backported from 4.18, to address that.

Regards
Adrian