KVM: s390: use pending_irqs_no_gisa() where appropriate
Janosch Frank
maintainerFrom: Michael Mueller <[email protected]>
Interruption types that are not represented in GISA shall use pending_irqs_no_gisa() to test pending interruptions.
Signed-off-by Michael Mueller <[email protected]>
Reviewed-by Cornelia Huck <[email protected]>
Reviewed-by Pierre Morel <[email protected]>
Reviewed-by Halil Pasic <[email protected]>
Message-Id: <[email protected]>
Signed-off-by Christian Borntraeger <[email protected]>
--- arch/s390/kvm/interrupt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/s390/kvm/interrupt.c +2 -2
@@ -353,7 +353,7 @@ static void set_intercept_indicators_io(struct kvm_vcpu *vcpu)static void set_intercept_indicators_ext (struct kvm_vcpu *vcpu) { -if (!(pending_irqs (vcpu) &IRQ_PEND_EXT_MASK )) +if (!(pending_irqs_no_gisa (vcpu) &IRQ_PEND_EXT_MASK ))return ;if (psw_extint_disabled (vcpu))kvm_s390_set_cpuflags (vcpu,CPUSTAT_EXT_INT );
@@ -363,7 +363,7 @@ static void set_intercept_indicators_ext(struct kvm_vcpu *vcpu)static void set_intercept_indicators_mchk (struct kvm_vcpu *vcpu) { -if (!(pending_irqs (vcpu) &IRQ_PEND_MCHK_MASK )) +if (!(pending_irqs_no_gisa (vcpu) &IRQ_PEND_MCHK_MASK ))return ;if (psw_mchk_disabled (vcpu)) vcpu->arch.sie_block->ictl |=ICTL_LPSW ;
Signature · 1 line
2.7.4