powerpc/pseries/Kconfig: Enable CONFIG_VPA_PMU to be used with KVM
Subsystems (2)
PATCH v5 1/1 powerpc/pseries/Kconfig: Enable CONFIG_VPA_PMU to be used with KVM
Currently, CONFIG_VPA_PMU is not enabled by default, and consequently cannot be used for KVM guests at all, unless explicitly enabled on host kernel.
Mark CONFIG_VPA_PMU as "default m" to ensure it is available when KVM is being used.
---
v4 -> v5:
1. Drop the fixes tag (Ritesh)
v3 -> v4:
1. Reword the patch description (Harsh)
v2 -> v3:
1. Make CONFIG_VPA_PMU as default m so that it can separately disabled (Sean)
v1 -> v2:
1. Rebased on latest master
arch/powerpc/platforms/pseries/Kconfig | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/platforms/pseries/Kconfig +1 -0
@@ -154,6 +154,7 @@ config HV_PERF_CTRS config VPA_PMU tristate "VPA PMU events" depends on KVM_BOOK3S_64_HV && HV_PERF_CTRS + default m help Enable access to the VPA PMU counters via perf. This enables code that support measurement for KVM on PowerVM(KoP) feature.
Signature · 1 line
2.54.0
Quoted 7 lines · Gautam Menghani
Currently,
CONFIG_VPA_PMUis not enabled by default, and consequently cannot be used for KVM guests at all, unless explicitly enabled on host kernel.Mark
CONFIG_VPA_PMUas "default m" to ensure it is available when KVM is being used.
Quoted 8 lines
Cc [email protected] # v6.13+Suggested-by Sean Christopherson <[email protected]>Reviewed-by Amit Machhiwal <[email protected]>Reviewed-by Harsh Prateek Bora <[email protected]>Signed-off-by Gautam Menghani <[email protected]>---
v4 -> v5:
1. Drop the fixes tag (Ritesh)
Thanks. LGTM, feel free to add:
Quoted 8 lines · Gautam Menghani
Currently,
CONFIG_VPA_PMUis not enabled by default, and consequently cannot be used for KVM guests at all, unless explicitly enabled on host kernel.Mark
CONFIG_VPA_PMUas "default m" to ensure it is available when KVM is being used.[...]
Applied to powerpc/fixes.
[1/1] powerpc/pseries/Kconfig: Enable CONFIG_VPA_PMU to be used with KVM
https://git.kernel.org/powerpc/c/fe179677b6dcb4b658586038a811f87265e97777
cheers