[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210921222231.518092-1-seanjc@google.com>
Date: Tue, 21 Sep 2021 15:22:29 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Marc Zyngier <maz@...nel.org>
Cc: James Morse <james.morse@....com>,
Alexandru Elisei <alexandru.elisei@....com>,
Suzuki K Poulose <suzuki.poulose@....com>,
linux-arm-kernel@...ts.infradead.org, kvmarm@...ts.cs.columbia.edu,
linux-kernel@...r.kernel.org,
Sean Christopherson <seanjc@...gle.com>
Subject: [PATCH 0/2] KVM: arm64: Clean up CONFIG_KVM vs CONFIG_HAVE_KVM
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
Powered by blists - more mailing lists