Nicholas Piggin 245ebf8e73 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 <npiggin@gmail.com>
Reviewed-by: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-12-npiggin@gmail.com
2021-11-24 21:08:57 +11:00
..
2021-04-30 12:22:28 -07:00
2021-11-06 14:36:12 -07:00
2021-09-03 11:22:50 -07:00
2020-12-04 01:01:09 +11:00
2021-09-03 11:22:50 -07:00
2021-04-30 11:20:40 -07:00
2021-09-03 15:33:47 -07:00
2021-09-03 15:33:47 -07:00
2021-08-19 09:02:55 +09:00
2021-02-09 00:10:50 +11:00
2021-11-16 21:24:16 +11:00
2021-11-02 22:22:13 -07:00
2021-08-19 09:02:55 +09:00