Subject: Re: linux-next: build warning after merge of the kvm-x86 tree

From: Sean Christopherson <[email-masked]>
Date: Fri, 14 Feb 2025 06:55:32 -0800

On Fri, Feb 14, 2025, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the kvm-x86 tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
> 
> virt/kvm/Kconfig:103:warning: config symbol defined without type
> 
> Introduced by commit
> 
>   5eec660014bf ("KVM: Allow lockless walk of SPTEs when handing aging mmu_notifier event")

Gah, obvious once you see it.   KVM_MMU_NOTIFIER_AGING_LOCKLESS steals the "bool"
from KVM_ELIDE_TLB_FLUSH_IF_YOUNG.  I'll fixup and force push.

Thanks Stephen!

diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig
index 54e959e7d68f..9356f4e4e255 100644
--- a/virt/kvm/Kconfig
+++ b/virt/kvm/Kconfig
@@ -102,6 +102,8 @@ config KVM_GENERIC_MMU_NOTIFIER
 
 config KVM_ELIDE_TLB_FLUSH_IF_YOUNG
        depends on KVM_GENERIC_MMU_NOTIFIER
+
+config KVM_MMU_NOTIFIER_AGING_LOCKLESS
        bool
 
 config KVM_GENERIC_MEMORY_ATTRIBUTES