[PATCH v9 03/24] KVM: Replace CONFIG_KVM_MMIO with KVM_NO_MMIO

Hendrik Brueckner brueckner at linux.ibm.com
Tue Oct 6 09:18:06 PDT 2026


On Wed, Sep 30, 2026 at 07:34:18PM +0200, Steffen Eiden wrote:
> Defining KVM_MMIO is not flexible enough for multi-KVM systems where one
> KVM implements MMIO but others do not. Therefore, remove KVM_MMIO from
> the config space and use the macro KVM_NO_MMIO instead.
> Define KVM_NO_MMIO for KVM/s390 and for selected KVM/powerpc
> configurations.
> 
> coalesced_mmio.c is now always compiled&linked. However, for
> architectures/configurations defining KVM_NO_MMIO this effectively
> collapses to an empty object with no mmio code.
> 
> No functional changes.

Changes look good to me.

> 
> Suggested-by: Marc Zyngier <maz at kernel.org>
> Signed-off-by: Steffen Eiden <seiden at linux.ibm.com>

Thanks!

Acked-by: Hendrik Brueckner <brueckner at linux.ibm.com>



More information about the linux-arm-kernel mailing list