[PATCH 0/3] KVM: PPC: use for_each_set_bit() macro where appropriate

From: Yury Norov
Date: Thu Jul 17 2025 - 15:24:35 EST


From: Yury Norov (NVIDIA) <yury.norov@xxxxxxxxx>

Some functions in KVM/PPC layer opencode for_each_set_bit() macro. Fix
it and simplify the logic.

Yury Norov (NVIDIA) (3):
KVM: PPC: simplify kvmppc_core_prepare_to_enter()
KVM: PPC: simplify kvmppc_core_check_exceptions()
KVM: PPC: use for_each_set_bit() in IRQ_check()

arch/powerpc/kvm/book3s.c | 7 +------
arch/powerpc/kvm/booke.c | 8 +-------
arch/powerpc/kvm/mpic.c | 8 ++------
3 files changed, 4 insertions(+), 19 deletions(-)

--
2.43.0