[PATCH 0/2] KVM: arm64: Clean up CONFIG_KVM vs CONFIG_HAVE_KVM

From: Sean Christopherson
Date: Tue Sep 21 2021 - 18:22:41 EST


Fix an oddity where arm64 can end up with KVM=y and HAVE_KVM=n. This
doesn't cause problems today as no generic code that supports arm64 uses
HAVE_KVM, but that may not always be the case, e.g. I stumbled across this
when exploring hiding perf's guest callbacks behind HAVE_KVM=y.

Sean Christopherson (2):
KVM: arm64: Unconditionally include generic KVM's Kconfig
KVM: arm64: Depend on HAVE_KVM => OF instead of directly on OF

arch/arm64/Kconfig | 1 +
arch/arm64/kvm/Kconfig | 9 ++-------
2 files changed, 3 insertions(+), 7 deletions(-)

--
2.33.0.464.g1972c5931b-goog