diff options
| author | Nicholas Piggin <[email protected]> | 2021-11-23 19:51:49 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-11-24 21:08:57 +1100 |
| commit | 245ebf8e7380b3d84c0aac37fbfd9306b45a3a7a (patch) | |
| tree | c971581a1e6f91ba65b4b13eef7d6b4781f6b10d /tools/perf/scripts/python | |
| parent | d3c8a2d3740d93778ea102d4c781746d284177bf (diff) | |
powerpc/64s: Always set PMU control registers to frozen/disabled when not in use
KVM PMU management code looks for particular frozen/disabled bits in
the PMU registers so it knows whether it must clear them when coming
out of a guest or not. Setting this up helps KVM make these optimisations
without getting confused. Longer term the better approach might be to
move guest/host PMU switching to the perf subsystem.
Signed-off-by: Nicholas Piggin <[email protected]>
Reviewed-by: Athira Jajeev <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions