[PATCH 1/2] powerpc/kvm: Move pmu code in kvm folder to separate file for power9 and later platforms

Michael Ellerman patch-notifications at ellerman.id.au
Tue Aug 2 21:01:32 AEST 2022


On Mon, 11 Jul 2022 09:19:26 +0530, Kajol Jain wrote:
> File book3s_hv_p9_entry.c in powerpc/kvm folder consists of functions
> like freeze_pmu, switch_pmu_to_guest and switch_pmu_to_host which are
> specific to Performance Monitoring Unit(PMU) for power9 and later
> platforms.
> 
> For better maintenance, moving pmu related code from
> book3s_hv_p9_entry.c to a new file called book3s_hv_p9_perf.c,
> without any logic change.
> Also make corresponding changes in the Makefile to include
> book3s_hv_p9_perf.c during compilation.
> 
> [...]

Applied to powerpc/topic/ppc-kvm.

[1/2] powerpc/kvm: Move pmu code in kvm folder to separate file for power9 and later platforms
      https://git.kernel.org/powerpc/c/db5360840f09eded71009a981084ab10a93a08d8
[2/2] powerpc/kvm: Remove comment related to moving PMU code to perf subsystem
      https://git.kernel.org/powerpc/c/4008d54e29531813e800580f8309133b9b14a921

cheers


More information about the Linuxppc-dev mailing list