Re: [PATCH v4 15/17] KVM: arm64: Hide kvm_arm_pmu_available behind CONFIG_HW_PERF_EVENTS=y

From: Marc Zyngier
Date: Thu Nov 11 2021 - 16:49:18 EST


On Thu, 11 Nov 2021 02:07:36 +0000,
Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
>
> Move the definition of kvm_arm_pmu_available to pmu-emul.c and, out of
> "necessity", hide it behind CONFIG_HW_PERF_EVENTS. Provide a stub for
> the key's wrapper, kvm_arm_support_pmu_v3(). Moving the key's definition
> out of perf.c will allow a future commit to delete perf.c entirely.
>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>

Reviewed-by: Marc Zyngier <maz@xxxxxxxxxx>

M.

--
Without deviation from the norm, progress is not possible.