Re: [PATCH] KVM: PPC: remove unnecessary #ifdef

From: IBM

Date: Sat Nov 21 2026 - 22:53:03 EST



++ linuxppc-dev

Paolo Bonzini <pbonzini@xxxxxxxxxx> writes:

> booke.o is only built as part of kvm-e500-objs (which is conditional
> on $(CONFIG_KVM_E500V2)) or kvm-e500mc-objs (likewise conditional
> on $(CONFIG_KVM_E500MC)). Thus, the #ifdef in kvmppc_core_check_requests
> is always true. Remove it.
>

That is correct. Looks like after KVM_440 removal via the following
commit, the above is always true.

commit b2677b8dd8de0dc1496ede4da09b9dfd59f15cea
Author: Alexander Graf <agraf@xxxxxxx>
Date: Fri Jul 25 10:38:59 2014 +0200

KVM: PPC: Remove 440 support


Thanks for spotting it. LGTM. Feel free to add:
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@xxxxxxxxx>