Skip to contentSkip to conversation

KVM: arm64: do not source virt/lib/Kconfig twice

PATCH Applied Masahiro Yamada 2 participants 2 messages Feb 4, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: arm64: do not source virt/lib/Kconfig twice

For ARCH=arm64, virt/lib/Kconfig is sourced twice, from arch/arm64/kvm/Kconfig and from drivers/vfio/Kconfig. There is no good reason to parse virt/lib/Kconfig twice.

Commit 2412405b3141 ("KVM: arm/arm64: register irq bypass consumer on ARM/ARM64") should not have added this 'source' directive.

---

 arch/arm64/kvm/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/kvm/Kconfig +0 -1
index 6c3c8ca73e7f..27ca89b628a0 100644
@@ -3,7 +3,6 @@
 # KVM configuration
 #
 
-source "virt/lib/Kconfig"
 source "virt/kvm/Kconfig"
 
 menuconfig VIRTUALIZATION
Signature · 1 line
2.40.1
maintainer Applied
#1 lore raw
Quoted 6 lines · Masahiro Yamada

For ARCH=arm64, virt/lib/Kconfig is sourced twice, from arch/arm64/kvm/Kconfig and from drivers/vfio/Kconfig. There is no good reason to parse virt/lib/Kconfig twice.

Commit 2412405b3141 ("KVM: arm/arm64: register irq bypass consumer on ARM/ARM64") should not have added this 'source' directive.

Applied to fixes, thanks!

[1/1] KVM: arm64: do not source virt/lib/Kconfig twice

      commit: 42dfa94d802a48c871e2017cbf86153270c86632

Cheers,

	M.
Signature · 1 line
Without deviation from the norm, progress is not possible.