Searched hist:"245 ebf8e7380b3d84c0aac37fbfd9306b45a3a7a" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A D | cpu_setup_power.c | diff 245ebf8e7380b3d84c0aac37fbfd9306b45a3a7a Tue Nov 23 03:51:49 CST 2021 Nicholas Piggin <npiggin@gmail.com> 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
|
H A D | dt_cpu_ftrs.c | diff 245ebf8e7380b3d84c0aac37fbfd9306b45a3a7a Tue Nov 23 03:51:49 CST 2021 Nicholas Piggin <npiggin@gmail.com> 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
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv.c | diff 245ebf8e7380b3d84c0aac37fbfd9306b45a3a7a Tue Nov 23 03:51:49 CST 2021 Nicholas Piggin <npiggin@gmail.com> 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
|